@m4l/gclick 0.27.0-beta-feature-795-m4l-react-native-ui-indicator-flag.2 → 0.27.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 +0 -8
- package/components/CameraStream/CameraStream.styles.d.ts +12 -0
- package/components/CameraStream/CameraStream.styles.d.ts.map +1 -1
- package/components/CameraStream/CameraStream.styles.js +121 -23
- package/components/CameraStream/constants.d.ts +36 -0
- package/components/CameraStream/constants.d.ts.map +1 -1
- package/components/CameraStream/constants.js +7 -1
- package/components/CameraStream/defaults/DefaultLabel.d.ts +3 -0
- package/components/CameraStream/defaults/DefaultLabel.d.ts.map +1 -1
- package/components/CameraStream/defaults/DefaultLabel.js +3 -2
- package/components/CameraStream/defaults/DefaultReplayBadge.d.ts +6 -1
- package/components/CameraStream/defaults/DefaultReplayBadge.d.ts.map +1 -1
- package/components/CameraStream/defaults/DefaultReplayBadge.js +13 -9
- package/components/CameraStream/index.d.ts +2 -2
- package/components/CameraStream/index.d.ts.map +1 -1
- package/components/CameraStream/slots/CameraStreamEnum.d.ts +2 -0
- package/components/CameraStream/slots/CameraStreamEnum.d.ts.map +1 -1
- package/components/CameraStream/slots/CameraStreamEnum.js +2 -2
- package/components/CameraStream/slots/CameraStreamSlots.d.ts +6 -0
- package/components/CameraStream/slots/CameraStreamSlots.d.ts.map +1 -1
- package/components/CameraStream/slots/CameraStreamSlots.js +58 -50
- package/components/CameraStream/types.d.ts +8 -0
- package/components/CameraStream/types.d.ts.map +1 -1
- package/components/VideoPlayer/VideoPlayer.d.ts +12 -4
- package/components/VideoPlayer/VideoPlayer.d.ts.map +1 -1
- package/components/VideoPlayer/VideoPlayer.js +27 -26
- package/components/VideoPlayer/VideoPlayer.styles.d.ts +41 -21
- package/components/VideoPlayer/VideoPlayer.styles.d.ts.map +1 -1
- package/components/VideoPlayer/VideoPlayer.styles.js +147 -85
- package/components/VideoPlayer/VideojsDefaultSkin.styles.d.ts +6 -5
- package/components/VideoPlayer/VideojsDefaultSkin.styles.d.ts.map +1 -1
- package/components/VideoPlayer/VideojsDefaultSkin.styles.js +2428 -1465
- package/components/VideoPlayer/VideojsMinimalSkin.styles.d.ts +6 -5
- package/components/VideoPlayer/VideojsMinimalSkin.styles.d.ts.map +1 -1
- package/components/VideoPlayer/VideojsMinimalSkin.styles.js +2403 -1464
- package/components/VideoPlayer/constants.d.ts +4 -33
- package/components/VideoPlayer/constants.d.ts.map +1 -1
- package/components/VideoPlayer/constants.js +6 -32
- package/components/VideoPlayer/hlsSource.d.ts +10 -5
- package/components/VideoPlayer/hlsSource.d.ts.map +1 -1
- package/components/VideoPlayer/hooks/usePlayerControl.d.ts +10 -4
- package/components/VideoPlayer/hooks/usePlayerControl.d.ts.map +1 -1
- package/components/VideoPlayer/hooks/usePlayerControl.js +27 -23
- package/components/VideoPlayer/player.factory.d.ts +9 -5
- package/components/VideoPlayer/player.factory.d.ts.map +1 -1
- package/components/VideoPlayer/subcomponents/GclickVideoSkin.d.ts +11 -8
- package/components/VideoPlayer/subcomponents/GclickVideoSkin.d.ts.map +1 -1
- package/components/VideoPlayer/subcomponents/GclickVideoSkin.js +49 -45
- package/components/VideoPlayer/subcomponents/VideoPlayerI18nProvider.d.ts +22 -0
- package/components/VideoPlayer/subcomponents/VideoPlayerI18nProvider.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/VideoPlayerI18nProvider.js +13 -0
- package/components/VideoPlayer/subcomponents/skin/DefaultVideoControls.d.ts +28 -0
- package/components/VideoPlayer/subcomponents/skin/DefaultVideoControls.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/DefaultVideoControls.js +33 -0
- package/components/VideoPlayer/subcomponents/skin/MinimalVideoControls.d.ts +25 -0
- package/components/VideoPlayer/subcomponents/skin/MinimalVideoControls.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/MinimalVideoControls.js +36 -0
- package/components/VideoPlayer/subcomponents/skin/TimeSlider.d.ts +14 -0
- package/components/VideoPlayer/subcomponents/skin/TimeSlider.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/TimeSlider.js +23 -0
- package/components/VideoPlayer/subcomponents/skin/VideoErrorDialog.d.ts +11 -9
- package/components/VideoPlayer/subcomponents/skin/VideoErrorDialog.d.ts.map +1 -1
- package/components/VideoPlayer/subcomponents/skin/VideoErrorDialog.js +10 -12
- package/components/VideoPlayer/subcomponents/skin/VideoInputBindings.d.ts +20 -5
- package/components/VideoPlayer/subcomponents/skin/VideoInputBindings.d.ts.map +1 -1
- package/components/VideoPlayer/subcomponents/skin/VideoInputBindings.js +24 -8
- package/components/VideoPlayer/subcomponents/skin/VideoSettingsMenu.d.ts +14 -3
- package/components/VideoPlayer/subcomponents/skin/VideoSettingsMenu.d.ts.map +1 -1
- package/components/VideoPlayer/subcomponents/skin/VideoSettingsMenu.js +93 -38
- package/components/VideoPlayer/subcomponents/skin/VideoStatusIndicators.d.ts +17 -0
- package/components/VideoPlayer/subcomponents/skin/VideoStatusIndicators.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/VideoStatusIndicators.js +36 -0
- package/components/VideoPlayer/subcomponents/skin/VolumePopover.d.ts +16 -0
- package/components/VideoPlayer/subcomponents/skin/VolumePopover.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/VolumePopover.js +34 -0
- package/components/VideoPlayer/subcomponents/skin/buttons.d.ts +51 -0
- package/components/VideoPlayer/subcomponents/skin/buttons.d.ts.map +1 -0
- package/components/VideoPlayer/subcomponents/skin/buttons.js +78 -0
- package/components/VideoPlayer/subcomponents/skin/skinVariant.d.ts +46 -7
- package/components/VideoPlayer/subcomponents/skin/skinVariant.d.ts.map +1 -1
- package/components/VideoPlayer/subcomponents/skin/skinVariant.js +71 -18
- package/components/VideoPlayer/types.d.ts +32 -14
- package/components/VideoPlayer/types.d.ts.map +1 -1
- package/components/VideoPlayer/utils.d.ts +15 -9
- package/components/VideoPlayer/utils.d.ts.map +1 -1
- package/components/index.d.ts +0 -2
- package/components/index.d.ts.map +1 -1
- package/components/indicators/index.d.ts +0 -1
- package/components/indicators/index.d.ts.map +1 -1
- package/index.js +208 -210
- package/package.json +6 -5
- package/video-samples/README.md +5 -1
- package/video-samples/live/index.m3u8 +26 -0
- package/components/PhoneNumberField/PhoneNumberField.d.ts +0 -4
- package/components/PhoneNumberField/PhoneNumberField.d.ts.map +0 -1
- package/components/PhoneNumberField/PhoneNumberField.js +0 -86
- package/components/PhoneNumberField/index.d.ts +0 -3
- package/components/PhoneNumberField/index.d.ts.map +0 -1
- package/components/PhoneNumberField/phoneNumber.d.ts +0 -7
- package/components/PhoneNumberField/phoneNumber.d.ts.map +0 -1
- package/components/PhoneNumberField/phoneNumber.js +0 -12
- package/components/PhoneNumberField/types.d.ts +0 -25
- package/components/PhoneNumberField/types.d.ts.map +0 -1
- package/components/RHFs/RHFPhoneNumberField/RHFPhoneNumberField.d.ts +0 -5
- package/components/RHFs/RHFPhoneNumberField/RHFPhoneNumberField.d.ts.map +0 -1
- package/components/RHFs/RHFPhoneNumberField/RHFPhoneNumberField.js +0 -81
- package/components/RHFs/RHFPhoneNumberField/RHFPhoneNumberField.slots.d.ts +0 -5
- package/components/RHFs/RHFPhoneNumberField/RHFPhoneNumberField.slots.d.ts.map +0 -1
- package/components/RHFs/RHFPhoneNumberField/RHFPhoneNumberField.slots.js +0 -13
- package/components/RHFs/RHFPhoneNumberField/index.d.ts +0 -3
- package/components/RHFs/RHFPhoneNumberField/index.d.ts.map +0 -1
- package/components/RHFs/RHFPhoneNumberField/types.d.ts +0 -13
- package/components/RHFs/RHFPhoneNumberField/types.d.ts.map +0 -1
- package/components/VideoPlayer/subcomponents/skin/VideoControlBar.d.ts +0 -18
- package/components/VideoPlayer/subcomponents/skin/VideoControlBar.d.ts.map +0 -1
- package/components/VideoPlayer/subcomponents/skin/VideoControlBar.js +0 -115
- package/components/VideoPlayer/subcomponents/skin/VideoInputIndicators.d.ts +0 -15
- package/components/VideoPlayer/subcomponents/skin/VideoInputIndicators.d.ts.map +0 -1
- package/components/VideoPlayer/subcomponents/skin/VideoInputIndicators.js +0 -57
- package/components/VideoPlayer/subcomponents/skin/primitives.d.ts +0 -90
- package/components/VideoPlayer/subcomponents/skin/primitives.d.ts.map +0 -1
- package/components/VideoPlayer/subcomponents/skin/primitives.js +0 -144
- package/components/indicators/IndicatorFlag/IndicatorFlag.d.ts +0 -4
- package/components/indicators/IndicatorFlag/IndicatorFlag.d.ts.map +0 -1
- package/components/indicators/IndicatorFlag/IndicatorFlag.js +0 -168
- package/components/indicators/IndicatorFlag/IndicatorFlag.slots.d.ts +0 -31
- package/components/indicators/IndicatorFlag/IndicatorFlag.slots.d.ts.map +0 -1
- package/components/indicators/IndicatorFlag/IndicatorFlag.slots.js +0 -18
- package/components/indicators/IndicatorFlag/IndicatorFlag.styles.d.ts +0 -4
- package/components/indicators/IndicatorFlag/IndicatorFlag.styles.d.ts.map +0 -1
- package/components/indicators/IndicatorFlag/IndicatorFlag.styles.js +0 -142
- package/components/indicators/IndicatorFlag/constants.d.ts +0 -5
- package/components/indicators/IndicatorFlag/constants.d.ts.map +0 -1
- package/components/indicators/IndicatorFlag/constants.js +0 -7
- package/components/indicators/IndicatorFlag/countryOptions.d.ts +0 -4
- package/components/indicators/IndicatorFlag/countryOptions.d.ts.map +0 -1
- package/components/indicators/IndicatorFlag/countryOptions.js +0 -15
- package/components/indicators/IndicatorFlag/countryStock.generated.d.ts +0 -10
- package/components/indicators/IndicatorFlag/countryStock.generated.d.ts.map +0 -1
- package/components/indicators/IndicatorFlag/countryStock.generated.js +0 -251
- package/components/indicators/IndicatorFlag/index.d.ts +0 -3
- package/components/indicators/IndicatorFlag/index.d.ts.map +0 -1
- package/components/indicators/IndicatorFlag/slots.d.ts +0 -13
- package/components/indicators/IndicatorFlag/slots.d.ts.map +0 -1
- package/components/indicators/IndicatorFlag/slots.js +0 -4
- package/components/indicators/IndicatorFlag/types.d.ts +0 -49
- package/components/indicators/IndicatorFlag/types.d.ts.map +0 -1
package/@types/types.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { GaugeCircularOwnerState, GaugeCircularSlotsType } from '../components/G
|
|
|
6
6
|
import { IndicatorCSQOwnerState, IndicatorCSQSlotsType } from '../components/indicators/IndicatorCSQ/types';
|
|
7
7
|
import { IndicatorBatteryOwnerState, IndicatorBatterySlotsType } from '../components/indicators/IndicatorBattery/types';
|
|
8
8
|
import { IndicatorValueStatusSlotsType } from '../components/indicators/IndicatorValueStatus/types';
|
|
9
|
-
import { IndicatorFlagOwnerState, IndicatorFlagSlotsType } from '../components/indicators/IndicatorFlag/types';
|
|
10
9
|
import { VideoTimeLineSelectorOwnerState, VideoTimeLineSelectorSlotsType } from '../components/VideoTimeLineSelector/types';
|
|
11
10
|
import { VideoPlayerOwnerState, VideoPlayerSlotsType } from '../components/VideoPlayer/types';
|
|
12
11
|
import { CameraStreamOwnerState, CameraStreamSlotsStyledType } from '../components/CameraStream/types';
|
|
@@ -31,7 +30,6 @@ declare module '@mui/material/styles' {
|
|
|
31
30
|
M4LCSQSignal: IndicatorCSQSlotsType;
|
|
32
31
|
M4LIndicatorBattery: IndicatorBatterySlotsType;
|
|
33
32
|
M4LIndicatorValueStatus: IndicatorValueStatusSlotsType;
|
|
34
|
-
M4LIndicatorFlag: IndicatorFlagSlotsType;
|
|
35
33
|
M4LVideoTimeLineSelector: VideoTimeLineSelectorSlotsType;
|
|
36
34
|
M4LVideoPlayer: VideoPlayerSlotsType;
|
|
37
35
|
M4LCameraStream: CameraStreamSlotsStyledType;
|
|
@@ -50,7 +48,6 @@ declare module '@mui/material/styles' {
|
|
|
50
48
|
M4LCSQSignal: Partial<IndicatorCSQOwnerState>;
|
|
51
49
|
M4LIndicatorBattery: Partial<IndicatorBatteryOwnerState>;
|
|
52
50
|
M4LIndicatorValueStatus: Partial<IndicatorValueStatusOwnerState>;
|
|
53
|
-
M4LIndicatorFlag: Partial<IndicatorFlagOwnerState>;
|
|
54
51
|
M4LVideoTimeLineSelector: Partial<VideoTimeLineSelectorOwnerState>;
|
|
55
52
|
M4LVideoPlayer: Partial<VideoPlayerOwnerState>;
|
|
56
53
|
M4LCameraStream: Partial<CameraStreamOwnerState>;
|
|
@@ -104,11 +101,6 @@ declare module '@mui/material/styles' {
|
|
|
104
101
|
styleOverrides?: ComponentsOverrides<Theme>['M4LIndicatorValueStatus'];
|
|
105
102
|
variants?: ComponentsVariants['M4LIndicatorValueStatus'];
|
|
106
103
|
};
|
|
107
|
-
M4LIndicatorFlag?: {
|
|
108
|
-
defaultProps?: ComponentsPropsList['M4LIndicatorFlag'];
|
|
109
|
-
styleOverrides?: ComponentsOverrides<Theme>['M4LIndicatorFlag'];
|
|
110
|
-
variants?: ComponentsVariants['M4LIndicatorFlag'];
|
|
111
|
-
};
|
|
112
104
|
M4LVideoTimeLineSelector?: {
|
|
113
105
|
defaultProps?: ComponentsPropsList['M4LVideoTimeLineSelector'];
|
|
114
106
|
styleOverrides?: ComponentsOverrides<Theme>['M4LVideoTimeLineSelector'];
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import { CSSObject, Theme } from '@mui/material/styles';
|
|
1
2
|
import { CameraStreamStyles } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Position of an overlay a consumer adds to the tile's top-end corner beside
|
|
5
|
+
* the package's badges — OMM Playback's request button while the clip plays,
|
|
6
|
+
* for instance. Give the overlay `CAMERA_STREAM_END_OVERLAY_CLASSNAME` too, so
|
|
7
|
+
* the root keeps the label clear of it in a compact tile.
|
|
8
|
+
*
|
|
9
|
+
* In a roomy tile it takes the row below LIVE. In a compact one that row would
|
|
10
|
+
* graze the control bar (at 160x90 the mini chrome starts the bar 55px down,
|
|
11
|
+
* the row would end at 54px), so it joins the top row beside LIVE's 24px dot.
|
|
12
|
+
*/
|
|
13
|
+
export declare function getCameraStreamEndOverlayStyles(theme: Theme): CSSObject;
|
|
2
14
|
export declare const cameraStreamStyles: CameraStreamStyles;
|
|
3
15
|
//# sourceMappingURL=CameraStream.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CameraStream.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStream/CameraStream.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CameraStream.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStream/CameraStream.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AASzE,OAAO,KAAK,EAA0B,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAe1E;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAyBvE;AAED,eAAO,MAAM,kBAAkB,EAAE,kBAqZhC,CAAC"}
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
import { alpha as e } from "@mui/material/styles";
|
|
2
|
-
|
|
2
|
+
import { CAMERA_STREAM_CONTAINER_NAME as c, CAMERA_STREAM_COMPACT_QUERY as r, CAMERA_STREAM_LABEL_MAX_WIDTH as n, CAMERA_STREAM_END_CORNER_VAR as p, CAMERA_STREAM_END_OVERLAY_CLASSNAME as l } from "./constants.js";
|
|
3
|
+
const d = 0.92;
|
|
4
|
+
function u(a) {
|
|
5
|
+
const s = a.vars.size.baseSpacings;
|
|
6
|
+
return {
|
|
7
|
+
position: "absolute",
|
|
8
|
+
// LIVE's height plus the corner gap. A fixed offset on purpose: a
|
|
9
|
+
// `translateY(100%)` follows the overlay's own height, which changes when
|
|
10
|
+
// the badge inside collapses to its icon.
|
|
11
|
+
top: `calc(${s.sp2} + ${s["sp4-5"]} + ${s.sp1})`,
|
|
12
|
+
right: s.sp2,
|
|
13
|
+
maxWidth: `calc(100% - 2 * ${s.sp2})`,
|
|
14
|
+
display: "flex",
|
|
15
|
+
justifyContent: "flex-end",
|
|
16
|
+
zIndex: 1e3,
|
|
17
|
+
// The package's badges position themselves; inside the overlay they follow
|
|
18
|
+
// its flow instead and take its width as their budget. `> button` outranks
|
|
19
|
+
// the badge's own single-class rule.
|
|
20
|
+
"& > button": {
|
|
21
|
+
position: "static",
|
|
22
|
+
maxWidth: "100%"
|
|
23
|
+
},
|
|
24
|
+
[r]: {
|
|
25
|
+
top: s.sp2,
|
|
26
|
+
right: `calc(${s.sp2} + ${s.sp6} + ${s["sp0-5"]})`
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
const v = {
|
|
3
31
|
/**
|
|
4
32
|
* Outer tile container. Sizing is delegated to the parent layout
|
|
5
33
|
* (`react-grid-layout` in TabCameras). The tile is a DS surface that
|
|
@@ -37,6 +65,17 @@ const t = 0.92, p = {
|
|
|
37
65
|
"@keyframes cameraStreamFadeIn": {
|
|
38
66
|
from: { opacity: 0, transform: "scale(0.97)" },
|
|
39
67
|
to: { opacity: 1, transform: "scale(1)" }
|
|
68
|
+
},
|
|
69
|
+
// The tile is the container every overlay measures itself against (see
|
|
70
|
+
// `CAMERA_STREAM_COMPACT_QUERY`). `inline-size` creates neither a stacking
|
|
71
|
+
// context nor a containing block for `fixed` descendants (checked in
|
|
72
|
+
// Chromium and WebKit), so the overlays keep painting over the grid.
|
|
73
|
+
containerType: "inline-size",
|
|
74
|
+
containerName: c,
|
|
75
|
+
// A consumer overlay in the top-end corner sits beside LIVE's dot in a
|
|
76
|
+
// compact tile, so the label leaves room for two corner items, not one.
|
|
77
|
+
[`&:has(.${l})`]: {
|
|
78
|
+
[p]: `calc(2 * ${a.vars.size.baseSpacings.sp6} + ${a.vars.size.baseSpacings["sp0-5"]})`
|
|
40
79
|
}
|
|
41
80
|
}),
|
|
42
81
|
/**
|
|
@@ -50,8 +89,8 @@ const t = 0.92, p = {
|
|
|
50
89
|
* chip in the DS — preset-aware (patronus / grass / turqui / brown /
|
|
51
90
|
* blaze) and mode-aware (light / dark) without any inline alpha.
|
|
52
91
|
*/
|
|
53
|
-
label: ({ theme: a, ownerState:
|
|
54
|
-
const
|
|
92
|
+
label: ({ theme: a, ownerState: s }) => {
|
|
93
|
+
const t = s?.phaseKind === "streaming", o = a.vars.palette.chips.primary.contained;
|
|
55
94
|
return {
|
|
56
95
|
position: "absolute",
|
|
57
96
|
top: a.vars.size.baseSpacings.sp2,
|
|
@@ -60,15 +99,24 @@ const t = 0.92, p = {
|
|
|
60
99
|
boxShadow: a.customShadows.card,
|
|
61
100
|
cursor: "grab",
|
|
62
101
|
userSelect: "none",
|
|
102
|
+
// The label shares the top row with the top-end badges and never runs
|
|
103
|
+
// under them: `DefaultLabel` turns on the Chip's `ellipsis`, so a long
|
|
104
|
+
// camera name truncates inside this budget.
|
|
105
|
+
maxWidth: n,
|
|
106
|
+
[r]: {
|
|
107
|
+
// The corner only holds 24px items here (the replay icon or LIVE's
|
|
108
|
+
// dot, plus a consumer end overlay), so the label takes the rest.
|
|
109
|
+
maxWidth: `calc(100% - 2 * ${a.vars.size.baseSpacings.sp2} - ${a.vars.size.baseSpacings.sp1} - var(${p}, ${a.vars.size.baseSpacings.sp6}))`
|
|
110
|
+
},
|
|
63
111
|
transition: "opacity 0.15s ease-in-out, background-color 0.15s ease-in-out",
|
|
64
|
-
opacity:
|
|
112
|
+
opacity: t ? 0.45 : 1,
|
|
65
113
|
"&:hover": {
|
|
66
114
|
opacity: 1,
|
|
67
|
-
backgroundColor:
|
|
115
|
+
backgroundColor: o.backgroundHoverTone
|
|
68
116
|
},
|
|
69
117
|
"&:active": {
|
|
70
118
|
cursor: "grabbing",
|
|
71
|
-
backgroundColor:
|
|
119
|
+
backgroundColor: o.backgroundActiveTone
|
|
72
120
|
},
|
|
73
121
|
"&::before": {
|
|
74
122
|
content: '"⋮⋮"',
|
|
@@ -88,7 +136,7 @@ const t = 0.92, p = {
|
|
|
88
136
|
* `customShadows.error` (DS-defined red glow) instead of inline rgba.
|
|
89
137
|
*/
|
|
90
138
|
liveBadge: ({ theme: a }) => {
|
|
91
|
-
const
|
|
139
|
+
const s = e(a.palette.error.light, 0.7), i = e(a.palette.error.light, 0);
|
|
92
140
|
return {
|
|
93
141
|
position: "absolute",
|
|
94
142
|
display: "flex",
|
|
@@ -96,7 +144,7 @@ const t = 0.92, p = {
|
|
|
96
144
|
gap: a.vars.size.baseSpacings["sp1-5"],
|
|
97
145
|
top: a.vars.size.baseSpacings.sp2,
|
|
98
146
|
right: a.vars.size.baseSpacings.sp2,
|
|
99
|
-
backgroundColor: e(a.palette.error.main,
|
|
147
|
+
backgroundColor: e(a.palette.error.main, d),
|
|
100
148
|
color: a.vars.palette.error.contrastText,
|
|
101
149
|
padding: `${a.vars.size.baseSpacings["sp0-5"]} ${a.vars.size.baseSpacings.sp2}`,
|
|
102
150
|
borderRadius: a.vars.size.borderRadius.r1,
|
|
@@ -113,13 +161,24 @@ const t = 0.92, p = {
|
|
|
113
161
|
height: a.vars.size.baseSpacings.sp2,
|
|
114
162
|
borderRadius: "50%",
|
|
115
163
|
backgroundColor: a.vars.palette.error.light,
|
|
116
|
-
boxShadow: `0 0 0 0 ${
|
|
164
|
+
boxShadow: `0 0 0 0 ${s}`,
|
|
117
165
|
animation: "cameraStreamLivePulse 1.4s cubic-bezier(0.66, 0, 0, 1) infinite"
|
|
118
166
|
},
|
|
119
167
|
"@keyframes cameraStreamLivePulse": {
|
|
120
|
-
"0%": { boxShadow: `0 0 0 0 ${
|
|
121
|
-
"70%": { boxShadow: `0 0 0 6px ${
|
|
122
|
-
"100%": { boxShadow: `0 0 0 0 ${
|
|
168
|
+
"0%": { boxShadow: `0 0 0 0 ${s}` },
|
|
169
|
+
"70%": { boxShadow: `0 0 0 6px ${i}` },
|
|
170
|
+
"100%": { boxShadow: `0 0 0 0 ${i}` }
|
|
171
|
+
},
|
|
172
|
+
// Compact tile: only the pulsing dot stays, so the label keeps its row.
|
|
173
|
+
// `font-size: 0` hides the word visually only; screen readers still get it.
|
|
174
|
+
[r]: {
|
|
175
|
+
fontSize: 0,
|
|
176
|
+
letterSpacing: 0,
|
|
177
|
+
gap: 0,
|
|
178
|
+
width: a.vars.size.baseSpacings.sp6,
|
|
179
|
+
height: a.vars.size.baseSpacings["sp4-5"],
|
|
180
|
+
padding: 0,
|
|
181
|
+
justifyContent: "center"
|
|
123
182
|
}
|
|
124
183
|
};
|
|
125
184
|
},
|
|
@@ -131,9 +190,15 @@ const t = 0.92, p = {
|
|
|
131
190
|
* the stream, so it speaks the DS primary-chip language instead of the
|
|
132
191
|
* error/broadcast red, and keeps the frozen last frame fully visible (no
|
|
133
192
|
* backdrop veil by design).
|
|
193
|
+
*
|
|
194
|
+
* One line always, within the room the label leaves. The text part
|
|
195
|
+
* (`replayBadgeText`) truncates and the detail (`replayBadgeDetail`, the
|
|
196
|
+
* Playback instant) never does. In a compact tile it becomes a 24px icon
|
|
197
|
+
* button, the WCAG 2.2 SC 2.5.8 minimum target; the full text stays its
|
|
198
|
+
* accessible name and its tooltip (`DefaultReplayBadge`).
|
|
134
199
|
*/
|
|
135
200
|
replayBadge: ({ theme: a }) => {
|
|
136
|
-
const
|
|
201
|
+
const s = a.vars.palette.chips.primary.contained;
|
|
137
202
|
return {
|
|
138
203
|
position: "absolute",
|
|
139
204
|
display: "flex",
|
|
@@ -141,8 +206,8 @@ const t = 0.92, p = {
|
|
|
141
206
|
gap: a.vars.size.baseSpacings["sp1-5"],
|
|
142
207
|
top: a.vars.size.baseSpacings.sp2,
|
|
143
208
|
right: a.vars.size.baseSpacings.sp2,
|
|
144
|
-
backgroundColor:
|
|
145
|
-
color:
|
|
209
|
+
backgroundColor: s.backgroundColorTone,
|
|
210
|
+
color: s.colorTone,
|
|
146
211
|
padding: `${a.vars.size.baseSpacings["sp0-5"]} ${a.vars.size.baseSpacings.sp2}`,
|
|
147
212
|
border: "none",
|
|
148
213
|
borderRadius: a.vars.size.borderRadius.r1,
|
|
@@ -155,19 +220,51 @@ const t = 0.92, p = {
|
|
|
155
220
|
cursor: "pointer",
|
|
156
221
|
boxShadow: a.customShadows.card,
|
|
157
222
|
transition: "background-color 0.15s ease-in-out",
|
|
223
|
+
whiteSpace: "nowrap",
|
|
224
|
+
maxWidth: `calc(100% - 2 * ${a.vars.size.baseSpacings.sp2} - ${a.vars.size.baseSpacings.sp1} - ${n})`,
|
|
158
225
|
"&:hover, &:focus-visible": {
|
|
159
|
-
backgroundColor:
|
|
226
|
+
backgroundColor: s.backgroundHoverTone,
|
|
160
227
|
outline: "none"
|
|
161
228
|
},
|
|
162
229
|
"&:active": {
|
|
163
|
-
backgroundColor:
|
|
230
|
+
backgroundColor: s.backgroundActiveTone
|
|
164
231
|
},
|
|
165
232
|
"& svg": {
|
|
166
233
|
width: 14,
|
|
167
|
-
height: 14
|
|
234
|
+
height: 14,
|
|
235
|
+
flexShrink: 0
|
|
236
|
+
},
|
|
237
|
+
[r]: {
|
|
238
|
+
width: a.vars.size.baseSpacings.sp6,
|
|
239
|
+
height: a.vars.size.baseSpacings.sp6,
|
|
240
|
+
padding: 0,
|
|
241
|
+
gap: 0,
|
|
242
|
+
justifyContent: "center"
|
|
168
243
|
}
|
|
169
244
|
};
|
|
170
245
|
},
|
|
246
|
+
/**
|
|
247
|
+
* Text part of the replay badge: the one piece that gives way when the row
|
|
248
|
+
* is short, with an ellipsis. Hidden in a compact tile.
|
|
249
|
+
*/
|
|
250
|
+
replayBadgeText: () => ({
|
|
251
|
+
minWidth: 0,
|
|
252
|
+
overflow: "hidden",
|
|
253
|
+
textOverflow: "ellipsis",
|
|
254
|
+
[r]: {
|
|
255
|
+
display: "none"
|
|
256
|
+
}
|
|
257
|
+
}),
|
|
258
|
+
/**
|
|
259
|
+
* Detail of the replay badge (Playback's `· 14:32`). It names what the
|
|
260
|
+
* button fetches, so it never shrinks; hidden with the text in a compact tile.
|
|
261
|
+
*/
|
|
262
|
+
replayBadgeDetail: () => ({
|
|
263
|
+
flexShrink: 0,
|
|
264
|
+
[r]: {
|
|
265
|
+
display: "none"
|
|
266
|
+
}
|
|
267
|
+
}),
|
|
171
268
|
/**
|
|
172
269
|
* Same corner as the LIVE badge but one row below, because unlike LIVE and
|
|
173
270
|
* replay this one DOES coexist with them. The offset is the badge height plus
|
|
@@ -201,7 +298,7 @@ const t = 0.92, p = {
|
|
|
201
298
|
* so the interaction stays preset-aware.
|
|
202
299
|
*/
|
|
203
300
|
placeholderButton: ({ theme: a }) => {
|
|
204
|
-
const
|
|
301
|
+
const s = a.palette.mode === "dark", i = s ? e(a.palette.common.white, 0.85) : e(a.palette.text.primary, 0.75), t = s ? a.vars.palette.primary.contrastText : a.vars.palette.primary.main, o = s ? e(a.palette.common.white, 0.08) : e(a.palette.common.black, 0.04);
|
|
205
302
|
return {
|
|
206
303
|
position: "absolute",
|
|
207
304
|
inset: 0,
|
|
@@ -212,15 +309,15 @@ const t = 0.92, p = {
|
|
|
212
309
|
gap: a.vars.size.baseSpacings.sp2,
|
|
213
310
|
width: "100%",
|
|
214
311
|
height: "100%",
|
|
215
|
-
background: `radial-gradient(circle at 50% 40%, ${
|
|
216
|
-
color:
|
|
312
|
+
background: `radial-gradient(circle at 50% 40%, ${o}, transparent 70%)`,
|
|
313
|
+
color: i,
|
|
217
314
|
border: "none",
|
|
218
315
|
cursor: "pointer",
|
|
219
316
|
fontFamily: "inherit",
|
|
220
317
|
transition: "background-color 0.2s ease-in-out, color 0.2s ease-in-out",
|
|
221
318
|
"&:hover, &:focus-visible": {
|
|
222
319
|
backgroundColor: a.vars.palette.primary.hoverOpacity,
|
|
223
|
-
color:
|
|
320
|
+
color: t,
|
|
224
321
|
outline: "none"
|
|
225
322
|
},
|
|
226
323
|
"&:hover .camera-stream__placeholder-icon, &:focus-visible .camera-stream__placeholder-icon": {
|
|
@@ -317,5 +414,6 @@ const t = 0.92, p = {
|
|
|
317
414
|
})
|
|
318
415
|
};
|
|
319
416
|
export {
|
|
320
|
-
|
|
417
|
+
v as cameraStreamStyles,
|
|
418
|
+
u as getCameraStreamEndOverlayStyles
|
|
321
419
|
};
|
|
@@ -6,4 +6,40 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const COMPONENT_CAMERA_STREAM_KEY_COMPONENT = "M4LCameraStream";
|
|
8
8
|
export declare const COMPONENT_CAMERA_STREAM_TEST_ID = "M4LCameraStream";
|
|
9
|
+
/**
|
|
10
|
+
* Size container the tile root declares (`inline-size`). Every overlay budgets
|
|
11
|
+
* its width against the tile through it, never against the viewport: a camera
|
|
12
|
+
* wall shows tiles of many sizes on the same screen.
|
|
13
|
+
*/
|
|
14
|
+
export declare const CAMERA_STREAM_CONTAINER_NAME = "m4l-camera-stream";
|
|
15
|
+
/**
|
|
16
|
+
* Tile width below which the top-end overlays collapse: the replay badge to a
|
|
17
|
+
* 24px icon button and the LIVE badge to its pulsing dot. At 20rem (320px) the
|
|
18
|
+
* replay badge still fits its full text (179px) beside the label's budget
|
|
19
|
+
* (188px free); one step below, it would cut its text to a couple of letters.
|
|
20
|
+
* In rem, like the vendor's own breakpoints, so it follows the root font size.
|
|
21
|
+
*/
|
|
22
|
+
export declare const CAMERA_STREAM_COMPACT_WIDTH = "20rem";
|
|
23
|
+
/** Container query that matches a compact tile (see `CAMERA_STREAM_COMPACT_WIDTH`). */
|
|
24
|
+
export declare const CAMERA_STREAM_COMPACT_QUERY = "@container m4l-camera-stream (width < 20rem)";
|
|
25
|
+
/**
|
|
26
|
+
* Share of the top row the label may take in a roomy tile; the replay badge
|
|
27
|
+
* takes the rest. Capped in rem so a wide tile does not hand a long camera
|
|
28
|
+
* name the whole row.
|
|
29
|
+
*/
|
|
30
|
+
export declare const CAMERA_STREAM_LABEL_MAX_WIDTH = "min(35%, 15rem)";
|
|
31
|
+
/**
|
|
32
|
+
* Class that marks an overlay a consumer adds to the tile's top-end corner
|
|
33
|
+
* beside the package's own badges (OMM Playback's request button while the
|
|
34
|
+
* clip plays, for instance). The root detects it with `:has()` and, in a
|
|
35
|
+
* compact tile, makes the label leave room for a second corner item. Pair it
|
|
36
|
+
* with `getCameraStreamEndOverlayStyles` for the overlay's position.
|
|
37
|
+
*/
|
|
38
|
+
export declare const CAMERA_STREAM_END_OVERLAY_CLASSNAME = "camera-stream__end-overlay";
|
|
39
|
+
/**
|
|
40
|
+
* Inline size the label leaves free at the top-end corner of a compact tile.
|
|
41
|
+
* Internal: the root sets it when an end overlay is mounted; unset, the label
|
|
42
|
+
* falls back to a single 24px corner item.
|
|
43
|
+
*/
|
|
44
|
+
export declare const CAMERA_STREAM_END_CORNER_VAR = "--m4l-camera-stream-end-corner";
|
|
9
45
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStream/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC,oBAAoB,CAAC;AAEvE,eAAO,MAAM,+BAA+B,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStream/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC,oBAAoB,CAAC;AAEvE,eAAO,MAAM,+BAA+B,oBAAoB,CAAC;AAEjE;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,sBAAsB,CAAC;AAEhE;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,UAAU,CAAC;AAEnD,uFAAuF;AACvF,eAAO,MAAM,2BAA2B,iDAC+C,CAAC;AAExF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,oBAAoB,CAAC;AAE/D;;;;;;GAMG;AACH,eAAO,MAAM,mCAAmC,+BAA+B,CAAC;AAEhF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,mCAAmC,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
const E = "M4LCameraStream", M = "M4LCameraStream";
|
|
1
|
+
const E = "M4LCameraStream", M = "M4LCameraStream", A = "m4l-camera-stream", _ = "20rem", R = `@container ${A} (width < ${_})`, C = "min(35%, 15rem)", e = "camera-stream__end-overlay", T = "--m4l-camera-stream-end-corner";
|
|
2
2
|
export {
|
|
3
|
+
R as CAMERA_STREAM_COMPACT_QUERY,
|
|
4
|
+
_ as CAMERA_STREAM_COMPACT_WIDTH,
|
|
5
|
+
A as CAMERA_STREAM_CONTAINER_NAME,
|
|
6
|
+
T as CAMERA_STREAM_END_CORNER_VAR,
|
|
7
|
+
e as CAMERA_STREAM_END_OVERLAY_CLASSNAME,
|
|
8
|
+
C as CAMERA_STREAM_LABEL_MAX_WIDTH,
|
|
3
9
|
E as COMPONENT_CAMERA_STREAM_KEY_COMPONENT,
|
|
4
10
|
M as COMPONENT_CAMERA_STREAM_TEST_ID
|
|
5
11
|
};
|
|
@@ -7,6 +7,9 @@ import { CameraStreamLabelSlotProps } from '../types';
|
|
|
7
7
|
* the way of the video — the styled slot reads `ownerState.phaseKind` to
|
|
8
8
|
* apply the fade via theme overrides.
|
|
9
9
|
*
|
|
10
|
+
* `ellipsis` truncates a long camera name inside the width budget the styled
|
|
11
|
+
* slot gives the label, so it never runs under the top-end badges.
|
|
12
|
+
*
|
|
10
13
|
* Extra props from `slotProps.label` are spread onto the root element so
|
|
11
14
|
* consumers can attach `data-testid`, ARIA attributes, etc. without forking
|
|
12
15
|
* the component.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultLabel.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStream/defaults/DefaultLabel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,0BAA0B,EAE3B,MAAM,UAAU,CAAC;AAElB
|
|
1
|
+
{"version":3,"file":"DefaultLabel.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStream/defaults/DefaultLabel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,0BAA0B,EAE3B,MAAM,UAAU,CAAC;AAElB;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,EAC3B,WAAW,EACX,mBAAmB,EACnB,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,oDAiBtD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { MediaVideoOutlined as i } from "@m4l/icons";
|
|
3
3
|
import { CameraLabelStyled as l } from "../slots/CameraStreamSlots.js";
|
|
4
|
-
function
|
|
4
|
+
function c({
|
|
5
5
|
cameraLabel: t,
|
|
6
6
|
dragHandleClassName: r,
|
|
7
7
|
autoFade: a,
|
|
@@ -13,6 +13,7 @@ function d({
|
|
|
13
13
|
variant: "contained",
|
|
14
14
|
color: "primary",
|
|
15
15
|
size: "small",
|
|
16
|
+
ellipsis: !0,
|
|
16
17
|
startIcon: /* @__PURE__ */ e(i, { sx: { fontSize: 14, "& path": { fill: "currentColor" } } }),
|
|
17
18
|
label: t,
|
|
18
19
|
className: r,
|
|
@@ -24,5 +25,5 @@ function d({
|
|
|
24
25
|
);
|
|
25
26
|
}
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
c as DefaultLabel
|
|
28
29
|
};
|
|
@@ -5,6 +5,11 @@ import { CameraStreamReplayBadgeSlotProps } from '../types';
|
|
|
5
5
|
* re-requests the stream via the store's `replay` action while the frozen
|
|
6
6
|
* last frame stays visible underneath. The parent decides when to mount it;
|
|
7
7
|
* the slot itself just paints and dispatches.
|
|
8
|
+
*
|
|
9
|
+
* The label and the optional `replayDetail` are painted apart, so the label
|
|
10
|
+
* truncates first and the detail never does; in a compact tile both give way
|
|
11
|
+
* to the icon alone (`CameraStream.styles.ts`). The full phrase is always the
|
|
12
|
+
* button's accessible name and its DS tooltip, whatever the tile shows.
|
|
8
13
|
*/
|
|
9
|
-
export declare function DefaultReplayBadge({ onReplay, replayLabel }: CameraStreamReplayBadgeSlotProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function DefaultReplayBadge({ onReplay, replayLabel, replayDetail }: CameraStreamReplayBadgeSlotProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
15
|
//# sourceMappingURL=DefaultReplayBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultReplayBadge.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStream/defaults/DefaultReplayBadge.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DefaultReplayBadge.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStream/defaults/DefaultReplayBadge.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAC;AAKjE;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,gCAAgC,oDAgB3G"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as o, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Tooltip as i } from "@m4l/base";
|
|
3
|
+
import { ArrowReloadOutlined as c } from "@m4l/icons";
|
|
4
|
+
import { ReplayBadgeStyled as f, ReplayBadgeTextStyled as m, ReplayBadgeDetailStyled as u } from "../slots/CameraStreamSlots.js";
|
|
5
|
+
const r = "·";
|
|
6
|
+
function h({ onReplay: n, replayLabel: l, replayDetail: t }) {
|
|
7
|
+
const e = t ? `${l} ${r} ${t}` : l;
|
|
8
|
+
return /* @__PURE__ */ o(i, { title: e, children: /* @__PURE__ */ d(f, { type: "button", onClick: n, "aria-label": e, children: [
|
|
9
|
+
/* @__PURE__ */ o(c, { sx: { "& path": { fill: "currentColor" } } }),
|
|
10
|
+
/* @__PURE__ */ o(m, { children: l }),
|
|
11
|
+
t ? /* @__PURE__ */ o(u, { children: `${r} ${t}` }) : null
|
|
12
|
+
] }) });
|
|
9
13
|
}
|
|
10
14
|
export {
|
|
11
|
-
|
|
15
|
+
h as DefaultReplayBadge
|
|
12
16
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { CameraStream } from './CameraStream';
|
|
2
2
|
export type { CameraStreamLabelSlotProps, CameraStreamLiveBadgeSlotProps, CameraStreamOwnerState, CameraStreamPhaseChannelBusySlotProps, CameraStreamPhaseErrorSlotProps, CameraStreamPhaseIdleSlotProps, CameraStreamPhasePollingSlotProps, CameraStreamPhaseRequestingSlotProps, CameraStreamPhaseStreamingSlotProps, CameraStreamPhaseTimeoutSlotProps, CameraStreamProps, CameraStreamReplayBadgeSlotProps, CameraStreamRootSlotProps, CameraStreamSharedBadgeSlotProps, CameraStreamSlotProps, CameraStreamSlots, CameraStreamSlotsStyledType, CameraStreamStyles, } from './types';
|
|
3
3
|
export { CAMERA_STREAM_DRAG_HANDLE_CLASSNAME } from './types';
|
|
4
|
-
export { COMPONENT_CAMERA_STREAM_KEY_COMPONENT, COMPONENT_CAMERA_STREAM_TEST_ID, } from './constants';
|
|
4
|
+
export { CAMERA_STREAM_COMPACT_QUERY, CAMERA_STREAM_CONTAINER_NAME, CAMERA_STREAM_END_OVERLAY_CLASSNAME, COMPONENT_CAMERA_STREAM_KEY_COMPONENT, COMPONENT_CAMERA_STREAM_TEST_ID, } from './constants';
|
|
5
5
|
export { CameraStreamSlotsStyled } from './slots/CameraStreamEnum';
|
|
6
|
-
export { cameraStreamStyles } from './CameraStream.styles';
|
|
6
|
+
export { cameraStreamStyles, getCameraStreamEndOverlayStyles } from './CameraStream.styles';
|
|
7
7
|
export { DefaultLabel } from './defaults/DefaultLabel';
|
|
8
8
|
export { DefaultLiveBadge } from './defaults/DefaultLiveBadge';
|
|
9
9
|
export { DefaultPhaseChannelBusy } from './defaults/DefaultPhaseChannelBusy';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStream/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,YAAY,EACV,0BAA0B,EAC1B,8BAA8B,EAC9B,sBAAsB,EACtB,qCAAqC,EACrC,+BAA+B,EAC/B,8BAA8B,EAC9B,iCAAiC,EACjC,oCAAoC,EACpC,mCAAmC,EACnC,iCAAiC,EACjC,iBAAiB,EACjB,gCAAgC,EAChC,yBAAyB,EACzB,gCAAgC,EAChC,qBAAqB,EACrB,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,mCAAmC,EAAE,MAAM,SAAS,CAAC;AAG9D,OAAO,EACL,qCAAqC,EACrC,+BAA+B,GAChC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/gclick/src/components/CameraStream/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,YAAY,EACV,0BAA0B,EAC1B,8BAA8B,EAC9B,sBAAsB,EACtB,qCAAqC,EACrC,+BAA+B,EAC/B,8BAA8B,EAC9B,iCAAiC,EACjC,oCAAoC,EACpC,mCAAmC,EACnC,iCAAiC,EACjC,iBAAiB,EACjB,gCAAgC,EAChC,yBAAyB,EACzB,gCAAgC,EAChC,qBAAqB,EACrB,iBAAiB,EACjB,2BAA2B,EAC3B,kBAAkB,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,mCAAmC,EAAE,MAAM,SAAS,CAAC;AAG9D,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,mCAAmC,EACnC,qCAAqC,EACrC,+BAA+B,GAChC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAC;AAI5F,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -15,6 +15,8 @@ export declare enum CameraStreamSlotsStyled {
|
|
|
15
15
|
label = "label",
|
|
16
16
|
liveBadge = "liveBadge",
|
|
17
17
|
replayBadge = "replayBadge",
|
|
18
|
+
replayBadgeText = "replayBadgeText",
|
|
19
|
+
replayBadgeDetail = "replayBadgeDetail",
|
|
18
20
|
sharedBadge = "sharedBadge",
|
|
19
21
|
placeholderButton = "placeholderButton",
|
|
20
22
|
placeholderIcon = "placeholderIcon",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CameraStreamEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStream/slots/CameraStreamEnum.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,oBAAY,uBAAuB;IACjC,IAAI,SAAS;IACb,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,SAAS,cAAc;CACxB"}
|
|
1
|
+
{"version":3,"file":"CameraStreamEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStream/slots/CameraStreamEnum.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,oBAAY,uBAAuB;IACjC,IAAI,SAAS;IACb,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,SAAS,cAAc;CACxB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p = /* @__PURE__ */ ((e) => (e.root = "root", e.label = "label", e.liveBadge = "liveBadge", e.replayBadge = "replayBadge", e.replayBadgeText = "replayBadgeText", e.replayBadgeDetail = "replayBadgeDetail", e.sharedBadge = "sharedBadge", e.placeholderButton = "placeholderButton", e.placeholderIcon = "placeholderIcon", e.placeholderText = "placeholderText", e.phaseOverlay = "phaseOverlay", e.phaseSkeleton = "phaseSkeleton", e.phaseMessage = "phaseMessage", e.phaseHint = "phaseHint", e))(p || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
p as CameraStreamSlotsStyled
|
|
4
4
|
};
|
|
@@ -23,6 +23,12 @@ export declare const LiveBadgeStyled: import('@emotion/styled').StyledComponent<
|
|
|
23
23
|
export declare const ReplayBadgeStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
24
24
|
ownerState?: (Partial<import('..').CameraStreamOwnerState> & Record<string, unknown>) | undefined;
|
|
25
25
|
}, Pick<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('react').ClassAttributes<HTMLButtonElement> | keyof import('react').ButtonHTMLAttributes<HTMLButtonElement>>, {}>;
|
|
26
|
+
export declare const ReplayBadgeTextStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
27
|
+
ownerState?: (Partial<import('..').CameraStreamOwnerState> & Record<string, unknown>) | undefined;
|
|
28
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import('react').ClassAttributes<HTMLSpanElement> | keyof import('react').HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
29
|
+
export declare const ReplayBadgeDetailStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
30
|
+
ownerState?: (Partial<import('..').CameraStreamOwnerState> & Record<string, unknown>) | undefined;
|
|
31
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import('react').ClassAttributes<HTMLSpanElement> | keyof import('react').HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
26
32
|
export declare const SharedBadgeStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
27
33
|
ownerState?: (Partial<import('..').CameraStreamOwnerState> & Record<string, unknown>) | undefined;
|
|
28
34
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CameraStreamSlots.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStream/slots/CameraStreamSlots.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,gBAAgB;;6NAGF,CAAC;AAK5B,eAAO,MAAM,iBAAiB;;UAIF,CAAC;AAE7B,eAAO,MAAM,eAAe;;6NAGI,CAAC;AAKjC,eAAO,MAAM,iBAAiB;;qPAGI,CAAC;
|
|
1
|
+
{"version":3,"file":"CameraStreamSlots.d.ts","sourceRoot":"","sources":["../../../../../../../packages/gclick/src/components/CameraStream/slots/CameraStreamSlots.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,gBAAgB;;6NAGF,CAAC;AAK5B,eAAO,MAAM,iBAAiB;;UAIF,CAAC;AAE7B,eAAO,MAAM,eAAe;;6NAGI,CAAC;AAKjC,eAAO,MAAM,iBAAiB;;qPAGI,CAAC;AAInC,eAAO,MAAM,qBAAqB;;iOAGI,CAAC;AAEvC,eAAO,MAAM,uBAAuB;;iOAGI,CAAC;AAEzC,eAAO,MAAM,iBAAiB;;6NAGI,CAAC;AAEnC,eAAO,MAAM,uBAAuB;;qPAGI,CAAC;AAEzC,eAAO,MAAM,4BAA4B;;iOAGH,CAAC;AAEvC,eAAO,MAAM,qBAAqB;;UAGI,CAAC;AAEvC,eAAO,MAAM,kBAAkB;;6NAGI,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;6NAGI,CAAC;AAErC,eAAO,MAAM,kBAAkB;;UAGI,CAAC;AAEpC,eAAO,MAAM,eAAe;;UAGI,CAAC"}
|