@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
|
@@ -1,88 +1,6 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/ 8926:
|
|
5
|
-
/***/ (function(module) {
|
|
6
|
-
|
|
7
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
8
|
-
try {
|
|
9
|
-
var info = gen[key](arg);
|
|
10
|
-
var value = info.value;
|
|
11
|
-
} catch (error) {
|
|
12
|
-
reject(error);
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
if (info.done) {
|
|
17
|
-
resolve(value);
|
|
18
|
-
} else {
|
|
19
|
-
Promise.resolve(value).then(_next, _throw);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function _asyncToGenerator(fn) {
|
|
24
|
-
return function () {
|
|
25
|
-
var self = this,
|
|
26
|
-
args = arguments;
|
|
27
|
-
return new Promise(function (resolve, reject) {
|
|
28
|
-
var gen = fn.apply(self, args);
|
|
29
|
-
|
|
30
|
-
function _next(value) {
|
|
31
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function _throw(err) {
|
|
35
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
_next(undefined);
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
module.exports = _asyncToGenerator;
|
|
44
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
45
|
-
|
|
46
|
-
/***/ }),
|
|
47
|
-
|
|
48
|
-
/***/ 4575:
|
|
49
|
-
/***/ (function(module) {
|
|
50
|
-
|
|
51
|
-
function _classCallCheck(instance, Constructor) {
|
|
52
|
-
if (!(instance instanceof Constructor)) {
|
|
53
|
-
throw new TypeError("Cannot call a class as a function");
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
module.exports = _classCallCheck;
|
|
58
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
59
|
-
|
|
60
|
-
/***/ }),
|
|
61
|
-
|
|
62
|
-
/***/ 3913:
|
|
63
|
-
/***/ (function(module) {
|
|
64
|
-
|
|
65
|
-
function _defineProperties(target, props) {
|
|
66
|
-
for (var i = 0; i < props.length; i++) {
|
|
67
|
-
var descriptor = props[i];
|
|
68
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
69
|
-
descriptor.configurable = true;
|
|
70
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
71
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
76
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
77
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
78
|
-
return Constructor;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
module.exports = _createClass;
|
|
82
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
83
|
-
|
|
84
|
-
/***/ }),
|
|
85
|
-
|
|
86
4
|
/***/ 7757:
|
|
87
5
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
88
6
|
|
|
@@ -12698,7 +12616,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
12698
12616
|
|
|
12699
12617
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
12700
12618
|
// Module
|
|
12701
|
-
___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}", ""]);
|
|
12702
12620
|
// Exports
|
|
12703
12621
|
___CSS_LOADER_EXPORT___.locals = {
|
|
12704
12622
|
"container": "index-module_container_2HydZ",
|
|
@@ -35893,6 +35811,92 @@ module.exports = styleTagTransform;
|
|
|
35893
35811
|
|
|
35894
35812
|
/***/ }),
|
|
35895
35813
|
|
|
35814
|
+
/***/ 6094:
|
|
35815
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
35816
|
+
|
|
35817
|
+
__webpack_require__(1539);
|
|
35818
|
+
|
|
35819
|
+
__webpack_require__(8674);
|
|
35820
|
+
|
|
35821
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
35822
|
+
try {
|
|
35823
|
+
var info = gen[key](arg);
|
|
35824
|
+
var value = info.value;
|
|
35825
|
+
} catch (error) {
|
|
35826
|
+
reject(error);
|
|
35827
|
+
return;
|
|
35828
|
+
}
|
|
35829
|
+
|
|
35830
|
+
if (info.done) {
|
|
35831
|
+
resolve(value);
|
|
35832
|
+
} else {
|
|
35833
|
+
Promise.resolve(value).then(_next, _throw);
|
|
35834
|
+
}
|
|
35835
|
+
}
|
|
35836
|
+
|
|
35837
|
+
function _asyncToGenerator(fn) {
|
|
35838
|
+
return function () {
|
|
35839
|
+
var self = this,
|
|
35840
|
+
args = arguments;
|
|
35841
|
+
return new Promise(function (resolve, reject) {
|
|
35842
|
+
var gen = fn.apply(self, args);
|
|
35843
|
+
|
|
35844
|
+
function _next(value) {
|
|
35845
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
35846
|
+
}
|
|
35847
|
+
|
|
35848
|
+
function _throw(err) {
|
|
35849
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
35850
|
+
}
|
|
35851
|
+
|
|
35852
|
+
_next(undefined);
|
|
35853
|
+
});
|
|
35854
|
+
};
|
|
35855
|
+
}
|
|
35856
|
+
|
|
35857
|
+
module.exports = _asyncToGenerator;
|
|
35858
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35859
|
+
|
|
35860
|
+
/***/ }),
|
|
35861
|
+
|
|
35862
|
+
/***/ 3021:
|
|
35863
|
+
/***/ (function(module) {
|
|
35864
|
+
|
|
35865
|
+
function _classCallCheck(instance, Constructor) {
|
|
35866
|
+
if (!(instance instanceof Constructor)) {
|
|
35867
|
+
throw new TypeError("Cannot call a class as a function");
|
|
35868
|
+
}
|
|
35869
|
+
}
|
|
35870
|
+
|
|
35871
|
+
module.exports = _classCallCheck;
|
|
35872
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35873
|
+
|
|
35874
|
+
/***/ }),
|
|
35875
|
+
|
|
35876
|
+
/***/ 4966:
|
|
35877
|
+
/***/ (function(module) {
|
|
35878
|
+
|
|
35879
|
+
function _defineProperties(target, props) {
|
|
35880
|
+
for (var i = 0; i < props.length; i++) {
|
|
35881
|
+
var descriptor = props[i];
|
|
35882
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
35883
|
+
descriptor.configurable = true;
|
|
35884
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
35885
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
35886
|
+
}
|
|
35887
|
+
}
|
|
35888
|
+
|
|
35889
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
35890
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
35891
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
35892
|
+
return Constructor;
|
|
35893
|
+
}
|
|
35894
|
+
|
|
35895
|
+
module.exports = _createClass;
|
|
35896
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
35897
|
+
|
|
35898
|
+
/***/ }),
|
|
35899
|
+
|
|
35896
35900
|
/***/ 5273:
|
|
35897
35901
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
35898
35902
|
|
|
@@ -35903,11 +35907,11 @@ module.exports = __webpack_require__(5666);
|
|
|
35903
35907
|
/***/ 3006:
|
|
35904
35908
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
35905
35909
|
|
|
35906
|
-
var _asyncToGenerator = __webpack_require__(
|
|
35910
|
+
var _asyncToGenerator = __webpack_require__(6094);
|
|
35907
35911
|
|
|
35908
|
-
var _classCallCheck = __webpack_require__(
|
|
35912
|
+
var _classCallCheck = __webpack_require__(3021);
|
|
35909
35913
|
|
|
35910
|
-
var _createClass = __webpack_require__(
|
|
35914
|
+
var _createClass = __webpack_require__(4966);
|
|
35911
35915
|
|
|
35912
35916
|
__webpack_require__(5666);
|
|
35913
35917
|
|
|
@@ -42546,6 +42550,181 @@ var spin_style_update = injectStylesIntoStyleTag_default()(spin_style/* default
|
|
|
42546
42550
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/spin/style/index.js
|
|
42547
42551
|
|
|
42548
42552
|
|
|
42553
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
42554
|
+
|
|
42555
|
+
function esm_extends_extends() {
|
|
42556
|
+
esm_extends_extends = Object.assign || function (target) {
|
|
42557
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
42558
|
+
var source = arguments[i];
|
|
42559
|
+
|
|
42560
|
+
for (var key in source) {
|
|
42561
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
42562
|
+
target[key] = source[key];
|
|
42563
|
+
}
|
|
42564
|
+
}
|
|
42565
|
+
}
|
|
42566
|
+
|
|
42567
|
+
return target;
|
|
42568
|
+
};
|
|
42569
|
+
|
|
42570
|
+
return esm_extends_extends.apply(this, arguments);
|
|
42571
|
+
}
|
|
42572
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
42573
|
+
function _defineProperty(obj, key, value) {
|
|
42574
|
+
if (key in obj) {
|
|
42575
|
+
Object.defineProperty(obj, key, {
|
|
42576
|
+
value: value,
|
|
42577
|
+
enumerable: true,
|
|
42578
|
+
configurable: true,
|
|
42579
|
+
writable: true
|
|
42580
|
+
});
|
|
42581
|
+
} else {
|
|
42582
|
+
obj[key] = value;
|
|
42583
|
+
}
|
|
42584
|
+
|
|
42585
|
+
return obj;
|
|
42586
|
+
}
|
|
42587
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
42588
|
+
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
42589
|
+
if (!(instance instanceof Constructor)) {
|
|
42590
|
+
throw new TypeError("Cannot call a class as a function");
|
|
42591
|
+
}
|
|
42592
|
+
}
|
|
42593
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
42594
|
+
function createClass_defineProperties(target, props) {
|
|
42595
|
+
for (var i = 0; i < props.length; i++) {
|
|
42596
|
+
var descriptor = props[i];
|
|
42597
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
42598
|
+
descriptor.configurable = true;
|
|
42599
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
42600
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
42601
|
+
}
|
|
42602
|
+
}
|
|
42603
|
+
|
|
42604
|
+
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
42605
|
+
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
42606
|
+
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
42607
|
+
return Constructor;
|
|
42608
|
+
}
|
|
42609
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
42610
|
+
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
42611
|
+
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
42612
|
+
o.__proto__ = p;
|
|
42613
|
+
return o;
|
|
42614
|
+
};
|
|
42615
|
+
|
|
42616
|
+
return setPrototypeOf_setPrototypeOf(o, p);
|
|
42617
|
+
}
|
|
42618
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
42619
|
+
|
|
42620
|
+
function inherits_inherits(subClass, superClass) {
|
|
42621
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
42622
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
42623
|
+
}
|
|
42624
|
+
|
|
42625
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
42626
|
+
constructor: {
|
|
42627
|
+
value: subClass,
|
|
42628
|
+
writable: true,
|
|
42629
|
+
configurable: true
|
|
42630
|
+
}
|
|
42631
|
+
});
|
|
42632
|
+
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
42633
|
+
}
|
|
42634
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
|
42635
|
+
var es_reflect_construct = __webpack_require__(2419);
|
|
42636
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
42637
|
+
var es_object_get_prototype_of = __webpack_require__(489);
|
|
42638
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
42639
|
+
|
|
42640
|
+
function getPrototypeOf_getPrototypeOf(o) {
|
|
42641
|
+
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
42642
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42643
|
+
};
|
|
42644
|
+
return getPrototypeOf_getPrototypeOf(o);
|
|
42645
|
+
}
|
|
42646
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
42647
|
+
|
|
42648
|
+
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
42649
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
42650
|
+
if (Reflect.construct.sham) return false;
|
|
42651
|
+
if (typeof Proxy === "function") return true;
|
|
42652
|
+
|
|
42653
|
+
try {
|
|
42654
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
42655
|
+
return true;
|
|
42656
|
+
} catch (e) {
|
|
42657
|
+
return false;
|
|
42658
|
+
}
|
|
42659
|
+
}
|
|
42660
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
|
|
42661
|
+
var es_symbol_description = __webpack_require__(1817);
|
|
42662
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
42663
|
+
var es_symbol_iterator = __webpack_require__(2165);
|
|
42664
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
42665
|
+
|
|
42666
|
+
|
|
42667
|
+
|
|
42668
|
+
|
|
42669
|
+
|
|
42670
|
+
|
|
42671
|
+
|
|
42672
|
+
function esm_typeof_typeof(obj) {
|
|
42673
|
+
"@babel/helpers - typeof";
|
|
42674
|
+
|
|
42675
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
42676
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
42677
|
+
return typeof obj;
|
|
42678
|
+
};
|
|
42679
|
+
} else {
|
|
42680
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
42681
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
42682
|
+
};
|
|
42683
|
+
}
|
|
42684
|
+
|
|
42685
|
+
return esm_typeof_typeof(obj);
|
|
42686
|
+
}
|
|
42687
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
42688
|
+
function assertThisInitialized_assertThisInitialized(self) {
|
|
42689
|
+
if (self === void 0) {
|
|
42690
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
42691
|
+
}
|
|
42692
|
+
|
|
42693
|
+
return self;
|
|
42694
|
+
}
|
|
42695
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
42696
|
+
|
|
42697
|
+
|
|
42698
|
+
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
42699
|
+
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
42700
|
+
return call;
|
|
42701
|
+
} else if (call !== void 0) {
|
|
42702
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
42703
|
+
}
|
|
42704
|
+
|
|
42705
|
+
return assertThisInitialized_assertThisInitialized(self);
|
|
42706
|
+
}
|
|
42707
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
42708
|
+
|
|
42709
|
+
|
|
42710
|
+
|
|
42711
|
+
|
|
42712
|
+
function createSuper_createSuper(Derived) {
|
|
42713
|
+
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
42714
|
+
return function _createSuperInternal() {
|
|
42715
|
+
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
42716
|
+
result;
|
|
42717
|
+
|
|
42718
|
+
if (hasNativeReflectConstruct) {
|
|
42719
|
+
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
42720
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
42721
|
+
} else {
|
|
42722
|
+
result = Super.apply(this, arguments);
|
|
42723
|
+
}
|
|
42724
|
+
|
|
42725
|
+
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
42726
|
+
};
|
|
42727
|
+
}
|
|
42549
42728
|
// EXTERNAL MODULE: ./node_modules/lodash/debounce.js
|
|
42550
42729
|
var debounce = __webpack_require__(3279);
|
|
42551
42730
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce);
|
|
@@ -42654,14 +42833,14 @@ function shouldDelay(spinning, delay) {
|
|
|
42654
42833
|
}
|
|
42655
42834
|
|
|
42656
42835
|
var Spin = /*#__PURE__*/function (_React$Component) {
|
|
42657
|
-
|
|
42836
|
+
inherits_inherits(Spin, _React$Component);
|
|
42658
42837
|
|
|
42659
|
-
var _super =
|
|
42838
|
+
var _super = createSuper_createSuper(Spin);
|
|
42660
42839
|
|
|
42661
42840
|
function Spin(props) {
|
|
42662
42841
|
var _this;
|
|
42663
42842
|
|
|
42664
|
-
|
|
42843
|
+
classCallCheck_classCallCheck(this, Spin);
|
|
42665
42844
|
|
|
42666
42845
|
_this = _super.call(this, props);
|
|
42667
42846
|
|
|
@@ -42704,10 +42883,10 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42704
42883
|
|
|
42705
42884
|
var spinning = _this.state.spinning;
|
|
42706
42885
|
var prefixCls = getPrefixCls('spin', customizePrefixCls);
|
|
42707
|
-
var spinClassName = classnames_default()(prefixCls, (_classNames = {}, (
|
|
42886
|
+
var spinClassName = classnames_default()(prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _defineProperty(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), _defineProperty(_classNames, "".concat(prefixCls, "-spinning"), spinning), _defineProperty(_classNames, "".concat(prefixCls, "-show-text"), !!tip), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); // fix https://fb.me/react-unknown-prop
|
|
42708
42887
|
|
|
42709
42888
|
var divProps = omit(restProps, ['spinning', 'delay', 'indicator']);
|
|
42710
|
-
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
42889
|
+
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
|
|
42711
42890
|
style: style,
|
|
42712
42891
|
className: spinClassName
|
|
42713
42892
|
}), renderIndicator(prefixCls, _this.props), tip ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
@@ -42715,8 +42894,8 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42715
42894
|
}, tip) : null);
|
|
42716
42895
|
|
|
42717
42896
|
if (_this.isNestedPattern()) {
|
|
42718
|
-
var containerClassName = classnames_default()("".concat(prefixCls, "-container"), (
|
|
42719
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
42897
|
+
var containerClassName = classnames_default()("".concat(prefixCls, "-container"), _defineProperty({}, "".concat(prefixCls, "-blur"), spinning));
|
|
42898
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
|
|
42720
42899
|
className: classnames_default()("".concat(prefixCls, "-nested-loading"), wrapperClassName)
|
|
42721
42900
|
}), spinning && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
42722
42901
|
key: "loading"
|
|
@@ -42742,7 +42921,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
42742
42921
|
return _this;
|
|
42743
42922
|
}
|
|
42744
42923
|
|
|
42745
|
-
|
|
42924
|
+
createClass_createClass(Spin, [{
|
|
42746
42925
|
key: "componentDidMount",
|
|
42747
42926
|
value: function componentDidMount() {
|
|
42748
42927
|
this.updateSpinning();
|
|
@@ -42911,166 +43090,6 @@ var video_style_update = injectStylesIntoStyleTag_default()(video_style/* defaul
|
|
|
42911
43090
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/video/style/index.js
|
|
42912
43091
|
|
|
42913
43092
|
|
|
42914
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
42915
|
-
|
|
42916
|
-
function esm_extends_extends() {
|
|
42917
|
-
esm_extends_extends = Object.assign || function (target) {
|
|
42918
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
42919
|
-
var source = arguments[i];
|
|
42920
|
-
|
|
42921
|
-
for (var key in source) {
|
|
42922
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
42923
|
-
target[key] = source[key];
|
|
42924
|
-
}
|
|
42925
|
-
}
|
|
42926
|
-
}
|
|
42927
|
-
|
|
42928
|
-
return target;
|
|
42929
|
-
};
|
|
42930
|
-
|
|
42931
|
-
return esm_extends_extends.apply(this, arguments);
|
|
42932
|
-
}
|
|
42933
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
42934
|
-
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
42935
|
-
if (!(instance instanceof Constructor)) {
|
|
42936
|
-
throw new TypeError("Cannot call a class as a function");
|
|
42937
|
-
}
|
|
42938
|
-
}
|
|
42939
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
42940
|
-
function createClass_defineProperties(target, props) {
|
|
42941
|
-
for (var i = 0; i < props.length; i++) {
|
|
42942
|
-
var descriptor = props[i];
|
|
42943
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
42944
|
-
descriptor.configurable = true;
|
|
42945
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
42946
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
42947
|
-
}
|
|
42948
|
-
}
|
|
42949
|
-
|
|
42950
|
-
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
42951
|
-
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
42952
|
-
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
42953
|
-
return Constructor;
|
|
42954
|
-
}
|
|
42955
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
42956
|
-
function assertThisInitialized_assertThisInitialized(self) {
|
|
42957
|
-
if (self === void 0) {
|
|
42958
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
42959
|
-
}
|
|
42960
|
-
|
|
42961
|
-
return self;
|
|
42962
|
-
}
|
|
42963
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
42964
|
-
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
42965
|
-
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
42966
|
-
o.__proto__ = p;
|
|
42967
|
-
return o;
|
|
42968
|
-
};
|
|
42969
|
-
|
|
42970
|
-
return setPrototypeOf_setPrototypeOf(o, p);
|
|
42971
|
-
}
|
|
42972
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
42973
|
-
|
|
42974
|
-
function inherits_inherits(subClass, superClass) {
|
|
42975
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
42976
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
42977
|
-
}
|
|
42978
|
-
|
|
42979
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
42980
|
-
constructor: {
|
|
42981
|
-
value: subClass,
|
|
42982
|
-
writable: true,
|
|
42983
|
-
configurable: true
|
|
42984
|
-
}
|
|
42985
|
-
});
|
|
42986
|
-
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
42987
|
-
}
|
|
42988
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
|
42989
|
-
var es_reflect_construct = __webpack_require__(2419);
|
|
42990
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
42991
|
-
var es_object_get_prototype_of = __webpack_require__(489);
|
|
42992
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
42993
|
-
|
|
42994
|
-
function getPrototypeOf_getPrototypeOf(o) {
|
|
42995
|
-
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
42996
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42997
|
-
};
|
|
42998
|
-
return getPrototypeOf_getPrototypeOf(o);
|
|
42999
|
-
}
|
|
43000
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
43001
|
-
|
|
43002
|
-
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
43003
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
43004
|
-
if (Reflect.construct.sham) return false;
|
|
43005
|
-
if (typeof Proxy === "function") return true;
|
|
43006
|
-
|
|
43007
|
-
try {
|
|
43008
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
43009
|
-
return true;
|
|
43010
|
-
} catch (e) {
|
|
43011
|
-
return false;
|
|
43012
|
-
}
|
|
43013
|
-
}
|
|
43014
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
|
|
43015
|
-
var es_symbol_description = __webpack_require__(1817);
|
|
43016
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
43017
|
-
var es_symbol_iterator = __webpack_require__(2165);
|
|
43018
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
43019
|
-
|
|
43020
|
-
|
|
43021
|
-
|
|
43022
|
-
|
|
43023
|
-
|
|
43024
|
-
|
|
43025
|
-
|
|
43026
|
-
function esm_typeof_typeof(obj) {
|
|
43027
|
-
"@babel/helpers - typeof";
|
|
43028
|
-
|
|
43029
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
43030
|
-
esm_typeof_typeof = function _typeof(obj) {
|
|
43031
|
-
return typeof obj;
|
|
43032
|
-
};
|
|
43033
|
-
} else {
|
|
43034
|
-
esm_typeof_typeof = function _typeof(obj) {
|
|
43035
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
43036
|
-
};
|
|
43037
|
-
}
|
|
43038
|
-
|
|
43039
|
-
return esm_typeof_typeof(obj);
|
|
43040
|
-
}
|
|
43041
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
43042
|
-
|
|
43043
|
-
|
|
43044
|
-
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
43045
|
-
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
43046
|
-
return call;
|
|
43047
|
-
} else if (call !== void 0) {
|
|
43048
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
43049
|
-
}
|
|
43050
|
-
|
|
43051
|
-
return assertThisInitialized_assertThisInitialized(self);
|
|
43052
|
-
}
|
|
43053
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
43054
|
-
|
|
43055
|
-
|
|
43056
|
-
|
|
43057
|
-
|
|
43058
|
-
function createSuper_createSuper(Derived) {
|
|
43059
|
-
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
43060
|
-
return function _createSuperInternal() {
|
|
43061
|
-
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
43062
|
-
result;
|
|
43063
|
-
|
|
43064
|
-
if (hasNativeReflectConstruct) {
|
|
43065
|
-
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
43066
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
43067
|
-
} else {
|
|
43068
|
-
result = Super.apply(this, arguments);
|
|
43069
|
-
}
|
|
43070
|
-
|
|
43071
|
-
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
43072
|
-
};
|
|
43073
|
-
}
|
|
43074
43093
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
43075
43094
|
var regenerator = __webpack_require__(5273);
|
|
43076
43095
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|
@@ -44427,21 +44446,6 @@ function RecordVideo(_ref) {
|
|
|
44427
44446
|
onReloadLive: handleVideoReload
|
|
44428
44447
|
}));
|
|
44429
44448
|
}
|
|
44430
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
44431
|
-
function _defineProperty(obj, key, value) {
|
|
44432
|
-
if (key in obj) {
|
|
44433
|
-
Object.defineProperty(obj, key, {
|
|
44434
|
-
value: value,
|
|
44435
|
-
enumerable: true,
|
|
44436
|
-
configurable: true,
|
|
44437
|
-
writable: true
|
|
44438
|
-
});
|
|
44439
|
-
} else {
|
|
44440
|
-
obj[key] = value;
|
|
44441
|
-
}
|
|
44442
|
-
|
|
44443
|
-
return obj;
|
|
44444
|
-
}
|
|
44445
44449
|
// EXTERNAL MODULE: ./node_modules/@sdp.nd/fish/es/loader/style/index.js
|
|
44446
44450
|
var loader_style = __webpack_require__(4646);
|
|
44447
44451
|
;// CONCATENATED MODULE: ./src/component/AliPlayer/index.jsx
|
|
@@ -52861,7 +52865,7 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52861
52865
|
var createdRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
|
|
52862
52866
|
|
|
52863
52867
|
var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState([]),
|
|
52864
|
-
_React$useState2 =
|
|
52868
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
52865
52869
|
elements = _React$useState2[0],
|
|
52866
52870
|
setElements = _React$useState2[1];
|
|
52867
52871
|
|
|
@@ -52871,7 +52875,7 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52871
52875
|
var key = props.key;
|
|
52872
52876
|
|
|
52873
52877
|
if (div && (!createdRef.current[key] || firstMount)) {
|
|
52874
|
-
var noticeEle = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice,
|
|
52878
|
+
var noticeEle = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, extends_extends({}, props, {
|
|
52875
52879
|
holder: div
|
|
52876
52880
|
}));
|
|
52877
52881
|
createdRef.current[key] = noticeEle;
|
|
@@ -52881,10 +52885,10 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
52881
52885
|
});
|
|
52882
52886
|
|
|
52883
52887
|
if (index === -1) {
|
|
52884
|
-
return [].concat(
|
|
52888
|
+
return [].concat(_toConsumableArray(originElements), [noticeEle]);
|
|
52885
52889
|
}
|
|
52886
52890
|
|
|
52887
|
-
var cloneList =
|
|
52891
|
+
var cloneList = _toConsumableArray(originElements);
|
|
52888
52892
|
|
|
52889
52893
|
cloneList[index] = noticeEle;
|
|
52890
52894
|
return cloneList;
|
|
@@ -71278,7 +71282,7 @@ Pagination.defaultProps = {
|
|
|
71278
71282
|
|
|
71279
71283
|
|
|
71280
71284
|
var MiniSelect = function MiniSelect(props) {
|
|
71281
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select,
|
|
71285
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select, esm_extends_extends({
|
|
71282
71286
|
size: "small"
|
|
71283
71287
|
}, props));
|
|
71284
71288
|
};
|
|
@@ -71360,7 +71364,7 @@ var responsiveObserve = {
|
|
|
71360
71364
|
|
|
71361
71365
|
function useBreakpoint() {
|
|
71362
71366
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
|
|
71363
|
-
_useState2 =
|
|
71367
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
71364
71368
|
screens = _useState2[0],
|
|
71365
71369
|
setScreens = _useState2[1];
|
|
71366
71370
|
|
|
@@ -71480,13 +71484,13 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
71480
71484
|
var renderPagination = function renderPagination(contextLocale) {
|
|
71481
71485
|
var _classNames;
|
|
71482
71486
|
|
|
71483
|
-
var locale =
|
|
71487
|
+
var locale = esm_extends_extends(esm_extends_extends({}, contextLocale), customLocale);
|
|
71484
71488
|
|
|
71485
71489
|
var isSmall = size === 'small' || !!(xs && !size && restProps.responsive);
|
|
71486
71490
|
var selectPrefixCls = getPrefixCls('select', customizeSelectPrefixCls);
|
|
71487
71491
|
var extendedClassName = classnames_default()((_classNames = {
|
|
71488
71492
|
mini: isSmall
|
|
71489
|
-
}, (
|
|
71493
|
+
}, _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
|
|
71490
71494
|
|
|
71491
71495
|
if (minimalistic) {
|
|
71492
71496
|
paginationProps.itemRender = function (_current, type, originalElement) {
|
|
@@ -71523,7 +71527,7 @@ var Pagination_Pagination = function Pagination(_a) {
|
|
|
71523
71527
|
paginationProps.showQuickJumper = showQuickJumper;
|
|
71524
71528
|
}
|
|
71525
71529
|
|
|
71526
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination,
|
|
71530
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination, esm_extends_extends({}, paginationProps, getIconsProps(), restProps, {
|
|
71527
71531
|
prefixCls: prefixCls,
|
|
71528
71532
|
selectPrefixCls: selectPrefixCls,
|
|
71529
71533
|
className: extendedClassName,
|
|
@@ -71627,15 +71631,15 @@ function Avatar(_ref) {
|
|
|
71627
71631
|
errorImg = _ref.errorImg,
|
|
71628
71632
|
title = _ref.title,
|
|
71629
71633
|
titleCls = _ref.titleCls,
|
|
71630
|
-
restProps =
|
|
71634
|
+
restProps = esm_objectWithoutProperties_objectWithoutProperties(_ref, Avatar_excluded);
|
|
71631
71635
|
|
|
71632
71636
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
71633
|
-
_useState2 =
|
|
71637
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
71634
71638
|
isError = _useState2[0],
|
|
71635
71639
|
setIsError = _useState2[1];
|
|
71636
71640
|
|
|
71637
71641
|
var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
71638
|
-
_useState4 =
|
|
71642
|
+
_useState4 = slicedToArray_slicedToArray(_useState3, 2),
|
|
71639
71643
|
titleVisible = _useState4[0],
|
|
71640
71644
|
setTitleVisible = _useState4[1];
|
|
71641
71645
|
|
|
@@ -71654,7 +71658,7 @@ function Avatar(_ref) {
|
|
|
71654
71658
|
if (title && titleVisible || title && restProps.src === errorImg) {
|
|
71655
71659
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
71656
71660
|
className: titleCls
|
|
71657
|
-
}, title), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img",
|
|
71661
|
+
}, title), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", esm_extends_extends({}, restProps, {
|
|
71658
71662
|
className: classnames_default()(restProps.className, {
|
|
71659
71663
|
'image-error': isError
|
|
71660
71664
|
}),
|
|
@@ -71662,7 +71666,7 @@ function Avatar(_ref) {
|
|
|
71662
71666
|
})));
|
|
71663
71667
|
}
|
|
71664
71668
|
|
|
71665
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img",
|
|
71669
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", esm_extends_extends({}, restProps, {
|
|
71666
71670
|
className: classnames_default()(restProps.className, {
|
|
71667
71671
|
'image-error': isError
|
|
71668
71672
|
}),
|
|
@@ -71858,12 +71862,12 @@ function Action(_ref) {
|
|
|
71858
71862
|
|
|
71859
71863
|
return actionNum;
|
|
71860
71864
|
}),
|
|
71861
|
-
_useState2 =
|
|
71865
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
71862
71866
|
curAction = _useState2[0],
|
|
71863
71867
|
setCurAction = _useState2[1];
|
|
71864
71868
|
|
|
71865
71869
|
var handleBtnClick = /*#__PURE__*/function () {
|
|
71866
|
-
var _ref2 =
|
|
71870
|
+
var _ref2 = esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(e) {
|
|
71867
71871
|
var now, begin, _error$response, _error$response$data, _error$response2, _error$response2$data;
|
|
71868
71872
|
|
|
71869
71873
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -71940,7 +71944,7 @@ function Action(_ref) {
|
|
|
71940
71944
|
}();
|
|
71941
71945
|
|
|
71942
71946
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
71943
|
-
className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {}, (
|
|
71947
|
+
className: classnames_default()(ListItem_Action_index_module.action, (_classNames = {}, _defineProperty(_classNames, ListItem_Action_index_module["action-subscribe"], curAction === 3), _defineProperty(_classNames, ListItem_Action_index_module["action-has-subscribe"], curAction === 4), _classNames)),
|
|
71944
71948
|
onClick: handleBtnClick
|
|
71945
71949
|
}, Actions[curAction]);
|
|
71946
71950
|
}
|