@x-edu/live-player 0.0.21 → 0.0.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/dist/XEduLivePlayer.common.js +290 -286
- package/dist/XEduLivePlayerPre.common.js +232 -221
- package/package.json +1 -1
- package/src/list/ListItem/index.jsx +119 -119
- package/src/list/ListItem/index.module.less +6 -4
|
@@ -12616,7 +12616,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
12616
12616
|
|
|
12617
12617
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
12618
12618
|
// Module
|
|
12619
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".index-module_container_2HydZ{padding:24px 0;margin:0 24px;display:flex;justify-content:flex-start;border-top:1px solid #eee;cursor:pointer}.index-module_container_2HydZ:first-child{border-top:none}.index-module_container_2HydZ .index-module_left_qKfes{margin-right:24px;border-radius:8px;position:relative}.index-module_container_2HydZ .index-module_left_qKfes .index-module_avatar_kO\\+gr{width:204px;height:120px;border-radius:4px;object-fit:cover}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag_6g0Vd{position:absolute;top:0;border-radius:4px 0;font-size:12px;line-height:12px;height:20px;padding:0 8px;display:flex;align-items:center;color:#fff}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag0_L-uaW{background-color:#ff7826}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod{background-color:#1e62ec;padding:0 5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse img,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod img{transform:rotate(180deg);height:10px;width:10px;margin-right:5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag2_sEPZA{background-color:rgba(0,0,0,.6)}.index-module_container_2HydZ .index-module_right_LjXan{display:flex;flex-direction:column;justify-content:space-between;width:calc(100% - 228px)}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_title_\\+g0nw{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;line-height:28px;-webkit-line-clamp:2;font-size:20px;font-weight:600;color:#333}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf{display:flex;justify-content:space-between;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time_sEG7-{font-size:14px;color:#999;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time-icon_Rg1x0{width:16px;height:16px;color:#ccc;margin-right:4px}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C{color:#
|
|
12619
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".index-module_container_2HydZ{padding:24px 0;margin:0 24px;display:flex;justify-content:flex-start;border-top:1px solid #eee;cursor:pointer}.index-module_container_2HydZ:first-child{border-top:none}.index-module_container_2HydZ .index-module_left_qKfes{margin-right:24px;border-radius:8px;position:relative}.index-module_container_2HydZ .index-module_left_qKfes .index-module_avatar_kO\\+gr{width:204px;height:120px;border-radius:4px;object-fit:cover}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag_6g0Vd{position:absolute;top:0;border-radius:4px 0;font-size:12px;line-height:12px;height:20px;padding:0 8px;display:flex;align-items:center;color:#fff}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag0_L-uaW{background-color:#ff7826}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod{background-color:#1e62ec;padding:0 5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag1_1Mqse img,.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag3_8NDod img{transform:rotate(180deg);height:10px;width:10px;margin-right:5px}.index-module_container_2HydZ .index-module_left_qKfes .index-module_tag2_sEPZA{background-color:rgba(0,0,0,.6)}.index-module_container_2HydZ .index-module_right_LjXan{display:flex;flex-direction:column;justify-content:space-between;width:calc(100% - 228px)}.index-module_container_2HydZ .index-module_right-top_4Ry90 .index-module_title_\\+g0nw{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;line-height:28px;-webkit-line-clamp:2;font-size:20px;font-weight:600;color:#333}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf{display:flex;justify-content:space-between;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time_sEG7-{font-size:14px;color:#999;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_time-icon_Rg1x0{width:16px;height:16px;color:#ccc;margin-right:4px}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C{color:#999;display:flex;align-items:center;margin-left:40px}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1{margin-right:30px;font-family:PingFang SC;font-size:14px;font-weight:400;line-height:22px;letter-spacing:0;text-align:left;display:flex;align-items:center}.index-module_container_2HydZ .index-module_right-bottom_ZCIxf .index-module_like_sty_Z780C .index-module_icon_bottom_jcWZ1 img{width:16px;height:16px;margin-right:5px;color:#ccc}.index-module_action_MHhqt,.index-module_container_2HydZ:hover .index-module_title_\\+g0nw{color:#1e62ec}.index-module_action_MHhqt{font-size:14px;line-height:22px;border-radius:144.889px;border:1px solid #1e62ec;width:88px;height:32px;display:flex;align-items:center;justify-content:center}.index-module_action-subscribe_CvlKL{background:#1e62ec;color:#fff}", ""]);
|
|
12620
12620
|
// Exports
|
|
12621
12621
|
___CSS_LOADER_EXPORT___.locals = {
|
|
12622
12622
|
"container": "index-module_container_2HydZ",
|
|
@@ -36060,7 +36060,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
36060
36060
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
36061
36061
|
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9337);
|
|
36062
36062
|
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
36063
|
-
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
36063
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6514);
|
|
36064
36064
|
/* harmony import */ var _ncet_xedu__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2852);
|
|
36065
36065
|
|
|
36066
36066
|
|
|
@@ -37219,6 +37219,30 @@ function _defineProperty(obj, key, value) {
|
|
|
37219
37219
|
|
|
37220
37220
|
/***/ }),
|
|
37221
37221
|
|
|
37222
|
+
/***/ 6514:
|
|
37223
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
37224
|
+
|
|
37225
|
+
"use strict";
|
|
37226
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
37227
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
37228
|
+
/* harmony export */ });
|
|
37229
|
+
function _defineProperty(obj, key, value) {
|
|
37230
|
+
if (key in obj) {
|
|
37231
|
+
Object.defineProperty(obj, key, {
|
|
37232
|
+
value: value,
|
|
37233
|
+
enumerable: true,
|
|
37234
|
+
configurable: true,
|
|
37235
|
+
writable: true
|
|
37236
|
+
});
|
|
37237
|
+
} else {
|
|
37238
|
+
obj[key] = value;
|
|
37239
|
+
}
|
|
37240
|
+
|
|
37241
|
+
return obj;
|
|
37242
|
+
}
|
|
37243
|
+
|
|
37244
|
+
/***/ }),
|
|
37245
|
+
|
|
37222
37246
|
/***/ 8593:
|
|
37223
37247
|
/***/ (function(module) {
|
|
37224
37248
|
|
|
@@ -40322,10 +40346,88 @@ var es_array_includes = __webpack_require__(6699);
|
|
|
40322
40346
|
var es_string_includes = __webpack_require__(2023);
|
|
40323
40347
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
40324
40348
|
var es_object_assign = __webpack_require__(9601);
|
|
40325
|
-
// EXTERNAL MODULE: ./node_modules/
|
|
40326
|
-
var
|
|
40349
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
40350
|
+
var esm_defineProperty = __webpack_require__(6514);
|
|
40351
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
40352
|
+
|
|
40353
|
+
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
|
|
40354
|
+
if (source == null) return {};
|
|
40355
|
+
var target = {};
|
|
40356
|
+
var sourceKeys = Object.keys(source);
|
|
40357
|
+
var key, i;
|
|
40358
|
+
|
|
40359
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
40360
|
+
key = sourceKeys[i];
|
|
40361
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40362
|
+
target[key] = source[key];
|
|
40363
|
+
}
|
|
40364
|
+
|
|
40365
|
+
return target;
|
|
40366
|
+
}
|
|
40367
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
40368
|
+
|
|
40369
|
+
|
|
40370
|
+
function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
|
|
40371
|
+
if (source == null) return {};
|
|
40372
|
+
var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
|
|
40373
|
+
var key, i;
|
|
40374
|
+
|
|
40375
|
+
if (Object.getOwnPropertySymbols) {
|
|
40376
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
40377
|
+
|
|
40378
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
40379
|
+
key = sourceSymbolKeys[i];
|
|
40380
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
40381
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
40382
|
+
target[key] = source[key];
|
|
40383
|
+
}
|
|
40384
|
+
}
|
|
40385
|
+
|
|
40386
|
+
return target;
|
|
40387
|
+
}
|
|
40327
40388
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
40328
40389
|
var es_promise = __webpack_require__(8674);
|
|
40390
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
40391
|
+
|
|
40392
|
+
|
|
40393
|
+
|
|
40394
|
+
function asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
40395
|
+
try {
|
|
40396
|
+
var info = gen[key](arg);
|
|
40397
|
+
var value = info.value;
|
|
40398
|
+
} catch (error) {
|
|
40399
|
+
reject(error);
|
|
40400
|
+
return;
|
|
40401
|
+
}
|
|
40402
|
+
|
|
40403
|
+
if (info.done) {
|
|
40404
|
+
resolve(value);
|
|
40405
|
+
} else {
|
|
40406
|
+
Promise.resolve(value).then(_next, _throw);
|
|
40407
|
+
}
|
|
40408
|
+
}
|
|
40409
|
+
|
|
40410
|
+
function esm_asyncToGenerator_asyncToGenerator(fn) {
|
|
40411
|
+
return function () {
|
|
40412
|
+
var self = this,
|
|
40413
|
+
args = arguments;
|
|
40414
|
+
return new Promise(function (resolve, reject) {
|
|
40415
|
+
var gen = fn.apply(self, args);
|
|
40416
|
+
|
|
40417
|
+
function _next(value) {
|
|
40418
|
+
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
40419
|
+
}
|
|
40420
|
+
|
|
40421
|
+
function _throw(err) {
|
|
40422
|
+
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
40423
|
+
}
|
|
40424
|
+
|
|
40425
|
+
_next(undefined);
|
|
40426
|
+
});
|
|
40427
|
+
};
|
|
40428
|
+
}
|
|
40429
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
40430
|
+
var es_array_map = __webpack_require__(1249);
|
|
40329
40431
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
40330
40432
|
var axios = __webpack_require__(9669);
|
|
40331
40433
|
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
@@ -41158,7 +41260,7 @@ function getServiceConfig(_x) {
|
|
|
41158
41260
|
}
|
|
41159
41261
|
|
|
41160
41262
|
function _getServiceConfig() {
|
|
41161
|
-
_getServiceConfig =
|
|
41263
|
+
_getServiceConfig = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(serviceName) {
|
|
41162
41264
|
var sdpAppId,
|
|
41163
41265
|
env,
|
|
41164
41266
|
key,
|
|
@@ -41430,7 +41532,7 @@ function withOnce(fn) {
|
|
|
41430
41532
|
var lockPool = createLockPool();
|
|
41431
41533
|
|
|
41432
41534
|
var newFn = /*#__PURE__*/function () {
|
|
41433
|
-
var _ref3 =
|
|
41535
|
+
var _ref3 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
41434
41536
|
var key,
|
|
41435
41537
|
lock,
|
|
41436
41538
|
lockId,
|
|
@@ -41599,7 +41701,7 @@ var live_excluded = (/* unused pure expression or super */ null && (["liveDateSt
|
|
|
41599
41701
|
|
|
41600
41702
|
function live_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
41601
41703
|
|
|
41602
|
-
function live_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { live_ownKeys(Object(source), true).forEach(function (key) { (0,
|
|
41704
|
+
function live_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { live_ownKeys(Object(source), true).forEach(function (key) { (0,esm_defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { live_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
41603
41705
|
|
|
41604
41706
|
|
|
41605
41707
|
|
|
@@ -41948,7 +42050,7 @@ function _getLiveAPICache() {
|
|
|
41948
42050
|
}
|
|
41949
42051
|
|
|
41950
42052
|
function _getLiveAPICache2() {
|
|
41951
|
-
_getLiveAPICache2 =
|
|
42053
|
+
_getLiveAPICache2 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
|
|
41952
42054
|
var url, result, serverTime;
|
|
41953
42055
|
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
41954
42056
|
while (1) {
|
|
@@ -41990,7 +42092,7 @@ function getOpenClassWithCache(_x11) {
|
|
|
41990
42092
|
} // 公开直播详情变化部分,失败要降级处理
|
|
41991
42093
|
|
|
41992
42094
|
function _getOpenClassWithCache() {
|
|
41993
|
-
_getOpenClassWithCache =
|
|
42095
|
+
_getOpenClassWithCache = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12(url) {
|
|
41994
42096
|
var fullUrl, cacheInfo, cacheData, result, serverTime;
|
|
41995
42097
|
return regeneratorRuntime.wrap(function _callee12$(_context12) {
|
|
41996
42098
|
while (1) {
|
|
@@ -42064,7 +42166,7 @@ function getOpenClassLiveSimple(_x12) {
|
|
|
42064
42166
|
} // 公开直播详情拆分成两个接口
|
|
42065
42167
|
|
|
42066
42168
|
function _getOpenClassLiveSimple() {
|
|
42067
|
-
_getOpenClassLiveSimple =
|
|
42169
|
+
_getOpenClassLiveSimple = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee13(liveInfo) {
|
|
42068
42170
|
var url, data;
|
|
42069
42171
|
return regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
42070
42172
|
while (1) {
|
|
@@ -42105,7 +42207,7 @@ function getOpenClassLiveBase(_x13) {
|
|
|
42105
42207
|
} // 公开实时直播-发起直播-公共直播邀请页使用,适配为班级直播数据
|
|
42106
42208
|
|
|
42107
42209
|
function _getOpenClassLiveBase() {
|
|
42108
|
-
_getOpenClassLiveBase =
|
|
42210
|
+
_getOpenClassLiveBase = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee14(id) {
|
|
42109
42211
|
var url, data, subType, dynamicInfo;
|
|
42110
42212
|
return regeneratorRuntime.wrap(function _callee14$(_context14) {
|
|
42111
42213
|
while (1) {
|
|
@@ -42187,7 +42289,7 @@ function getOpenClassLive(_x15) {
|
|
|
42187
42289
|
}
|
|
42188
42290
|
|
|
42189
42291
|
function _getOpenClassLive() {
|
|
42190
|
-
_getOpenClassLive =
|
|
42292
|
+
_getOpenClassLive = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee16(id) {
|
|
42191
42293
|
var serviceConfig, liveCloseLogin, data;
|
|
42192
42294
|
return regeneratorRuntime.wrap(function _callee16$(_context16) {
|
|
42193
42295
|
while (1) {
|
|
@@ -42302,7 +42404,7 @@ function OpenLiveSearchFront(_x18) {
|
|
|
42302
42404
|
*/
|
|
42303
42405
|
|
|
42304
42406
|
function _OpenLiveSearchFront() {
|
|
42305
|
-
_OpenLiveSearchFront =
|
|
42407
|
+
_OpenLiveSearchFront = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee19(_ref2) {
|
|
42306
42408
|
var status, scopeType, scopeId, offset, limit, url, response;
|
|
42307
42409
|
return regeneratorRuntime.wrap(function _callee19$(_context19) {
|
|
42308
42410
|
while (1) {
|
|
@@ -42355,7 +42457,7 @@ function getSubscription() {
|
|
|
42355
42457
|
*/
|
|
42356
42458
|
|
|
42357
42459
|
function _getSubscription() {
|
|
42358
|
-
_getSubscription =
|
|
42460
|
+
_getSubscription = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee20() {
|
|
42359
42461
|
var url, response;
|
|
42360
42462
|
return regeneratorRuntime.wrap(function _callee20$(_context20) {
|
|
42361
42463
|
while (1) {
|
|
@@ -42390,7 +42492,7 @@ function openLiveSubscribe(_x19) {
|
|
|
42390
42492
|
}
|
|
42391
42493
|
|
|
42392
42494
|
function _openLiveSubscribe() {
|
|
42393
|
-
_openLiveSubscribe =
|
|
42495
|
+
_openLiveSubscribe = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee21(_ref3) {
|
|
42394
42496
|
var liveId, url, response;
|
|
42395
42497
|
return regeneratorRuntime.wrap(function _callee21$(_context21) {
|
|
42396
42498
|
while (1) {
|
|
@@ -42430,7 +42532,7 @@ var staticAPI = generateCommonAPI({
|
|
|
42430
42532
|
// https://wiki.doc.101.com/index.php?title=IM%E7%9B%B4%E6%92%ADv2#.5BGET.5D_.2Fapis.2Fbroadcasts.2F.7BroomId.7D_.E6.A0.B9.E6.8D.AEroomId_.E8.8E.B7.E5.8F.96.E7.9B.B4.E6.92.AD.E4.BF.A1.E6.81.AF
|
|
42431
42533
|
|
|
42432
42534
|
var getIMLiveInfo = /*#__PURE__*/function () {
|
|
42433
|
-
var _ref =
|
|
42535
|
+
var _ref = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(roomId) {
|
|
42434
42536
|
var url, response;
|
|
42435
42537
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
42436
42538
|
while (1) {
|
|
@@ -42465,7 +42567,7 @@ var getIMLiveInfo = /*#__PURE__*/function () {
|
|
|
42465
42567
|
*/
|
|
42466
42568
|
|
|
42467
42569
|
var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
42468
|
-
var _ref2 =
|
|
42570
|
+
var _ref2 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(bId) {
|
|
42469
42571
|
var _yield$imBroadcastsSt, data;
|
|
42470
42572
|
|
|
42471
42573
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -42495,7 +42597,7 @@ var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
|
42495
42597
|
// 访客获取直播接口
|
|
42496
42598
|
|
|
42497
42599
|
var getGuestIMLiveInfo = /*#__PURE__*/function () {
|
|
42498
|
-
var _ref3 =
|
|
42600
|
+
var _ref3 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(bId) {
|
|
42499
42601
|
var _yield$imBroadcastsAP, data;
|
|
42500
42602
|
|
|
42501
42603
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -42585,21 +42687,6 @@ function esm_extends_extends() {
|
|
|
42585
42687
|
|
|
42586
42688
|
return esm_extends_extends.apply(this, arguments);
|
|
42587
42689
|
}
|
|
42588
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
42589
|
-
function _defineProperty(obj, key, value) {
|
|
42590
|
-
if (key in obj) {
|
|
42591
|
-
Object.defineProperty(obj, key, {
|
|
42592
|
-
value: value,
|
|
42593
|
-
enumerable: true,
|
|
42594
|
-
configurable: true,
|
|
42595
|
-
writable: true
|
|
42596
|
-
});
|
|
42597
|
-
} else {
|
|
42598
|
-
obj[key] = value;
|
|
42599
|
-
}
|
|
42600
|
-
|
|
42601
|
-
return obj;
|
|
42602
|
-
}
|
|
42603
42690
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
42604
42691
|
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
42605
42692
|
if (!(instance instanceof Constructor)) {
|
|
@@ -42899,7 +42986,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42899
42986
|
|
|
42900
42987
|
var spinning = _this.state.spinning;
|
|
42901
42988
|
var prefixCls = getPrefixCls('spin', customizePrefixCls);
|
|
42902
|
-
var spinClassName = classnames_default()(prefixCls, (_classNames = {},
|
|
42989
|
+
var spinClassName = classnames_default()(prefixCls, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spinning"), spinning), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-show-text"), !!tip), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); // fix https://fb.me/react-unknown-prop
|
|
42903
42990
|
|
|
42904
42991
|
var divProps = omit(restProps, ['spinning', 'delay', 'indicator']);
|
|
42905
42992
|
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
|
|
@@ -42910,7 +42997,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42910
42997
|
}, tip) : null);
|
|
42911
42998
|
|
|
42912
42999
|
if (_this.isNestedPattern()) {
|
|
42913
|
-
var containerClassName = classnames_default()("".concat(prefixCls, "-container"),
|
|
43000
|
+
var containerClassName = classnames_default()("".concat(prefixCls, "-container"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-blur"), spinning));
|
|
42914
43001
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
|
|
42915
43002
|
className: classnames_default()("".concat(prefixCls, "-nested-loading"), wrapperClassName)
|
|
42916
43003
|
}), spinning && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
@@ -43345,37 +43432,6 @@ Video.defaultProps = {
|
|
|
43345
43432
|
mediaType: 'video'
|
|
43346
43433
|
};
|
|
43347
43434
|
Video.url = {};
|
|
43348
|
-
;// CONCATENATED MODULE: ./src/util/video.js
|
|
43349
|
-
|
|
43350
|
-
|
|
43351
|
-
// 获取类型
|
|
43352
|
-
|
|
43353
|
-
var getType = function getType(type) {
|
|
43354
|
-
if (['mp3', 'wav', 'ogg'].includes(type)) {
|
|
43355
|
-
return "audio/".concat(type);
|
|
43356
|
-
}
|
|
43357
|
-
|
|
43358
|
-
if (type === 'm3u8') {
|
|
43359
|
-
return 'application/x-mpegURL';
|
|
43360
|
-
}
|
|
43361
|
-
|
|
43362
|
-
return "video/".concat(type);
|
|
43363
|
-
}; // 获取资源 url 的类型
|
|
43364
|
-
|
|
43365
|
-
var getUrlType = function getUrlType(url) {
|
|
43366
|
-
var video = /.*\.(mp4|mp3|wav|webm|ogg|m3u8)/i.exec(url);
|
|
43367
|
-
var type = '';
|
|
43368
|
-
|
|
43369
|
-
if (video !== null && video !== void 0 && video[1]) {
|
|
43370
|
-
type = video[1].toLowerCase();
|
|
43371
|
-
}
|
|
43372
|
-
|
|
43373
|
-
return type;
|
|
43374
|
-
}; // win7-ie11下播放m3u8,提示用户视频无法播放
|
|
43375
|
-
|
|
43376
|
-
var showPlayerTip = function showPlayerTip(url) {
|
|
43377
|
-
return isIE() && isWin7() && getUrlType(url) === 'm3u8';
|
|
43378
|
-
};
|
|
43379
43435
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
43380
43436
|
function arrayWithHoles_arrayWithHoles(arr) {
|
|
43381
43437
|
if (Array.isArray(arr)) return arr;
|
|
@@ -43458,6 +43514,37 @@ function nonIterableRest_nonIterableRest() {
|
|
|
43458
43514
|
function slicedToArray_slicedToArray(arr, i) {
|
|
43459
43515
|
return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
|
|
43460
43516
|
}
|
|
43517
|
+
;// CONCATENATED MODULE: ./src/util/video.js
|
|
43518
|
+
|
|
43519
|
+
|
|
43520
|
+
// 获取类型
|
|
43521
|
+
|
|
43522
|
+
var getType = function getType(type) {
|
|
43523
|
+
if (['mp3', 'wav', 'ogg'].includes(type)) {
|
|
43524
|
+
return "audio/".concat(type);
|
|
43525
|
+
}
|
|
43526
|
+
|
|
43527
|
+
if (type === 'm3u8') {
|
|
43528
|
+
return 'application/x-mpegURL';
|
|
43529
|
+
}
|
|
43530
|
+
|
|
43531
|
+
return "video/".concat(type);
|
|
43532
|
+
}; // 获取资源 url 的类型
|
|
43533
|
+
|
|
43534
|
+
var getUrlType = function getUrlType(url) {
|
|
43535
|
+
var video = /.*\.(mp4|mp3|wav|webm|ogg|m3u8)/i.exec(url);
|
|
43536
|
+
var type = '';
|
|
43537
|
+
|
|
43538
|
+
if (video !== null && video !== void 0 && video[1]) {
|
|
43539
|
+
type = video[1].toLowerCase();
|
|
43540
|
+
}
|
|
43541
|
+
|
|
43542
|
+
return type;
|
|
43543
|
+
}; // win7-ie11下播放m3u8,提示用户视频无法播放
|
|
43544
|
+
|
|
43545
|
+
var showPlayerTip = function showPlayerTip(url) {
|
|
43546
|
+
return isIE() && isWin7() && getUrlType(url) === 'm3u8';
|
|
43547
|
+
};
|
|
43461
43548
|
;// CONCATENATED MODULE: ./node_modules/ahooks/es/usePersistFn/index.js
|
|
43462
43549
|
|
|
43463
43550
|
|
|
@@ -43621,45 +43708,6 @@ var index_module_update = injectStylesIntoStyleTag_default()(index_module/* defa
|
|
|
43621
43708
|
|
|
43622
43709
|
/* harmony default export */ var LiveCountDown_index_module = (index_module/* default */.Z && index_module/* default.locals */.Z.locals ? index_module/* default.locals */.Z.locals : undefined);
|
|
43623
43710
|
|
|
43624
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
43625
|
-
|
|
43626
|
-
|
|
43627
|
-
|
|
43628
|
-
function asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
43629
|
-
try {
|
|
43630
|
-
var info = gen[key](arg);
|
|
43631
|
-
var value = info.value;
|
|
43632
|
-
} catch (error) {
|
|
43633
|
-
reject(error);
|
|
43634
|
-
return;
|
|
43635
|
-
}
|
|
43636
|
-
|
|
43637
|
-
if (info.done) {
|
|
43638
|
-
resolve(value);
|
|
43639
|
-
} else {
|
|
43640
|
-
Promise.resolve(value).then(_next, _throw);
|
|
43641
|
-
}
|
|
43642
|
-
}
|
|
43643
|
-
|
|
43644
|
-
function esm_asyncToGenerator_asyncToGenerator(fn) {
|
|
43645
|
-
return function () {
|
|
43646
|
-
var self = this,
|
|
43647
|
-
args = arguments;
|
|
43648
|
-
return new Promise(function (resolve, reject) {
|
|
43649
|
-
var gen = fn.apply(self, args);
|
|
43650
|
-
|
|
43651
|
-
function _next(value) {
|
|
43652
|
-
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
43653
|
-
}
|
|
43654
|
-
|
|
43655
|
-
function _throw(err) {
|
|
43656
|
-
asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
43657
|
-
}
|
|
43658
|
-
|
|
43659
|
-
_next(undefined);
|
|
43660
|
-
});
|
|
43661
|
-
};
|
|
43662
|
-
}
|
|
43663
43711
|
;// CONCATENATED MODULE: ./src/hook/useIsMounted.js
|
|
43664
43712
|
|
|
43665
43713
|
|
|
@@ -44326,12 +44374,12 @@ function RecordVideo(_ref) {
|
|
|
44326
44374
|
var isFullScreenRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)(false);
|
|
44327
44375
|
|
|
44328
44376
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
44329
|
-
_useState2 =
|
|
44377
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
44330
44378
|
isLiveLoading = _useState2[0],
|
|
44331
44379
|
setIsLiveLoading = _useState2[1];
|
|
44332
44380
|
|
|
44333
44381
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
44334
|
-
_useState4 =
|
|
44382
|
+
_useState4 = slicedToArray_slicedToArray(_useState3, 2),
|
|
44335
44383
|
isLiveLoadError = _useState4[0],
|
|
44336
44384
|
setIsLiveLoadError = _useState4[1];
|
|
44337
44385
|
|
|
@@ -44481,7 +44529,7 @@ var loader_style = __webpack_require__(4646);
|
|
|
44481
44529
|
|
|
44482
44530
|
function AliPlayer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
44483
44531
|
|
|
44484
|
-
function AliPlayer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { AliPlayer_ownKeys(Object(source), true).forEach(function (key) {
|
|
44532
|
+
function AliPlayer_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { AliPlayer_ownKeys(Object(source), true).forEach(function (key) { (0,esm_defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { AliPlayer_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
44485
44533
|
|
|
44486
44534
|
|
|
44487
44535
|
var AliPlayer_loadCSS = loader.loadCSS,
|
|
@@ -45354,7 +45402,7 @@ function objectSpread2_objectSpread2(target) {
|
|
|
45354
45402
|
|
|
45355
45403
|
if (i % 2) {
|
|
45356
45404
|
objectSpread2_ownKeys(Object(source), true).forEach(function (key) {
|
|
45357
|
-
|
|
45405
|
+
(0,esm_defineProperty/* default */.Z)(target, key, source[key]);
|
|
45358
45406
|
});
|
|
45359
45407
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
45360
45408
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
@@ -46478,13 +46526,13 @@ function useStatus(supportMotion, visible, getElement, _ref) {
|
|
|
46478
46526
|
|
|
46479
46527
|
switch (status) {
|
|
46480
46528
|
case 'appear':
|
|
46481
|
-
return _ref2 = {},
|
|
46529
|
+
return _ref2 = {}, (0,esm_defineProperty/* default */.Z)(_ref2, STEP_PREPARE, onAppearPrepare), (0,esm_defineProperty/* default */.Z)(_ref2, STEP_START, onAppearStart), (0,esm_defineProperty/* default */.Z)(_ref2, STEP_ACTIVE, onAppearActive), _ref2;
|
|
46482
46530
|
|
|
46483
46531
|
case 'enter':
|
|
46484
|
-
return _ref3 = {},
|
|
46532
|
+
return _ref3 = {}, (0,esm_defineProperty/* default */.Z)(_ref3, STEP_PREPARE, onEnterPrepare), (0,esm_defineProperty/* default */.Z)(_ref3, STEP_START, onEnterStart), (0,esm_defineProperty/* default */.Z)(_ref3, STEP_ACTIVE, onEnterActive), _ref3;
|
|
46485
46533
|
|
|
46486
46534
|
case 'leave':
|
|
46487
|
-
return _ref4 = {},
|
|
46535
|
+
return _ref4 = {}, (0,esm_defineProperty/* default */.Z)(_ref4, STEP_PREPARE, onLeavePrepare), (0,esm_defineProperty/* default */.Z)(_ref4, STEP_START, onLeaveStart), (0,esm_defineProperty/* default */.Z)(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
|
|
46488
46536
|
|
|
46489
46537
|
default:
|
|
46490
46538
|
return {};
|
|
@@ -46750,7 +46798,7 @@ function genCSSMotion(config) {
|
|
|
46750
46798
|
}
|
|
46751
46799
|
|
|
46752
46800
|
motionChildren = children(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedProps), {}, {
|
|
46753
|
-
className: classnames_default()(getTransitionName(motionName, status), (_classNames = {},
|
|
46801
|
+
className: classnames_default()(getTransitionName(motionName, status), (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, getTransitionName(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), (0,esm_defineProperty/* default */.Z)(_classNames, motionName, typeof motionName === 'string'), _classNames)),
|
|
46754
46802
|
style: statusStyle
|
|
46755
46803
|
}), setNodeRef);
|
|
46756
46804
|
}
|
|
@@ -46763,43 +46811,6 @@ function genCSSMotion(config) {
|
|
|
46763
46811
|
return CSSMotion;
|
|
46764
46812
|
}
|
|
46765
46813
|
/* harmony default export */ var es_CSSMotion = (genCSSMotion(supportTransition));
|
|
46766
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
46767
|
-
|
|
46768
|
-
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
|
|
46769
|
-
if (source == null) return {};
|
|
46770
|
-
var target = {};
|
|
46771
|
-
var sourceKeys = Object.keys(source);
|
|
46772
|
-
var key, i;
|
|
46773
|
-
|
|
46774
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
46775
|
-
key = sourceKeys[i];
|
|
46776
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
46777
|
-
target[key] = source[key];
|
|
46778
|
-
}
|
|
46779
|
-
|
|
46780
|
-
return target;
|
|
46781
|
-
}
|
|
46782
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
46783
|
-
|
|
46784
|
-
|
|
46785
|
-
function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
|
|
46786
|
-
if (source == null) return {};
|
|
46787
|
-
var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
|
|
46788
|
-
var key, i;
|
|
46789
|
-
|
|
46790
|
-
if (Object.getOwnPropertySymbols) {
|
|
46791
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
46792
|
-
|
|
46793
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
46794
|
-
key = sourceSymbolKeys[i];
|
|
46795
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
46796
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
46797
|
-
target[key] = source[key];
|
|
46798
|
-
}
|
|
46799
|
-
}
|
|
46800
|
-
|
|
46801
|
-
return target;
|
|
46802
|
-
}
|
|
46803
46814
|
;// CONCATENATED MODULE: ./node_modules/rc-motion/es/util/diff.js
|
|
46804
46815
|
|
|
46805
46816
|
|
|
@@ -47638,7 +47649,7 @@ var ButtonGroup = function ButtonGroup(props) {
|
|
|
47638
47649
|
console.warn(new UnreachableException(size).error);
|
|
47639
47650
|
}
|
|
47640
47651
|
|
|
47641
|
-
var classes = classnames_default()(prefixCls, (_classNames = {},
|
|
47652
|
+
var classes = classnames_default()(prefixCls, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
|
|
47642
47653
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, others, {
|
|
47643
47654
|
className: classes
|
|
47644
47655
|
}));
|
|
@@ -48211,7 +48222,7 @@ var InternalButton = function InternalButton(props, ref) {
|
|
|
48211
48222
|
var sizeFullname = customizeSize || size;
|
|
48212
48223
|
var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
|
|
48213
48224
|
var iconType = innerLoading ? 'loading' : icon;
|
|
48214
|
-
var classes = classnames_default()(prefixCls, (_classNames = {},
|
|
48225
|
+
var classes = classnames_default()(prefixCls, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(type), type), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnborderedButtonType(type)), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-loading"), innerLoading), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-block"), block), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
|
|
48215
48226
|
var iconNode;
|
|
48216
48227
|
|
|
48217
48228
|
if (typeof iconType === 'string' && iconType !== 'loading') {
|
|
@@ -48452,7 +48463,7 @@ var Modal = function Modal(props) {
|
|
|
48452
48463
|
type: "close",
|
|
48453
48464
|
className: "".concat(prefixCls, "-close-icon")
|
|
48454
48465
|
}));
|
|
48455
|
-
var wrapClassNameExtended = classnames_default()(wrapClassName, (_classNames = {},
|
|
48466
|
+
var wrapClassNameExtended = classnames_default()(wrapClassName, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-centered"), !!centered), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-wrap-rtl"), direction === 'rtl'), _classNames));
|
|
48456
48467
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(rc_dialog_es, esm_extends_extends({}, restProps, {
|
|
48457
48468
|
getContainer: getContainer === undefined ? getContextPopupContainer : getContainer,
|
|
48458
48469
|
prefixCls: prefixCls,
|
|
@@ -50317,13 +50328,13 @@ function _validateRule() {
|
|
|
50317
50328
|
delete cloneRule.defaultField;
|
|
50318
50329
|
}
|
|
50319
50330
|
|
|
50320
|
-
validator = new AsyncValidator(
|
|
50331
|
+
validator = new AsyncValidator((0,esm_defineProperty/* default */.Z)({}, name, [cloneRule]));
|
|
50321
50332
|
messages = setValues({}, defaultValidateMessages, options.validateMessages);
|
|
50322
50333
|
validator.messages(messages);
|
|
50323
50334
|
result = [];
|
|
50324
50335
|
_context2.prev = 8;
|
|
50325
50336
|
_context2.next = 11;
|
|
50326
|
-
return Promise.resolve(validator.validate(
|
|
50337
|
+
return Promise.resolve(validator.validate((0,esm_defineProperty/* default */.Z)({}, name, value), objectSpread2_objectSpread2({}, options)));
|
|
50327
50338
|
|
|
50328
50339
|
case 11:
|
|
50329
50340
|
_context2.next = 16;
|
|
@@ -51059,7 +51070,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
51059
51070
|
var value = _this.getValue();
|
|
51060
51071
|
|
|
51061
51072
|
var mergedGetValueProps = getValueProps || function (val) {
|
|
51062
|
-
return
|
|
51073
|
+
return (0,esm_defineProperty/* default */.Z)({}, valuePropName, val);
|
|
51063
51074
|
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
51064
51075
|
|
|
51065
51076
|
|
|
@@ -52422,7 +52433,7 @@ var FormProvider = function FormProvider(_ref) {
|
|
|
52422
52433
|
},
|
|
52423
52434
|
registerForm: function registerForm(name, form) {
|
|
52424
52435
|
if (name) {
|
|
52425
|
-
formsRef.current = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formsRef.current), {},
|
|
52436
|
+
formsRef.current = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formsRef.current), {}, (0,esm_defineProperty/* default */.Z)({}, name, form));
|
|
52426
52437
|
}
|
|
52427
52438
|
|
|
52428
52439
|
formContext.registerForm(name, form);
|
|
@@ -52840,7 +52851,7 @@ var Notice = /*#__PURE__*/function (_Component) {
|
|
|
52840
52851
|
return acc;
|
|
52841
52852
|
}, {});
|
|
52842
52853
|
var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
|
|
52843
|
-
className: classnames_default()(componentClass, className,
|
|
52854
|
+
className: classnames_default()(componentClass, className, (0,esm_defineProperty/* default */.Z)({}, "".concat(componentClass, "-closable"), closable)),
|
|
52844
52855
|
style: style,
|
|
52845
52856
|
onMouseEnter: this.clearCloseTimer,
|
|
52846
52857
|
onMouseLeave: this.startCloseTimer,
|
|
@@ -54189,7 +54200,7 @@ var ConfirmDialog = function ConfirmDialog(props) {
|
|
|
54189
54200
|
|
|
54190
54201
|
var maskClosable = props.maskClosable === undefined ? false : props.maskClosable;
|
|
54191
54202
|
var autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok';
|
|
54192
|
-
var classString = classnames_default()(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(props.type),
|
|
54203
|
+
var classString = classnames_default()(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(props.type), (0,esm_defineProperty/* default */.Z)({}, "".concat(contentPrefixCls, "-rtl"), direction === 'rtl'), props.className);
|
|
54193
54204
|
var cancelButton = okCancel && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(_util_ActionButton, {
|
|
54194
54205
|
actionFn: onCancel,
|
|
54195
54206
|
close: close,
|
|
@@ -54207,7 +54218,7 @@ var ConfirmDialog = function ConfirmDialog(props) {
|
|
|
54207
54218
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_Modal, {
|
|
54208
54219
|
prefixCls: prefixCls,
|
|
54209
54220
|
className: classString,
|
|
54210
|
-
wrapClassName: classnames_default()(
|
|
54221
|
+
wrapClassName: classnames_default()((0,esm_defineProperty/* default */.Z)({}, "".concat(contentPrefixCls, "-centered"), !!props.centered)),
|
|
54211
54222
|
onCancel: function onCancel() {
|
|
54212
54223
|
return close({
|
|
54213
54224
|
triggerCancel: true
|
|
@@ -54713,7 +54724,7 @@ var updateUrl = 'https://basic.smartedu.cn/upgrade.html';
|
|
|
54713
54724
|
|
|
54714
54725
|
function PlayerTip_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
54715
54726
|
|
|
54716
|
-
function PlayerTip_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { PlayerTip_ownKeys(Object(source), true).forEach(function (key) {
|
|
54727
|
+
function PlayerTip_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { PlayerTip_ownKeys(Object(source), true).forEach(function (key) { (0,esm_defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { PlayerTip_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
54717
54728
|
|
|
54718
54729
|
|
|
54719
54730
|
// 播放不支持的视频类型时,提示用户
|
|
@@ -54812,7 +54823,7 @@ var LiveVideo_index_module_update = injectStylesIntoStyleTag_default()(LiveVideo
|
|
|
54812
54823
|
|
|
54813
54824
|
function LiveVideo_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
54814
54825
|
|
|
54815
|
-
function LiveVideo_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { LiveVideo_ownKeys(Object(source), true).forEach(function (key) { (0,
|
|
54826
|
+
function LiveVideo_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { LiveVideo_ownKeys(Object(source), true).forEach(function (key) { (0,esm_defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { LiveVideo_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
54816
54827
|
|
|
54817
54828
|
|
|
54818
54829
|
|
|
@@ -54871,7 +54882,7 @@ function LiveVideo(_ref) {
|
|
|
54871
54882
|
onRequestFullScreen = _ref$onRequestFullScr === void 0 ? function () {} : _ref$onRequestFullScr;
|
|
54872
54883
|
|
|
54873
54884
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54874
|
-
_useState2 =
|
|
54885
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
54875
54886
|
isLiveLoading = _useState2[0],
|
|
54876
54887
|
setIsLiveLoadingHook = _useState2[1];
|
|
54877
54888
|
|
|
@@ -54884,12 +54895,12 @@ function LiveVideo(_ref) {
|
|
|
54884
54895
|
};
|
|
54885
54896
|
|
|
54886
54897
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54887
|
-
_useState4 =
|
|
54898
|
+
_useState4 = slicedToArray_slicedToArray(_useState3, 2),
|
|
54888
54899
|
isLiveException = _useState4[0],
|
|
54889
54900
|
setIsLiveException = _useState4[1];
|
|
54890
54901
|
|
|
54891
54902
|
var _useState5 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
54892
|
-
_useState6 =
|
|
54903
|
+
_useState6 = slicedToArray_slicedToArray(_useState5, 2),
|
|
54893
54904
|
isLiveLoadError = _useState6[0],
|
|
54894
54905
|
setIsLiveLoadError = _useState6[1];
|
|
54895
54906
|
|
|
@@ -54987,7 +54998,7 @@ function LiveVideo(_ref) {
|
|
|
54987
54998
|
}
|
|
54988
54999
|
}, [showAliPlayer]);
|
|
54989
55000
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
54990
|
-
className: classnames_default()(detail_LiveVideo_index_module["live-video"], (0,
|
|
55001
|
+
className: classnames_default()(detail_LiveVideo_index_module["live-video"], (0,esm_defineProperty/* default */.Z)({}, detail_LiveVideo_index_module["hide-play-btn"], !canWatch))
|
|
54991
55002
|
}, showAliPlayer && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(AliPlayer, {
|
|
54992
55003
|
options: options,
|
|
54993
55004
|
onReady: handleVideoReady
|
|
@@ -55144,7 +55155,7 @@ function _toPropertyKey(arg) {
|
|
|
55144
55155
|
}
|
|
55145
55156
|
;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
55146
55157
|
|
|
55147
|
-
function
|
|
55158
|
+
function _defineProperty(obj, key, value) {
|
|
55148
55159
|
key = _toPropertyKey(key);
|
|
55149
55160
|
|
|
55150
55161
|
if (key in obj) {
|
|
@@ -55186,7 +55197,7 @@ function esm_objectSpread2_objectSpread2(target) {
|
|
|
55186
55197
|
for (var i = 1; i < arguments.length; i++) {
|
|
55187
55198
|
var source = null != arguments[i] ? arguments[i] : {};
|
|
55188
55199
|
i % 2 ? esm_objectSpread2_ownKeys(Object(source), !0).forEach(function (key) {
|
|
55189
|
-
|
|
55200
|
+
_defineProperty(target, key, source[key]);
|
|
55190
55201
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : esm_objectSpread2_ownKeys(Object(source)).forEach(function (key) {
|
|
55191
55202
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
55192
55203
|
});
|
|
@@ -56464,7 +56475,7 @@ var Filler = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_nam
|
|
|
56464
56475
|
}
|
|
56465
56476
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", helpers_esm_extends_extends({
|
|
56466
56477
|
style: innerStyle,
|
|
56467
|
-
className: classnames_default()(
|
|
56478
|
+
className: classnames_default()(_defineProperty({}, "".concat(prefixCls, "-holder-inner"), prefixCls)),
|
|
56468
56479
|
ref: ref
|
|
56469
56480
|
}, innerProps), children)));
|
|
56470
56481
|
});
|
|
@@ -56831,7 +56842,7 @@ var ScrollBar = /*#__PURE__*/function (_React$Component) {
|
|
|
56831
56842
|
var mergedVisible = canScroll && visible;
|
|
56832
56843
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
56833
56844
|
ref: this.scrollbarRef,
|
|
56834
|
-
className: classnames_default()("".concat(prefixCls, "-scrollbar"),
|
|
56845
|
+
className: classnames_default()("".concat(prefixCls, "-scrollbar"), _defineProperty({}, "".concat(prefixCls, "-scrollbar-show"), canScroll)),
|
|
56835
56846
|
style: {
|
|
56836
56847
|
width: 8,
|
|
56837
56848
|
top: 0,
|
|
@@ -56844,7 +56855,7 @@ var ScrollBar = /*#__PURE__*/function (_React$Component) {
|
|
|
56844
56855
|
onMouseMove: this.delayHidden
|
|
56845
56856
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
56846
56857
|
ref: this.thumbRef,
|
|
56847
|
-
className: classnames_default()("".concat(prefixCls, "-scrollbar-thumb"),
|
|
56858
|
+
className: classnames_default()("".concat(prefixCls, "-scrollbar-thumb"), _defineProperty({}, "".concat(prefixCls, "-scrollbar-thumb-moving"), dragging)),
|
|
56848
56859
|
style: {
|
|
56849
56860
|
width: '100%',
|
|
56850
56861
|
height: spinHeight,
|
|
@@ -57625,7 +57636,7 @@ function RawList(props, ref) {
|
|
|
57625
57636
|
var listChildren = useChildren(mergedData, start, end, setInstanceRef, children, sharedConfig);
|
|
57626
57637
|
var componentStyle = null;
|
|
57627
57638
|
if (height) {
|
|
57628
|
-
componentStyle = esm_objectSpread2_objectSpread2(
|
|
57639
|
+
componentStyle = esm_objectSpread2_objectSpread2(_defineProperty({}, fullHeight ? 'height' : 'maxHeight', height), ScrollStyle);
|
|
57629
57640
|
if (useVirtual) {
|
|
57630
57641
|
componentStyle.overflowY = 'hidden';
|
|
57631
57642
|
if (scrollMoving) {
|
|
@@ -58113,7 +58124,7 @@ function fillOptionsWithMissingValue(options, value, optionLabelProp, labelInVal
|
|
|
58113
58124
|
if (!optionValues.has(val)) {
|
|
58114
58125
|
var _ref9;
|
|
58115
58126
|
|
|
58116
|
-
cloneOptions.push(labelInValue ? (_ref9 = {},
|
|
58127
|
+
cloneOptions.push(labelInValue ? (_ref9 = {}, (0,esm_defineProperty/* default */.Z)(_ref9, optionLabelProp, item.label), (0,esm_defineProperty/* default */.Z)(_ref9, "value", val), _ref9) : {
|
|
58117
58128
|
value: val
|
|
58118
58129
|
});
|
|
58119
58130
|
}
|
|
@@ -58435,7 +58446,7 @@ var OptionList = function OptionList(_ref, ref) {
|
|
|
58435
58446
|
|
|
58436
58447
|
var selected = values.has(value);
|
|
58437
58448
|
var optionPrefixCls = "".concat(itemPrefixCls, "-option");
|
|
58438
|
-
var optionClassName = classnames_default()(itemPrefixCls, optionPrefixCls, className, (_classNames = {},
|
|
58449
|
+
var optionClassName = classnames_default()(itemPrefixCls, optionPrefixCls, className, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(optionPrefixCls, "-grouped"), groupOption), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(optionPrefixCls, "-active"), activeIndex === itemIndex && !disabled), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(optionPrefixCls, "-disabled"), disabled), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(optionPrefixCls, "-selected"), selected), _classNames));
|
|
58439
58450
|
var mergedLabel = childrenAsData ? children : label;
|
|
58440
58451
|
var iconVisible = !menuItemSelectedIcon || typeof menuItemSelectedIcon === 'function' || selected;
|
|
58441
58452
|
var content = mergedLabel || value; // https://github.com/ant-design/ant-design/issues/26717
|
|
@@ -59296,7 +59307,7 @@ var SelectSelector = function SelectSelector(props) {
|
|
|
59296
59307
|
|
|
59297
59308
|
function defaultRenderSelector(title, content, itemDisabled, closable, onClose) {
|
|
59298
59309
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("span", {
|
|
59299
|
-
className: classnames_default()("".concat(selectionPrefixCls, "-item"),
|
|
59310
|
+
className: classnames_default()("".concat(selectionPrefixCls, "-item"), (0,esm_defineProperty/* default */.Z)({}, "".concat(selectionPrefixCls, "-item-disabled"), itemDisabled)),
|
|
59300
59311
|
title: typeof title === 'string' || typeof title === 'number' ? title.toString() : undefined
|
|
59301
59312
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("span", {
|
|
59302
59313
|
className: "".concat(selectionPrefixCls, "-item-content")
|
|
@@ -62861,7 +62872,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
|
|
|
62861
62872
|
popupAlign: dropdownAlign,
|
|
62862
62873
|
popupVisible: visible,
|
|
62863
62874
|
getPopupContainer: getPopupContainer,
|
|
62864
|
-
popupClassName: classnames_default()(dropdownClassName,
|
|
62875
|
+
popupClassName: classnames_default()(dropdownClassName, (0,esm_defineProperty/* default */.Z)({}, "".concat(dropdownPrefixCls, "-empty"), empty)),
|
|
62865
62876
|
popupStyle: popupStyle,
|
|
62866
62877
|
getTriggerDOMNode: getTriggerDOMNode,
|
|
62867
62878
|
onPopupVisibleChange: onPopupVisibleChange
|
|
@@ -63848,7 +63859,7 @@ function generateSelector(config) {
|
|
|
63848
63859
|
|
|
63849
63860
|
if (mergedShowArrow) {
|
|
63850
63861
|
arrowNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_TransBtn, {
|
|
63851
|
-
className: classnames_default()("".concat(prefixCls, "-arrow"),
|
|
63862
|
+
className: classnames_default()("".concat(prefixCls, "-arrow"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-arrow-loading"), loading)),
|
|
63852
63863
|
customizeIcon: inputIcon,
|
|
63853
63864
|
customizeIconProps: {
|
|
63854
63865
|
loading: loading,
|
|
@@ -63864,7 +63875,7 @@ function generateSelector(config) {
|
|
|
63864
63875
|
if (false) {} // ============================= Render =============================
|
|
63865
63876
|
|
|
63866
63877
|
|
|
63867
|
-
var mergedClassName = classnames_default()(prefixCls, className, (_classNames2 = {},
|
|
63878
|
+
var mergedClassName = classnames_default()(prefixCls, className, (_classNames2 = {}, (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-focused"), mockFocused), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-multiple"), isMultiple), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-single"), !isMultiple), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-allow-clear"), allowClear), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-show-arrow"), mergedShowArrow), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-disabled"), disabled), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-loading"), loading), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-open"), mergedOpen), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-customize-input"), customizeInputElement), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-show-search"), mergedShowSearch), _classNames2));
|
|
63868
63879
|
var selectorNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_SelectTrigger, {
|
|
63869
63880
|
ref: triggerRef,
|
|
63870
63881
|
disabled: disabled,
|
|
@@ -64337,9 +64348,9 @@ var InternalSelect = function InternalSelect(_a, ref) {
|
|
|
64337
64348
|
clearIcon = _getIcons.clearIcon;
|
|
64338
64349
|
|
|
64339
64350
|
var selectProps = omit(props, ['suffixIcon', 'itemIcon']);
|
|
64340
|
-
var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName,
|
|
64351
|
+
var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName, (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl'));
|
|
64341
64352
|
var mergedSize = customizeSize || size;
|
|
64342
|
-
var mergedClassName = classnames_default()((_classNames2 = {},
|
|
64353
|
+
var mergedClassName = classnames_default()((_classNames2 = {}, (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,esm_defineProperty/* default */.Z)(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), _classNames2), className);
|
|
64343
64354
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es, esm_extends_extends({
|
|
64344
64355
|
ref: ref,
|
|
64345
64356
|
virtual: virtual,
|
|
@@ -64435,7 +64446,7 @@ function LineSwitch(_ref) {
|
|
|
64435
64446
|
}, [liveInfo]);
|
|
64436
64447
|
|
|
64437
64448
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)((lines === null || lines === void 0 ? void 0 : (_lines$ = lines[0]) === null || _lines$ === void 0 ? void 0 : _lines$.name) || '线路1'),
|
|
64438
|
-
_useState2 =
|
|
64449
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
64439
64450
|
lineName = _useState2[0],
|
|
64440
64451
|
setLineName = _useState2[1];
|
|
64441
64452
|
|
|
@@ -64683,7 +64694,7 @@ var VideoBase_excluded = ["options", "onReady", "onTimeUpdate", "onReload", "onP
|
|
|
64683
64694
|
|
|
64684
64695
|
function VideoBase_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
64685
64696
|
|
|
64686
|
-
function VideoBase_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { VideoBase_ownKeys(Object(source), true).forEach(function (key) {
|
|
64697
|
+
function VideoBase_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { VideoBase_ownKeys(Object(source), true).forEach(function (key) { (0,esm_defineProperty/* default */.Z)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { VideoBase_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
64687
64698
|
|
|
64688
64699
|
|
|
64689
64700
|
|
|
@@ -65078,7 +65089,7 @@ function ReplayVideo(_ref) {
|
|
|
65078
65089
|
}
|
|
65079
65090
|
}, []);
|
|
65080
65091
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
65081
|
-
className: classnames_default()(detail_ReplayVideo_index_module["replay-video"], (0,
|
|
65092
|
+
className: classnames_default()(detail_ReplayVideo_index_module["replay-video"], (0,esm_defineProperty/* default */.Z)({}, detail_ReplayVideo_index_module["video-autoplay"], autoplay))
|
|
65082
65093
|
}, needLogin && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
65083
65094
|
className: detail_ReplayVideo_index_module["replay-tip-wrapper"]
|
|
65084
65095
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
|
|
@@ -65704,7 +65715,7 @@ function LiveOnlineCount(_ref) {
|
|
|
65704
65715
|
if (!resId) return null;
|
|
65705
65716
|
|
|
65706
65717
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(0),
|
|
65707
|
-
_useState2 =
|
|
65718
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
65708
65719
|
onlineCount = _useState2[0],
|
|
65709
65720
|
setOnlineCount = _useState2[1];
|
|
65710
65721
|
|
|
@@ -65718,7 +65729,7 @@ function LiveOnlineCount(_ref) {
|
|
|
65718
65729
|
};
|
|
65719
65730
|
|
|
65720
65731
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
65721
|
-
|
|
65732
|
+
esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
65722
65733
|
var count, likesData, currentCount;
|
|
65723
65734
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
65724
65735
|
while (1) {
|
|
@@ -65793,8 +65804,8 @@ var USER_IDENTITY = {
|
|
|
65793
65804
|
SOCIAL_LEARNER: 'SOCIAL_LEARNER' // 社会学习者
|
|
65794
65805
|
|
|
65795
65806
|
};
|
|
65796
|
-
var USER_IDENTITY_NAME = (_USER_IDENTITY_NAME = {}, (0,
|
|
65797
|
-
var USER_IDENTITY_TEXT = (_USER_IDENTITY_TEXT = {}, (0,
|
|
65807
|
+
var USER_IDENTITY_NAME = (_USER_IDENTITY_NAME = {}, (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.TEACHER, '老师'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.STUDENT, '学生'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.GUARDIAN, '家长'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.ACADEMIC_STAFF, '教研员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.ELECTRIC_TEACHER, '电教人员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.EDU_ADMIN, '管理人员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_NAME, USER_IDENTITY.SOCIAL_LEARNER, '社会学习者'), _USER_IDENTITY_NAME);
|
|
65808
|
+
var USER_IDENTITY_TEXT = (_USER_IDENTITY_TEXT = {}, (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.TEACHER, '我是老师'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.STUDENT, '我是学生'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.GUARDIAN, '我是家长'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.ACADEMIC_STAFF, '我是教研员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.ELECTRIC_TEACHER, '我是电教人员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.EDU_ADMIN, '我是管理人员'), (0,esm_defineProperty/* default */.Z)(_USER_IDENTITY_TEXT, USER_IDENTITY.SOCIAL_LEARNER, '我是社会学习者'), _USER_IDENTITY_TEXT);
|
|
65798
65809
|
var SELECTED_TAB_TYPE = {
|
|
65799
65810
|
MYLIVE: 'MYLIVE',
|
|
65800
65811
|
ALLLIVE: 'ALLLIVE'
|
|
@@ -65809,7 +65820,7 @@ var LIVE_STATUS_TYPE = {
|
|
|
65809
65820
|
COMPLETED: 2 // 已结束
|
|
65810
65821
|
|
|
65811
65822
|
};
|
|
65812
|
-
var LIVE_STATUS_TEXT = (_LIVE_STATUS_TEXT = {}, (0,
|
|
65823
|
+
var LIVE_STATUS_TEXT = (_LIVE_STATUS_TEXT = {}, (0,esm_defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.ALLSTATUS, '全部状态'), (0,esm_defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.NOSTARTED, '未开始'), (0,esm_defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.LIVING, '上课中'), (0,esm_defineProperty/* default */.Z)(_LIVE_STATUS_TEXT, LIVE_STATUS_TYPE.COMPLETED, '已结束'), _LIVE_STATUS_TEXT);
|
|
65813
65824
|
var AUDIT_STATUS_TYPE = {
|
|
65814
65825
|
PENDING: 0,
|
|
65815
65826
|
// 全部
|
|
@@ -66531,7 +66542,7 @@ function TabNode(_ref, ref) {
|
|
|
66531
66542
|
var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
66532
66543
|
key: key,
|
|
66533
66544
|
ref: ref,
|
|
66534
|
-
className: classnames_default()(tabPrefix, (_classNames = {},
|
|
66545
|
+
className: classnames_default()(tabPrefix, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(tabPrefix, "-with-remove"), removable), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(tabPrefix, "-active"), active), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(tabPrefix, "-disabled"), disabled), _classNames)),
|
|
66535
66546
|
style: style,
|
|
66536
66547
|
onClick: onInternalClick
|
|
66537
66548
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
@@ -67025,7 +67036,7 @@ var InternalMenuItem = function InternalMenuItem(props) {
|
|
|
67025
67036
|
component: "li",
|
|
67026
67037
|
"aria-disabled": disabled,
|
|
67027
67038
|
style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, directionStyle), style),
|
|
67028
|
-
className: classnames_default()(itemCls, (_classNames = {},
|
|
67039
|
+
className: classnames_default()(itemCls, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(itemCls, "-active"), active), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(itemCls, "-selected"), selected), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(itemCls, "-disabled"), mergedDisabled), _classNames), className),
|
|
67029
67040
|
onClick: onInternalClick,
|
|
67030
67041
|
onKeyDown: onInternalKeyDown,
|
|
67031
67042
|
onFocus: onInternalFocus
|
|
@@ -67277,7 +67288,7 @@ function PopupTrigger(_ref) {
|
|
|
67277
67288
|
}, [visible]);
|
|
67278
67289
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, {
|
|
67279
67290
|
prefixCls: prefixCls,
|
|
67280
|
-
popupClassName: classnames_default()("".concat(prefixCls, "-popup"),
|
|
67291
|
+
popupClassName: classnames_default()("".concat(prefixCls, "-popup"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-rtl"), rtl), popupClassName),
|
|
67281
67292
|
stretch: mode === 'horizontal' ? 'minWidth' : null,
|
|
67282
67293
|
getPopupContainer: getPopupContainer,
|
|
67283
67294
|
builtinPlacements: placement,
|
|
@@ -67612,7 +67623,7 @@ var InternalSubMenu = function InternalSubMenu(props) {
|
|
|
67612
67623
|
}, restProps, {
|
|
67613
67624
|
component: "li",
|
|
67614
67625
|
style: style,
|
|
67615
|
-
className: classnames_default()(subMenuPrefixCls, "".concat(subMenuPrefixCls, "-").concat(mode), className, (_classNames = {},
|
|
67626
|
+
className: classnames_default()(subMenuPrefixCls, "".concat(subMenuPrefixCls, "-").concat(mode), className, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(subMenuPrefixCls, "-open"), open), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(subMenuPrefixCls, "-active"), mergedActive), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(subMenuPrefixCls, "-selected"), childrenSelected), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(subMenuPrefixCls, "-disabled"), mergedDisabled), _classNames)),
|
|
67616
67627
|
onMouseEnter: onInternalMouseEnter,
|
|
67617
67628
|
onMouseLeave: onInternalMouseLeave
|
|
67618
67629
|
}), titleNode, !overflowDisabled && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(InlineSubMenuList, {
|
|
@@ -67789,9 +67800,9 @@ function useAccessibility_getOffset(mode, isRootLevel, isRtl, which) {
|
|
|
67789
67800
|
};
|
|
67790
67801
|
}
|
|
67791
67802
|
|
|
67792
|
-
var inline = (_inline = {},
|
|
67793
|
-
var horizontal = (_horizontal = {},
|
|
67794
|
-
var vertical = (_vertical = {},
|
|
67803
|
+
var inline = (_inline = {}, (0,esm_defineProperty/* default */.Z)(_inline, UP, prev), (0,esm_defineProperty/* default */.Z)(_inline, DOWN, next), _inline);
|
|
67804
|
+
var horizontal = (_horizontal = {}, (0,esm_defineProperty/* default */.Z)(_horizontal, useAccessibility_LEFT, isRtl ? next : prev), (0,esm_defineProperty/* default */.Z)(_horizontal, RIGHT, isRtl ? prev : next), (0,esm_defineProperty/* default */.Z)(_horizontal, DOWN, children), (0,esm_defineProperty/* default */.Z)(_horizontal, ENTER, children), _horizontal);
|
|
67805
|
+
var vertical = (_vertical = {}, (0,esm_defineProperty/* default */.Z)(_vertical, UP, prev), (0,esm_defineProperty/* default */.Z)(_vertical, DOWN, next), (0,esm_defineProperty/* default */.Z)(_vertical, ENTER, children), (0,esm_defineProperty/* default */.Z)(_vertical, ESC, parent), (0,esm_defineProperty/* default */.Z)(_vertical, useAccessibility_LEFT, isRtl ? children : parent), (0,esm_defineProperty/* default */.Z)(_vertical, RIGHT, isRtl ? parent : children), _vertical);
|
|
67795
67806
|
var offsets = {
|
|
67796
67807
|
inline: inline,
|
|
67797
67808
|
horizontal: horizontal,
|
|
@@ -68539,7 +68550,7 @@ var Menu = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_names
|
|
|
68539
68550
|
prefixCls: "".concat(prefixCls, "-overflow"),
|
|
68540
68551
|
component: "ul",
|
|
68541
68552
|
itemComponent: es_MenuItem,
|
|
68542
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-root"), "".concat(prefixCls, "-").concat(mergedMode), className, (_classNames = {},
|
|
68553
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-root"), "".concat(prefixCls, "-").concat(mergedMode), className, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-inline-collapsed"), mergedInlineCollapsed), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), isRtl), _classNames)),
|
|
68543
68554
|
dir: direction,
|
|
68544
68555
|
style: style,
|
|
68545
68556
|
role: "menu",
|
|
@@ -68898,7 +68909,7 @@ function Dropdown(props, ref) {
|
|
|
68898
68909
|
}, otherProps), {}, {
|
|
68899
68910
|
prefixCls: prefixCls,
|
|
68900
68911
|
ref: triggerRef,
|
|
68901
|
-
popupClassName: classnames_default()(overlayClassName,
|
|
68912
|
+
popupClassName: classnames_default()(overlayClassName, (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-show-arrow"), arrow)),
|
|
68902
68913
|
popupStyle: overlayStyle,
|
|
68903
68914
|
action: trigger,
|
|
68904
68915
|
showAction: showAction,
|
|
@@ -69102,14 +69113,14 @@ function OperationNode(_ref, ref) {
|
|
|
69102
69113
|
}
|
|
69103
69114
|
}, [open]); // ========================= Render =========================
|
|
69104
69115
|
|
|
69105
|
-
var moreStyle =
|
|
69116
|
+
var moreStyle = (0,esm_defineProperty/* default */.Z)({}, rtl ? 'marginRight' : 'marginLeft', tabBarGutter);
|
|
69106
69117
|
|
|
69107
69118
|
if (!tabs.length) {
|
|
69108
69119
|
moreStyle.visibility = 'hidden';
|
|
69109
69120
|
moreStyle.order = 1;
|
|
69110
69121
|
}
|
|
69111
69122
|
|
|
69112
|
-
var overlayClassName = classnames_default()(
|
|
69123
|
+
var overlayClassName = classnames_default()((0,esm_defineProperty/* default */.Z)({}, "".concat(dropdownPrefix, "-rtl"), rtl));
|
|
69113
69124
|
var moreNode = mobile ? null : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_dropdown_es, {
|
|
69114
69125
|
prefixCls: dropdownPrefix,
|
|
69115
69126
|
overlay: menu,
|
|
@@ -69816,7 +69827,7 @@ function TabNavList(props, ref) {
|
|
|
69816
69827
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_resize_observer_es, {
|
|
69817
69828
|
onResize: onListHolderResize
|
|
69818
69829
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
69819
|
-
className: classnames_default()(wrapPrefix, (_classNames = {},
|
|
69830
|
+
className: classnames_default()(wrapPrefix, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(wrapPrefix, "-ping-left"), pingLeft), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(wrapPrefix, "-ping-right"), pingRight), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(wrapPrefix, "-ping-top"), pingTop), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(wrapPrefix, "-ping-bottom"), pingBottom), _classNames)),
|
|
69820
69831
|
ref: tabsWrapperRef
|
|
69821
69832
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_resize_observer_es, {
|
|
69822
69833
|
onResize: onListHolderResize
|
|
@@ -69836,7 +69847,7 @@ function TabNavList(props, ref) {
|
|
|
69836
69847
|
visibility: hasDropdown ? 'hidden' : null
|
|
69837
69848
|
})
|
|
69838
69849
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
69839
|
-
className: classnames_default()("".concat(prefixCls, "-ink-bar"),
|
|
69850
|
+
className: classnames_default()("".concat(prefixCls, "-ink-bar"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-ink-bar-animated"), animated.inkBar)),
|
|
69840
69851
|
style: inkStyle
|
|
69841
69852
|
}))))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabNavList_OperationNode, esm_extends_extends({}, props, {
|
|
69842
69853
|
removeAriaLabel: locale === null || locale === void 0 ? void 0 : locale.removeAriaLabel,
|
|
@@ -69878,8 +69889,8 @@ function TabPanelList(_ref) {
|
|
|
69878
69889
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
69879
69890
|
className: classnames_default()("".concat(prefixCls, "-content-holder"))
|
|
69880
69891
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
69881
|
-
className: classnames_default()("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition),
|
|
69882
|
-
style: activeIndex && tabPaneAnimated ?
|
|
69892
|
+
className: classnames_default()("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-content-animated"), tabPaneAnimated)),
|
|
69893
|
+
style: activeIndex && tabPaneAnimated ? (0,esm_defineProperty/* default */.Z)({}, rtl ? 'marginRight' : 'marginLeft', "-".concat(activeIndex, "00%")) : null
|
|
69883
69894
|
}, tabs.map(function (tab) {
|
|
69884
69895
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.cloneElement(tab.node, {
|
|
69885
69896
|
key: tab.key,
|
|
@@ -70164,7 +70175,7 @@ function Tabs(_ref, ref) {
|
|
|
70164
70175
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
|
|
70165
70176
|
ref: ref,
|
|
70166
70177
|
id: id,
|
|
70167
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(mergedTabPosition), (_classNames = {},
|
|
70178
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(mergedTabPosition), (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-mobile"), mobile), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-editable"), editable), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), rtl), _classNames), className)
|
|
70168
70179
|
}, restProps), tabNavBar, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabPanelList, esm_extends_extends({
|
|
70169
70180
|
destroyInactiveTabPane: destroyInactiveTabPane
|
|
70170
70181
|
}, sharedProps, {
|
|
@@ -70251,11 +70262,11 @@ function tabs_Tabs(_a) {
|
|
|
70251
70262
|
var _classNames;
|
|
70252
70263
|
|
|
70253
70264
|
var size = propSize !== undefined ? propSize : contextSize;
|
|
70254
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es,
|
|
70265
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es, esm_extends_extends({
|
|
70255
70266
|
direction: direction,
|
|
70256
70267
|
moreTransitionName: "".concat(rootPrefixCls, "-slide-up")
|
|
70257
70268
|
}, props, {
|
|
70258
|
-
className: classnames_default()((_classNames = {}, (0,
|
|
70269
|
+
className: classnames_default()((_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(size), size), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-card"), ['card', 'editable-card'].includes(type)), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-editable-card"), type === 'editable-card'), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-centered"), centered), _classNames), className),
|
|
70259
70270
|
editable: editable,
|
|
70260
70271
|
moreIcon: moreIcon,
|
|
70261
70272
|
prefixCls: prefixCls
|
|
@@ -70363,7 +70374,7 @@ var Pager = function Pager(props) {
|
|
|
70363
70374
|
var _classNames;
|
|
70364
70375
|
|
|
70365
70376
|
var prefixCls = "".concat(props.rootPrefixCls, "-item");
|
|
70366
|
-
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(props.page), (_classNames = {},
|
|
70377
|
+
var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(props.page), (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-active"), props.active), (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), !props.page), (0,esm_defineProperty/* default */.Z)(_classNames, props.className, !!props.className), _classNames));
|
|
70367
70378
|
|
|
70368
70379
|
var handleClick = function handleClick() {
|
|
70369
70380
|
props.onClick(props.page);
|
|
@@ -71037,7 +71048,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71037
71048
|
}
|
|
71038
71049
|
|
|
71039
71050
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
|
|
71040
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"),
|
|
71051
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), disabled), className),
|
|
71041
71052
|
style: style,
|
|
71042
71053
|
ref: this.savePaginationNode
|
|
71043
71054
|
}, dataOrAriaAttributeProps), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
@@ -71045,7 +71056,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71045
71056
|
onClick: this.prev,
|
|
71046
71057
|
tabIndex: this.hasPrev() ? 0 : null,
|
|
71047
71058
|
onKeyPress: this.runIfEnterPrev,
|
|
71048
|
-
className: classnames_default()("".concat(prefixCls, "-prev"),
|
|
71059
|
+
className: classnames_default()("".concat(prefixCls, "-prev"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), !this.hasPrev())),
|
|
71049
71060
|
"aria-disabled": !this.hasPrev()
|
|
71050
71061
|
}, this.renderPrev(prevPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
71051
71062
|
title: showTitle ? "".concat(current, "/").concat(allPages) : null,
|
|
@@ -71066,7 +71077,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71066
71077
|
onClick: this.next,
|
|
71067
71078
|
tabIndex: this.hasPrev() ? 0 : null,
|
|
71068
71079
|
onKeyPress: this.runIfEnterNext,
|
|
71069
|
-
className: classnames_default()("".concat(prefixCls, "-next"),
|
|
71080
|
+
className: classnames_default()("".concat(prefixCls, "-next"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), !this.hasNext())),
|
|
71070
71081
|
"aria-disabled": !this.hasNext()
|
|
71071
71082
|
}, this.renderNext(nextPage)), gotoButton);
|
|
71072
71083
|
}
|
|
@@ -71108,7 +71119,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71108
71119
|
onClick: this.jumpPrev,
|
|
71109
71120
|
tabIndex: "0",
|
|
71110
71121
|
onKeyPress: this.runIfEnterJumpPrev,
|
|
71111
|
-
className: classnames_default()("".concat(prefixCls, "-jump-prev"),
|
|
71122
|
+
className: classnames_default()("".concat(prefixCls, "-jump-prev"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-jump-prev-custom-icon"), !!jumpPrevIcon))
|
|
71112
71123
|
}, itemRender(this.getJumpPrevPage(), 'jump-prev', this.getItemIcon(jumpPrevIcon, 'prev page')));
|
|
71113
71124
|
jumpNext = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
71114
71125
|
title: showTitle ? nextItemTitle : null,
|
|
@@ -71116,7 +71127,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71116
71127
|
tabIndex: "0",
|
|
71117
71128
|
onClick: this.jumpNext,
|
|
71118
71129
|
onKeyPress: this.runIfEnterJumpNext,
|
|
71119
|
-
className: classnames_default()("".concat(prefixCls, "-jump-next"),
|
|
71130
|
+
className: classnames_default()("".concat(prefixCls, "-jump-next"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-jump-next-custom-icon"), !!jumpNextIcon))
|
|
71120
71131
|
}, itemRender(this.getJumpNextPage(), 'jump-next', this.getItemIcon(jumpNextIcon, 'next page')));
|
|
71121
71132
|
}
|
|
71122
71133
|
|
|
@@ -71204,7 +71215,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71204
71215
|
var prevDisabled = !this.hasPrev() || !allPages;
|
|
71205
71216
|
var nextDisabled = !this.hasNext() || !allPages;
|
|
71206
71217
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
|
|
71207
|
-
className: classnames_default()(prefixCls, className,
|
|
71218
|
+
className: classnames_default()(prefixCls, className, (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), disabled)),
|
|
71208
71219
|
style: style,
|
|
71209
71220
|
unselectable: "unselectable",
|
|
71210
71221
|
ref: this.savePaginationNode
|
|
@@ -71213,14 +71224,14 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
71213
71224
|
onClick: this.prev,
|
|
71214
71225
|
tabIndex: prevDisabled ? null : 0,
|
|
71215
71226
|
onKeyPress: this.runIfEnterPrev,
|
|
71216
|
-
className: classnames_default()("".concat(prefixCls, "-prev"),
|
|
71227
|
+
className: classnames_default()("".concat(prefixCls, "-prev"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), prevDisabled)),
|
|
71217
71228
|
"aria-disabled": prevDisabled
|
|
71218
71229
|
}, this.renderPrev(prevPage)), pagerList, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
71219
71230
|
title: showTitle ? locale.next_page : null,
|
|
71220
71231
|
onClick: this.next,
|
|
71221
71232
|
tabIndex: nextDisabled ? null : 0,
|
|
71222
71233
|
onKeyPress: this.runIfEnterNext,
|
|
71223
|
-
className: classnames_default()("".concat(prefixCls, "-next"),
|
|
71234
|
+
className: classnames_default()("".concat(prefixCls, "-next"), (0,esm_defineProperty/* default */.Z)({}, "".concat(prefixCls, "-disabled"), nextDisabled)),
|
|
71224
71235
|
"aria-disabled": nextDisabled
|
|
71225
71236
|
}, this.renderNext(nextPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Options, {
|
|
71226
71237
|
disabled: disabled,
|
|
@@ -71359,7 +71370,7 @@ var responsiveObserve = {
|
|
|
71359
71370
|
var listener = function listener(_ref) {
|
|
71360
71371
|
var matches = _ref.matches;
|
|
71361
71372
|
|
|
71362
|
-
_this2.dispatch(esm_extends_extends(esm_extends_extends({}, screens),
|
|
71373
|
+
_this2.dispatch(esm_extends_extends(esm_extends_extends({}, screens), (0,esm_defineProperty/* default */.Z)({}, screen, matches)));
|
|
71363
71374
|
};
|
|
71364
71375
|
|
|
71365
71376
|
var mql = window.matchMedia(matchMediaQuery);
|
|
@@ -71506,7 +71517,7 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
71506
71517
|
var selectPrefixCls = getPrefixCls('select', customizeSelectPrefixCls);
|
|
71507
71518
|
var extendedClassName = classnames_default()((_classNames = {
|
|
71508
71519
|
mini: isSmall
|
|
71509
|
-
},
|
|
71520
|
+
}, (0,esm_defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,esm_defineProperty/* default */.Z)(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
|
|
71510
71521
|
|
|
71511
71522
|
if (minimalistic) {
|
|
71512
71523
|
paginationProps.itemRender = function (_current, type, originalElement) {
|
|
@@ -71960,7 +71971,7 @@ function Action(_ref) {
|
|
|
71960
71971
|
}();
|
|
71961
71972
|
|
|
71962
71973
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
71963
|
-
className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {},
|
|
71974
|
+
className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {}, (0,esm_defineProperty/* default */.Z)(_classNames, ListItem_Action_index_module["action-subscribe"], curAction === 3), (0,esm_defineProperty/* default */.Z)(_classNames, ListItem_Action_index_module["action-has-subscribe"], curAction === 4), _classNames)),
|
|
71964
71975
|
onClick: handleBtnClick
|
|
71965
71976
|
}, Actions[curAction]);
|
|
71966
71977
|
}
|
|
@@ -72176,12 +72187,12 @@ function ListItem(_ref) {
|
|
|
72176
72187
|
status = data.status;
|
|
72177
72188
|
|
|
72178
72189
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
|
|
72179
|
-
_useState2 =
|
|
72190
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
72180
72191
|
liveExt = _useState2[0],
|
|
72181
72192
|
setLiveExt = _useState2[1];
|
|
72182
72193
|
|
|
72183
72194
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
72184
|
-
|
|
72195
|
+
esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
72185
72196
|
var res;
|
|
72186
72197
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
72187
72198
|
while (1) {
|
|
@@ -72204,7 +72215,7 @@ function ListItem(_ref) {
|
|
|
72204
72215
|
}, []);
|
|
72205
72216
|
|
|
72206
72217
|
var handleDetailClick = /*#__PURE__*/function () {
|
|
72207
|
-
var _ref3 =
|
|
72218
|
+
var _ref3 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
72208
72219
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
72209
72220
|
while (1) {
|
|
72210
72221
|
switch (_context2.prev = _context2.next) {
|