@m4l/gclick 0.15.0 → 0.15.1-beta-refactor-camera-stream-toast-sweep.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.
- package/@types/types.d.ts +135 -135
- package/components/CameraStreams/dictionary.d.ts.map +1 -1
- package/components/CameraStreams/dictionary.js +0 -2
- package/components/CameraStreams/hooks/useStreamRequest.d.ts +5 -0
- package/components/CameraStreams/hooks/useStreamRequest.d.ts.map +1 -1
- package/components/CameraStreams/hooks/useStreamRequest.js +117 -124
- package/components/CameraStreams/types.d.ts +0 -1
- package/components/CameraStreams/types.d.ts.map +1 -1
- package/mockServiceWorker.js +349 -349
- package/package.json +1 -1
- package/video-samples/README.md +23 -23
- package/video-samples/file-mp4/index.m3u8 +23 -23
package/@types/types.d.ts
CHANGED
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
import { ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
2
|
-
import { CourseFormatterOwnerState, CourseFormatterSlotsType } from '../components/formatters/CourseFormatter/types';
|
|
3
|
-
import { DeviceOwnerState, DeviceSlotsType } from '../components/Device/types';
|
|
4
|
-
import { DeviceStatusOwnerState, DeviceStatusSlotsType } from '../components/DeviceStatus/types';
|
|
5
|
-
import { GaugeCircularOwnerState, GaugeCircularSlotsType } from '../components/GaugeCircular/types';
|
|
6
|
-
import { IndicatorCSQOwnerState, IndicatorCSQSlotsType } from '../components/indicators/IndicatorCSQ/types';
|
|
7
|
-
import { IndicatorBatteryOwnerState, IndicatorBatterySlotsType } from '../components/indicators/IndicatorBattery/types';
|
|
8
|
-
import { IndicatorValueStatusSlotsType } from '../components/indicators/IndicatorValueStatus/types';
|
|
9
|
-
import { VideoTimeLineSelectorOwnerState, VideoTimeLineSelectorSlotsType } from '../components/VideoTimeLineSelector/types';
|
|
10
|
-
import { VideoPlayerOwnerState, VideoPlayerSlotsType } from '../components/VideoPlayer/types';
|
|
11
|
-
import { CameraStreamOwnerState, CameraStreamSlotsStyledType } from '../components/CameraStream/types';
|
|
12
|
-
|
|
13
|
-
import { MapOwnerState, MapSlotsType } from '../components/maps/components/GpsMap/types';
|
|
14
|
-
import { ReportsViewerOwnerState, ReportsViewerSlotsType } from '../components/ReportsViewer/types';
|
|
15
|
-
import { AddressLocationOwnerState, AddressLocationSlotsType } from '../components/AddressLocation/types';
|
|
16
|
-
import {
|
|
17
|
-
GeofenceAddEditOwnerState,
|
|
18
|
-
GeofenceAddEditSlotsType,
|
|
19
|
-
} from '../components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/types';
|
|
20
|
-
declare module '@mui/material/styles' {
|
|
21
|
-
// Define the slots in the theme
|
|
22
|
-
interface ComponentNameToClassKey {
|
|
23
|
-
M4LMap: MapSlotsType;
|
|
24
|
-
M4LMapToolGeofenceAddEdit: GeofenceAddEditSlotsType;
|
|
25
|
-
M4LCourseFormatter: CourseFormatterSlotsType;
|
|
26
|
-
M4LDevice: DeviceSlotsType;
|
|
27
|
-
M4LDeviceStatus: DeviceStatusSlotsType;
|
|
28
|
-
M4LGaugeCircular: GaugeCircularSlotsType;
|
|
29
|
-
|
|
30
|
-
M4LCSQSignal: IndicatorCSQSlotsType;
|
|
31
|
-
M4LIndicatorBattery: IndicatorBatterySlotsType;
|
|
32
|
-
M4LIndicatorValueStatus: IndicatorValueStatusSlotsType;
|
|
33
|
-
M4LVideoTimeLineSelector: VideoTimeLineSelectorSlotsType;
|
|
34
|
-
M4LVideoPlayer: VideoPlayerSlotsType;
|
|
35
|
-
M4LCameraStream: CameraStreamSlotsStyledType;
|
|
36
|
-
M4LIndicatorValueAndMagnitude: IndicatorValueAndMagnitudeSlotsType;
|
|
37
|
-
M4LReportsViewer: ReportsViewerSlotsType;
|
|
38
|
-
M4LAddressLocation: AddressLocationSlotsType;
|
|
39
|
-
}
|
|
40
|
-
interface ComponentsPropsList {
|
|
41
|
-
// Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
|
|
42
|
-
M4LMap: Partial<MapOwnerState>;
|
|
43
|
-
M4LMapToolGeofenceAddEdit: Partial<GeofenceAddEditOwnerState>;
|
|
44
|
-
M4LCourseFormatter: Partial<CourseFormatterOwnerState>;
|
|
45
|
-
M4LDevice: Partial<DeviceOwnerState>;
|
|
46
|
-
M4LDeviceStatus: Partial<DeviceStatusOwnerState>;
|
|
47
|
-
M4LGaugeCircular: Partial<GaugeCircularOwnerState>;
|
|
48
|
-
M4LCSQSignal: Partial<IndicatorCSQOwnerState>;
|
|
49
|
-
M4LIndicatorBattery: Partial<IndicatorBatteryOwnerState>;
|
|
50
|
-
M4LIndicatorValueStatus: Partial<IndicatorValueStatusOwnerState>;
|
|
51
|
-
M4LVideoTimeLineSelector: Partial<VideoTimeLineSelectorOwnerState>;
|
|
52
|
-
M4LVideoPlayer: Partial<VideoPlayerOwnerState>;
|
|
53
|
-
M4LCameraStream: Partial<CameraStreamOwnerState>;
|
|
54
|
-
M4LIndicatorValueAndMagnitude: Partial<IndicatorValueAndMagnitudeOwnerState>;
|
|
55
|
-
M4LReportsViewer: Partial<ReportsViewerOwnerState>;
|
|
56
|
-
M4LAddressLocation: Partial<AddressLocationOwnerState>;
|
|
57
|
-
}
|
|
58
|
-
interface Components {
|
|
59
|
-
M4LMap?: {
|
|
60
|
-
defaultProps?: ComponentsPropsList['M4LMap'];
|
|
61
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LMap'];
|
|
62
|
-
variants?: ComponentsVariants['M4LMap'];
|
|
63
|
-
};
|
|
64
|
-
M4LMapToolGeofenceAddEdit?: {
|
|
65
|
-
defaultProps?: ComponentsPropsList['M4LMapToolGeofenceAddEdit'];
|
|
66
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LMapToolGeofenceAddEdit'];
|
|
67
|
-
variants?: ComponentsVariants['M4LMapToolGeofenceAddEdit'];
|
|
68
|
-
};
|
|
69
|
-
M4LCourseFormatter?: {
|
|
70
|
-
defaultProps?: ComponentsPropsList['M4LCourseFormatter'];
|
|
71
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LCourseFormatter'];
|
|
72
|
-
variants?: ComponentsVariants['M4LCourseFormatter'];
|
|
73
|
-
};
|
|
74
|
-
M4LDevice?: {
|
|
75
|
-
defaultProps?: ComponentsPropsList['M4LDevice'];
|
|
76
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LDevice'];
|
|
77
|
-
variants?: ComponentsVariants['M4LDevice'];
|
|
78
|
-
};
|
|
79
|
-
M4LDeviceStatus?: {
|
|
80
|
-
defaultProps?: ComponentsPropsList['M4LDeviceStatus'];
|
|
81
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LDeviceStatus'];
|
|
82
|
-
variants?: ComponentsVariants['M4LDeviceStatus'];
|
|
83
|
-
};
|
|
84
|
-
M4LGaugeCircular?: {
|
|
85
|
-
defaultProps?: ComponentsPropsList['M4LGaugeCircular'];
|
|
86
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LGaugeCircular'];
|
|
87
|
-
variants?: ComponentsVariants['M4LGaugeCircular'];
|
|
88
|
-
};
|
|
89
|
-
M4LCSQSignal?: {
|
|
90
|
-
defaultProps?: ComponentsPropsList['M4LCSQSignal'];
|
|
91
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LCSQSignal'];
|
|
92
|
-
variants?: ComponentsVariants['M4LCSQSignal'];
|
|
93
|
-
};
|
|
94
|
-
M4LIndicatorBattery?: {
|
|
95
|
-
defaultProps?: ComponentsPropsList['M4LIndicatorBattery'];
|
|
96
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LIndicatorBattery'];
|
|
97
|
-
variants?: ComponentsVariants['M4LIndicatorBattery'];
|
|
98
|
-
};
|
|
99
|
-
M4LIndicatorValueStatus?: {
|
|
100
|
-
defaultProps?: ComponentsPropsList['M4LIndicatorValueStatus'];
|
|
101
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LIndicatorValueStatus'];
|
|
102
|
-
variants?: ComponentsVariants['M4LIndicatorValueStatus'];
|
|
103
|
-
};
|
|
104
|
-
M4LVideoTimeLineSelector?: {
|
|
105
|
-
defaultProps?: ComponentsPropsList['M4LVideoTimeLineSelector'];
|
|
106
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LVideoTimeLineSelector'];
|
|
107
|
-
variants?: ComponentsVariants['M4LVideoTimeLineSelector'];
|
|
108
|
-
};
|
|
109
|
-
M4LVideoPlayer?: {
|
|
110
|
-
defaultProps?: ComponentsPropsList['M4LVideoPlayer'];
|
|
111
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LVideoPlayer'];
|
|
112
|
-
variants?: ComponentsVariants['M4LVideoPlayer'];
|
|
113
|
-
};
|
|
114
|
-
M4LCameraStream?: {
|
|
115
|
-
defaultProps?: ComponentsPropsList['M4LCameraStream'];
|
|
116
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LCameraStream'];
|
|
117
|
-
variants?: ComponentsVariants['M4LCameraStream'];
|
|
118
|
-
};
|
|
119
|
-
M4LIndicatorValueAndMagnitude?: {
|
|
120
|
-
defaultProps?: ComponentsPropsList['M4LIndicatorValueAndMagnitude'];
|
|
121
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LIndicatorValueAndMagnitude'];
|
|
122
|
-
variants?: ComponentsVariants['M4LIndicatorValueAndMagnitude'];
|
|
123
|
-
};
|
|
124
|
-
M4LReportsViewer?: {
|
|
125
|
-
defaultProps?: ComponentsPropsList['M4LReportsViewer'];
|
|
126
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LReportsViewer'];
|
|
127
|
-
variants?: ComponentsVariants['M4LReportsViewer'];
|
|
128
|
-
};
|
|
129
|
-
M4LAddressLocation?: {
|
|
130
|
-
defaultProps?: ComponentsPropsList['M4LAddressLocation'];
|
|
131
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LAddressLocation'];
|
|
132
|
-
variants?: ComponentsVariants['M4LAddressLocation'];
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
}
|
|
1
|
+
import { ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
2
|
+
import { CourseFormatterOwnerState, CourseFormatterSlotsType } from '../components/formatters/CourseFormatter/types';
|
|
3
|
+
import { DeviceOwnerState, DeviceSlotsType } from '../components/Device/types';
|
|
4
|
+
import { DeviceStatusOwnerState, DeviceStatusSlotsType } from '../components/DeviceStatus/types';
|
|
5
|
+
import { GaugeCircularOwnerState, GaugeCircularSlotsType } from '../components/GaugeCircular/types';
|
|
6
|
+
import { IndicatorCSQOwnerState, IndicatorCSQSlotsType } from '../components/indicators/IndicatorCSQ/types';
|
|
7
|
+
import { IndicatorBatteryOwnerState, IndicatorBatterySlotsType } from '../components/indicators/IndicatorBattery/types';
|
|
8
|
+
import { IndicatorValueStatusSlotsType } from '../components/indicators/IndicatorValueStatus/types';
|
|
9
|
+
import { VideoTimeLineSelectorOwnerState, VideoTimeLineSelectorSlotsType } from '../components/VideoTimeLineSelector/types';
|
|
10
|
+
import { VideoPlayerOwnerState, VideoPlayerSlotsType } from '../components/VideoPlayer/types';
|
|
11
|
+
import { CameraStreamOwnerState, CameraStreamSlotsStyledType } from '../components/CameraStream/types';
|
|
12
|
+
|
|
13
|
+
import { MapOwnerState, MapSlotsType } from '../components/maps/components/GpsMap/types';
|
|
14
|
+
import { ReportsViewerOwnerState, ReportsViewerSlotsType } from '../components/ReportsViewer/types';
|
|
15
|
+
import { AddressLocationOwnerState, AddressLocationSlotsType } from '../components/AddressLocation/types';
|
|
16
|
+
import {
|
|
17
|
+
GeofenceAddEditOwnerState,
|
|
18
|
+
GeofenceAddEditSlotsType,
|
|
19
|
+
} from '../components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/types';
|
|
20
|
+
declare module '@mui/material/styles' {
|
|
21
|
+
// Define the slots in the theme
|
|
22
|
+
interface ComponentNameToClassKey {
|
|
23
|
+
M4LMap: MapSlotsType;
|
|
24
|
+
M4LMapToolGeofenceAddEdit: GeofenceAddEditSlotsType;
|
|
25
|
+
M4LCourseFormatter: CourseFormatterSlotsType;
|
|
26
|
+
M4LDevice: DeviceSlotsType;
|
|
27
|
+
M4LDeviceStatus: DeviceStatusSlotsType;
|
|
28
|
+
M4LGaugeCircular: GaugeCircularSlotsType;
|
|
29
|
+
|
|
30
|
+
M4LCSQSignal: IndicatorCSQSlotsType;
|
|
31
|
+
M4LIndicatorBattery: IndicatorBatterySlotsType;
|
|
32
|
+
M4LIndicatorValueStatus: IndicatorValueStatusSlotsType;
|
|
33
|
+
M4LVideoTimeLineSelector: VideoTimeLineSelectorSlotsType;
|
|
34
|
+
M4LVideoPlayer: VideoPlayerSlotsType;
|
|
35
|
+
M4LCameraStream: CameraStreamSlotsStyledType;
|
|
36
|
+
M4LIndicatorValueAndMagnitude: IndicatorValueAndMagnitudeSlotsType;
|
|
37
|
+
M4LReportsViewer: ReportsViewerSlotsType;
|
|
38
|
+
M4LAddressLocation: AddressLocationSlotsType;
|
|
39
|
+
}
|
|
40
|
+
interface ComponentsPropsList {
|
|
41
|
+
// Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
|
|
42
|
+
M4LMap: Partial<MapOwnerState>;
|
|
43
|
+
M4LMapToolGeofenceAddEdit: Partial<GeofenceAddEditOwnerState>;
|
|
44
|
+
M4LCourseFormatter: Partial<CourseFormatterOwnerState>;
|
|
45
|
+
M4LDevice: Partial<DeviceOwnerState>;
|
|
46
|
+
M4LDeviceStatus: Partial<DeviceStatusOwnerState>;
|
|
47
|
+
M4LGaugeCircular: Partial<GaugeCircularOwnerState>;
|
|
48
|
+
M4LCSQSignal: Partial<IndicatorCSQOwnerState>;
|
|
49
|
+
M4LIndicatorBattery: Partial<IndicatorBatteryOwnerState>;
|
|
50
|
+
M4LIndicatorValueStatus: Partial<IndicatorValueStatusOwnerState>;
|
|
51
|
+
M4LVideoTimeLineSelector: Partial<VideoTimeLineSelectorOwnerState>;
|
|
52
|
+
M4LVideoPlayer: Partial<VideoPlayerOwnerState>;
|
|
53
|
+
M4LCameraStream: Partial<CameraStreamOwnerState>;
|
|
54
|
+
M4LIndicatorValueAndMagnitude: Partial<IndicatorValueAndMagnitudeOwnerState>;
|
|
55
|
+
M4LReportsViewer: Partial<ReportsViewerOwnerState>;
|
|
56
|
+
M4LAddressLocation: Partial<AddressLocationOwnerState>;
|
|
57
|
+
}
|
|
58
|
+
interface Components {
|
|
59
|
+
M4LMap?: {
|
|
60
|
+
defaultProps?: ComponentsPropsList['M4LMap'];
|
|
61
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LMap'];
|
|
62
|
+
variants?: ComponentsVariants['M4LMap'];
|
|
63
|
+
};
|
|
64
|
+
M4LMapToolGeofenceAddEdit?: {
|
|
65
|
+
defaultProps?: ComponentsPropsList['M4LMapToolGeofenceAddEdit'];
|
|
66
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LMapToolGeofenceAddEdit'];
|
|
67
|
+
variants?: ComponentsVariants['M4LMapToolGeofenceAddEdit'];
|
|
68
|
+
};
|
|
69
|
+
M4LCourseFormatter?: {
|
|
70
|
+
defaultProps?: ComponentsPropsList['M4LCourseFormatter'];
|
|
71
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LCourseFormatter'];
|
|
72
|
+
variants?: ComponentsVariants['M4LCourseFormatter'];
|
|
73
|
+
};
|
|
74
|
+
M4LDevice?: {
|
|
75
|
+
defaultProps?: ComponentsPropsList['M4LDevice'];
|
|
76
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDevice'];
|
|
77
|
+
variants?: ComponentsVariants['M4LDevice'];
|
|
78
|
+
};
|
|
79
|
+
M4LDeviceStatus?: {
|
|
80
|
+
defaultProps?: ComponentsPropsList['M4LDeviceStatus'];
|
|
81
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LDeviceStatus'];
|
|
82
|
+
variants?: ComponentsVariants['M4LDeviceStatus'];
|
|
83
|
+
};
|
|
84
|
+
M4LGaugeCircular?: {
|
|
85
|
+
defaultProps?: ComponentsPropsList['M4LGaugeCircular'];
|
|
86
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LGaugeCircular'];
|
|
87
|
+
variants?: ComponentsVariants['M4LGaugeCircular'];
|
|
88
|
+
};
|
|
89
|
+
M4LCSQSignal?: {
|
|
90
|
+
defaultProps?: ComponentsPropsList['M4LCSQSignal'];
|
|
91
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LCSQSignal'];
|
|
92
|
+
variants?: ComponentsVariants['M4LCSQSignal'];
|
|
93
|
+
};
|
|
94
|
+
M4LIndicatorBattery?: {
|
|
95
|
+
defaultProps?: ComponentsPropsList['M4LIndicatorBattery'];
|
|
96
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LIndicatorBattery'];
|
|
97
|
+
variants?: ComponentsVariants['M4LIndicatorBattery'];
|
|
98
|
+
};
|
|
99
|
+
M4LIndicatorValueStatus?: {
|
|
100
|
+
defaultProps?: ComponentsPropsList['M4LIndicatorValueStatus'];
|
|
101
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LIndicatorValueStatus'];
|
|
102
|
+
variants?: ComponentsVariants['M4LIndicatorValueStatus'];
|
|
103
|
+
};
|
|
104
|
+
M4LVideoTimeLineSelector?: {
|
|
105
|
+
defaultProps?: ComponentsPropsList['M4LVideoTimeLineSelector'];
|
|
106
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LVideoTimeLineSelector'];
|
|
107
|
+
variants?: ComponentsVariants['M4LVideoTimeLineSelector'];
|
|
108
|
+
};
|
|
109
|
+
M4LVideoPlayer?: {
|
|
110
|
+
defaultProps?: ComponentsPropsList['M4LVideoPlayer'];
|
|
111
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LVideoPlayer'];
|
|
112
|
+
variants?: ComponentsVariants['M4LVideoPlayer'];
|
|
113
|
+
};
|
|
114
|
+
M4LCameraStream?: {
|
|
115
|
+
defaultProps?: ComponentsPropsList['M4LCameraStream'];
|
|
116
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LCameraStream'];
|
|
117
|
+
variants?: ComponentsVariants['M4LCameraStream'];
|
|
118
|
+
};
|
|
119
|
+
M4LIndicatorValueAndMagnitude?: {
|
|
120
|
+
defaultProps?: ComponentsPropsList['M4LIndicatorValueAndMagnitude'];
|
|
121
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LIndicatorValueAndMagnitude'];
|
|
122
|
+
variants?: ComponentsVariants['M4LIndicatorValueAndMagnitude'];
|
|
123
|
+
};
|
|
124
|
+
M4LReportsViewer?: {
|
|
125
|
+
defaultProps?: ComponentsPropsList['M4LReportsViewer'];
|
|
126
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LReportsViewer'];
|
|
127
|
+
variants?: ComponentsVariants['M4LReportsViewer'];
|
|
128
|
+
};
|
|
129
|
+
M4LAddressLocation?: {
|
|
130
|
+
defaultProps?: ComponentsPropsList['M4LAddressLocation'];
|
|
131
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LAddressLocation'];
|
|
132
|
+
variants?: ComponentsVariants['M4LAddressLocation'];
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStreams/dictionary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAInD;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,gBAE/C,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStreams/dictionary.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAInD;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,gBAE/C,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,mBAAmB,EAAE,MAAM,CAe3E,CAAC;AAEX;;;;GAIG;AACH,wBAAgB,oCAAoC,CAClD,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAChC,mBAAmB,CAiBrB"}
|
|
@@ -8,7 +8,6 @@ const r = "camera_streams", a = () => [r], n = {
|
|
|
8
8
|
replayChannel: `${r}.label_replay_channel`,
|
|
9
9
|
channelLabel: `${r}.label_channel`,
|
|
10
10
|
channelBusy: `${r}.label_channel_busy`,
|
|
11
|
-
requestSuccess: `${r}.label_request_success`,
|
|
12
11
|
requestErrorUnknown: `${r}.label_request_error_unknown`,
|
|
13
12
|
requestErrorUnknownPolling: `${r}.label_request_error_unknown_polling`,
|
|
14
13
|
requestErrorMaxRetries: `${r}.label_request_error_max_retries`,
|
|
@@ -26,7 +25,6 @@ function l(e) {
|
|
|
26
25
|
replayChannel: e(n.replayChannel),
|
|
27
26
|
channelLabel: e(n.channelLabel),
|
|
28
27
|
channelBusy: e(n.channelBusy),
|
|
29
|
-
requestSuccess: e(n.requestSuccess),
|
|
30
28
|
requestErrorUnknown: e(n.requestErrorUnknown),
|
|
31
29
|
requestErrorUnknownPolling: e(n.requestErrorUnknownPolling),
|
|
32
30
|
requestErrorMaxRetries: e(n.requestErrorMaxRetries),
|
|
@@ -6,6 +6,11 @@ import { PlayerKey, StreamPhase } from '../types';
|
|
|
6
6
|
* polling attempts, mode, and duration are all read from the scoped Zustand
|
|
7
7
|
* store so the hook stays agnostic of any MF-specific config.
|
|
8
8
|
*
|
|
9
|
+
* The request/poll busy indicator is driven through the mounting window's tools
|
|
10
|
+
* (`useWindowToolsMF`), so the spinner renders inside the owning module panel
|
|
11
|
+
* (omm / gps_devices) instead of the global host shell. Requires the subtree to
|
|
12
|
+
* live under a `WindowToolsMFProvider`, which both consumers already mount.
|
|
13
|
+
*
|
|
9
14
|
* One instance per `playerKey` — mounted by `<CameraStreamsEngine>` only
|
|
10
15
|
* while the player's `phase.kind === 'requesting'` or `'polling'`.
|
|
11
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStreamRequest.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStreams/hooks/useStreamRequest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useStreamRequest.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStreams/hooks/useStreamRequest.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAqKvD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,QAoQvE;AAGD,YAAY,EAAE,WAAW,EAAE,CAAC"}
|