@m4l/gclick 0.16.0 → 0.17.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/components/CameraStream/defaults/DefaultPhaseStreaming.d.ts +2 -2
- package/components/CameraStream/defaults/DefaultPhaseStreaming.d.ts.map +1 -1
- package/components/CameraStream/defaults/DefaultPhaseStreaming.js +23 -21
- package/components/CameraStream/types.d.ts +9 -0
- package/components/CameraStream/types.d.ts.map +1 -1
- package/components/VideoPlayer/VideoPlayer.d.ts +4 -1
- package/components/VideoPlayer/VideoPlayer.d.ts.map +1 -1
- package/components/VideoPlayer/VideoPlayer.js +28 -25
- package/components/VideoPlayer/VideoPlayer.styles.d.ts +7 -1
- package/components/VideoPlayer/VideoPlayer.styles.d.ts.map +1 -1
- package/components/VideoPlayer/VideoPlayer.styles.js +72 -10
- package/components/VideoPlayer/VideojsDefaultSkin.styles.d.ts +8 -0
- package/components/VideoPlayer/VideojsDefaultSkin.styles.d.ts.map +1 -0
- package/components/VideoPlayer/{VideojsSkin.styles.js → VideojsDefaultSkin.styles.js} +478 -248
- package/components/VideoPlayer/VideojsMinimalSkin.styles.d.ts +8 -0
- package/components/VideoPlayer/VideojsMinimalSkin.styles.d.ts.map +1 -0
- package/components/VideoPlayer/VideojsMinimalSkin.styles.js +1561 -0
- package/components/VideoPlayer/constants.d.ts +33 -0
- package/components/VideoPlayer/constants.d.ts.map +1 -1
- package/components/VideoPlayer/constants.js +20 -4
- package/components/VideoPlayer/hlsConfig.d.ts +21 -11
- package/components/VideoPlayer/hlsConfig.d.ts.map +1 -1
- package/components/VideoPlayer/hlsConfig.js +28 -21
- package/components/VideoPlayer/index.d.ts +2 -2
- package/components/VideoPlayer/index.d.ts.map +1 -1
- package/components/VideoPlayer/player.factory.d.ts +3 -3
- package/components/VideoPlayer/player.factory.d.ts.map +1 -1
- package/components/VideoPlayer/slots/VideoPlayerSlots.d.ts +1 -1
- package/components/VideoPlayer/subcomponents/GclickVideoSkin.d.ts +5 -2
- package/components/VideoPlayer/subcomponents/GclickVideoSkin.d.ts.map +1 -1
- package/components/VideoPlayer/subcomponents/GclickVideoSkin.js +34 -178
- package/components/VideoPlayer/subcomponents/VideoPlayerStage.d.ts +4 -3
- package/components/VideoPlayer/subcomponents/VideoPlayerStage.d.ts.map +1 -1
- package/components/VideoPlayer/subcomponents/VideoPlayerStage.js +43 -42
- package/components/VideoPlayer/subcomponents/skin/VideoControlBar.d.ts +6 -0
- package/components/VideoPlayer/subcomponents/skin/VideoControlBar.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/VideoControlBar.js +87 -0
- package/components/VideoPlayer/subcomponents/skin/VideoErrorDialog.d.ts +9 -0
- package/components/VideoPlayer/subcomponents/skin/VideoErrorDialog.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/VideoErrorDialog.js +17 -0
- package/components/VideoPlayer/subcomponents/skin/VideoInputBindings.d.ts +11 -0
- package/components/VideoPlayer/subcomponents/skin/VideoInputBindings.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/VideoInputBindings.js +19 -0
- package/components/VideoPlayer/subcomponents/skin/VideoSettingsMenu.d.ts +9 -0
- package/components/VideoPlayer/subcomponents/skin/VideoSettingsMenu.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/VideoSettingsMenu.js +48 -0
- package/components/VideoPlayer/subcomponents/skin/primitives.d.ts +81 -0
- package/components/VideoPlayer/subcomponents/skin/primitives.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/primitives.js +142 -0
- package/components/VideoPlayer/subcomponents/skin/skinVariant.d.ts +19 -0
- package/components/VideoPlayer/subcomponents/skin/skinVariant.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/skinVariant.js +23 -0
- package/components/VideoPlayer/types.d.ts +25 -6
- package/components/VideoPlayer/types.d.ts.map +1 -1
- package/index.js +123 -122
- package/package.json +4 -4
- package/components/VideoPlayer/VideojsSkin.styles.d.ts +0 -9
- package/components/VideoPlayer/VideojsSkin.styles.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M4LOverridesStyleRules } from '@m4l/components';
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
3
|
import { Ref } from 'react';
|
|
4
|
-
import { COMPONENT_VIDEO_PLAYER_KEY_COMPONENT } from './constants';
|
|
4
|
+
import { COMPONENT_VIDEO_PLAYER_KEY_COMPONENT, VIDEO_PLAYER_VARIANTS } from './constants';
|
|
5
5
|
import { VideoPlayerSlots } from './slots/slots';
|
|
6
6
|
/**
|
|
7
7
|
* Media error surfaced to consumers. Mirrors the DOM `MediaError` shape the
|
|
@@ -59,6 +59,11 @@ export interface VideoPlayerProps {
|
|
|
59
59
|
* snapshot). Forwarded to the skin's poster slot.
|
|
60
60
|
*/
|
|
61
61
|
poster?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Which vendor skin to wear. Defaults to `'default'` (the full chrome); pass
|
|
64
|
+
* `'minimal'` for dense grid tiles. See {@link VideoPlayerVariant}.
|
|
65
|
+
*/
|
|
66
|
+
variant?: VideoPlayerVariant;
|
|
62
67
|
/**
|
|
63
68
|
* Optional className applied to the root (container) slot. Intended for
|
|
64
69
|
* plain/static classes: composing an Emotion-registered class (e.g. via
|
|
@@ -93,12 +98,26 @@ export interface VideoPlayerProps {
|
|
|
93
98
|
ref?: Ref<VideoPlayerControl>;
|
|
94
99
|
}
|
|
95
100
|
/**
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* is
|
|
99
|
-
*
|
|
101
|
+
* Vendor skin the player wears.
|
|
102
|
+
*
|
|
103
|
+
* `default` is the full chrome; `minimal` drops the frosted panels and groups
|
|
104
|
+
* the time displays — leaner for dense grid tiles, which is what the vendor
|
|
105
|
+
* designed it for (its layout reveals controls progressively through container
|
|
106
|
+
* queries). Both come from `@videojs/react`'s `/video` preset.
|
|
107
|
+
*/
|
|
108
|
+
export type VideoPlayerVariant = keyof typeof VIDEO_PLAYER_VARIANTS;
|
|
109
|
+
/**
|
|
110
|
+
* Internal owner state for the styled slots.
|
|
111
|
+
*
|
|
112
|
+
* `variant` lives here because it drives styling, not just markup: the `root`
|
|
113
|
+
* slot spreads ONE of the two translated vendor stylesheets depending on it.
|
|
114
|
+
* Spreading both would inject ~1900 unused declarations and, worse, emit the
|
|
115
|
+
* un-scopable `@keyframes media-shake` / `@property --media-progress-fill`
|
|
116
|
+
* twice into the global namespace, since both sheets declare them identically.
|
|
100
117
|
*/
|
|
101
|
-
export type VideoPlayerOwnerState =
|
|
118
|
+
export type VideoPlayerOwnerState = {
|
|
119
|
+
variant: VideoPlayerVariant;
|
|
120
|
+
};
|
|
102
121
|
export type VideoPlayerSlotsType = keyof typeof VideoPlayerSlots;
|
|
103
122
|
export type VideoPlayerStyles = M4LOverridesStyleRules<VideoPlayerSlotsType, typeof COMPONENT_VIDEO_PLAYER_KEY_COMPONENT, Theme>;
|
|
104
123
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/VideoPlayer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/VideoPlayer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,KAAK,EAAE,oCAAoC,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAC/F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC,qEAAqE;IACrE,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtB,sBAAsB;IACtB,KAAK,IAAI,IAAI,CAAC;IACd,4CAA4C;IAC5C,QAAQ,IAAI,OAAO,CAAC;IACpB,gFAAgF;IAChF,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/B,6CAA6C;IAC7C,OAAO,IAAI,OAAO,CAAC;IACnB,2EAA2E;IAC3E,MAAM,IAAI,OAAO,CAAC;IAClB,+DAA+D;IAC/D,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,yEAAyE;IACzE,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,wEAAwE;IACxE,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,gDAAgD;IAChD,uBAAuB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,+EAA+E;IAC/E,QAAQ,IAAI,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B,wEAAwE;IACxE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC/D;;;OAGG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAC;CAC/B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAEpE;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAEjE,MAAM,MAAM,iBAAiB,GAAG,sBAAsB,CACpD,oBAAoB,EACpB,OAAO,oCAAoC,EAC3C,KAAK,CACN,CAAC"}
|
package/index.js
CHANGED
|
@@ -9,11 +9,11 @@ import { getDeviceStatusComponentsDictionary as T } from "./components/DeviceSta
|
|
|
9
9
|
import { DeviceStatus as E } from "./components/DeviceStatus/DeviceStatus.js";
|
|
10
10
|
import { DeviceLabel as A } from "./components/DeviceLabel/DeviceLabel.js";
|
|
11
11
|
import { GaugeCircular as I } from "./components/GaugeCircular/GaugeCircular.js";
|
|
12
|
-
import { getCourseDirection as
|
|
12
|
+
import { getCourseDirection as y } from "./components/formatters/CourseFormatter/helper.js";
|
|
13
13
|
import { getCourseFormatterComponentsDictionary as M } from "./components/formatters/CourseFormatter/dictionary.js";
|
|
14
14
|
import { CourseFormatter as N } from "./components/formatters/CourseFormatter/CourseFormatter.js";
|
|
15
|
-
import { courseToCssAngle as
|
|
16
|
-
import { GpsMap as
|
|
15
|
+
import { courseToCssAngle as L } from "./components/maps/utils/courseToCssAngle.js";
|
|
16
|
+
import { GpsMap as F } from "./components/maps/components/GpsMap/GpsMap.js";
|
|
17
17
|
import { MapContext as b, MapProvider as h } from "./components/maps/components/GpsMap/contexts/MapContext/MapContext.js";
|
|
18
18
|
import { getMapComponentsDictionary as Y } from "./components/maps/components/GpsMap/dictionary.js";
|
|
19
19
|
import { LAT_LON_FIXED_DIGITS as H } from "./components/maps/components/GpsMap/constants.js";
|
|
@@ -35,10 +35,10 @@ import { isFeature as Te } from "./components/maps/utils/isFeature.js";
|
|
|
35
35
|
import { isFeatureCollection as Ee } from "./components/maps/utils/isFeatureCollection.js";
|
|
36
36
|
import { isFeatureCollectionDraft as Ae } from "./components/maps/utils/isFeatureCollectionDraft.js";
|
|
37
37
|
import { isGeometry as Ie } from "./components/maps/utils/isGeometry.js";
|
|
38
|
-
import { GeofencesTool as
|
|
38
|
+
import { GeofencesTool as ye } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js";
|
|
39
39
|
import { GEOFENCES_TOOL as Me } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js";
|
|
40
40
|
import { getGpsMapToolsComponentsDictionary as Ne } from "./components/maps/components/GpsMapTools/dictionary.js";
|
|
41
|
-
import { GpsMapToolsContext as
|
|
41
|
+
import { GpsMapToolsContext as Le, 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 he } from "./components/indicators/IndicatorBattery/dictionary.js";
|
|
44
44
|
import { INDICATOR_BATTERY_SEMANTIC_STATUS as Ye } from "./components/indicators/IndicatorBattery/types.js";
|
|
@@ -49,95 +49,95 @@ import { IndicatorValueAndMagnitude as ke } from "./components/indicators/Indica
|
|
|
49
49
|
import { VideoTimeLineSelector as qe } from "./components/VideoTimeLineSelector/VideoTimeLineSelector.js";
|
|
50
50
|
import { getVideoTimeLineSelectorComponentDictionary as We } from "./components/VideoTimeLineSelector/dictionary.js";
|
|
51
51
|
import { TIME_VISIBLE_OPTIONS_KEYS as Ze } from "./components/VideoTimeLineSelector/constants.js";
|
|
52
|
-
import { COMPONENT_VIDEO_PLAYER_KEY_COMPONENT as er } from "./components/VideoPlayer/constants.js";
|
|
53
|
-
import { isHlsLiveDuration as
|
|
54
|
-
import { VideoPlayer as
|
|
55
|
-
import { CameraStreamsProvider as
|
|
56
|
-
import { CameraStreamsContext as
|
|
57
|
-
import { CameraStreamPlayersContext as
|
|
58
|
-
import { createCameraStreamsStore as
|
|
59
|
-
import { useCameraStreams as
|
|
60
|
-
import { useCameraStreamsStore as
|
|
61
|
-
import { useCameraStreamPlayers as
|
|
62
|
-
import { useStreamRequest as
|
|
63
|
-
import { isCloudFrontUrl as
|
|
64
|
-
import { COMPONENT_CAMERA_STREAMS_KEY_COMPONENT as
|
|
65
|
-
import { CAMERA_STREAMS_DICTIONARY_KEYS as vr, getCameraStreamsComponentDictionary as Fr, resolveCameraStreamsDictionaryLabels as
|
|
66
|
-
import { buildPlayerKey as
|
|
67
|
-
import { CameraStream as
|
|
68
|
-
import { CAMERA_STREAM_DRAG_HANDLE_CLASSNAME as
|
|
69
|
-
import { COMPONENT_CAMERA_STREAM_KEY_COMPONENT as
|
|
70
|
-
import { CameraStreamSlotsStyled as
|
|
71
|
-
import { cameraStreamStyles as
|
|
72
|
-
import { DefaultLabel as
|
|
73
|
-
import { DefaultLiveBadge as
|
|
74
|
-
import { DefaultPhaseChannelBusy as
|
|
75
|
-
import { DefaultPhaseError as
|
|
76
|
-
import { DefaultPhaseIdle as
|
|
77
|
-
import { DefaultPhasePolling as
|
|
78
|
-
import { DefaultPhaseRequesting as
|
|
79
|
-
import { DefaultPhaseStreaming as
|
|
80
|
-
import { DefaultPhaseTimeout as
|
|
81
|
-
import { DefaultReplayBadge as
|
|
82
|
-
import { DefaultRoot as
|
|
83
|
-
import { ReportsViewer as
|
|
84
|
-
import { TimelineCardsViewer as
|
|
85
|
-
import { buildTimelineItemKey as
|
|
86
|
-
import { TCV_DICTIONARY as
|
|
87
|
-
import { createJourneyRenderers as
|
|
52
|
+
import { COMPONENT_VIDEO_PLAYER_KEY_COMPONENT as er, VIDEO_PLAYER_VARIANTS as rr } from "./components/VideoPlayer/constants.js";
|
|
53
|
+
import { isHlsLiveDuration as tr, resolveIsLive as ar } from "./components/VideoPlayer/utils.js";
|
|
54
|
+
import { VideoPlayer as pr } from "./components/VideoPlayer/VideoPlayer.js";
|
|
55
|
+
import { CameraStreamsProvider as fr } from "./components/CameraStreams/CameraStreamsProvider.js";
|
|
56
|
+
import { CameraStreamsContext as nr } from "./components/CameraStreams/CameraStreamsContext.js";
|
|
57
|
+
import { CameraStreamPlayersContext as Cr } from "./components/CameraStreams/CameraStreamPlayersContext.js";
|
|
58
|
+
import { createCameraStreamsStore as ur } from "./components/CameraStreams/store.js";
|
|
59
|
+
import { useCameraStreams as Dr } from "./components/CameraStreams/useCameraStreams.js";
|
|
60
|
+
import { useCameraStreamsStore as cr } from "./components/CameraStreams/useCameraStreamsStore.js";
|
|
61
|
+
import { useCameraStreamPlayers as _r } from "./components/CameraStreams/useCameraStreamPlayers.js";
|
|
62
|
+
import { useStreamRequest as dr } from "./components/CameraStreams/hooks/useStreamRequest.js";
|
|
63
|
+
import { isCloudFrontUrl as Or, useCloudFrontCookieManager as yr, useCloudFrontCookieManagerCore as gr, useIsCloudFrontUrl as Mr } from "./components/CameraStreams/hooks/useCloudFrontCookie.js";
|
|
64
|
+
import { COMPONENT_CAMERA_STREAMS_KEY_COMPONENT as Nr, DEFAULT_CAMERA_STREAMS_DURATION_SECONDS as Pr } from "./components/CameraStreams/constants.js";
|
|
65
|
+
import { CAMERA_STREAMS_DICTIONARY_KEYS as vr, getCameraStreamsComponentDictionary as Fr, resolveCameraStreamsDictionaryLabels as Vr } from "./components/CameraStreams/dictionary.js";
|
|
66
|
+
import { buildPlayerKey as hr } from "./components/CameraStreams/types.js";
|
|
67
|
+
import { CameraStream as Yr } from "./components/CameraStream/CameraStream.js";
|
|
68
|
+
import { CAMERA_STREAM_DRAG_HANDLE_CLASSNAME as Hr } from "./components/CameraStream/types.js";
|
|
69
|
+
import { COMPONENT_CAMERA_STREAM_KEY_COMPONENT as Ur, COMPONENT_CAMERA_STREAM_TEST_ID as Qr } from "./components/CameraStream/constants.js";
|
|
70
|
+
import { CameraStreamSlotsStyled as Jr } from "./components/CameraStream/slots/slots.js";
|
|
71
|
+
import { cameraStreamStyles as jr } from "./components/CameraStream/CameraStream.styles.js";
|
|
72
|
+
import { DefaultLabel as zr } from "./components/CameraStream/defaults/DefaultLabel.js";
|
|
73
|
+
import { DefaultLiveBadge as Xr } from "./components/CameraStream/defaults/DefaultLiveBadge.js";
|
|
74
|
+
import { DefaultPhaseChannelBusy as $r } from "./components/CameraStream/defaults/DefaultPhaseChannelBusy.js";
|
|
75
|
+
import { DefaultPhaseError as ro } from "./components/CameraStream/defaults/DefaultPhaseError.js";
|
|
76
|
+
import { DefaultPhaseIdle as to } from "./components/CameraStream/defaults/DefaultPhaseIdle.js";
|
|
77
|
+
import { DefaultPhasePolling as mo } from "./components/CameraStream/defaults/DefaultPhasePolling.js";
|
|
78
|
+
import { DefaultPhaseRequesting as so } from "./components/CameraStream/defaults/DefaultPhaseRequesting.js";
|
|
79
|
+
import { DefaultPhaseStreaming as io } from "./components/CameraStream/defaults/DefaultPhaseStreaming.js";
|
|
80
|
+
import { DefaultPhaseTimeout as xo } from "./components/CameraStream/defaults/DefaultPhaseTimeout.js";
|
|
81
|
+
import { DefaultReplayBadge as lo } from "./components/CameraStream/defaults/DefaultReplayBadge.js";
|
|
82
|
+
import { DefaultRoot as So } from "./components/CameraStream/defaults/DefaultRoot.js";
|
|
83
|
+
import { ReportsViewer as To } from "./components/ReportsViewer/ReportsViewer.js";
|
|
84
|
+
import { TimelineCardsViewer as Eo } from "./components/TimelineCardsViewer/TimelineCardsViewer.js";
|
|
85
|
+
import { buildTimelineItemKey as Ao } from "./components/TimelineCardsViewer/helpers/buildTimelineRows.js";
|
|
86
|
+
import { TCV_DICTIONARY as Oo, TCV_DICTIONARY_ID as yo, getTimelineCardsViewerComponentsDictionary as go } from "./components/TimelineCardsViewer/dictionary.js";
|
|
87
|
+
import { createJourneyRenderers as Ro, createJourneyTimelineRenderers as No, journeyRenderers as Po } from "./components/TimelineCardsViewer/presets/journey/createJourneyTimelineRenderers.js";
|
|
88
88
|
import { createJourneyTimelineAccessors as vo, resolveJourneySegmentVariant as Fo } from "./components/TimelineCardsViewer/presets/journey/helpers.js";
|
|
89
|
-
import { AddressLocation as
|
|
90
|
-
import { getAddressLocationComponentsDictionary as
|
|
91
|
-
import { RHFAddressLocation as
|
|
92
|
-
import { capitalizeFirstLetter as
|
|
93
|
-
import { isValidDate as
|
|
94
|
-
import { getComponentUtilityClass as
|
|
95
|
-
import { getPaletteColor as
|
|
96
|
-
import { getTypographyStyles as
|
|
97
|
-
import { getHeightSizeStyles as
|
|
98
|
-
import { ObjectQueue as
|
|
99
|
-
import { getComponentClasses as
|
|
100
|
-
import { getHdopPresentation as
|
|
101
|
-
import { HDOP_PRESENTATION_RANGES as
|
|
102
|
-
import { TEST_PROP_ID as
|
|
89
|
+
import { AddressLocation as bo } from "./components/AddressLocation/AddressLocation.js";
|
|
90
|
+
import { getAddressLocationComponentsDictionary as Go } from "./components/AddressLocation/dictionary.js";
|
|
91
|
+
import { RHFAddressLocation as Bo } from "./components/RHFs/RHFAddressLocation/RHFAddressLocation.js";
|
|
92
|
+
import { capitalizeFirstLetter as Ko } from "./utils/capitalizeFirstLetter.js";
|
|
93
|
+
import { isValidDate as Qo } from "./utils/isValidDate.js";
|
|
94
|
+
import { getComponentUtilityClass as Jo } from "./utils/getComponentUtilityClass.js";
|
|
95
|
+
import { getPaletteColor as jo } from "./utils/getPaletteColor.js";
|
|
96
|
+
import { getTypographyStyles as zo } from "./utils/getTypographyStyles.js";
|
|
97
|
+
import { getHeightSizeStyles as Xo } from "./utils/getSizeStyles/getSizeStyles.js";
|
|
98
|
+
import { ObjectQueue as $o } from "./utils/ObjectQueue.js";
|
|
99
|
+
import { getComponentClasses as rt, getComponentSlotRoot as ot } from "./utils/getComponentSlotRoot.js";
|
|
100
|
+
import { getHdopPresentation as at } from "./utils/getHdopPresentation/getHdopPresentation.js";
|
|
101
|
+
import { HDOP_PRESENTATION_RANGES as pt, HDOP_QUALITY_COLORS as st } from "./utils/getHdopPresentation/constants.js";
|
|
102
|
+
import { TEST_PROP_ID as it, getNameDataTestId as nt, getPropDataTestId as xt } from "./utils/testIds.js";
|
|
103
103
|
export {
|
|
104
|
-
|
|
104
|
+
bo as AddressLocation,
|
|
105
105
|
vr as CAMERA_STREAMS_DICTIONARY_KEYS,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
Hr as CAMERA_STREAM_DRAG_HANDLE_CLASSNAME,
|
|
107
|
+
Nr as COMPONENT_CAMERA_STREAMS_KEY_COMPONENT,
|
|
108
|
+
Ur as COMPONENT_CAMERA_STREAM_KEY_COMPONENT,
|
|
109
|
+
Qr as COMPONENT_CAMERA_STREAM_TEST_ID,
|
|
110
110
|
er as COMPONENT_VIDEO_PLAYER_KEY_COMPONENT,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
Yr as CameraStream,
|
|
112
|
+
Cr as CameraStreamPlayersContext,
|
|
113
|
+
Jr as CameraStreamSlotsStyled,
|
|
114
|
+
nr as CameraStreamsContext,
|
|
115
|
+
fr as CameraStreamsProvider,
|
|
116
116
|
N as CourseFormatter,
|
|
117
|
-
|
|
117
|
+
Pr as DEFAULT_CAMERA_STREAMS_DURATION_SECONDS,
|
|
118
118
|
x as DEVICE_STATUSES_CONFIG,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
119
|
+
zr as DefaultLabel,
|
|
120
|
+
Xr as DefaultLiveBadge,
|
|
121
|
+
$r as DefaultPhaseChannelBusy,
|
|
122
|
+
ro as DefaultPhaseError,
|
|
123
|
+
to as DefaultPhaseIdle,
|
|
124
|
+
mo as DefaultPhasePolling,
|
|
125
|
+
so as DefaultPhaseRequesting,
|
|
126
|
+
io as DefaultPhaseStreaming,
|
|
127
|
+
xo as DefaultPhaseTimeout,
|
|
128
|
+
lo as DefaultReplayBadge,
|
|
129
|
+
So as DefaultRoot,
|
|
130
130
|
S as Device,
|
|
131
131
|
A as DeviceLabel,
|
|
132
132
|
E as DeviceStatus,
|
|
133
133
|
Me as GEOFENCES_TOOL,
|
|
134
134
|
I as GaugeCircular,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
ye as GeofencesTool,
|
|
136
|
+
F as GpsMap,
|
|
137
|
+
Le as GpsMapToolsContext,
|
|
138
|
+
ve as GpsMapToolsProvider,
|
|
139
|
+
pt as HDOP_PRESENTATION_RANGES,
|
|
140
|
+
st as HDOP_QUALITY_COLORS,
|
|
141
141
|
Ye as INDICATOR_BATTERY_SEMANTIC_STATUS,
|
|
142
142
|
J as INTERACTION_CHANNELS,
|
|
143
143
|
Ve as IndicatorBattery,
|
|
@@ -148,36 +148,37 @@ export {
|
|
|
148
148
|
b as MapContext,
|
|
149
149
|
h as MapProvider,
|
|
150
150
|
j as MarkerFeatureRender,
|
|
151
|
-
|
|
151
|
+
$o as ObjectQueue,
|
|
152
152
|
z as PolylineWithArrows,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
Bo as RHFAddressLocation,
|
|
154
|
+
To as ReportsViewer,
|
|
155
|
+
Oo as TCV_DICTIONARY,
|
|
156
156
|
yo as TCV_DICTIONARY_ID,
|
|
157
|
-
|
|
157
|
+
it as TEST_PROP_ID,
|
|
158
158
|
Ze as TIME_VISIBLE_OPTIONS_KEYS,
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
Eo as TimelineCardsViewer,
|
|
160
|
+
rr as VIDEO_PLAYER_VARIANTS,
|
|
161
|
+
pr as VideoPlayer,
|
|
161
162
|
qe as VideoTimeLineSelector,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
hr as buildPlayerKey,
|
|
164
|
+
Ao as buildTimelineItemKey,
|
|
165
|
+
jr as cameraStreamStyles,
|
|
166
|
+
Ko as capitalizeFirstLetter,
|
|
166
167
|
le as coordsToQuadKey,
|
|
167
168
|
Se as courseToCartesianAngle,
|
|
168
|
-
|
|
169
|
-
|
|
169
|
+
L as courseToCssAngle,
|
|
170
|
+
ur as createCameraStreamsStore,
|
|
170
171
|
U as createFeatureIndexKey,
|
|
171
|
-
|
|
172
|
+
Ro as createJourneyRenderers,
|
|
172
173
|
vo as createJourneyTimelineAccessors,
|
|
173
|
-
|
|
174
|
+
No as createJourneyTimelineRenderers,
|
|
174
175
|
$ as createPixelPathDecimationFilter,
|
|
175
|
-
|
|
176
|
+
Go as getAddressLocationComponentsDictionary,
|
|
176
177
|
Fr as getCameraStreamsComponentDictionary,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
rt as getComponentClasses,
|
|
179
|
+
ot as getComponentSlotRoot,
|
|
180
|
+
Jo as getComponentUtilityClass,
|
|
181
|
+
y as getCourseDirection,
|
|
181
182
|
M as getCourseFormatterComponentsDictionary,
|
|
182
183
|
s as getDeviceByData,
|
|
183
184
|
m as getDeviceComponentsDictionary,
|
|
@@ -185,43 +186,43 @@ export {
|
|
|
185
186
|
T as getDeviceStatusComponentsDictionary,
|
|
186
187
|
Q as getFeatureFromLayer,
|
|
187
188
|
Ne as getGpsMapToolsComponentsDictionary,
|
|
188
|
-
|
|
189
|
-
|
|
189
|
+
at as getHdopPresentation,
|
|
190
|
+
Xo as getHeightSizeStyles,
|
|
190
191
|
he as getIndicatorBatteryComponentsDictionary,
|
|
191
192
|
Ue as getIndicatorCSQComponentsDictionary,
|
|
192
193
|
Y as getMapComponentsDictionary,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
194
|
+
nt as getNameDataTestId,
|
|
195
|
+
jo as getPaletteColor,
|
|
196
|
+
xt as getPropDataTestId,
|
|
197
|
+
go as getTimelineCardsViewerComponentsDictionary,
|
|
198
|
+
zo as getTypographyStyles,
|
|
198
199
|
We as getVideoTimeLineSelectorComponentDictionary,
|
|
199
|
-
|
|
200
|
+
Or as isCloudFrontUrl,
|
|
200
201
|
Te as isFeature,
|
|
201
202
|
Ee as isFeatureCollection,
|
|
202
203
|
Ae as isFeatureCollectionDraft,
|
|
203
204
|
Ie as isGeometry,
|
|
204
|
-
|
|
205
|
+
tr as isHlsLiveDuration,
|
|
205
206
|
o as isObservableFeatureEventCaptured,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
Qo as isValidDate,
|
|
208
|
+
Po as journeyRenderers,
|
|
209
|
+
Vr as resolveCameraStreamsDictionaryLabels,
|
|
210
|
+
ar as resolveIsLive,
|
|
210
211
|
Fo as resolveJourneySegmentVariant,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
_r as useCameraStreamPlayers,
|
|
213
|
+
Dr as useCameraStreams,
|
|
214
|
+
cr as useCameraStreamsStore,
|
|
214
215
|
yr as useCloudFrontCookieManager,
|
|
215
|
-
|
|
216
|
+
gr as useCloudFrontCookieManagerCore,
|
|
216
217
|
l as useDeviceStatus,
|
|
217
218
|
te as useDisableMapEventsOnFlag,
|
|
218
219
|
re as useDisableMapEventsOnMouseOver,
|
|
219
220
|
X as useFilterDecimation,
|
|
220
|
-
|
|
221
|
+
Mr as useIsCloudFrontUrl,
|
|
221
222
|
me as useMapInteractionCapture,
|
|
222
223
|
ie as useMapStore,
|
|
223
224
|
t as useObservableFeatureEventHandlers,
|
|
224
225
|
xe as useRegisterMapToolController,
|
|
225
226
|
se as useScopedMapInteractionCapture,
|
|
226
|
-
|
|
227
|
+
dr as useStreamRequest
|
|
227
228
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/gclick",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@emotion/react": "11.14.0",
|
|
27
27
|
"@emotion/styled": "11.14.1",
|
|
28
28
|
"@tanstack/react-virtual": "^3.13.23",
|
|
29
|
-
"@videojs/react": "^10.0.0-beta.
|
|
29
|
+
"@videojs/react": "^10.0.0-beta.25",
|
|
30
30
|
"react": "^19.0.0",
|
|
31
31
|
"react-dom": "^19.0.0"
|
|
32
32
|
},
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"kdbush": "4.0.2",
|
|
44
44
|
"camelcase-keys": "9.1.3",
|
|
45
45
|
"@mui/material": "5.16.7",
|
|
46
|
-
"@videojs/react": "10.0.0-beta.
|
|
46
|
+
"@videojs/react": "10.0.0-beta.25",
|
|
47
47
|
"react-dom": "19.1.0",
|
|
48
48
|
"immer": "9.0.21",
|
|
49
49
|
"react-hook-form": "7.71.1",
|
|
50
|
-
"@googlemaps/js-api-loader": "1.16.10",
|
|
51
50
|
"leaflet.markercluster": "1.5.3",
|
|
51
|
+
"@googlemaps/js-api-loader": "1.16.10",
|
|
52
52
|
"yup": "0.32.11"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CSSObject, Theme } from '@mui/material/styles';
|
|
2
|
-
/**
|
|
3
|
-
* Returns the official v10 video skin stylesheet converted to Emotion
|
|
4
|
-
* `CSSObject`s, keyed by the vendor's original selectors. Spread it into the
|
|
5
|
-
* `VideoPlayer` root slot so the skin chrome is styled without any global CSS
|
|
6
|
-
* import. Memoized per theme (see `skinStylesCache`).
|
|
7
|
-
*/
|
|
8
|
-
export declare const videojsSkinAllStyles: (theme: Theme) => Record<string, CSSObject>;
|
|
9
|
-
//# sourceMappingURL=VideojsSkin.styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VideojsSkin.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/VideoPlayer/VideojsSkin.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AA40C7D;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,OAAO,KAAK,KAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAO3E,CAAC"}
|