@desynova-digital/player 4.0.85 → 4.0.86
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/Manager.js +8 -9
- package/actions/player.js +54 -3
- package/components/AudioMeter.js +27 -28
- package/components/BigPlayButton.js +16 -17
- package/components/ImageViewer.js +16 -17
- package/components/MarkerBar.js +16 -17
- package/components/Menu.js +2 -2
- package/components/Player.js +179 -107
- package/components/PlayerHeader.js +120 -65
- package/components/Playlist.js +14 -15
- package/components/PointersBar.js +19 -20
- package/components/PosterImage.js +1 -1
- package/components/SDOutline.js +2 -2
- package/components/Shortcut.js +85 -75
- package/components/Slider.js +33 -33
- package/components/TagsBar.js +15 -16
- package/components/Video.js +127 -123
- package/components/control-bar/AudioTracksMenuButton.js +14 -15
- package/components/control-bar/CameraButton.js +15 -16
- package/components/control-bar/CaptionControlMenuButton.js +19 -20
- package/components/control-bar/CommentsButton.js +16 -17
- package/components/control-bar/ControlBar.js +17 -18
- package/components/control-bar/EditorControlMenuButton.js +16 -17
- package/components/control-bar/ForwardControl.js +1 -1
- package/components/control-bar/ForwardReplayControl.js +15 -16
- package/components/control-bar/FullscreenToggle.js +24 -19
- package/components/control-bar/PlayToggle.js +15 -16
- package/components/control-bar/ReplayControl.js +1 -1
- package/components/control-bar/SettingsMenuButton.js +4 -4
- package/components/control-bar/SubtitleLanguagesMenuButton.js +14 -15
- package/components/control-bar/SubtitleMovementMenu.js +16 -17
- package/components/control-bar/VolumeMenuButton.js +16 -17
- package/components/control-bar/ZoomMenuButton.js +16 -17
- package/components/marking-controls/MarkInControl.js +15 -16
- package/components/marking-controls/MarkOutControl.js +15 -16
- package/components/marking-controls/MarkingAddButton.js +15 -16
- package/components/marking-controls/MarkingControl.js +2 -2
- package/components/marking-controls/MarkingDeleteButton.js +15 -16
- package/components/marking-controls/MarkingDuration.js +2 -2
- package/components/marking-controls/MarkingPreview.js +15 -16
- package/components/marking-controls/TimecodeFormatSelector.js +7 -7
- package/components/progress-bar/AudioWaveform.js +15 -16
- package/components/progress-bar/LoadProgressBar.js +1 -1
- package/components/progress-bar/MouseTimeDisplay.js +1 -1
- package/components/progress-bar/PlayProgressBar.js +2 -2
- package/components/progress-bar/ProgressControl.js +19 -20
- package/components/progress-bar/RenderCommentMarkers.js +186 -0
- package/components/progress-bar/SeekBar.js +31 -32
- package/components/progress-bar/Timeline.js +14 -15
- package/components/settings-menu-control/CameraControl.js +3 -3
- package/components/settings-menu-control/ChildMenuComponent.js +28 -29
- package/components/settings-menu-control/ParentMenuComponent.js +17 -18
- package/components/settings-menu-control/PlaybackRateControl.js +15 -16
- package/components/settings-menu-control/SafeAreaControl.js +15 -16
- package/components/settings-menu-control/SettingsMenu.js +12 -12
- package/components/time-controls/CurrentTimeDisplay.js +7 -7
- package/components/time-controls/DurationDisplay.js +2 -2
- package/components/time-controls/TimeDivider.js +2 -2
- package/components/volume-control/VolumeBar.js +24 -25
- package/components/volume-control/VolumeControl.js +1 -1
- package/components/volume-control/VolumeLevel.js +2 -2
- package/components/zoom-control/ZoomBar.js +23 -24
- package/components/zoom-control/ZoomLevel.js +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
- package/reducers/operation.js +2 -2
- package/reducers/player.js +2 -2
- package/utils/browser.js +14 -14
- package/utils/dom.js +18 -18
- package/utils/fullscreen.js +5 -6
- package/utils/index.js +54 -54
|
@@ -10,24 +10,25 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
11
11
|
var _components = require("@desynova-digital/components");
|
|
12
12
|
var _colors = _interopRequireDefault(require("../colors"));
|
|
13
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
14
|
-
function _interopRequireDefault(
|
|
13
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
16
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
17
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
18
|
-
function _classCallCheck(
|
|
19
|
-
function _defineProperties(
|
|
20
|
-
function _createClass(
|
|
21
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
22
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
17
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
18
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
19
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
20
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
23
21
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
24
|
-
function _possibleConstructorReturn(
|
|
22
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
23
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
25
24
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26
|
-
function _getPrototypeOf(
|
|
27
|
-
function
|
|
28
|
-
function
|
|
29
|
-
function
|
|
30
|
-
function
|
|
25
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
26
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
27
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
28
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
29
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
30
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
31
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
31
32
|
var propTypes = {
|
|
32
33
|
actions: _propTypes.PropTypes.instanceOf(Object),
|
|
33
34
|
onPlayerClose: _propTypes.PropTypes.func,
|
|
@@ -47,8 +48,10 @@ var propTypes = {
|
|
|
47
48
|
activeVersion: _propTypes.PropTypes.instanceOf(Object),
|
|
48
49
|
versions: _propTypes.PropTypes.instanceOf(Array)
|
|
49
50
|
};
|
|
50
|
-
var PlayerHeaderBlock = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n background: #000;\n transition: all 250ms ease-in-out;\n height: ", ";\n width: 100%;\n z-index: 1;\n position: ", ";\n top: ", ";\n overflow: ", ";\n"])), function (props) {
|
|
51
|
+
var PlayerHeaderBlock = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n background: #000;\n transition: all 250ms ease-in-out;\n height: ", ";\n // width: 100%;\n width: ", ";\n z-index: 1;\n position: ", ";\n top: ", ";\n overflow: ", ";\n"])), function (props) {
|
|
51
52
|
return props.player === 'panel' && props.active || props.player !== 'panel' ? '60px' : '0px';
|
|
53
|
+
}, function (props) {
|
|
54
|
+
return props.isRightMenuVisible && props.isFullscreen ? '157%' : '100%';
|
|
52
55
|
}, function (props) {
|
|
53
56
|
return props.player === 'panel' ? 'absolute' : 'relative';
|
|
54
57
|
}, function (props) {
|
|
@@ -60,40 +63,74 @@ var VideoTitle = _styledComponents["default"].button(_templateObject2 || (_templ
|
|
|
60
63
|
var isShowPageAvailable = _ref.isShowPageAvailable;
|
|
61
64
|
return isShowPageAvailable ? 'pointer' : 'default';
|
|
62
65
|
});
|
|
63
|
-
var
|
|
64
|
-
var
|
|
66
|
+
var IconButton = (0, _styledComponents["default"])(_components.Button)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n background: ", ";\n border-radius: 8px;\n padding: 4px;\n border: 1px solid ", ";\n transition: all 0.2s ease;\n\n /* Icon color */\n svg path {\n fill: ", " !important;\n }\n\n &:hover {\n background: ", ";\n border-color: ", ";\n\n svg path {\n fill: ", " !important;\n }\n }\n\n &:active {\n background: ", ";\n }\n"])), function (_ref2) {
|
|
67
|
+
var isRightMenuVisible = _ref2.isRightMenuVisible;
|
|
68
|
+
return isRightMenuVisible ? '#ffffff' : '#0bbec5';
|
|
69
|
+
}, function (_ref3) {
|
|
70
|
+
var isRightMenuVisible = _ref3.isRightMenuVisible;
|
|
71
|
+
return isRightMenuVisible ? '#e0e0e0' : '#0bbec5';
|
|
72
|
+
}, function (_ref4) {
|
|
73
|
+
var isRightMenuVisible = _ref4.isRightMenuVisible;
|
|
74
|
+
return isRightMenuVisible ? '#0bbec5' : '#ffffff';
|
|
75
|
+
}, function (_ref5) {
|
|
76
|
+
var isRightMenuVisible = _ref5.isRightMenuVisible;
|
|
77
|
+
return isRightMenuVisible ? '#f5fefe' : '#09aab1';
|
|
78
|
+
}, function (_ref6) {
|
|
79
|
+
var isRightMenuVisible = _ref6.isRightMenuVisible;
|
|
80
|
+
return isRightMenuVisible ? '#c9f0f0' : '#09aab1';
|
|
81
|
+
}, function (_ref7) {
|
|
82
|
+
var isRightMenuVisible = _ref7.isRightMenuVisible;
|
|
83
|
+
return isRightMenuVisible ? '#089ca2' : '#ffffff';
|
|
84
|
+
}, function (_ref8) {
|
|
85
|
+
var isRightMenuVisible = _ref8.isRightMenuVisible;
|
|
86
|
+
return isRightMenuVisible ? '#e7f8f8' : '#088f96';
|
|
87
|
+
});
|
|
88
|
+
var PlayerDetails = _styledComponents["default"].div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-left: 20px;\n text-align: left;\n .video-bottom-container {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin-top: 8px;\n .video-sub-title {\n color: #afb2ba;\n font-size: 10px;\n font-family: SFUIText-Medium;\n margin-right: 5px;\n }\n .version-category {\n font-size: 10px;\n letter-spacing: 0.4px;\n color: #fff;\n font-family: SFUIText-Regular;\n text-transform: uppercase;\n }\n .versions-dropdown-block {\n position: relative;\n &:hover {\n .active-version {\n cursor: pointer;\n border-color: #00cec6 !important;\n }\n .versions-dropdown-container {\n visibility: visible;\n opacity: 1;\n }\n }\n .active-version {\n transition: all 350ms ease-in-out;\n border: 1px solid #fff;\n border-radius: 10px;\n margin-left: 5px;\n padding: 3px 10px;\n color: #fff;\n font-size: 10px;\n font-family: SFUIText-Regular;\n font-weight: bold;\n pointer-events: none;\n }\n .versions-dropdown-container {\n padding-top: 15px;\n position: absolute;\n top: 13px;\n left: 50%;\n transform: translateX(-50%);\n visibility: hidden;\n opacity: 0;\n transition: all 450ms ease-in-out;\n &:after {\n content: '';\n border-bottom: 6px solid #00cec6;\n border-right: 6px solid transparent;\n border-left: 6px solid transparent;\n position: absolute;\n top: 9px;\n left: 50%;\n transform: translateX(-50%);\n }\n .versions-container {\n overflow-y: auto;\n overflow-x: hidden;\n max-height: 204px;\n box-shadow: 0px 12px 24px rgb(0 0 0 / 20%);\n min-width: 250px;\n background: #fff;\n border-radius: 10px;\n .ingest-versions-container {\n border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n padding: 10px 15px;\n .ingest-version-block {\n display: flex;\n justify-content: space-between;\n align-items: center;\n .upload-type {\n width: 6px;\n height: 6px;\n border-radius: 100%;\n overflow: hidden;\n left: 5px;\n position: absolute;\n }\n .ingest-version-name {\n color: #182738;\n font-size: 11px;\n font-family: SFUIText-Regular;\n font-weight: bold;\n margin-right: 10px;\n }\n .video-versions-container {\n display: inline-flex;\n align-items: center;\n .more-dropdown-icon {\n padding-top: 8px;\n cursor: pointer;\n }\n path {\n fill: #182738;\n }\n }\n }\n }\n &::-webkit-scrollbar {\n width: 5px;\n background-color: #6d6a6a;\n }\n }\n }\n }\n .video-time-block {\n margin-left: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n .tv-time,\n .ott-time {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: 10px;\n p {\n margin-left: 5px;\n color: rgb(175, 178, 186);\n font-family: 'SFUIText-Regular';\n font-size: 10px;\n align-self: self-end;\n }\n }\n }\n }\n"])));
|
|
89
|
+
var VersionBlock = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n font-family: SFUIText-Regular;\n font-weight: bold;\n font-size: 10px;\n line-height: 1.2;\n border-radius: 100%;\n width: 30px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n background: ", ";\n color: ", ";\n &.active {\n background: ", ";\n color: #ffffff;\n pointer-events: none;\n }\n margin-right: 10px;\n"])), function (props) {
|
|
65
90
|
return props.upload_type === 'fc' ? 'rgba(0, 206, 198, 0.1)' : 'rgba(255, 99, 39, 0.1)';
|
|
66
91
|
}, function (props) {
|
|
67
92
|
return props.upload_type === 'fc' ? '#00CEC6' : '#FF6327';
|
|
68
93
|
}, function (props) {
|
|
69
94
|
return props.upload_type === 'fc' ? '#00cec6' : '#FF6327';
|
|
70
95
|
});
|
|
71
|
-
var PlayerType = _styledComponents["default"].div(
|
|
72
|
-
var QCReportButton = (0, _styledComponents["default"])(_components.Button)(
|
|
73
|
-
var BackButton = (0, _styledComponents["default"])(_components.Button)(
|
|
96
|
+
var PlayerType = _styledComponents["default"].div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n margin-left: auto;\n margin-right: 15px;\n display: flex;\n ", " {\n padding: 7px;\n background-color: rgba(255, 255, 255, 0.1);\n border: none;\n }\n"])), _components.Button.Element);
|
|
97
|
+
var QCReportButton = (0, _styledComponents["default"])(_components.Button)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n pointer-events: all !important;\n margin-right: 10px;\n"])));
|
|
98
|
+
var BackButton = (0, _styledComponents["default"])(_components.Button)(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n background: ", ";\n border: none;\n margin: 10px;\n margin-right: 0;\n width: 40px;\n height: 40px;\n &:hover,\n &:focus {\n background: ", ";\n }\n ", " {\n transform: translate(-50%, -50%);\n top: 50%;\n left: 50%;\n position: absolute;\n }\n"])), function (props) {
|
|
74
99
|
return _colors["default"].common.video[props.assetType].base;
|
|
75
100
|
}, function (props) {
|
|
76
101
|
return _colors["default"].common.video[props.assetType].base;
|
|
77
102
|
}, _components.Icon.Element);
|
|
78
103
|
var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
79
|
-
_inherits(PlayerHeader, _Component);
|
|
80
104
|
function PlayerHeader(props, context) {
|
|
81
105
|
var _this;
|
|
82
106
|
_classCallCheck(this, PlayerHeader);
|
|
83
107
|
_this = _callSuper(this, PlayerHeader, [props, context]);
|
|
108
|
+
_defineProperty(_this, "handleRightMenuVisibility", function () {
|
|
109
|
+
var _this$props = _this.props,
|
|
110
|
+
isRightMenuVisible = _this$props.isRightMenuVisible,
|
|
111
|
+
onRightMenuVisible = _this$props.onRightMenuVisible,
|
|
112
|
+
actions = _this$props.actions,
|
|
113
|
+
player = _this$props.player;
|
|
114
|
+
var newVisibility = !isRightMenuVisible;
|
|
115
|
+
// Ask parent to update its state
|
|
116
|
+
onRightMenuVisible(newVisibility);
|
|
117
|
+
// Trigger UI change based on the NEW value
|
|
118
|
+
actions.toggleRightBar(player, newVisibility);
|
|
119
|
+
});
|
|
84
120
|
_this.state = {
|
|
85
121
|
versionIndex: -1,
|
|
86
122
|
updatedVersionsList: []
|
|
87
123
|
};
|
|
88
|
-
_this.handleClick = _this.handleClick.bind(
|
|
124
|
+
_this.handleClick = _this.handleClick.bind(_this);
|
|
89
125
|
return _this;
|
|
90
126
|
}
|
|
91
|
-
|
|
127
|
+
_inherits(PlayerHeader, _Component);
|
|
128
|
+
return _createClass(PlayerHeader, [{
|
|
92
129
|
key: "componentDidMount",
|
|
93
130
|
value: function componentDidMount() {
|
|
94
|
-
var _this$
|
|
95
|
-
versions = _this$
|
|
96
|
-
activeVersion = _this$
|
|
131
|
+
var _this$props2 = this.props,
|
|
132
|
+
versions = _this$props2.versions,
|
|
133
|
+
activeVersion = _this$props2.activeVersion;
|
|
97
134
|
if (versions && versions.length) {
|
|
98
135
|
this.updateVersion(versions, activeVersion);
|
|
99
136
|
}
|
|
@@ -101,10 +138,10 @@ var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
101
138
|
}, {
|
|
102
139
|
key: "handleClick",
|
|
103
140
|
value: function handleClick() {
|
|
104
|
-
var _this$
|
|
105
|
-
onPlayerClose = _this$
|
|
106
|
-
onPlayerChange = _this$
|
|
107
|
-
controlType = _this$
|
|
141
|
+
var _this$props3 = this.props,
|
|
142
|
+
onPlayerClose = _this$props3.onPlayerClose,
|
|
143
|
+
onPlayerChange = _this$props3.onPlayerChange,
|
|
144
|
+
controlType = _this$props3.controlType;
|
|
108
145
|
if (controlType !== 'default') {
|
|
109
146
|
onPlayerChange();
|
|
110
147
|
} else {
|
|
@@ -116,19 +153,19 @@ var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
116
153
|
}, {
|
|
117
154
|
key: "openQCReport",
|
|
118
155
|
value: function openQCReport() {
|
|
119
|
-
var _this$
|
|
120
|
-
onReportClick = _this$
|
|
121
|
-
actions = _this$
|
|
156
|
+
var _this$props4 = this.props,
|
|
157
|
+
onReportClick = _this$props4.onReportClick,
|
|
158
|
+
actions = _this$props4.actions;
|
|
122
159
|
if (onReportClick) {
|
|
123
160
|
actions.pause();
|
|
124
161
|
onReportClick();
|
|
125
162
|
}
|
|
126
163
|
}
|
|
127
164
|
|
|
128
|
-
/**
|
|
129
|
-
* saves the index of version that is expanded.
|
|
130
|
-
* @param {Number} index index of the versionList
|
|
131
|
-
|
|
165
|
+
/**
|
|
166
|
+
* saves the index of version that is expanded.
|
|
167
|
+
* @param {Number} index index of the versionList
|
|
168
|
+
*/
|
|
132
169
|
}, {
|
|
133
170
|
key: "saveIndexOfVersion",
|
|
134
171
|
value: function saveIndexOfVersion(index) {
|
|
@@ -139,10 +176,10 @@ var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
139
176
|
});
|
|
140
177
|
}
|
|
141
178
|
|
|
142
|
-
/**
|
|
143
|
-
* returns the object with active version at the first element in object
|
|
144
|
-
* @param {Object} version object containing complete version list.
|
|
145
|
-
* @param {Object} activeVersion object containing currently active version.
|
|
179
|
+
/**
|
|
180
|
+
* returns the object with active version at the first element in object
|
|
181
|
+
* @param {Object} version object containing complete version list.
|
|
182
|
+
* @param {Object} activeVersion object containing currently active version.
|
|
146
183
|
*/
|
|
147
184
|
}, {
|
|
148
185
|
key: "updateVersion",
|
|
@@ -151,9 +188,9 @@ var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
151
188
|
updatedVersionsList.map(function (ele, index) {
|
|
152
189
|
ele.versions.map(function (versionsList, innerIndex) {
|
|
153
190
|
if (versionsList.ingest_db_id === activeVersion.ingest_db_id) {
|
|
154
|
-
var tempData = updatedVersionsList[index][
|
|
155
|
-
updatedVersionsList[index][
|
|
156
|
-
updatedVersionsList[index][
|
|
191
|
+
var tempData = updatedVersionsList[index]['versions'][innerIndex];
|
|
192
|
+
updatedVersionsList[index]['versions'].splice(innerIndex, 1);
|
|
193
|
+
updatedVersionsList[index]['versions'].unshift(tempData);
|
|
157
194
|
}
|
|
158
195
|
});
|
|
159
196
|
});
|
|
@@ -164,9 +201,9 @@ var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
164
201
|
}, {
|
|
165
202
|
key: "componentDidUpdate",
|
|
166
203
|
value: function componentDidUpdate(prevProps, prevState) {
|
|
167
|
-
var _this$
|
|
168
|
-
versions = _this$
|
|
169
|
-
activeVersion = _this$
|
|
204
|
+
var _this$props5 = this.props,
|
|
205
|
+
versions = _this$props5.versions,
|
|
206
|
+
activeVersion = _this$props5.activeVersion;
|
|
170
207
|
if (activeVersion.ingest_db_id !== prevProps.activeVersion.ingest_db_id || !prevState.updatedVersionsList.length) {
|
|
171
208
|
if (versions && versions.length) {
|
|
172
209
|
this.updateVersion(versions, activeVersion);
|
|
@@ -177,26 +214,29 @@ var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
177
214
|
key: "render",
|
|
178
215
|
value: function render() {
|
|
179
216
|
var _this2 = this;
|
|
180
|
-
var _this$
|
|
181
|
-
videoDetails = _this$
|
|
182
|
-
versionClick = _this$
|
|
183
|
-
activeVersion = _this$
|
|
184
|
-
onTitleClick = _this$
|
|
185
|
-
_this$
|
|
186
|
-
userActivity = _this$
|
|
187
|
-
isFullscreen = _this$
|
|
188
|
-
playerType = _this$
|
|
189
|
-
qcReportAvailable = _this$
|
|
190
|
-
openSharePopup = _this$
|
|
191
|
-
isShareAvailable = _this$
|
|
192
|
-
isUserGuest = _this$
|
|
217
|
+
var _this$props6 = this.props,
|
|
218
|
+
videoDetails = _this$props6.videoDetails,
|
|
219
|
+
versionClick = _this$props6.versionClick,
|
|
220
|
+
activeVersion = _this$props6.activeVersion,
|
|
221
|
+
onTitleClick = _this$props6.onTitleClick,
|
|
222
|
+
_this$props6$player = _this$props6.player,
|
|
223
|
+
userActivity = _this$props6$player.userActivity,
|
|
224
|
+
isFullscreen = _this$props6$player.isFullscreen,
|
|
225
|
+
playerType = _this$props6.playerType,
|
|
226
|
+
qcReportAvailable = _this$props6.qcReportAvailable,
|
|
227
|
+
openSharePopup = _this$props6.openSharePopup,
|
|
228
|
+
isShareAvailable = _this$props6.isShareAvailable,
|
|
229
|
+
isUserGuest = _this$props6.isUserGuest,
|
|
230
|
+
isRightMenuVisible = _this$props6.isRightMenuVisible;
|
|
193
231
|
var _this$state = this.state,
|
|
194
232
|
versionIndex = _this$state.versionIndex,
|
|
195
233
|
updatedVersionsList = _this$state.updatedVersionsList;
|
|
196
234
|
return /*#__PURE__*/_react["default"].createElement(PlayerHeaderBlock, {
|
|
197
235
|
className: "player-header-block",
|
|
198
236
|
active: userActivity,
|
|
199
|
-
player: playerType
|
|
237
|
+
player: playerType,
|
|
238
|
+
isFullscreen: isFullscreen,
|
|
239
|
+
isRightMenuVisible: isRightMenuVisible
|
|
200
240
|
}, !isFullscreen && !isUserGuest && /*#__PURE__*/_react["default"].createElement(BackButton, _extends({
|
|
201
241
|
display: "rounded",
|
|
202
242
|
appearance: "cta",
|
|
@@ -291,7 +331,10 @@ var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
291
331
|
width: 16,
|
|
292
332
|
height: 12,
|
|
293
333
|
color: "#afb2ba"
|
|
294
|
-
}), /*#__PURE__*/_react["default"].createElement("p", null, videoDetails.ottTime)) : null))), /*#__PURE__*/_react["default"].createElement(PlayerType,
|
|
334
|
+
}), /*#__PURE__*/_react["default"].createElement("p", null, videoDetails.ottTime)) : null))), /*#__PURE__*/_react["default"].createElement(PlayerType, {
|
|
335
|
+
isFullscreen: isFullscreen,
|
|
336
|
+
isRightMenuVisible: isRightMenuVisible
|
|
337
|
+
}, !isFullscreen && !isUserGuest && isShareAvailable && playerType === 'default' && /*#__PURE__*/_react["default"].createElement(_components.Button, _extends({
|
|
295
338
|
display: "rounded",
|
|
296
339
|
appearance: "cta",
|
|
297
340
|
icon: "share",
|
|
@@ -326,10 +369,22 @@ var PlayerHeader = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
326
369
|
style: {
|
|
327
370
|
pointerEvents: 'none'
|
|
328
371
|
}
|
|
329
|
-
}, this.props)) : null
|
|
372
|
+
}, this.props)) : null, isFullscreen ? /*#__PURE__*/_react["default"].createElement(IconButton, {
|
|
373
|
+
isRightMenuVisible: isRightMenuVisible,
|
|
374
|
+
display: "rounded",
|
|
375
|
+
appearance: "cta",
|
|
376
|
+
icon: "toggle-fullscreen",
|
|
377
|
+
width: 25,
|
|
378
|
+
height: 25,
|
|
379
|
+
iconWidth: 24,
|
|
380
|
+
iconHeight: 24,
|
|
381
|
+
tabIndex: "1",
|
|
382
|
+
onClick: function onClick() {
|
|
383
|
+
return _this2.handleRightMenuVisibility();
|
|
384
|
+
}
|
|
385
|
+
}) : null));
|
|
330
386
|
}
|
|
331
387
|
}]);
|
|
332
|
-
return PlayerHeader;
|
|
333
388
|
}(_react.Component);
|
|
334
389
|
PlayerHeader.propTypes = propTypes;
|
|
335
390
|
PlayerHeader.displayName = 'PlayerHeader';
|
package/components/Playlist.js
CHANGED
|
@@ -10,22 +10,22 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
11
11
|
var _components = require("@desynova-digital/components");
|
|
12
12
|
var _templateObject, _templateObject2, _templateObject3;
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
16
|
-
function _classCallCheck(
|
|
17
|
-
function _defineProperties(
|
|
18
|
-
function _createClass(
|
|
19
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
16
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
17
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
18
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
20
20
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
21
21
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
22
|
-
function _possibleConstructorReturn(
|
|
23
|
-
function _assertThisInitialized(
|
|
22
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
23
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
24
24
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25
|
-
function _getPrototypeOf(
|
|
26
|
-
function _inherits(
|
|
27
|
-
function _setPrototypeOf(
|
|
28
|
-
function _taggedTemplateLiteral(
|
|
25
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
26
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
27
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
28
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
29
29
|
/*
|
|
30
30
|
* import { play } from '../actions/player';
|
|
31
31
|
* import { colors } from '@desynova-digital/tokens';
|
|
@@ -52,12 +52,12 @@ var PlaylistCard = (0, _styledComponents["default"])('div')(_templateObject3 ||
|
|
|
52
52
|
return props.active ? 'none' : 'all';
|
|
53
53
|
});
|
|
54
54
|
var Playlist = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
55
|
-
_inherits(Playlist, _Component);
|
|
56
55
|
function Playlist(props, context) {
|
|
57
56
|
_classCallCheck(this, Playlist);
|
|
58
57
|
return _callSuper(this, Playlist, [props, context]);
|
|
59
58
|
}
|
|
60
|
-
|
|
59
|
+
_inherits(Playlist, _Component);
|
|
60
|
+
return _createClass(Playlist, [{
|
|
61
61
|
key: "componentDidMount",
|
|
62
62
|
value: function componentDidMount() {}
|
|
63
63
|
}, {
|
|
@@ -89,7 +89,6 @@ var Playlist = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
89
89
|
})) : null);
|
|
90
90
|
}
|
|
91
91
|
}]);
|
|
92
|
-
return Playlist;
|
|
93
92
|
}(_react.Component);
|
|
94
93
|
Playlist.propTypes = propTypes;
|
|
95
94
|
Playlist.displayName = 'Playlist';
|
|
@@ -15,28 +15,28 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
15
15
|
/* eslint-disable jsx-a11y/mouse-events-have-key-events */
|
|
16
16
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
17
17
|
/* eslint-disable react/no-array-index-key */
|
|
18
|
-
function _interopRequireDefault(
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
20
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u &&
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
21
21
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
22
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
|
-
function _defineProperty(
|
|
24
|
-
function _classCallCheck(
|
|
25
|
-
function _defineProperties(
|
|
26
|
-
function _createClass(
|
|
27
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
23
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
24
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
25
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
26
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
27
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
28
28
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
29
29
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
30
|
-
function _possibleConstructorReturn(
|
|
30
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
31
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
31
32
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
32
|
-
function _getPrototypeOf(
|
|
33
|
-
function
|
|
34
|
-
function
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
* import
|
|
39
|
-
* import colors from '../colors';
|
|
33
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
34
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
35
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
36
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
37
|
+
/*
|
|
38
|
+
* import { colors } from '@desynova-digital/tokens';
|
|
39
|
+
* import colors from '../colors';
|
|
40
40
|
*/
|
|
41
41
|
|
|
42
42
|
var propTypes = {
|
|
@@ -63,12 +63,11 @@ var ToolTipStyles = _styledComponents["default"].div(_templateObject5 || (_templ
|
|
|
63
63
|
return props.tooltipPointer ? props.tooltipPointer + 'px' : '50%';
|
|
64
64
|
});
|
|
65
65
|
var PointersBar = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
66
|
-
_inherits(PointersBar, _Component);
|
|
67
66
|
function PointersBar(props) {
|
|
68
67
|
var _this;
|
|
69
68
|
_classCallCheck(this, PointersBar);
|
|
70
69
|
_this = _callSuper(this, PointersBar, [props]);
|
|
71
|
-
_this.getPointerStyle = _this.getPointerStyle.bind(
|
|
70
|
+
_this.getPointerStyle = _this.getPointerStyle.bind(_this);
|
|
72
71
|
_this.state = {
|
|
73
72
|
tooltip: {
|
|
74
73
|
isVisible: false
|
|
@@ -90,7 +89,8 @@ var PointersBar = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
90
89
|
// this.renderComp = 0;
|
|
91
90
|
// return true;
|
|
92
91
|
// }
|
|
93
|
-
|
|
92
|
+
_inherits(PointersBar, _Component);
|
|
93
|
+
return _createClass(PointersBar, [{
|
|
94
94
|
key: "componentDidUpdate",
|
|
95
95
|
value: function componentDidUpdate(prevProps) {
|
|
96
96
|
if (prevProps.zoom !== this.props.zoom) {
|
|
@@ -302,7 +302,6 @@ var PointersBar = exports["default"] = /*#__PURE__*/function (_Component) {
|
|
|
302
302
|
}))));
|
|
303
303
|
}
|
|
304
304
|
}]);
|
|
305
|
-
return PointersBar;
|
|
306
305
|
}(_react.Component);
|
|
307
306
|
PointersBar.propTypes = propTypes;
|
|
308
307
|
PointersBar.defaultProps = defaultProps;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _propTypes = require("prop-types");
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
10
|
var propTypes = {
|
|
11
11
|
poster: _propTypes.PropTypes.string,
|
|
12
12
|
player: _propTypes.PropTypes.instanceOf(Object),
|
package/components/SDOutline.js
CHANGED
|
@@ -9,8 +9,8 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
9
9
|
var _propTypes = require("prop-types");
|
|
10
10
|
var _colors = _interopRequireDefault(require("../colors"));
|
|
11
11
|
var _templateObject, _templateObject2;
|
|
12
|
-
function _interopRequireDefault(
|
|
13
|
-
function _taggedTemplateLiteral(
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
14
14
|
var propTypes = {
|
|
15
15
|
player: _propTypes.PropTypes.instanceOf(Object),
|
|
16
16
|
actions: _propTypes.PropTypes.instanceOf(Object)
|