@x-edu/live-player 0.0.51 → 0.0.53
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/dist/XEduLivePlayer.common.js +57 -57
- package/package.json +1 -1
|
@@ -2833,7 +2833,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
2833
2833
|
|
|
2834
2834
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
2835
2835
|
// Module
|
|
2836
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".MobileListItem-module_mobileContainer_wfLKG{display:flex;flex-direction:column;border-radius:8px;overflow:hidden;height:
|
|
2836
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".MobileListItem-module_mobileContainer_wfLKG{display:flex;flex-direction:column;border-radius:8px;overflow:hidden;height:auto;background:linear-gradient(180deg,#fff,#fff 62.98%,rgba(0,247,255,.08));border:1px solid #eef4ff}.MobileListItem-module_mobileCoverWrap_271x\\+{position:relative;width:100%;padding-top:56.25%;overflow:hidden;background:#f0f0f0}.MobileListItem-module_mobileCover_LBJ85{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block}.MobileListItem-module_mobileContent_zA7iL{padding:12px;display:flex;flex-direction:column;flex:1}.MobileListItem-module_mobileTitleRow_O\\+\\+oM{margin-bottom:4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:24px;font-size:16px;min-height:49px}.MobileListItem-module_mobileStatusTag_ZDlxf{margin-right:4px!important;flex-shrink:0;margin-top:2px;font-size:10px!important;height:16px!important;line-height:20px!important}.MobileListItem-module_mobileStatusTag_ZDlxf img{width:12px!important;height:12px!important}.MobileListItem-module_mobileTitle_Qpabu{display:inline;color:#333;font-size:12px;font-style:normal;font-weight:500;line-height:18px}.MobileListItem-module_mobileMetaRow_P0gQ\\+{margin-bottom:12px}.MobileListItem-module_mobileMetaText_DNbQG{display:flex;align-items:center;font-size:10px;color:#999;line-height:18px}.MobileListItem-module_mobileMetaIcon_uoXZB{width:16px;height:16px;opacity:.6}.MobileListItem-module_countDownLabel_DV35Y,.MobileListItem-module_mobileMetaIcon_uoXZB{margin-right:4px}.MobileListItem-module_countDown_\\+eGzt{display:inline-flex}.MobileListItem-module_mobileFooterRow_ekYRA{justify-content:flex-end;flex:1 1 auto}.MobileListItem-module_mobileFooterRow_ekYRA,.MobileListItem-module_mobileHeat_V3\\+9A{display:flex;align-items:center}.MobileListItem-module_mobileHeat_V3\\+9A{font-size:10px;color:#666;flex-shrink:0}.MobileListItem-module_mobileHeatIcon_ZgirG{width:14px;height:14px;margin-right:4px;padding-bottom:2px}.MobileListItem-module_mobileAction_j\\+w5d{margin-left:auto}", ""]);
|
|
2837
2837
|
// Exports
|
|
2838
2838
|
___CSS_LOADER_EXPORT___.locals = {
|
|
2839
2839
|
"mobileContainer": "MobileListItem-module_mobileContainer_wfLKG",
|
|
@@ -25849,7 +25849,7 @@ module.exports = __webpack_require__(5666);
|
|
|
25849
25849
|
/***/ 3006:
|
|
25850
25850
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25851
25851
|
|
|
25852
|
-
var _regeneratorRuntime = __webpack_require__(
|
|
25852
|
+
var _regeneratorRuntime = __webpack_require__(5273);
|
|
25853
25853
|
|
|
25854
25854
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
25855
25855
|
|
|
@@ -48597,7 +48597,7 @@ function useControlledState(defaultStateValue, option) {
|
|
|
48597
48597
|
|
|
48598
48598
|
return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue;
|
|
48599
48599
|
}),
|
|
48600
|
-
_React$useState2 =
|
|
48600
|
+
_React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
|
|
48601
48601
|
innerValue = _React$useState2[0],
|
|
48602
48602
|
setInnerValue = _React$useState2[1];
|
|
48603
48603
|
|
|
@@ -59328,7 +59328,7 @@ var ExtraContent = function ExtraContent(_ref) {
|
|
|
59328
59328
|
|
|
59329
59329
|
var assertExtra = {};
|
|
59330
59330
|
|
|
59331
|
-
if (extra &&
|
|
59331
|
+
if (extra && esm_typeof_typeof(extra) === 'object' && ! /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.isValidElement(extra)) {
|
|
59332
59332
|
assertExtra = extra;
|
|
59333
59333
|
} else {
|
|
59334
59334
|
assertExtra.right = extra;
|
|
@@ -59374,7 +59374,7 @@ function TabNavList(props, ref) {
|
|
|
59374
59374
|
var innerAddButtonRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)();
|
|
59375
59375
|
|
|
59376
59376
|
var _useRefs = useRefs(),
|
|
59377
|
-
_useRefs2 =
|
|
59377
|
+
_useRefs2 = slicedToArray_slicedToArray(_useRefs, 2),
|
|
59378
59378
|
getBtnRef = _useRefs2[0],
|
|
59379
59379
|
removeBtnRef = _useRefs2[1];
|
|
59380
59380
|
|
|
@@ -59387,7 +59387,7 @@ function TabNavList(props, ref) {
|
|
|
59387
59387
|
});
|
|
59388
59388
|
}
|
|
59389
59389
|
}),
|
|
59390
|
-
_useSyncState2 =
|
|
59390
|
+
_useSyncState2 = slicedToArray_slicedToArray(_useSyncState, 2),
|
|
59391
59391
|
transformLeft = _useSyncState2[0],
|
|
59392
59392
|
setTransformLeft = _useSyncState2[1];
|
|
59393
59393
|
|
|
@@ -59398,42 +59398,42 @@ function TabNavList(props, ref) {
|
|
|
59398
59398
|
});
|
|
59399
59399
|
}
|
|
59400
59400
|
}),
|
|
59401
|
-
_useSyncState4 =
|
|
59401
|
+
_useSyncState4 = slicedToArray_slicedToArray(_useSyncState3, 2),
|
|
59402
59402
|
transformTop = _useSyncState4[0],
|
|
59403
59403
|
setTransformTop = _useSyncState4[1];
|
|
59404
59404
|
|
|
59405
59405
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(0),
|
|
59406
|
-
_useState2 =
|
|
59406
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
59407
59407
|
wrapperScrollWidth = _useState2[0],
|
|
59408
59408
|
setWrapperScrollWidth = _useState2[1];
|
|
59409
59409
|
|
|
59410
59410
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(0),
|
|
59411
|
-
_useState4 =
|
|
59411
|
+
_useState4 = slicedToArray_slicedToArray(_useState3, 2),
|
|
59412
59412
|
wrapperScrollHeight = _useState4[0],
|
|
59413
59413
|
setWrapperScrollHeight = _useState4[1];
|
|
59414
59414
|
|
|
59415
59415
|
var _useState5 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(null),
|
|
59416
|
-
_useState6 =
|
|
59416
|
+
_useState6 = slicedToArray_slicedToArray(_useState5, 2),
|
|
59417
59417
|
wrapperWidth = _useState6[0],
|
|
59418
59418
|
setWrapperWidth = _useState6[1];
|
|
59419
59419
|
|
|
59420
59420
|
var _useState7 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(null),
|
|
59421
|
-
_useState8 =
|
|
59421
|
+
_useState8 = slicedToArray_slicedToArray(_useState7, 2),
|
|
59422
59422
|
wrapperHeight = _useState8[0],
|
|
59423
59423
|
setWrapperHeight = _useState8[1];
|
|
59424
59424
|
|
|
59425
59425
|
var _useState9 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(0),
|
|
59426
|
-
_useState10 =
|
|
59426
|
+
_useState10 = slicedToArray_slicedToArray(_useState9, 2),
|
|
59427
59427
|
addWidth = _useState10[0],
|
|
59428
59428
|
setAddWidth = _useState10[1];
|
|
59429
59429
|
|
|
59430
59430
|
var _useState11 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(0),
|
|
59431
|
-
_useState12 =
|
|
59431
|
+
_useState12 = slicedToArray_slicedToArray(_useState11, 2),
|
|
59432
59432
|
addHeight = _useState12[0],
|
|
59433
59433
|
setAddHeight = _useState12[1];
|
|
59434
59434
|
|
|
59435
59435
|
var _useRafState = useRafState(new Map()),
|
|
59436
|
-
_useRafState2 =
|
|
59436
|
+
_useRafState2 = slicedToArray_slicedToArray(_useRafState, 2),
|
|
59437
59437
|
tabSizes = _useRafState2[0],
|
|
59438
59438
|
setTabSizes = _useRafState2[1];
|
|
59439
59439
|
|
|
@@ -59470,7 +59470,7 @@ function TabNavList(props, ref) {
|
|
|
59470
59470
|
var touchMovingRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)();
|
|
59471
59471
|
|
|
59472
59472
|
var _useState13 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(),
|
|
59473
|
-
_useState14 =
|
|
59473
|
+
_useState14 = slicedToArray_slicedToArray(_useState13, 2),
|
|
59474
59474
|
lockAnimation = _useState14[0],
|
|
59475
59475
|
setLockAnimation = _useState14[1];
|
|
59476
59476
|
|
|
@@ -59578,10 +59578,10 @@ function TabNavList(props, ref) {
|
|
|
59578
59578
|
}, {
|
|
59579
59579
|
width: addWidth,
|
|
59580
59580
|
height: addHeight
|
|
59581
|
-
},
|
|
59581
|
+
}, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, props), {}, {
|
|
59582
59582
|
tabs: tabs
|
|
59583
59583
|
})),
|
|
59584
|
-
_useVisibleRange2 =
|
|
59584
|
+
_useVisibleRange2 = slicedToArray_slicedToArray(_useVisibleRange, 2),
|
|
59585
59585
|
visibleStart = _useVisibleRange2[0],
|
|
59586
59586
|
visibleEnd = _useVisibleRange2[1];
|
|
59587
59587
|
|
|
@@ -59670,10 +59670,10 @@ function TabNavList(props, ref) {
|
|
|
59670
59670
|
|
|
59671
59671
|
var startHiddenTabs = tabs.slice(0, visibleStart);
|
|
59672
59672
|
var endHiddenTabs = tabs.slice(visibleEnd + 1);
|
|
59673
|
-
var hiddenTabs = [].concat(
|
|
59673
|
+
var hiddenTabs = [].concat(toConsumableArray_toConsumableArray(startHiddenTabs), toConsumableArray_toConsumableArray(endHiddenTabs)); // =================== Link & Operations ===================
|
|
59674
59674
|
|
|
59675
59675
|
var _useState15 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(),
|
|
59676
|
-
_useState16 =
|
|
59676
|
+
_useState16 = slicedToArray_slicedToArray(_useState15, 2),
|
|
59677
59677
|
inkStyle = _useState16[0],
|
|
59678
59678
|
setInkStyle = _useState16[1];
|
|
59679
59679
|
|
|
@@ -59756,7 +59756,7 @@ function TabNavList(props, ref) {
|
|
|
59756
59756
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_resize_observer_es, {
|
|
59757
59757
|
onResize: onListHolderResize
|
|
59758
59758
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
59759
|
-
className: classnames_default()(wrapPrefix, (_classNames = {},
|
|
59759
|
+
className: classnames_default()(wrapPrefix, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(wrapPrefix, "-ping-left"), pingLeft), defineProperty_defineProperty(_classNames, "".concat(wrapPrefix, "-ping-right"), pingRight), defineProperty_defineProperty(_classNames, "".concat(wrapPrefix, "-ping-top"), pingTop), defineProperty_defineProperty(_classNames, "".concat(wrapPrefix, "-ping-bottom"), pingBottom), _classNames)),
|
|
59760
59760
|
ref: tabsWrapperRef
|
|
59761
59761
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_resize_observer_es, {
|
|
59762
59762
|
onResize: onListHolderResize
|
|
@@ -59772,13 +59772,13 @@ function TabNavList(props, ref) {
|
|
|
59772
59772
|
prefixCls: prefixCls,
|
|
59773
59773
|
locale: locale,
|
|
59774
59774
|
editable: editable,
|
|
59775
|
-
style:
|
|
59775
|
+
style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, tabNodes.length === 0 ? undefined : tabNodeStyle), {}, {
|
|
59776
59776
|
visibility: hasDropdown ? 'hidden' : null
|
|
59777
59777
|
})
|
|
59778
59778
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
59779
|
-
className: classnames_default()("".concat(prefixCls, "-ink-bar"),
|
|
59779
|
+
className: classnames_default()("".concat(prefixCls, "-ink-bar"), defineProperty_defineProperty({}, "".concat(prefixCls, "-ink-bar-animated"), animated.inkBar)),
|
|
59780
59780
|
style: inkStyle
|
|
59781
|
-
}))))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabNavList_OperationNode,
|
|
59781
|
+
}))))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabNavList_OperationNode, esm_extends_extends({}, props, {
|
|
59782
59782
|
removeAriaLabel: locale === null || locale === void 0 ? void 0 : locale.removeAriaLabel,
|
|
59783
59783
|
ref: operationsRef,
|
|
59784
59784
|
prefixCls: prefixCls,
|
|
@@ -59818,8 +59818,8 @@ function TabPanelList(_ref) {
|
|
|
59818
59818
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
59819
59819
|
className: classnames_default()("".concat(prefixCls, "-content-holder"))
|
|
59820
59820
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
59821
|
-
className: classnames_default()("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition),
|
|
59822
|
-
style: activeIndex && tabPaneAnimated ?
|
|
59821
|
+
className: classnames_default()("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition), defineProperty_defineProperty({}, "".concat(prefixCls, "-content-animated"), tabPaneAnimated)),
|
|
59822
|
+
style: activeIndex && tabPaneAnimated ? defineProperty_defineProperty({}, rtl ? 'marginRight' : 'marginLeft', "-".concat(activeIndex, "00%")) : null
|
|
59823
59823
|
}, tabs.map(function (tab) {
|
|
59824
59824
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.cloneElement(tab.node, {
|
|
59825
59825
|
key: tab.key,
|
|
@@ -60530,14 +60530,14 @@ function calculatePage(p, state, props) {
|
|
|
60530
60530
|
}
|
|
60531
60531
|
|
|
60532
60532
|
var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
60533
|
-
|
|
60533
|
+
inherits_inherits(Pagination, _React$Component);
|
|
60534
60534
|
|
|
60535
|
-
var _super =
|
|
60535
|
+
var _super = createSuper_createSuper(Pagination);
|
|
60536
60536
|
|
|
60537
60537
|
function Pagination(props) {
|
|
60538
60538
|
var _this;
|
|
60539
60539
|
|
|
60540
|
-
|
|
60540
|
+
classCallCheck_classCallCheck(this, Pagination);
|
|
60541
60541
|
|
|
60542
60542
|
_this = _super.call(this, props);
|
|
60543
60543
|
|
|
@@ -60558,7 +60558,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60558
60558
|
});
|
|
60559
60559
|
|
|
60560
60560
|
if (typeof icon === 'function') {
|
|
60561
|
-
iconNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(icon,
|
|
60561
|
+
iconNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(icon, objectSpread2_objectSpread2({}, _this.props));
|
|
60562
60562
|
}
|
|
60563
60563
|
|
|
60564
60564
|
return iconNode;
|
|
@@ -60780,7 +60780,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60780
60780
|
return _this;
|
|
60781
60781
|
}
|
|
60782
60782
|
|
|
60783
|
-
|
|
60783
|
+
createClass_createClass(Pagination, [{
|
|
60784
60784
|
key: "componentDidUpdate",
|
|
60785
60785
|
value: function componentDidUpdate(prevProps, prevState) {
|
|
60786
60786
|
// When current page change, fix focused style of prev item
|
|
@@ -60928,8 +60928,8 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60928
60928
|
}, gotoButton);
|
|
60929
60929
|
}
|
|
60930
60930
|
|
|
60931
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul",
|
|
60932
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"),
|
|
60931
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
|
|
60932
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled), className),
|
|
60933
60933
|
style: style,
|
|
60934
60934
|
ref: this.savePaginationNode
|
|
60935
60935
|
}, dataOrAriaAttributeProps), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
@@ -60937,7 +60937,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60937
60937
|
onClick: this.prev,
|
|
60938
60938
|
tabIndex: this.hasPrev() ? 0 : null,
|
|
60939
60939
|
onKeyPress: this.runIfEnterPrev,
|
|
60940
|
-
className: classnames_default()("".concat(prefixCls, "-prev"),
|
|
60940
|
+
className: classnames_default()("".concat(prefixCls, "-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasPrev())),
|
|
60941
60941
|
"aria-disabled": !this.hasPrev()
|
|
60942
60942
|
}, this.renderPrev(prevPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
60943
60943
|
title: showTitle ? "".concat(current, "/").concat(allPages) : null,
|
|
@@ -60958,7 +60958,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60958
60958
|
onClick: this.next,
|
|
60959
60959
|
tabIndex: this.hasPrev() ? 0 : null,
|
|
60960
60960
|
onKeyPress: this.runIfEnterNext,
|
|
60961
|
-
className: classnames_default()("".concat(prefixCls, "-next"),
|
|
60961
|
+
className: classnames_default()("".concat(prefixCls, "-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasNext())),
|
|
60962
60962
|
"aria-disabled": !this.hasNext()
|
|
60963
60963
|
}, this.renderNext(nextPage)), gotoButton);
|
|
60964
60964
|
}
|
|
@@ -60974,7 +60974,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60974
60974
|
};
|
|
60975
60975
|
|
|
60976
60976
|
if (!allPages) {
|
|
60977
|
-
pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager,
|
|
60977
|
+
pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager, esm_extends_extends({}, pagerProps, {
|
|
60978
60978
|
key: "noPager",
|
|
60979
60979
|
page: 1,
|
|
60980
60980
|
className: "".concat(prefixCls, "-item-disabled")
|
|
@@ -60983,7 +60983,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60983
60983
|
|
|
60984
60984
|
for (var i = 1; i <= allPages; i += 1) {
|
|
60985
60985
|
var active = current === i;
|
|
60986
|
-
pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager,
|
|
60986
|
+
pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager, esm_extends_extends({}, pagerProps, {
|
|
60987
60987
|
key: i,
|
|
60988
60988
|
page: i,
|
|
60989
60989
|
active: active
|
|
@@ -61000,7 +61000,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
61000
61000
|
onClick: this.jumpPrev,
|
|
61001
61001
|
tabIndex: "0",
|
|
61002
61002
|
onKeyPress: this.runIfEnterJumpPrev,
|
|
61003
|
-
className: classnames_default()("".concat(prefixCls, "-jump-prev"),
|
|
61003
|
+
className: classnames_default()("".concat(prefixCls, "-jump-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-jump-prev-custom-icon"), !!jumpPrevIcon))
|
|
61004
61004
|
}, itemRender(this.getJumpPrevPage(), 'jump-prev', this.getItemIcon(jumpPrevIcon, 'prev page')));
|
|
61005
61005
|
jumpNext = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
61006
61006
|
title: showTitle ? nextItemTitle : null,
|
|
@@ -61008,7 +61008,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
61008
61008
|
tabIndex: "0",
|
|
61009
61009
|
onClick: this.jumpNext,
|
|
61010
61010
|
onKeyPress: this.runIfEnterJumpNext,
|
|
61011
|
-
className: classnames_default()("".concat(prefixCls, "-jump-next"),
|
|
61011
|
+
className: classnames_default()("".concat(prefixCls, "-jump-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-jump-next-custom-icon"), !!jumpNextIcon))
|
|
61012
61012
|
}, itemRender(this.getJumpNextPage(), 'jump-next', this.getItemIcon(jumpNextIcon, 'next page')));
|
|
61013
61013
|
}
|
|
61014
61014
|
|
|
@@ -61095,8 +61095,8 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
61095
61095
|
|
|
61096
61096
|
var prevDisabled = !this.hasPrev() || !allPages;
|
|
61097
61097
|
var nextDisabled = !this.hasNext() || !allPages;
|
|
61098
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul",
|
|
61099
|
-
className: classnames_default()(prefixCls, className,
|
|
61098
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
|
|
61099
|
+
className: classnames_default()(prefixCls, className, defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled)),
|
|
61100
61100
|
style: style,
|
|
61101
61101
|
unselectable: "unselectable",
|
|
61102
61102
|
ref: this.savePaginationNode
|
|
@@ -61105,14 +61105,14 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
61105
61105
|
onClick: this.prev,
|
|
61106
61106
|
tabIndex: prevDisabled ? null : 0,
|
|
61107
61107
|
onKeyPress: this.runIfEnterPrev,
|
|
61108
|
-
className: classnames_default()("".concat(prefixCls, "-prev"),
|
|
61108
|
+
className: classnames_default()("".concat(prefixCls, "-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), prevDisabled)),
|
|
61109
61109
|
"aria-disabled": prevDisabled
|
|
61110
61110
|
}, this.renderPrev(prevPage)), pagerList, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
61111
61111
|
title: showTitle ? locale.next_page : null,
|
|
61112
61112
|
onClick: this.next,
|
|
61113
61113
|
tabIndex: nextDisabled ? null : 0,
|
|
61114
61114
|
onKeyPress: this.runIfEnterNext,
|
|
61115
|
-
className: classnames_default()("".concat(prefixCls, "-next"),
|
|
61115
|
+
className: classnames_default()("".concat(prefixCls, "-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), nextDisabled)),
|
|
61116
61116
|
"aria-disabled": nextDisabled
|
|
61117
61117
|
}, this.renderNext(nextPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Options, {
|
|
61118
61118
|
disabled: disabled,
|
|
@@ -61190,7 +61190,7 @@ Pagination.defaultProps = {
|
|
|
61190
61190
|
|
|
61191
61191
|
|
|
61192
61192
|
var MiniSelect = function MiniSelect(props) {
|
|
61193
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select,
|
|
61193
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select, esm_extends_extends({
|
|
61194
61194
|
size: "small"
|
|
61195
61195
|
}, props));
|
|
61196
61196
|
};
|
|
@@ -61251,7 +61251,7 @@ var responsiveObserve = {
|
|
|
61251
61251
|
var listener = function listener(_ref) {
|
|
61252
61252
|
var matches = _ref.matches;
|
|
61253
61253
|
|
|
61254
|
-
_this2.dispatch(
|
|
61254
|
+
_this2.dispatch(esm_extends_extends(esm_extends_extends({}, screens), defineProperty_defineProperty({}, screen, matches)));
|
|
61255
61255
|
};
|
|
61256
61256
|
|
|
61257
61257
|
var mql = window.matchMedia(matchMediaQuery);
|
|
@@ -61272,7 +61272,7 @@ var responsiveObserve = {
|
|
|
61272
61272
|
|
|
61273
61273
|
function useBreakpoint() {
|
|
61274
61274
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
|
|
61275
|
-
_useState2 =
|
|
61275
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
61276
61276
|
screens = _useState2[0],
|
|
61277
61277
|
setScreens = _useState2[1];
|
|
61278
61278
|
|
|
@@ -61392,13 +61392,13 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
61392
61392
|
var renderPagination = function renderPagination(contextLocale) {
|
|
61393
61393
|
var _classNames;
|
|
61394
61394
|
|
|
61395
|
-
var locale =
|
|
61395
|
+
var locale = esm_extends_extends(esm_extends_extends({}, contextLocale), customLocale);
|
|
61396
61396
|
|
|
61397
61397
|
var isSmall = size === 'small' || !!(xs && !size && restProps.responsive);
|
|
61398
61398
|
var selectPrefixCls = getPrefixCls('select', customizeSelectPrefixCls);
|
|
61399
61399
|
var extendedClassName = classnames_default()((_classNames = {
|
|
61400
61400
|
mini: isSmall
|
|
61401
|
-
},
|
|
61401
|
+
}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
|
|
61402
61402
|
|
|
61403
61403
|
if (minimalistic) {
|
|
61404
61404
|
paginationProps.itemRender = function (_current, type, originalElement) {
|
|
@@ -61435,7 +61435,7 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
61435
61435
|
paginationProps.showQuickJumper = showQuickJumper;
|
|
61436
61436
|
}
|
|
61437
61437
|
|
|
61438
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination,
|
|
61438
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination, esm_extends_extends({}, paginationProps, getIconsProps(), restProps, {
|
|
61439
61439
|
prefixCls: prefixCls,
|
|
61440
61440
|
selectPrefixCls: selectPrefixCls,
|
|
61441
61441
|
className: extendedClassName,
|
|
@@ -62129,15 +62129,6 @@ function Action_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
62129
62129
|
|
|
62130
62130
|
|
|
62131
62131
|
|
|
62132
|
-
var Actions = {
|
|
62133
|
-
1: '进入',
|
|
62134
|
-
// 直播中 或者开播前15min
|
|
62135
|
-
2: '查看',
|
|
62136
|
-
// 回放
|
|
62137
|
-
3: '预约',
|
|
62138
|
-
// 预告 且开播时间大于 15min
|
|
62139
|
-
4: '已预约'
|
|
62140
|
-
};
|
|
62141
62132
|
function Action(_ref) {
|
|
62142
62133
|
var _classNames;
|
|
62143
62134
|
|
|
@@ -62152,6 +62143,15 @@ function Action(_ref) {
|
|
|
62152
62143
|
status = _ref.status,
|
|
62153
62144
|
_ref$isMobile = _ref.isMobile,
|
|
62154
62145
|
isMobile = _ref$isMobile === void 0 ? false : _ref$isMobile;
|
|
62146
|
+
var Actions = {
|
|
62147
|
+
1: !isMobile ? '进入直播' : '进入',
|
|
62148
|
+
// 直播中 或者开播前15min
|
|
62149
|
+
2: !isMobile ? '立即查看' : '查看',
|
|
62150
|
+
// 回放
|
|
62151
|
+
3: !isMobile ? '立即预约' : '预约',
|
|
62152
|
+
// 预告 且开播时间大于 15min
|
|
62153
|
+
4: '已预约'
|
|
62154
|
+
};
|
|
62155
62155
|
var liveId = data.live_id,
|
|
62156
62156
|
beginTime = data.begin_time;
|
|
62157
62157
|
|