@desynova-digital/components 9.1.21 → 9.1.22
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/_helpers/utils.js +4 -4
- package/atoms/avatar/index.js +1 -2
- package/atoms/badge/index.js +1 -2
- package/atoms/button/button.js +1 -2
- package/atoms/card/index.js +1 -2
- package/atoms/cardStack/index.js +1 -2
- package/atoms/cardV2/cardV2.js +6 -7
- package/atoms/cardV2/content.js +7 -8
- package/atoms/cardV2/thumbnail.js +11 -12
- package/atoms/cardV2/timeline.js +1 -2
- package/atoms/customSelect/customSelect.js +1 -2
- package/atoms/datePicker/datePicker.js +11 -12
- package/atoms/draftInputText/draftInputText.js +44 -45
- package/atoms/dropdown/dropdown.js +1 -2
- package/atoms/dropdownList/dropdownList.js +1 -2
- package/atoms/graphs/circleDonut/circleDonut.js +1 -2
- package/atoms/graphs/circleGraph/circleGraph.js +1 -2
- package/atoms/graphs/circleNested/circleNested.js +1 -2
- package/atoms/graphs/pieChart/pieChart.js +1 -2
- package/atoms/graphs/verticalBarGraph/verticalBarGraph.js +1 -2
- package/atoms/icon/icons.json +1708 -1708
- package/atoms/icon/index.js +1 -2
- package/atoms/inputText/inputText.js +1 -2
- package/atoms/loader/CircleLoader.jsx +93 -93
- package/atoms/loader/ShimmerComponent/CollabShimmerCard.jsx +39 -39
- package/atoms/loader/ShimmerComponent/CollabShimmerCardTray.jsx +24 -24
- package/atoms/loader/ShimmerComponent/FiltersShimmer.jsx +19 -19
- package/atoms/loader/ShimmerComponent/GraphDetailShimmer.jsx +31 -31
- package/atoms/loader/ShimmerComponent/GraphTitleShimmer.jsx +23 -23
- package/atoms/loader/ShimmerComponent/GraphsComponentShimmer.jsx +23 -23
- package/atoms/loader/ShimmerComponent/Shimmer.js +1 -2
- package/atoms/loader/ShimmerComponent/Shimmer.jsx +48 -48
- package/atoms/loader/ThreeDotLoader.jsx +51 -51
- package/atoms/loader/index.js +1 -2
- package/atoms/loader/spinningLoader.jsx +69 -69
- package/atoms/popup/popup.js +1 -2
- package/atoms/radio/index.js +1 -2
- package/atoms/sideBar/sidebar.js +4 -5
- package/atoms/sideBar/sidebar.jsx +249 -249
- package/atoms/tag/index.js +1 -2
- package/atoms/thematicBreak/index.js +1 -2
- package/atoms/timeCodeInput/timeCodeInput.js +1 -2
- package/atoms/timeCodeInput/timeCodeMSInput.js +1 -2
- package/atoms/timeCodeInput/timeCodeMainInput.js +10 -11
- package/atoms/timeCodeInput/timeCodeStandardInput.js +4 -5
- package/atoms/timer/timer.js +1 -2
- package/atoms/toast/toast.js +1 -2
- package/atoms/videoCard/index.js +1 -2
- package/atoms/videoCard/videoCard.js +3 -3
- package/components.js +1 -2
- package/molecules/errorScreen/TableErrorScreen.jsx +85 -85
- package/molecules/errorScreen/errorScreen.js +9 -9
- package/molecules/errorScreen/errorScreen.jsx +149 -149
- package/molecules/filter/filter.js +39 -40
- package/molecules/graphDetailCard/graphDetailCard.js +1 -2
- package/molecules/pageHeader/index.js +1 -2
- package/molecules/richTextInput/RichTextInput.js +9 -10
- package/molecules/table/table.js +7 -8
- package/molecules/videoPlayer/videoPlayer.js +6 -6
- package/package.json +2 -2
|
@@ -25,8 +25,7 @@ var _tag = _interopRequireDefault(require("../../atoms/tag"));
|
|
|
25
25
|
var _icon = _interopRequireDefault(require("../../atoms/icon"));
|
|
26
26
|
var _constants = require("./constants");
|
|
27
27
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
28
|
-
function
|
|
29
|
-
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; }
|
|
28
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
30
29
|
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; }
|
|
31
30
|
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) { (0, _defineProperty2["default"])(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; }
|
|
32
31
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
@@ -76,10 +75,10 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
76
75
|
var _this;
|
|
77
76
|
(0, _classCallCheck2["default"])(this, Filter);
|
|
78
77
|
_this = _callSuper(this, Filter, [props]);
|
|
79
|
-
/**
|
|
80
|
-
* This function handle the onChange event in the filter.
|
|
81
|
-
* @param {Object} groupItem GUI elements for the particular section
|
|
82
|
-
* @param {Object} optionItem the item from the options of that section
|
|
78
|
+
/**
|
|
79
|
+
* This function handle the onChange event in the filter.
|
|
80
|
+
* @param {Object} groupItem GUI elements for the particular section
|
|
81
|
+
* @param {Object} optionItem the item from the options of that section
|
|
83
82
|
*/
|
|
84
83
|
(0, _defineProperty2["default"])(_this, "onSelection", function (groupItem, optionItem) {
|
|
85
84
|
var selectedFiltersObj = _this.state.selectedFiltersObj;
|
|
@@ -105,9 +104,9 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
105
104
|
var multiple = filters[groupItem.field].value || []; // initial from filters object
|
|
106
105
|
filters[groupItem.field].label = groupItem.title;
|
|
107
106
|
|
|
108
|
-
/*
|
|
109
|
-
* multiselect will always have groupItem.title as filter Title
|
|
110
|
-
* because we cant show option.title as its value changes
|
|
107
|
+
/*
|
|
108
|
+
* multiselect will always have groupItem.title as filter Title
|
|
109
|
+
* because we cant show option.title as its value changes
|
|
111
110
|
*/
|
|
112
111
|
|
|
113
112
|
var optionIndex = multiple.findIndex(function (item) {
|
|
@@ -190,10 +189,10 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
190
189
|
}
|
|
191
190
|
_this.changeFilters("selected", filters);
|
|
192
191
|
});
|
|
193
|
-
/**
|
|
194
|
-
* This function performs action based on forAction on filters object
|
|
195
|
-
* @param {String} forAction action performed on the filter object
|
|
196
|
-
* @param {Object} filters Object containing current filters selected values
|
|
192
|
+
/**
|
|
193
|
+
* This function performs action based on forAction on filters object
|
|
194
|
+
* @param {String} forAction action performed on the filter object
|
|
195
|
+
* @param {Object} filters Object containing current filters selected values
|
|
197
196
|
*/
|
|
198
197
|
(0, _defineProperty2["default"])(_this, "changeFilters", function (forAction, filters) {
|
|
199
198
|
var initialFilters = _this.props.initialFilters;
|
|
@@ -215,10 +214,10 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
215
214
|
}
|
|
216
215
|
});
|
|
217
216
|
});
|
|
218
|
-
/**
|
|
219
|
-
* This function hadles the onchange event for search input field inside filter
|
|
220
|
-
* @param {string} query Input Filed value
|
|
221
|
-
* @param {string} permission Type of dashboard
|
|
217
|
+
/**
|
|
218
|
+
* This function hadles the onchange event for search input field inside filter
|
|
219
|
+
* @param {string} query Input Filed value
|
|
220
|
+
* @param {string} permission Type of dashboard
|
|
222
221
|
*/
|
|
223
222
|
(0, _defineProperty2["default"])(_this, "handleDebounce", (0, _lodash.debounce)(function (permission, query) {
|
|
224
223
|
if (query.length > 1) _this.props.handleUserIdFilterChange(permission, query);
|
|
@@ -230,10 +229,10 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
230
229
|
if (selectedFiltersObj[element.field]) {
|
|
231
230
|
if (element.select_type === "select") {
|
|
232
231
|
if (element.field === "date") {
|
|
233
|
-
/*
|
|
234
|
-
* for date we have value as Object which contains fromDate and toDate
|
|
235
|
-
* so we add "key" in that object and check based on that key
|
|
236
|
-
* key is nothing but the value of selected label
|
|
232
|
+
/*
|
|
233
|
+
* for date we have value as Object which contains fromDate and toDate
|
|
234
|
+
* so we add "key" in that object and check based on that key
|
|
235
|
+
* key is nothing but the value of selected label
|
|
237
236
|
*/
|
|
238
237
|
selectedStyle = selectedFiltersObj[element.field].value.key === option.field ? "checked" : "";
|
|
239
238
|
} else {
|
|
@@ -274,9 +273,9 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
274
273
|
}
|
|
275
274
|
return "".concat(element.title === "Date" ? "" : "".concat(element.title, ": ")).concat(label);
|
|
276
275
|
});
|
|
277
|
-
/**
|
|
278
|
-
* This function toggle filters menu - show & hide.
|
|
279
|
-
* @param {boolean} flag contains value true/false to show/ hide filter.
|
|
276
|
+
/**
|
|
277
|
+
* This function toggle filters menu - show & hide.
|
|
278
|
+
* @param {boolean} flag contains value true/false to show/ hide filter.
|
|
280
279
|
*/
|
|
281
280
|
(0, _defineProperty2["default"])(_this, "toggleFiltersMenu", function (flag) {
|
|
282
281
|
var selectedFilters = _this.props.selectedFilters;
|
|
@@ -312,9 +311,9 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
312
311
|
}
|
|
313
312
|
}
|
|
314
313
|
});
|
|
315
|
-
/**
|
|
316
|
-
* This function hides the dropdown list when user clicks outside the area of input box
|
|
317
|
-
* @param {Object} e click event that gets fired.
|
|
314
|
+
/**
|
|
315
|
+
* This function hides the dropdown list when user clicks outside the area of input box
|
|
316
|
+
* @param {Object} e click event that gets fired.
|
|
318
317
|
*/
|
|
319
318
|
(0, _defineProperty2["default"])(_this, "toggleDropDown", function (e) {
|
|
320
319
|
var showDropDownOptions = _this.state.showDropDownOptions;
|
|
@@ -324,9 +323,9 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
324
323
|
});
|
|
325
324
|
}
|
|
326
325
|
});
|
|
327
|
-
/**
|
|
328
|
-
* This function applies the selected filter based on forData.
|
|
329
|
-
* @param {string} forData action that needs to be performed on the filter.
|
|
326
|
+
/**
|
|
327
|
+
* This function applies the selected filter based on forData.
|
|
328
|
+
* @param {string} forData action that needs to be performed on the filter.
|
|
330
329
|
*/
|
|
331
330
|
(0, _defineProperty2["default"])(_this, "applyFilters", function (forData) {
|
|
332
331
|
var _this$state = _this.state,
|
|
@@ -363,10 +362,10 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
363
362
|
applyFilters(selectedFiltersObj, "apply");
|
|
364
363
|
}
|
|
365
364
|
});
|
|
366
|
-
/**
|
|
367
|
-
* This function takes the current user object from the dropdown list and checks if it is pre-selected.
|
|
368
|
-
* @param {Objec} user object that contains details for the user
|
|
369
|
-
* @returns the name of class with active state or not.
|
|
365
|
+
/**
|
|
366
|
+
* This function takes the current user object from the dropdown list and checks if it is pre-selected.
|
|
367
|
+
* @param {Objec} user object that contains details for the user
|
|
368
|
+
* @returns the name of class with active state or not.
|
|
370
369
|
*/
|
|
371
370
|
(0, _defineProperty2["default"])(_this, "getClassName", function (user, indx) {
|
|
372
371
|
var _this$state2 = _this.state,
|
|
@@ -379,8 +378,8 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
379
378
|
return index >= 0 ? "dropdown-options active" : "dropdown-options";
|
|
380
379
|
}
|
|
381
380
|
});
|
|
382
|
-
/**
|
|
383
|
-
* This function reset userIds in the filter.
|
|
381
|
+
/**
|
|
382
|
+
* This function reset userIds in the filter.
|
|
384
383
|
*/
|
|
385
384
|
(0, _defineProperty2["default"])(_this, "resetSelectedUserFilter", function () {
|
|
386
385
|
_this.setState({
|
|
@@ -657,10 +656,10 @@ var Filter = /*#__PURE__*/function (_Component) {
|
|
|
657
656
|
return (0, _createClass2["default"])(Filter, [{
|
|
658
657
|
key: "onKeyDown",
|
|
659
658
|
value:
|
|
660
|
-
/**
|
|
661
|
-
* This function handles the keypress traverse over the dropdown option list
|
|
662
|
-
* @param {Object} e the event object that is fired
|
|
663
|
-
* @param {Object} groupItem Object containing groupitem details
|
|
659
|
+
/**
|
|
660
|
+
* This function handles the keypress traverse over the dropdown option list
|
|
661
|
+
* @param {Object} e the event object that is fired
|
|
662
|
+
* @param {Object} groupItem Object containing groupitem details
|
|
664
663
|
*/
|
|
665
664
|
function onKeyDown(e, groupItem) {
|
|
666
665
|
var autoSelectIndex = this.state.autoSelectIndex;
|
|
@@ -22,8 +22,7 @@ var _verticalBarGraph = _interopRequireDefault(require("../../atoms/graphs/verti
|
|
|
22
22
|
var _circleDonut = _interopRequireDefault(require("../../atoms/graphs/circleDonut"));
|
|
23
23
|
var _circleNested = _interopRequireDefault(require("../../atoms/graphs/circleNested"));
|
|
24
24
|
var _templateObject, _templateObject2;
|
|
25
|
-
function
|
|
26
|
-
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; }
|
|
25
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
27
26
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
28
27
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
29
28
|
var propTypes = {};
|
|
@@ -12,6 +12,5 @@ Object.defineProperty(exports, "StyledPageHeader", {
|
|
|
12
12
|
});
|
|
13
13
|
exports["default"] = void 0;
|
|
14
14
|
var _pageHeader = _interopRequireWildcard(require("./pageHeader"));
|
|
15
|
-
function
|
|
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; }
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
16
|
var _default = exports["default"] = _pageHeader["default"];
|
|
@@ -20,8 +20,7 @@ var _quillDelta = _interopRequireDefault(require("quill-delta"));
|
|
|
20
20
|
var _utils = require("../../_helpers/utils");
|
|
21
21
|
var _excluded = ["maxLength", "defaultValue", "label", "showLengthCount", "errorMessage", "value", "autoFocus", "onChange", "handleSave", "editType"];
|
|
22
22
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
23
|
-
function
|
|
24
|
-
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; }
|
|
23
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
25
24
|
var RichTextInputDiv = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n i,\n em {\n font-style: italic;\n }\n strong {\n font-weight: bold;\n }\n .quill-editor-content {\n white-space: pre-wrap; /* Preserve whitespace and line breaks */\n }\n background: transparent;\n font-family: \"SFUIText-Medium\";\n position: relative;\n width: 92%;\n margin-bottom: 10px;\n margin-top: 10px;\n display: block;\n .ql-container.ql-snow {\n border: none;\n position: relative;\n }\n .ql-editor {\n padding: 0;\n }\n\n > label {\n color: #999999;\n font-size: 14px;\n font-family: inherit;\n position: absolute;\n pointer-events: none;\n left: 0px;\n top: 5px;\n transition: 0.2s ease all;\n -moz-transition: 0.2s ease all;\n -webkit-transition: 0.2s ease all;\n }\n > div:focus ~ label {\n top: -10px;\n left: 0px;\n font-size: 10px;\n color: #999999;\n text-transform: capitalize;\n }\n > div ~ label.floaton {\n top: -10px;\n left: 0px;\n font-size: 10px;\n color: #999999;\n text-transform: capitalize;\n }\n"])));
|
|
26
25
|
var CountWrapper = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n position: absolute;\n right: 0px;\n top: 0px;\n background-color: #303f51;\n border-radius: 12px;\n font-size: 12px;\n padding: 5px 10px;\n color: #ffffff;\n"])));
|
|
27
26
|
var RichTextInputError = _styledComponents["default"].span(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["\n color: ", ";\n padding-top: 5px;\n display: inline-block;\n font-size: 12px;\n font-family: inherit;\n width: 100%;\n text-align: left;\n"])), function (props) {
|
|
@@ -68,10 +67,10 @@ var RichTextInput = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
68
67
|
};
|
|
69
68
|
});
|
|
70
69
|
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @param {*} str
|
|
74
|
-
* @returns
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @param {*} str
|
|
73
|
+
* @returns
|
|
75
74
|
*/
|
|
76
75
|
var changeEmToI = function changeEmToI(str) {
|
|
77
76
|
var updatedStr = str.replace(/\n/g, '').replace(/<br\s*\/?>/gi, '').replace(/<\/?p>/gi, '').replace(/<[/]?em>/g, function (match) {
|
|
@@ -268,10 +267,10 @@ var RichTextInput = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
268
267
|
}, errorMessage), maxLength && showLengthCount && quillInstance.current && /*#__PURE__*/_react["default"].createElement(CountWrapper, null, charCount, "/", maxLength));
|
|
269
268
|
});
|
|
270
269
|
|
|
271
|
-
/**
|
|
272
|
-
*
|
|
273
|
-
* @param {*} props
|
|
274
|
-
* @returns
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @param {*} props
|
|
273
|
+
* @returns
|
|
275
274
|
*/
|
|
276
275
|
var returnPadding = function returnPadding(props) {
|
|
277
276
|
var digitCount = props.maxLength.toString().length;
|
package/molecules/table/table.js
CHANGED
|
@@ -34,9 +34,8 @@ var _permissionIconMap = _interopRequireDefault(require("../../../tokens/permiss
|
|
|
34
34
|
var _TableErrorScreen = _interopRequireDefault(require("../../molecules/errorScreen/TableErrorScreen"));
|
|
35
35
|
var _inputText = _interopRequireDefault(require("../../atoms/inputText"));
|
|
36
36
|
var _Shimmer = _interopRequireDefault(require("../../atoms/loader/ShimmerComponent/Shimmer"));
|
|
37
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9,
|
|
38
|
-
function
|
|
39
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof3(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; }
|
|
37
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12;
|
|
38
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof3(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
40
39
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
41
40
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
42
41
|
var Table = /*#__PURE__*/function (_Component) {
|
|
@@ -1388,7 +1387,7 @@ TableInner.Cell = _styledComponents["default"].td(_templateObject8 || (_template
|
|
|
1388
1387
|
return _tokens.colors[props.theme].table.border;
|
|
1389
1388
|
});
|
|
1390
1389
|
Table.Body = _styledComponents["default"].tbody(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])([""])));
|
|
1391
|
-
Table.Row = _styledComponents["default"].tr(
|
|
1390
|
+
Table.Row = _styledComponents["default"].tr(_templateObject0 || (_templateObject0 = (0, _taggedTemplateLiteral2["default"])(["\n .show-row {\n transform: rotate(-180deg);\n -webkit-transform: rotate(-180deg);\n -moz-transform: rotate(-180deg);\n -ms-transform: rotate(-180deg);\n -o-transform: rotate(-180deg);\n }\n .hide-row {\n transform: rotate(0deg);\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -ms-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n }\n .show-row,\n .hide-row {\n transition: transform 0.5s ease-in-out;\n -webkit-transition: transform 0.5s ease-in-out;\n -moz-transition: transform 0.5s ease-in-out;\n -ms-transition: transform 0.5s ease-in-out;\n -o-transition: transform 0.5s ease-in-out;\n text-align: right;\n cursor: pointer;\n }\n\n &.selected-row > td,\n &.selected-row:nth-child(even) > td {\n background: ", ";\n }\n\n &:nth-child(even) > td {\n background: ", ";\n }\n\n &:hover {\n .asset-play {\n color: ", ";\n }\n }\n\n ", " {\n margin: 0px;\n box-shadow: 0px 0px 0px transparent;\n ", ";\n }\n"])), function (props) {
|
|
1392
1391
|
return _tokens.colors[props.theme].table.rowSelectedBackground;
|
|
1393
1392
|
}, function (props) {
|
|
1394
1393
|
return _tokens.colors[props.theme].table.evenRowBackground;
|
|
@@ -1397,7 +1396,7 @@ Table.Row = _styledComponents["default"].tr(_templateObject10 || (_templateObjec
|
|
|
1397
1396
|
}, Table.Card, function (props) {
|
|
1398
1397
|
if (typeof props.theme === 'string') return 'background:' + _tokens.colors[props.theme].table.innerTableBackground;
|
|
1399
1398
|
});
|
|
1400
|
-
Table.Cell = _styledComponents["default"].td(
|
|
1399
|
+
Table.Cell = _styledComponents["default"].td(_templateObject1 || (_templateObject1 = (0, _taggedTemplateLiteral2["default"])(["\n font-family: 'SFUIText-Regular';\n font-size: 12px;\n letter-spacing: 0.4px;\n color: ", "; \n padding: 7px 14px;\n // border-top: 1px solid ", "; \n text-align: left;\n vertical-align: middle;\n line-height: 2;\n width: ", ";\n max-width: ", ";\n\n &.tableHolder{\n padding:0px;\n }\n\n .asset-play {\n cursor: pointer;\n background-color: transparent;\n border: none;\n color: #dddddd;\n &:hover, &:focus {\n outline: none;\n color: ", ";\n text-decoration: underline;\n }\n }\n\n .icon-circle {\n border-radius: 50%;\n width: 24px;\n height: 24px;\n display: flex;\n text-align: center;\n justify-content: center;\n align-items: center;\n i {\n line-height: 0;\n }\n }\n\n // max-width: 0;\n // overflow: hidden;\n // text-overflow: ellipsis;\n // white-space: nowrap;\n\n & > div.text-box {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n &.text-linkexpired {\n color: #FF6C56;\n }\n }\n & > div.action-icons-cell{\n white-space: nowrap;\n\n .tooltip-block {\n top: -50px;\n }\n \n .action-item-btn {\n padding: 0 15px;\n cursor: pointer;\n background-color: transparent;\n\n &.nested {\n border-bottom: 1px solid #303f51;\n display: flex;\n padding: 10px;\n align-items: center;\n &>div:first-child{\n margin-right:10px;\n }\n &:last-child{\n border-bottom: 0px none;\n }\n }\n\n &:hover {\n transition: color 0.4s ease-out;\n color: ", ";\n path{\n fill: ", ";\n transition: fill 0.4s ease-out;\n }\n }\n }\n\n\n &>button{\n margin-right: 15px;\n display: inline-flex;\n }\n &>button:last-child{\n margin-right: 0px;\n }\n\n .more-action-holder {\n position: relative;\n\n &:hover {\n .more-action-list-box{\n display:block;\n }\n .more-action-icon{\n transition: all 0.4s ease-out;\n background: ", ";\n }\n }\n\n .more-action-icon{\n height: 24px;\n width: 24px;\n background: #303f51;\n border-radius: 50%;\n padding: 0px 10px;\n transform: translate(0px, -1px);\n }\n .more-action-list-box{\n position: absolute;\n z-index:100;\n display:none;\n //display:block;\n padding-top: 11px;\n transform: translate(-136px,-2px);\n \n .more-action-list {\n box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.2);\n background: ", ";\n min-width: 200px;\n }\n\n &:before{\n content: '';\n position: absolute;\n /* left: 42%; */\n /* top: 100%; */\n width: 0;\n height: 0;\n \n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-bottom: 6px solid ", ";\n transform: translate(144px,-6px);\n }\n\n }\n\n }\n }\n\n .nested-table {\n background: #182738;\n border-left: 2px solid ", ";\n }\n\n\n"])), function (props) {
|
|
1401
1400
|
return _tokens.colors[props.theme].table.tdColor;
|
|
1402
1401
|
}, function (props) {
|
|
1403
1402
|
return _tokens.colors[props.theme].table.border;
|
|
@@ -1420,11 +1419,11 @@ Table.Cell = _styledComponents["default"].td(_templateObject11 || (_templateObje
|
|
|
1420
1419
|
}, function (props) {
|
|
1421
1420
|
return _tokens.colors[props.theme].table.CellNestedTableBorderLeft;
|
|
1422
1421
|
});
|
|
1423
|
-
var TableTitleLoadingInitial = _styledComponents["default"].div(
|
|
1424
|
-
var DubbingStatusStyles = _styledComponents["default"].div(
|
|
1422
|
+
var TableTitleLoadingInitial = _styledComponents["default"].div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2["default"])(["\n height: 30px;\n position: absolute;\n left: -1px;\n z-index: 2;\n display: flex;\n width: 100%;\n top: -1px;\n"])));
|
|
1423
|
+
var DubbingStatusStyles = _styledComponents["default"].div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n align-items: center;\n .detail-block {\n display: flex;\n justify-content: center;\n align-items: center;\n\n &:not(:last-child) {\n margin-right: 7px;\n }\n\n .status-color {\n width: 7px;\n height: 7px;\n margin-right: 6px;\n border-radius: 100%;\n background: rgba(255, 255, 255, 0.3);\n &.approved {\n background: ", ";\n }\n &.rejected {\n background: #ef5350;\n }\n }\n .language-name {\n text-transform: capitalize;\n font-size: 12px;\n font-family: SFUIText-Regular;\n color: #fff;\n }\n }\n"])), function (props) {
|
|
1425
1424
|
return _tokens.colors[props.theme].table.ApprovedBackground;
|
|
1426
1425
|
});
|
|
1427
|
-
var SelectAllButton = _styledComponents["default"].div(
|
|
1426
|
+
var SelectAllButton = _styledComponents["default"].div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2["default"])(["\n width: 20px;\n height: 20px;\n background: transparent;\n border: ", ";\n border-radius: 50%;\n cursor: pointer;\n position: absolute;\n left: 14px;\n z-index: 2;\n top: 75px;\n .input-select-all-button {\n height: 0px;\n width: 0px;\n display: none;\n }\n .label-select-all-button {\n position: relative;\n cursor: pointer;\n display: flex;\n margin: 0px;\n height: 20px;\n align-items: center;\n border-radius: 50%;\n background: ", ";\n .span-select-all-button {\n display: ", ";\n position: absolute;\n top: 10px;\n left: 5px;\n border-right: 2px solid transparent;\n border-bottom: 2px solid transparent;\n transform: rotate(45deg);\n transform-origin: 0 100%;\n animation: ", ";\n }\n }\n"])), function (props) {
|
|
1428
1427
|
return props.isActive ? '1px solid #9E9E9E' : '';
|
|
1429
1428
|
}, function (props) {
|
|
1430
1429
|
return !props.isActive ? '#49dad0' : '';
|
|
@@ -20,7 +20,7 @@ var _icon = _interopRequireDefault(require("../../atoms/icon"));
|
|
|
20
20
|
var _image = _interopRequireDefault(require("../../atoms/image"));
|
|
21
21
|
var _thematicBreak = _interopRequireDefault(require("../../atoms/thematicBreak"));
|
|
22
22
|
var _tabs = _interopRequireDefault(require("../../molecules/tabs"));
|
|
23
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9,
|
|
23
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12;
|
|
24
24
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
25
25
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26
26
|
var PlayerContainer = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n height: 100%;\n"])));
|
|
@@ -32,11 +32,11 @@ var BigPlayButton = (0, _styledComponents["default"])(_button["default"])(_templ
|
|
|
32
32
|
var SDPlayerBorder = _styledComponents["default"].div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2["default"])(["\n opacity: 0.3;\n border: solid 1px #ffffff;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%,-50%);\n -ms-transform: translate(-50%,-50%);\n -o-transform: translate(-50%,-50%);\n -moz-transform: translate(-50%,-50%);\n transform: translate(-50%,-50%);\n position: absolute;\n padding-left: 75%;\n height: 100%;\n"])));
|
|
33
33
|
var PlayerControlBlock = _styledComponents["default"].div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2["default"])(["\n width: 100%;\n height: 60px;\n position: relative;\n"])));
|
|
34
34
|
var SeekBar = _styledComponents["default"].div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2["default"])(["\n width: 100%;\n height: 4px;\n position: relative;\n cursor: pointer;\n .seekbar-bg {\n background: rgba(0,0,0,0.3);\n width: 100%;\n height: 100%;\n }\n .play-progress {\n position: absolute;\n width: 0px;\n height: 100%;\n left: 0;\n top: 0;\n background: #00cec6;\n &:after {\n content: '';\n width: 12px;\n height: 12px;\n position: absolute;\n background: #00cec6;\n border-radius: 100%;\n right: -6px;\n top: -5px;\n box-shadow: 0 0 14px 1px #00cec6;\n }\n }\n"])));
|
|
35
|
-
var PlayerControls = _styledComponents["default"].div(
|
|
36
|
-
var CommentBox = _styledComponents["default"].div(
|
|
37
|
-
var Carousal = _styledComponents["default"].div(
|
|
38
|
-
var VideoDetailsWrapper = _styledComponents["default"].div(_templateObject13 || (_templateObject13 = (0, _taggedTemplateLiteral2["default"])(["\n width: 36.33%;\n .tab-block {\n height: 100%;\n .tab-container {\n padding: 20px;\n text-align: left;\n .info-block {\n width: 33.33%;\n display: inline-block;\n padding-bottom: 25px;\n &:last-child{\n width: 100%;\n }\n .info-header {\n font-family: SFUIText-Regular;\n font-size: 10px;\n color: #666666;\n color: #cccccc;\n margin-bottom: 20px;\n }\n .info-value {\n font-family: SFUIText-Regular;\n font-size: 14px;\n color: #333333;\n color: #ffffff;\n }\n }\n &.scenes-tab {\n hr {\n border-color: #eeeeee;\n border-color: #4e5c6c;\n }\n .scenes-synopsis {\n .info-header {\n font-family: SFUIText-Regular;\n font-size: 12px;\n color: #333333;\n color: #cccccc;\n text-transform: uppercase;\n margin-bottom: 10px;\n }\n .synopsis {\n font-family: SFUIText-Regular;\n font-size: 12px;\n line-height: 1.33;\n color: #666666;\n color: #ffffff;\n margin-bottom: 10px;\n }\n }\n .scenes-wrapper {\n .scene-container{\n &:last-child {\n hr {\n display: none;\n }\n }\n .scene-block {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n cursor: pointer;\n &:hover{\n .scene-image {\n ", " {\n display: inline-block;\n }\n }\n }\n .scene-image {\n width: 70px;\n height: 70px;\n border-radius: 100%;\n overflow: hidden;\n position: relative;\n ", " {\n display: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n -webkit-transform: translate(-50%, -50%);\n -moz-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n -o-transform: translate(-50%, -50%);\n }\n }\n .scene-details {\n margin-left: 15px;\n .scene-name {\n font-family: SFUIText-Medium;\n font-size: 12px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #333333;\n color: #ffffff;\n margin-bottom: 5px;\n }\n .scene-time {\n font-family: SFUIText-Medium;\n font-size: 12px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #888888;\n color: #aaaaaa;\n margin-bottom: 5px;\n }\n .scene-tags-block {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n .scene-tags {\n font-family: SFUIText-Medium;\n font-size: 12px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.17;\n letter-spacing: normal;\n color: #c7c5c5;\n color: #999999;\n margin-right: 5px;\n }\n }\n }\n }\n }\n }\n }\n &.comments-tab {\n padding: 0;\n position: relative;\n width: 100%;\n height: 100%;\n .comments-section {\n padding: 10px 0;\n height: calc(100% - 73px);\n overflow: auto;\n top: 0;\n position: absolute;\n left: 0;\n width: 100%;\n .comments-details {\n padding: 10px 20px 10px 20px;\n .comments-count {\n font-size: 14px;\n font-weight: normal;\n font-family: SFUIText-Regular;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #333333;\n color: #cccccc;\n }\n }\n .comments-container {\n .comment-wrapper {\n padding: 20px;\n cursor: pointer;\n &:hover {\n background: #f5f5f5;\n background: #304153;\n }\n .comment-block, .reply-block {\n .comment-header {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin-bottom: 10px;\n position: relative;\n z-index: 2;\n img {\n width: 30px;\n height: 30px;\n border-radius: 100%;\n left: auto;\n top: auto;\n transform: none;\n }\n .user-name {\n padding: 0px 20px 0px 10px;\n font-family: SFUIText-Medium;\n font-size: 12px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #333333;\n color: #ffffff;\n }\n .video-time {\n opacity: 0.8;\n font-family: SFUIText-Regular;\n font-size: 12px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #626260;\n color: #cccccc;\n text-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);\n }\n .comment-time {\n opacity: 0.2;\n opacity: 1;\n font-family: SFUIText-Regular;\n font-size: 12px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #000000;\n color: #aaaaaa;\n margin-left: 20px;\n }\n }\n .comment-body {\n p {\n font-family: SFUIText-Regular;\n font-size: 13px;\n font-weight: 300;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.38;\n letter-spacing: normal;\n color: #333333;\n color: #ffffff;\n }\n }\n }\n .reply-wrapper {\n .reply-block {\n padding-left: 20px;\n padding-top: 15px;\n position: relative;\n &:after {\n content: '';\n position: absolute;\n width: 1px;\n height: 100%;\n background: #cccccc;\n background: #4e5c6c;\n top: 15px;\n z-index: 0;\n left: 35px;\n }\n &:last-child {\n &:after {\n display: none;\n }\n }\n .comment-body {\n padding-left: 40px;\n }\n }\n }\n }\n }\n }\n .approval-block {\n height: 73px;\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n padding: 0 10px;\n background: #121d29;\n background: #ffffff;\n position: absolute;\n width: 100%;\n bottom: 0;\n ", " {\n font-size: 12px;\n margin: 0 10px;\n }\n }\n }\n &.tags-tab {\n .tag-header {\n font-family: SFUIText-Regular;\n font-size: 12px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #cccccc;\n }\n .characters-list {\n margin: 10px 0;\n .actor-tag {\n width: 70px;\n height: 70px;\n border-radius: 100%;\n background: #121d29;\n display: inline-block;\n vertical-align: middle;\n margin: 10px;\n position: relative;\n overflow: hidden;\n cursor: pointer;\n border: 1px solid transparent;\n &.actor-selected, &:hover {\n border: 1px solid #00cec6;\n .actor-name-wrapper {\n display: block;\n }\n }\n ", " {\n positon: absolute;\n }\n .actor-name-wrapper {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: rgba(0,0,0,0.8);\n .actor-name {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n -webkit-transform: translate(-50%, -50%);\n -moz-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n -o-transform: translate(-50%, -50%);\n width: 60px;\n text-align: center;\n font-family: SFUIText-Medium;\n font-size: 10px;\n letter-spacing: 0px;\n color: #ffffff;\n word-break: break-word;\n }\n }\n }\n }\n }\n }\n }\n"])), _icon["default"].Element, _icon["default"].Element, _button["default"].Element, _image["default"].Element);
|
|
39
|
-
var MarkerBlock = _styledComponents["default"].div(
|
|
35
|
+
var PlayerControls = _styledComponents["default"].div(_templateObject0 || (_templateObject0 = (0, _taggedTemplateLiteral2["default"])(["\n height: calc(100% - 4px);\n background: #000000;\n display: flex;\n justify-content: space-between;\n padding: 0 10px;\n align-items: center;\n .controls-left, .controls-right {\n display: flex;\n align-items: center;\n ", " {\n background: transparent;\n border: none;\n margin: 0 10px;\n }\n }\n .controls-left{\n .video-time-display {\n display: flex;\n align-items: center;\n font-family: SFUIText-Regular;\n font-size: 12px;\n letter-spacing: -0.6px;\n .video-time {\n margin: 0 2px;\n &.video-end-time, &.video-time-seperator {\n color: #888888;\n }\n &.video-current-time {\n color: #ffffff;\n min-width: 64px;\n }\n }\n }\n }\n"])), _button["default"].Element);
|
|
36
|
+
var CommentBox = _styledComponents["default"].div(_templateObject1 || (_templateObject1 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n background-color: #333333;\n align-items: center;\n justify-content: space-between;\n ", " {\n height: 100%;\n color: #ccc;\n padding: 15px 10px 15px 20px;\n border-bottom: none;\n }\n ", " {\n margin: 0;\n background: #333333;\n border: none;\n ", " {\n svg {\n path {\n fill: #00cec6;\n }\n }\n }\n }\n"])), _inputText["default"].Element, _button["default"].Element, _icon["default"].Element);
|
|
37
|
+
var Carousal = _styledComponents["default"].div(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2["default"])(["\n height: 91px;\n background: #000000;\n"])));
|
|
38
|
+
var VideoDetailsWrapper = _styledComponents["default"].div(_templateObject11 || (_templateObject11 = (0, _taggedTemplateLiteral2["default"])(["\n width: 36.33%;\n .tab-block {\n height: 100%;\n .tab-container {\n padding: 20px;\n text-align: left;\n .info-block {\n width: 33.33%;\n display: inline-block;\n padding-bottom: 25px;\n &:last-child{\n width: 100%;\n }\n .info-header {\n font-family: SFUIText-Regular;\n font-size: 10px;\n color: #666666;\n color: #cccccc;\n margin-bottom: 20px;\n }\n .info-value {\n font-family: SFUIText-Regular;\n font-size: 14px;\n color: #333333;\n color: #ffffff;\n }\n }\n &.scenes-tab {\n hr {\n border-color: #eeeeee;\n border-color: #4e5c6c;\n }\n .scenes-synopsis {\n .info-header {\n font-family: SFUIText-Regular;\n font-size: 12px;\n color: #333333;\n color: #cccccc;\n text-transform: uppercase;\n margin-bottom: 10px;\n }\n .synopsis {\n font-family: SFUIText-Regular;\n font-size: 12px;\n line-height: 1.33;\n color: #666666;\n color: #ffffff;\n margin-bottom: 10px;\n }\n }\n .scenes-wrapper {\n .scene-container{\n &:last-child {\n hr {\n display: none;\n }\n }\n .scene-block {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n cursor: pointer;\n &:hover{\n .scene-image {\n ", " {\n display: inline-block;\n }\n }\n }\n .scene-image {\n width: 70px;\n height: 70px;\n border-radius: 100%;\n overflow: hidden;\n position: relative;\n ", " {\n display: none;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n -webkit-transform: translate(-50%, -50%);\n -moz-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n -o-transform: translate(-50%, -50%);\n }\n }\n .scene-details {\n margin-left: 15px;\n .scene-name {\n font-family: SFUIText-Medium;\n font-size: 12px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #333333;\n color: #ffffff;\n margin-bottom: 5px;\n }\n .scene-time {\n font-family: SFUIText-Medium;\n font-size: 12px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #888888;\n color: #aaaaaa;\n margin-bottom: 5px;\n }\n .scene-tags-block {\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n .scene-tags {\n font-family: SFUIText-Medium;\n font-size: 12px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.17;\n letter-spacing: normal;\n color: #c7c5c5;\n color: #999999;\n margin-right: 5px;\n }\n }\n }\n }\n }\n }\n }\n &.comments-tab {\n padding: 0;\n position: relative;\n width: 100%;\n height: 100%;\n .comments-section {\n padding: 10px 0;\n height: calc(100% - 73px);\n overflow: auto;\n top: 0;\n position: absolute;\n left: 0;\n width: 100%;\n .comments-details {\n padding: 10px 20px 10px 20px;\n .comments-count {\n font-size: 14px;\n font-weight: normal;\n font-family: SFUIText-Regular;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #333333;\n color: #cccccc;\n }\n }\n .comments-container {\n .comment-wrapper {\n padding: 20px;\n cursor: pointer;\n &:hover {\n background: #f5f5f5;\n background: #304153;\n }\n .comment-block, .reply-block {\n .comment-header {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n margin-bottom: 10px;\n position: relative;\n z-index: 2;\n img {\n width: 30px;\n height: 30px;\n border-radius: 100%;\n left: auto;\n top: auto;\n transform: none;\n }\n .user-name {\n padding: 0px 20px 0px 10px;\n font-family: SFUIText-Medium;\n font-size: 12px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #333333;\n color: #ffffff;\n }\n .video-time {\n opacity: 0.8;\n font-family: SFUIText-Regular;\n font-size: 12px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #626260;\n color: #cccccc;\n text-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);\n }\n .comment-time {\n opacity: 0.2;\n opacity: 1;\n font-family: SFUIText-Regular;\n font-size: 12px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #000000;\n color: #aaaaaa;\n margin-left: 20px;\n }\n }\n .comment-body {\n p {\n font-family: SFUIText-Regular;\n font-size: 13px;\n font-weight: 300;\n font-style: normal;\n font-stretch: normal;\n line-height: 1.38;\n letter-spacing: normal;\n color: #333333;\n color: #ffffff;\n }\n }\n }\n .reply-wrapper {\n .reply-block {\n padding-left: 20px;\n padding-top: 15px;\n position: relative;\n &:after {\n content: '';\n position: absolute;\n width: 1px;\n height: 100%;\n background: #cccccc;\n background: #4e5c6c;\n top: 15px;\n z-index: 0;\n left: 35px;\n }\n &:last-child {\n &:after {\n display: none;\n }\n }\n .comment-body {\n padding-left: 40px;\n }\n }\n }\n }\n }\n }\n .approval-block {\n height: 73px;\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n padding: 0 10px;\n background: #121d29;\n background: #ffffff;\n position: absolute;\n width: 100%;\n bottom: 0;\n ", " {\n font-size: 12px;\n margin: 0 10px;\n }\n }\n }\n &.tags-tab {\n .tag-header {\n font-family: SFUIText-Regular;\n font-size: 12px;\n font-weight: normal;\n font-style: normal;\n font-stretch: normal;\n line-height: normal;\n letter-spacing: normal;\n color: #cccccc;\n }\n .characters-list {\n margin: 10px 0;\n .actor-tag {\n width: 70px;\n height: 70px;\n border-radius: 100%;\n background: #121d29;\n display: inline-block;\n vertical-align: middle;\n margin: 10px;\n position: relative;\n overflow: hidden;\n cursor: pointer;\n border: 1px solid transparent;\n &.actor-selected, &:hover {\n border: 1px solid #00cec6;\n .actor-name-wrapper {\n display: block;\n }\n }\n ", " {\n positon: absolute;\n }\n .actor-name-wrapper {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n background: rgba(0,0,0,0.8);\n .actor-name {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n -webkit-transform: translate(-50%, -50%);\n -moz-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n -o-transform: translate(-50%, -50%);\n width: 60px;\n text-align: center;\n font-family: SFUIText-Medium;\n font-size: 10px;\n letter-spacing: 0px;\n color: #ffffff;\n word-break: break-word;\n }\n }\n }\n }\n }\n }\n }\n"])), _icon["default"].Element, _icon["default"].Element, _button["default"].Element, _image["default"].Element);
|
|
39
|
+
var MarkerBlock = _styledComponents["default"].div(_templateObject12 || (_templateObject12 = (0, _taggedTemplateLiteral2["default"])(["\n position: absolute;\n width: 100%;\n height: 10px;\n left:0;\n bottom: 15px;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n .scene-marker {\n background: #00cec6;\n position: relative;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n }\n"])));
|
|
40
40
|
var Player = /*#__PURE__*/function (_React$Component) {
|
|
41
41
|
function Player(props) {
|
|
42
42
|
var _this;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/components",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.22",
|
|
4
4
|
"description": "Components for Desynova Digital",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "desynova-digital",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": "desynova-digital",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@desynova-digital/tokens": "9.1.
|
|
10
|
+
"@desynova-digital/tokens": "9.1.22",
|
|
11
11
|
"prop-types": "^15.7.2",
|
|
12
12
|
"styled-components": "^4.3.2"
|
|
13
13
|
},
|