@x-edu/live-player 0.0.26 → 0.0.27
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 +308 -891
- package/dist/XEduLivePlayerPre.common.js +587 -1162
- package/package.json +1 -1
- package/src/list/index.jsx +9 -545
|
@@ -25293,12 +25293,36 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbkAAAFBCAYAAADq
|
|
|
25293
25293
|
|
|
25294
25294
|
/***/ }),
|
|
25295
25295
|
|
|
25296
|
-
/***/
|
|
25296
|
+
/***/ 4687:
|
|
25297
25297
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25298
25298
|
|
|
25299
|
-
|
|
25299
|
+
// TODO(Babel 8): Remove this file.
|
|
25300
|
+
|
|
25301
|
+
var runtime = __webpack_require__(9240)();
|
|
25302
|
+
module.exports = runtime;
|
|
25303
|
+
|
|
25304
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
25305
|
+
try {
|
|
25306
|
+
regeneratorRuntime = runtime;
|
|
25307
|
+
} catch (accidentalStrictMode) {
|
|
25308
|
+
if (typeof globalThis === "object") {
|
|
25309
|
+
globalThis.regeneratorRuntime = runtime;
|
|
25310
|
+
} else {
|
|
25311
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
25312
|
+
}
|
|
25313
|
+
}
|
|
25314
|
+
|
|
25315
|
+
|
|
25316
|
+
/***/ }),
|
|
25317
|
+
|
|
25318
|
+
/***/ 9240:
|
|
25319
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25320
|
+
|
|
25321
|
+
var _typeof = (__webpack_require__(5934)["default"]);
|
|
25300
25322
|
function _regeneratorRuntime() {
|
|
25301
|
-
"use strict";
|
|
25323
|
+
"use strict";
|
|
25324
|
+
|
|
25325
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
25302
25326
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
25303
25327
|
return e;
|
|
25304
25328
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -25603,7 +25627,7 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
|
25603
25627
|
|
|
25604
25628
|
/***/ }),
|
|
25605
25629
|
|
|
25606
|
-
/***/
|
|
25630
|
+
/***/ 5934:
|
|
25607
25631
|
/***/ (function(module) {
|
|
25608
25632
|
|
|
25609
25633
|
function _typeof(o) {
|
|
@@ -25619,26 +25643,26 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
25619
25643
|
|
|
25620
25644
|
/***/ }),
|
|
25621
25645
|
|
|
25622
|
-
/***/
|
|
25646
|
+
/***/ 6979:
|
|
25623
25647
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25624
25648
|
|
|
25649
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
25625
25650
|
// TODO(Babel 8): Remove this file.
|
|
25626
25651
|
|
|
25627
|
-
var runtime = __webpack_require__(
|
|
25652
|
+
var runtime = __webpack_require__(9240)();
|
|
25628
25653
|
module.exports = runtime;
|
|
25629
25654
|
|
|
25630
25655
|
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
|
25631
25656
|
try {
|
|
25632
25657
|
regeneratorRuntime = runtime;
|
|
25633
25658
|
} catch (accidentalStrictMode) {
|
|
25634
|
-
if (typeof globalThis === "object") {
|
|
25659
|
+
if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) === "object") {
|
|
25635
25660
|
globalThis.regeneratorRuntime = runtime;
|
|
25636
25661
|
} else {
|
|
25637
25662
|
Function("r", "regeneratorRuntime = r")(runtime);
|
|
25638
25663
|
}
|
|
25639
25664
|
}
|
|
25640
25665
|
|
|
25641
|
-
|
|
25642
25666
|
/***/ }),
|
|
25643
25667
|
|
|
25644
25668
|
/***/ 8593:
|
|
@@ -29265,7 +29289,7 @@ var api = generateCommonAPIWithUC({
|
|
|
29265
29289
|
prefix: ''
|
|
29266
29290
|
}, true);
|
|
29267
29291
|
/* harmony default export */ var live_activity = (api);
|
|
29268
|
-
var
|
|
29292
|
+
var proxyApi = generateCommonAPI({
|
|
29269
29293
|
hostKey: 'x-proxy',
|
|
29270
29294
|
prefix: '/proxy/live'
|
|
29271
29295
|
});
|
|
@@ -30082,7 +30106,7 @@ function _getOpenClassWithCache() {
|
|
|
30082
30106
|
return live_regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
30083
30107
|
while (1) switch (_context12.prev = _context12.next) {
|
|
30084
30108
|
case 0:
|
|
30085
|
-
fullUrl = "".concat(window.location.protocol).concat(
|
|
30109
|
+
fullUrl = "".concat(window.location.protocol).concat(proxyApi.defaults.baseURL).concat(url);
|
|
30086
30110
|
_context12.next = 3;
|
|
30087
30111
|
return getLiveAPICache();
|
|
30088
30112
|
case 3:
|
|
@@ -30109,7 +30133,7 @@ function _getOpenClassWithCache() {
|
|
|
30109
30133
|
console.error('getOpenClassWithCache parse error', _context12.t0);
|
|
30110
30134
|
case 14:
|
|
30111
30135
|
_context12.next = 16;
|
|
30112
|
-
return
|
|
30136
|
+
return proxyApi.get(url);
|
|
30113
30137
|
case 16:
|
|
30114
30138
|
result = _context12.sent;
|
|
30115
30139
|
if (!result.headers.date) {
|
|
@@ -30926,8 +30950,158 @@ var video_style_update = injectStylesIntoStyleTag_default()(video_style/* defaul
|
|
|
30926
30950
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/video/style/index.js
|
|
30927
30951
|
|
|
30928
30952
|
|
|
30953
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
30954
|
+
function esm_extends_extends() {
|
|
30955
|
+
esm_extends_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
30956
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
30957
|
+
var source = arguments[i];
|
|
30958
|
+
for (var key in source) {
|
|
30959
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
30960
|
+
target[key] = source[key];
|
|
30961
|
+
}
|
|
30962
|
+
}
|
|
30963
|
+
}
|
|
30964
|
+
return target;
|
|
30965
|
+
};
|
|
30966
|
+
return esm_extends_extends.apply(this, arguments);
|
|
30967
|
+
}
|
|
30968
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
30969
|
+
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
30970
|
+
if (!(instance instanceof Constructor)) {
|
|
30971
|
+
throw new TypeError("Cannot call a class as a function");
|
|
30972
|
+
}
|
|
30973
|
+
}
|
|
30974
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
30975
|
+
function esm_typeof_typeof(o) {
|
|
30976
|
+
"@babel/helpers - typeof";
|
|
30977
|
+
|
|
30978
|
+
return esm_typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
30979
|
+
return typeof o;
|
|
30980
|
+
} : function (o) {
|
|
30981
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
30982
|
+
}, esm_typeof_typeof(o);
|
|
30983
|
+
}
|
|
30984
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
30985
|
+
|
|
30986
|
+
function toPrimitive_toPrimitive(input, hint) {
|
|
30987
|
+
if (esm_typeof_typeof(input) !== "object" || input === null) return input;
|
|
30988
|
+
var prim = input[Symbol.toPrimitive];
|
|
30989
|
+
if (prim !== undefined) {
|
|
30990
|
+
var res = prim.call(input, hint || "default");
|
|
30991
|
+
if (esm_typeof_typeof(res) !== "object") return res;
|
|
30992
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
30993
|
+
}
|
|
30994
|
+
return (hint === "string" ? String : Number)(input);
|
|
30995
|
+
}
|
|
30996
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
30997
|
+
|
|
30998
|
+
|
|
30999
|
+
function toPropertyKey_toPropertyKey(arg) {
|
|
31000
|
+
var key = toPrimitive_toPrimitive(arg, "string");
|
|
31001
|
+
return esm_typeof_typeof(key) === "symbol" ? key : String(key);
|
|
31002
|
+
}
|
|
31003
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
31004
|
+
|
|
31005
|
+
function createClass_defineProperties(target, props) {
|
|
31006
|
+
for (var i = 0; i < props.length; i++) {
|
|
31007
|
+
var descriptor = props[i];
|
|
31008
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
31009
|
+
descriptor.configurable = true;
|
|
31010
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
31011
|
+
Object.defineProperty(target, toPropertyKey_toPropertyKey(descriptor.key), descriptor);
|
|
31012
|
+
}
|
|
31013
|
+
}
|
|
31014
|
+
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
31015
|
+
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
31016
|
+
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
31017
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
31018
|
+
writable: false
|
|
31019
|
+
});
|
|
31020
|
+
return Constructor;
|
|
31021
|
+
}
|
|
31022
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
31023
|
+
function assertThisInitialized_assertThisInitialized(self) {
|
|
31024
|
+
if (self === void 0) {
|
|
31025
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
31026
|
+
}
|
|
31027
|
+
return self;
|
|
31028
|
+
}
|
|
31029
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
31030
|
+
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
31031
|
+
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
31032
|
+
o.__proto__ = p;
|
|
31033
|
+
return o;
|
|
31034
|
+
};
|
|
31035
|
+
return setPrototypeOf_setPrototypeOf(o, p);
|
|
31036
|
+
}
|
|
31037
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
31038
|
+
|
|
31039
|
+
function inherits_inherits(subClass, superClass) {
|
|
31040
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
31041
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
31042
|
+
}
|
|
31043
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
31044
|
+
constructor: {
|
|
31045
|
+
value: subClass,
|
|
31046
|
+
writable: true,
|
|
31047
|
+
configurable: true
|
|
31048
|
+
}
|
|
31049
|
+
});
|
|
31050
|
+
Object.defineProperty(subClass, "prototype", {
|
|
31051
|
+
writable: false
|
|
31052
|
+
});
|
|
31053
|
+
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
31054
|
+
}
|
|
31055
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
31056
|
+
function getPrototypeOf_getPrototypeOf(o) {
|
|
31057
|
+
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
31058
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
31059
|
+
};
|
|
31060
|
+
return getPrototypeOf_getPrototypeOf(o);
|
|
31061
|
+
}
|
|
31062
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
31063
|
+
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
31064
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
31065
|
+
if (Reflect.construct.sham) return false;
|
|
31066
|
+
if (typeof Proxy === "function") return true;
|
|
31067
|
+
try {
|
|
31068
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
31069
|
+
return true;
|
|
31070
|
+
} catch (e) {
|
|
31071
|
+
return false;
|
|
31072
|
+
}
|
|
31073
|
+
}
|
|
31074
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
31075
|
+
|
|
31076
|
+
|
|
31077
|
+
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
31078
|
+
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
31079
|
+
return call;
|
|
31080
|
+
} else if (call !== void 0) {
|
|
31081
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
31082
|
+
}
|
|
31083
|
+
return assertThisInitialized_assertThisInitialized(self);
|
|
31084
|
+
}
|
|
31085
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
31086
|
+
|
|
31087
|
+
|
|
31088
|
+
|
|
31089
|
+
function createSuper_createSuper(Derived) {
|
|
31090
|
+
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
31091
|
+
return function _createSuperInternal() {
|
|
31092
|
+
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
31093
|
+
result;
|
|
31094
|
+
if (hasNativeReflectConstruct) {
|
|
31095
|
+
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
31096
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
31097
|
+
} else {
|
|
31098
|
+
result = Super.apply(this, arguments);
|
|
31099
|
+
}
|
|
31100
|
+
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
31101
|
+
};
|
|
31102
|
+
}
|
|
30929
31103
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
30930
|
-
var regenerator = __webpack_require__(
|
|
31104
|
+
var regenerator = __webpack_require__(6979);
|
|
30931
31105
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
|
30932
31106
|
;// CONCATENATED MODULE: external {"commonjs":"react-dom","commonjs2":"react-dom","root":"ReactDOM"}
|
|
30933
31107
|
var external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_namespaceObject = require("react-dom");
|
|
@@ -31004,14 +31178,14 @@ var videoCdnPrefix = '//gcdncs.101.com/v0.1/static/share/fish/videoplayer';
|
|
|
31004
31178
|
var defaultVideoUrl = getVideoUrl(videoCdnPrefix, video_version);
|
|
31005
31179
|
|
|
31006
31180
|
var Video = /*#__PURE__*/function (_React$Component) {
|
|
31007
|
-
|
|
31181
|
+
inherits_inherits(Video, _React$Component);
|
|
31008
31182
|
|
|
31009
|
-
var _super =
|
|
31183
|
+
var _super = createSuper_createSuper(Video);
|
|
31010
31184
|
|
|
31011
31185
|
function Video() {
|
|
31012
31186
|
var _this;
|
|
31013
31187
|
|
|
31014
|
-
|
|
31188
|
+
classCallCheck_classCallCheck(this, Video);
|
|
31015
31189
|
|
|
31016
31190
|
_this = _super.apply(this, arguments);
|
|
31017
31191
|
_this.videoUrl = {}; // eslint-disable-next-line class-methods-use-this
|
|
@@ -31024,11 +31198,11 @@ var Video = /*#__PURE__*/function (_React$Component) {
|
|
|
31024
31198
|
csOriginUrl = getVideoUrl(cdnPrefix, video_version);
|
|
31025
31199
|
}
|
|
31026
31200
|
|
|
31027
|
-
return
|
|
31201
|
+
return esm_extends_extends(esm_extends_extends({}, csOriginUrl), Video.url);
|
|
31028
31202
|
};
|
|
31029
31203
|
|
|
31030
31204
|
_this.loadVideoPlayer = function () {
|
|
31031
|
-
return __awaiter(
|
|
31205
|
+
return __awaiter(assertThisInitialized_assertThisInitialized(_this), void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
|
|
31032
31206
|
return regenerator_default().wrap(function _callee$(_context) {
|
|
31033
31207
|
while (1) {
|
|
31034
31208
|
switch (_context.prev = _context.next) {
|
|
@@ -31079,7 +31253,7 @@ var Video = /*#__PURE__*/function (_React$Component) {
|
|
|
31079
31253
|
return _this;
|
|
31080
31254
|
}
|
|
31081
31255
|
|
|
31082
|
-
|
|
31256
|
+
createClass_createClass(Video, [{
|
|
31083
31257
|
key: "componentDidMount",
|
|
31084
31258
|
value: function componentDidMount() {
|
|
31085
31259
|
var _this2 = this;
|
|
@@ -32258,35 +32432,6 @@ var button_style_update = injectStylesIntoStyleTag_default()(button_style/* defa
|
|
|
32258
32432
|
// style dependencies
|
|
32259
32433
|
|
|
32260
32434
|
|
|
32261
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
32262
|
-
function esm_typeof_typeof(o) {
|
|
32263
|
-
"@babel/helpers - typeof";
|
|
32264
|
-
|
|
32265
|
-
return esm_typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
32266
|
-
return typeof o;
|
|
32267
|
-
} : function (o) {
|
|
32268
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
32269
|
-
}, esm_typeof_typeof(o);
|
|
32270
|
-
}
|
|
32271
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
32272
|
-
|
|
32273
|
-
function toPrimitive_toPrimitive(input, hint) {
|
|
32274
|
-
if (esm_typeof_typeof(input) !== "object" || input === null) return input;
|
|
32275
|
-
var prim = input[Symbol.toPrimitive];
|
|
32276
|
-
if (prim !== undefined) {
|
|
32277
|
-
var res = prim.call(input, hint || "default");
|
|
32278
|
-
if (esm_typeof_typeof(res) !== "object") return res;
|
|
32279
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
32280
|
-
}
|
|
32281
|
-
return (hint === "string" ? String : Number)(input);
|
|
32282
|
-
}
|
|
32283
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
32284
|
-
|
|
32285
|
-
|
|
32286
|
-
function toPropertyKey_toPropertyKey(arg) {
|
|
32287
|
-
var key = toPrimitive_toPrimitive(arg, "string");
|
|
32288
|
-
return esm_typeof_typeof(key) === "symbol" ? key : String(key);
|
|
32289
|
-
}
|
|
32290
32435
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
32291
32436
|
|
|
32292
32437
|
function defineProperty_defineProperty(obj, key, value) {
|
|
@@ -32303,21 +32448,6 @@ function defineProperty_defineProperty(obj, key, value) {
|
|
|
32303
32448
|
}
|
|
32304
32449
|
return obj;
|
|
32305
32450
|
}
|
|
32306
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
32307
|
-
function esm_extends_extends() {
|
|
32308
|
-
esm_extends_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
32309
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
32310
|
-
var source = arguments[i];
|
|
32311
|
-
for (var key in source) {
|
|
32312
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
32313
|
-
target[key] = source[key];
|
|
32314
|
-
}
|
|
32315
|
-
}
|
|
32316
|
-
}
|
|
32317
|
-
return target;
|
|
32318
|
-
};
|
|
32319
|
-
return esm_extends_extends.apply(this, arguments);
|
|
32320
|
-
}
|
|
32321
32451
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
32322
32452
|
function arrayWithHoles_arrayWithHoles(arr) {
|
|
32323
32453
|
if (Array.isArray(arr)) return arr;
|
|
@@ -32378,112 +32508,6 @@ function nonIterableRest_nonIterableRest() {
|
|
|
32378
32508
|
function slicedToArray_slicedToArray(arr, i) {
|
|
32379
32509
|
return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
|
|
32380
32510
|
}
|
|
32381
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
32382
|
-
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
32383
|
-
if (!(instance instanceof Constructor)) {
|
|
32384
|
-
throw new TypeError("Cannot call a class as a function");
|
|
32385
|
-
}
|
|
32386
|
-
}
|
|
32387
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
32388
|
-
|
|
32389
|
-
function createClass_defineProperties(target, props) {
|
|
32390
|
-
for (var i = 0; i < props.length; i++) {
|
|
32391
|
-
var descriptor = props[i];
|
|
32392
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
32393
|
-
descriptor.configurable = true;
|
|
32394
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
32395
|
-
Object.defineProperty(target, toPropertyKey_toPropertyKey(descriptor.key), descriptor);
|
|
32396
|
-
}
|
|
32397
|
-
}
|
|
32398
|
-
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
32399
|
-
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
32400
|
-
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
32401
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
32402
|
-
writable: false
|
|
32403
|
-
});
|
|
32404
|
-
return Constructor;
|
|
32405
|
-
}
|
|
32406
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
32407
|
-
function assertThisInitialized_assertThisInitialized(self) {
|
|
32408
|
-
if (self === void 0) {
|
|
32409
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
32410
|
-
}
|
|
32411
|
-
return self;
|
|
32412
|
-
}
|
|
32413
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
32414
|
-
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
32415
|
-
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
32416
|
-
o.__proto__ = p;
|
|
32417
|
-
return o;
|
|
32418
|
-
};
|
|
32419
|
-
return setPrototypeOf_setPrototypeOf(o, p);
|
|
32420
|
-
}
|
|
32421
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
32422
|
-
|
|
32423
|
-
function inherits_inherits(subClass, superClass) {
|
|
32424
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
32425
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
32426
|
-
}
|
|
32427
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
32428
|
-
constructor: {
|
|
32429
|
-
value: subClass,
|
|
32430
|
-
writable: true,
|
|
32431
|
-
configurable: true
|
|
32432
|
-
}
|
|
32433
|
-
});
|
|
32434
|
-
Object.defineProperty(subClass, "prototype", {
|
|
32435
|
-
writable: false
|
|
32436
|
-
});
|
|
32437
|
-
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
32438
|
-
}
|
|
32439
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
32440
|
-
function getPrototypeOf_getPrototypeOf(o) {
|
|
32441
|
-
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
|
|
32442
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
32443
|
-
};
|
|
32444
|
-
return getPrototypeOf_getPrototypeOf(o);
|
|
32445
|
-
}
|
|
32446
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
32447
|
-
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
32448
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
32449
|
-
if (Reflect.construct.sham) return false;
|
|
32450
|
-
if (typeof Proxy === "function") return true;
|
|
32451
|
-
try {
|
|
32452
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
32453
|
-
return true;
|
|
32454
|
-
} catch (e) {
|
|
32455
|
-
return false;
|
|
32456
|
-
}
|
|
32457
|
-
}
|
|
32458
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
32459
|
-
|
|
32460
|
-
|
|
32461
|
-
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
32462
|
-
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
32463
|
-
return call;
|
|
32464
|
-
} else if (call !== void 0) {
|
|
32465
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
32466
|
-
}
|
|
32467
|
-
return assertThisInitialized_assertThisInitialized(self);
|
|
32468
|
-
}
|
|
32469
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
32470
|
-
|
|
32471
|
-
|
|
32472
|
-
|
|
32473
|
-
function createSuper_createSuper(Derived) {
|
|
32474
|
-
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
32475
|
-
return function _createSuperInternal() {
|
|
32476
|
-
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
32477
|
-
result;
|
|
32478
|
-
if (hasNativeReflectConstruct) {
|
|
32479
|
-
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
32480
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
32481
|
-
} else {
|
|
32482
|
-
result = Super.apply(this, arguments);
|
|
32483
|
-
}
|
|
32484
|
-
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
32485
|
-
};
|
|
32486
|
-
}
|
|
32487
32511
|
;// CONCATENATED MODULE: ./node_modules/rc-util/es/raf.js
|
|
32488
32512
|
var raf = function raf(callback) {
|
|
32489
32513
|
return +setTimeout(callback, 16);
|
|
@@ -37736,17 +37760,13 @@ function get_get(entity, path) {
|
|
|
37736
37760
|
}
|
|
37737
37761
|
return current;
|
|
37738
37762
|
}
|
|
37739
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
37740
|
-
function esm_arrayWithHoles_arrayWithHoles(arr) {
|
|
37741
|
-
if (Array.isArray(arr)) return arr;
|
|
37742
|
-
}
|
|
37743
37763
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js
|
|
37744
37764
|
|
|
37745
37765
|
|
|
37746
37766
|
|
|
37747
37767
|
|
|
37748
37768
|
function _toArray(arr) {
|
|
37749
|
-
return
|
|
37769
|
+
return arrayWithHoles_arrayWithHoles(arr) || iterableToArray_iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || nonIterableRest_nonIterableRest();
|
|
37750
37770
|
}
|
|
37751
37771
|
;// CONCATENATED MODULE: ./node_modules/rc-util/es/utils/set.js
|
|
37752
37772
|
|
|
@@ -37765,9 +37785,9 @@ function internalSet(entity, paths, value, removeIfUndefined) {
|
|
|
37765
37785
|
if (!entity && typeof path === 'number') {
|
|
37766
37786
|
clone = [];
|
|
37767
37787
|
} else if (Array.isArray(entity)) {
|
|
37768
|
-
clone =
|
|
37788
|
+
clone = esm_toConsumableArray_toConsumableArray(entity);
|
|
37769
37789
|
} else {
|
|
37770
|
-
clone =
|
|
37790
|
+
clone = objectSpread2_objectSpread2({}, entity);
|
|
37771
37791
|
}
|
|
37772
37792
|
|
|
37773
37793
|
// Delete prop if `removeIfUndefined` and value is undefined
|
|
@@ -37873,7 +37893,7 @@ function containsNamePath(namePathList, namePath) {
|
|
|
37873
37893
|
}
|
|
37874
37894
|
|
|
37875
37895
|
function valueUtil_isObject(obj) {
|
|
37876
|
-
return
|
|
37896
|
+
return esm_typeof_typeof(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
|
|
37877
37897
|
}
|
|
37878
37898
|
/**
|
|
37879
37899
|
* Copy values into store and return a new values object
|
|
@@ -37882,7 +37902,7 @@ function valueUtil_isObject(obj) {
|
|
|
37882
37902
|
|
|
37883
37903
|
|
|
37884
37904
|
function internalSetValues(store, values) {
|
|
37885
|
-
var newStore = Array.isArray(store) ?
|
|
37905
|
+
var newStore = Array.isArray(store) ? esm_toConsumableArray_toConsumableArray(store) : objectSpread2_objectSpread2({}, store);
|
|
37886
37906
|
|
|
37887
37907
|
if (!values) {
|
|
37888
37908
|
return newStore;
|
|
@@ -37925,14 +37945,14 @@ function isSimilar(source, target) {
|
|
|
37925
37945
|
return false;
|
|
37926
37946
|
}
|
|
37927
37947
|
|
|
37928
|
-
if (!source || !target ||
|
|
37948
|
+
if (!source || !target || esm_typeof_typeof(source) !== 'object' || esm_typeof_typeof(target) !== 'object') {
|
|
37929
37949
|
return false;
|
|
37930
37950
|
}
|
|
37931
37951
|
|
|
37932
37952
|
var sourceKeys = Object.keys(source);
|
|
37933
37953
|
var targetKeys = Object.keys(target);
|
|
37934
|
-
var keys = new Set([].concat(
|
|
37935
|
-
return
|
|
37954
|
+
var keys = new Set([].concat(esm_toConsumableArray_toConsumableArray(sourceKeys), esm_toConsumableArray_toConsumableArray(targetKeys)));
|
|
37955
|
+
return esm_toConsumableArray_toConsumableArray(keys).every(function (key) {
|
|
37936
37956
|
var sourceValue = source[key];
|
|
37937
37957
|
var targetValue = target[key];
|
|
37938
37958
|
|
|
@@ -37975,12 +37995,12 @@ function valueUtil_move(array, moveIndex, toIndex) {
|
|
|
37975
37995
|
|
|
37976
37996
|
if (diff > 0) {
|
|
37977
37997
|
// move left
|
|
37978
|
-
return [].concat(
|
|
37998
|
+
return [].concat(esm_toConsumableArray_toConsumableArray(array.slice(0, toIndex)), [item], esm_toConsumableArray_toConsumableArray(array.slice(toIndex, moveIndex)), esm_toConsumableArray_toConsumableArray(array.slice(moveIndex + 1, length)));
|
|
37979
37999
|
}
|
|
37980
38000
|
|
|
37981
38001
|
if (diff < 0) {
|
|
37982
38002
|
// move right
|
|
37983
|
-
return [].concat(
|
|
38003
|
+
return [].concat(esm_toConsumableArray_toConsumableArray(array.slice(0, moveIndex)), esm_toConsumableArray_toConsumableArray(array.slice(moveIndex + 1, toIndex + 1)), [item], esm_toConsumableArray_toConsumableArray(array.slice(toIndex + 1, length)));
|
|
37984
38004
|
}
|
|
37985
38005
|
|
|
37986
38006
|
return array;
|
|
@@ -38026,7 +38046,7 @@ function _validateRule() {
|
|
|
38026
38046
|
while (1) {
|
|
38027
38047
|
switch (_context2.prev = _context2.next) {
|
|
38028
38048
|
case 0:
|
|
38029
|
-
cloneRule =
|
|
38049
|
+
cloneRule = objectSpread2_objectSpread2({}, rule); // Bug of `async-validator`
|
|
38030
38050
|
// https://github.com/react-component/field-form/issues/316
|
|
38031
38051
|
// https://github.com/react-component/field-form/issues/313
|
|
38032
38052
|
|
|
@@ -38039,13 +38059,13 @@ function _validateRule() {
|
|
|
38039
38059
|
delete cloneRule.defaultField;
|
|
38040
38060
|
}
|
|
38041
38061
|
|
|
38042
|
-
validator = new AsyncValidator(
|
|
38062
|
+
validator = new AsyncValidator(defineProperty_defineProperty({}, name, [cloneRule]));
|
|
38043
38063
|
messages = setValues({}, defaultValidateMessages, options.validateMessages);
|
|
38044
38064
|
validator.messages(messages);
|
|
38045
38065
|
result = [];
|
|
38046
38066
|
_context2.prev = 8;
|
|
38047
38067
|
_context2.next = 11;
|
|
38048
|
-
return Promise.resolve(validator.validate(
|
|
38068
|
+
return Promise.resolve(validator.validate(defineProperty_defineProperty({}, name, value), objectSpread2_objectSpread2({}, options)));
|
|
38049
38069
|
|
|
38050
38070
|
case 11:
|
|
38051
38071
|
_context2.next = 16;
|
|
@@ -38085,12 +38105,12 @@ function _validateRule() {
|
|
|
38085
38105
|
case 19:
|
|
38086
38106
|
subResults = _context2.sent;
|
|
38087
38107
|
return _context2.abrupt("return", subResults.reduce(function (prev, errors) {
|
|
38088
|
-
return [].concat(
|
|
38108
|
+
return [].concat(esm_toConsumableArray_toConsumableArray(prev), esm_toConsumableArray_toConsumableArray(errors));
|
|
38089
38109
|
}, []));
|
|
38090
38110
|
|
|
38091
38111
|
case 21:
|
|
38092
38112
|
// Replace message with variables
|
|
38093
|
-
kv =
|
|
38113
|
+
kv = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, rule), {}, {
|
|
38094
38114
|
name: name,
|
|
38095
38115
|
enum: (rule.enum || []).join(', ')
|
|
38096
38116
|
}, messageVariables);
|
|
@@ -38119,7 +38139,7 @@ function validateRules(namePath, value, rules, options, validateFirst, messageVa
|
|
|
38119
38139
|
var filledRules = rules.map(function (currentRule, ruleIndex) {
|
|
38120
38140
|
var originValidatorFunc = currentRule.validator;
|
|
38121
38141
|
|
|
38122
|
-
var cloneRule =
|
|
38142
|
+
var cloneRule = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, currentRule), {}, {
|
|
38123
38143
|
ruleIndex: ruleIndex
|
|
38124
38144
|
}); // Replace validator if needed
|
|
38125
38145
|
|
|
@@ -38276,7 +38296,7 @@ function _finishOnAllFailed() {
|
|
|
38276
38296
|
return _context3.abrupt("return", Promise.all(rulePromises).then(function (errorsList) {
|
|
38277
38297
|
var _ref5;
|
|
38278
38298
|
|
|
38279
|
-
var errors = (_ref5 = []).concat.apply(_ref5,
|
|
38299
|
+
var errors = (_ref5 = []).concat.apply(_ref5, esm_toConsumableArray_toConsumableArray(errorsList));
|
|
38280
38300
|
|
|
38281
38301
|
return errors;
|
|
38282
38302
|
}));
|
|
@@ -38361,9 +38381,9 @@ function requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {
|
|
|
38361
38381
|
|
|
38362
38382
|
|
|
38363
38383
|
var Field = /*#__PURE__*/function (_React$Component) {
|
|
38364
|
-
|
|
38384
|
+
inherits_inherits(Field, _React$Component);
|
|
38365
38385
|
|
|
38366
|
-
var _super =
|
|
38386
|
+
var _super = createSuper_createSuper(Field);
|
|
38367
38387
|
|
|
38368
38388
|
/**
|
|
38369
38389
|
* Follow state should not management in State since it will async update by React.
|
|
@@ -38379,7 +38399,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
38379
38399
|
function Field(props) {
|
|
38380
38400
|
var _this;
|
|
38381
38401
|
|
|
38382
|
-
|
|
38402
|
+
classCallCheck_classCallCheck(this, Field);
|
|
38383
38403
|
|
|
38384
38404
|
_this = _super.call(this, props); // Register on init
|
|
38385
38405
|
|
|
@@ -38414,7 +38434,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
38414
38434
|
fieldContext = _this$props2.fieldContext;
|
|
38415
38435
|
var _fieldContext$prefixN = fieldContext.prefixName,
|
|
38416
38436
|
prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;
|
|
38417
|
-
return name !== undefined ? [].concat(
|
|
38437
|
+
return name !== undefined ? [].concat(esm_toConsumableArray_toConsumableArray(prefixName), esm_toConsumableArray_toConsumableArray(name)) : [];
|
|
38418
38438
|
};
|
|
38419
38439
|
|
|
38420
38440
|
_this.getRules = function () {
|
|
@@ -38447,7 +38467,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
38447
38467
|
|
|
38448
38468
|
_this.triggerMetaEvent = function (destroy) {
|
|
38449
38469
|
var onMetaChange = _this.props.onMetaChange;
|
|
38450
|
-
onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(
|
|
38470
|
+
onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, _this.getMeta()), {}, {
|
|
38451
38471
|
destroy: destroy
|
|
38452
38472
|
}));
|
|
38453
38473
|
};
|
|
@@ -38636,9 +38656,9 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
38636
38656
|
errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;
|
|
38637
38657
|
|
|
38638
38658
|
if (warningOnly) {
|
|
38639
|
-
nextWarnings.push.apply(nextWarnings,
|
|
38659
|
+
nextWarnings.push.apply(nextWarnings, esm_toConsumableArray_toConsumableArray(errors));
|
|
38640
38660
|
} else {
|
|
38641
|
-
nextErrors.push.apply(nextErrors,
|
|
38661
|
+
nextErrors.push.apply(nextErrors, esm_toConsumableArray_toConsumableArray(errors));
|
|
38642
38662
|
}
|
|
38643
38663
|
});
|
|
38644
38664
|
_this.errors = nextErrors;
|
|
@@ -38729,7 +38749,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
38729
38749
|
if (typeof children === 'function') {
|
|
38730
38750
|
var meta = _this.getMeta();
|
|
38731
38751
|
|
|
38732
|
-
return
|
|
38752
|
+
return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, _this.getOnlyChild(children(_this.getControlled(), meta, _this.props.fieldContext))), {}, {
|
|
38733
38753
|
isFunction: true
|
|
38734
38754
|
});
|
|
38735
38755
|
} // Filed element only
|
|
@@ -38781,13 +38801,13 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
38781
38801
|
var value = _this.getValue();
|
|
38782
38802
|
|
|
38783
38803
|
var mergedGetValueProps = getValueProps || function (val) {
|
|
38784
|
-
return
|
|
38804
|
+
return defineProperty_defineProperty({}, valuePropName, val);
|
|
38785
38805
|
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
38786
38806
|
|
|
38787
38807
|
|
|
38788
38808
|
var originTriggerFunc = childProps[trigger];
|
|
38789
38809
|
|
|
38790
|
-
var control =
|
|
38810
|
+
var control = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, childProps), mergedGetValueProps(value)); // Add trigger
|
|
38791
38811
|
|
|
38792
38812
|
|
|
38793
38813
|
control[trigger] = function () {
|
|
@@ -38858,13 +38878,13 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
38858
38878
|
var _getInternalHooks2 = getInternalHooks(HOOK_MARK),
|
|
38859
38879
|
initEntityValue = _getInternalHooks2.initEntityValue;
|
|
38860
38880
|
|
|
38861
|
-
initEntityValue(
|
|
38881
|
+
initEntityValue(assertThisInitialized_assertThisInitialized(_this));
|
|
38862
38882
|
}
|
|
38863
38883
|
|
|
38864
38884
|
return _this;
|
|
38865
38885
|
}
|
|
38866
38886
|
|
|
38867
|
-
|
|
38887
|
+
createClass_createClass(Field, [{
|
|
38868
38888
|
key: "componentDidMount",
|
|
38869
38889
|
value: function componentDidMount() {
|
|
38870
38890
|
var _this$props7 = this.props,
|
|
@@ -38938,7 +38958,7 @@ Field.defaultProps = {
|
|
|
38938
38958
|
|
|
38939
38959
|
function WrapperField(_ref5) {
|
|
38940
38960
|
var name = _ref5.name,
|
|
38941
|
-
restProps =
|
|
38961
|
+
restProps = esm_objectWithoutProperties_objectWithoutProperties(_ref5, Field_excluded);
|
|
38942
38962
|
|
|
38943
38963
|
var fieldContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(FieldContext);
|
|
38944
38964
|
var namePath = name !== undefined ? getNamePath(name) : undefined;
|
|
@@ -38952,7 +38972,7 @@ function WrapperField(_ref5) {
|
|
|
38952
38972
|
|
|
38953
38973
|
if (false) {}
|
|
38954
38974
|
|
|
38955
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Field,
|
|
38975
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Field, esm_extends_extends({
|
|
38956
38976
|
key: key,
|
|
38957
38977
|
name: namePath
|
|
38958
38978
|
}, restProps, {
|
|
@@ -38989,7 +39009,7 @@ var List = function List(_ref) {
|
|
|
38989
39009
|
}
|
|
38990
39010
|
|
|
38991
39011
|
var parentPrefixName = getNamePath(context.prefixName) || [];
|
|
38992
|
-
var prefixName = [].concat(
|
|
39012
|
+
var prefixName = [].concat(esm_toConsumableArray_toConsumableArray(parentPrefixName), esm_toConsumableArray_toConsumableArray(getNamePath(name)));
|
|
38993
39013
|
|
|
38994
39014
|
var shouldUpdate = function shouldUpdate(prevValue, nextValue, _ref2) {
|
|
38995
39015
|
var source = _ref2.source;
|
|
@@ -39002,7 +39022,7 @@ var List = function List(_ref) {
|
|
|
39002
39022
|
};
|
|
39003
39023
|
|
|
39004
39024
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(FieldContext.Provider, {
|
|
39005
|
-
value:
|
|
39025
|
+
value: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, context), {}, {
|
|
39006
39026
|
prefixName: prefixName
|
|
39007
39027
|
})
|
|
39008
39028
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Field, {
|
|
@@ -39033,13 +39053,13 @@ var List = function List(_ref) {
|
|
|
39033
39053
|
var newValue = getNewValue();
|
|
39034
39054
|
|
|
39035
39055
|
if (index >= 0 && index <= newValue.length) {
|
|
39036
|
-
keyManager.keys = [].concat(
|
|
39037
|
-
onChange([].concat(
|
|
39056
|
+
keyManager.keys = [].concat(esm_toConsumableArray_toConsumableArray(keyManager.keys.slice(0, index)), [keyManager.id], esm_toConsumableArray_toConsumableArray(keyManager.keys.slice(index)));
|
|
39057
|
+
onChange([].concat(esm_toConsumableArray_toConsumableArray(newValue.slice(0, index)), [defaultValue], esm_toConsumableArray_toConsumableArray(newValue.slice(index))));
|
|
39038
39058
|
} else {
|
|
39039
39059
|
if (false) {}
|
|
39040
39060
|
|
|
39041
|
-
keyManager.keys = [].concat(
|
|
39042
|
-
onChange([].concat(
|
|
39061
|
+
keyManager.keys = [].concat(esm_toConsumableArray_toConsumableArray(keyManager.keys), [keyManager.id]);
|
|
39062
|
+
onChange([].concat(esm_toConsumableArray_toConsumableArray(newValue), [defaultValue]));
|
|
39043
39063
|
}
|
|
39044
39064
|
|
|
39045
39065
|
keyManager.id += 1;
|
|
@@ -39103,46 +39123,6 @@ var List = function List(_ref) {
|
|
|
39103
39123
|
};
|
|
39104
39124
|
|
|
39105
39125
|
/* harmony default export */ var es_List = (List);
|
|
39106
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
39107
|
-
function esm_iterableToArrayLimit_iterableToArrayLimit(r, l) {
|
|
39108
|
-
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
39109
|
-
if (null != t) {
|
|
39110
|
-
var e,
|
|
39111
|
-
n,
|
|
39112
|
-
i,
|
|
39113
|
-
u,
|
|
39114
|
-
a = [],
|
|
39115
|
-
f = !0,
|
|
39116
|
-
o = !1;
|
|
39117
|
-
try {
|
|
39118
|
-
if (i = (t = t.call(r)).next, 0 === l) {
|
|
39119
|
-
if (Object(t) !== t) return;
|
|
39120
|
-
f = !1;
|
|
39121
|
-
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
39122
|
-
} catch (r) {
|
|
39123
|
-
o = !0, n = r;
|
|
39124
|
-
} finally {
|
|
39125
|
-
try {
|
|
39126
|
-
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
39127
|
-
} finally {
|
|
39128
|
-
if (o) throw n;
|
|
39129
|
-
}
|
|
39130
|
-
}
|
|
39131
|
-
return a;
|
|
39132
|
-
}
|
|
39133
|
-
}
|
|
39134
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
39135
|
-
function esm_nonIterableRest_nonIterableRest() {
|
|
39136
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
39137
|
-
}
|
|
39138
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
39139
|
-
|
|
39140
|
-
|
|
39141
|
-
|
|
39142
|
-
|
|
39143
|
-
function esm_slicedToArray_slicedToArray(arr, i) {
|
|
39144
|
-
return esm_arrayWithHoles_arrayWithHoles(arr) || esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || esm_nonIterableRest_nonIterableRest();
|
|
39145
|
-
}
|
|
39146
39126
|
;// CONCATENATED MODULE: ./node_modules/rc-field-form/es/utils/asyncUtil.js
|
|
39147
39127
|
function allPromiseFinish(promiseList) {
|
|
39148
39128
|
var hasError = false;
|
|
@@ -39188,7 +39168,7 @@ var SPLIT = '__@field_split__';
|
|
|
39188
39168
|
|
|
39189
39169
|
function normalize(namePath) {
|
|
39190
39170
|
return namePath.map(function (cell) {
|
|
39191
|
-
return "".concat(
|
|
39171
|
+
return "".concat(esm_typeof_typeof(cell), ":").concat(cell);
|
|
39192
39172
|
}) // Magic split
|
|
39193
39173
|
.join(SPLIT);
|
|
39194
39174
|
}
|
|
@@ -39199,12 +39179,12 @@ function normalize(namePath) {
|
|
|
39199
39179
|
|
|
39200
39180
|
var NameMap = /*#__PURE__*/function () {
|
|
39201
39181
|
function NameMap() {
|
|
39202
|
-
|
|
39182
|
+
classCallCheck_classCallCheck(this, NameMap);
|
|
39203
39183
|
|
|
39204
39184
|
this.kvs = new Map();
|
|
39205
39185
|
}
|
|
39206
39186
|
|
|
39207
|
-
|
|
39187
|
+
createClass_createClass(NameMap, [{
|
|
39208
39188
|
key: "set",
|
|
39209
39189
|
value: function set(key, value) {
|
|
39210
39190
|
this.kvs.set(normalize(key), value);
|
|
@@ -39235,8 +39215,8 @@ var NameMap = /*#__PURE__*/function () {
|
|
|
39235
39215
|
}, {
|
|
39236
39216
|
key: "map",
|
|
39237
39217
|
value: function map(callback) {
|
|
39238
|
-
return
|
|
39239
|
-
var _ref2 =
|
|
39218
|
+
return esm_toConsumableArray_toConsumableArray(this.kvs.entries()).map(function (_ref) {
|
|
39219
|
+
var _ref2 = slicedToArray_slicedToArray(_ref, 2),
|
|
39240
39220
|
key = _ref2[0],
|
|
39241
39221
|
value = _ref2[1];
|
|
39242
39222
|
|
|
@@ -39244,7 +39224,7 @@ var NameMap = /*#__PURE__*/function () {
|
|
|
39244
39224
|
return callback({
|
|
39245
39225
|
key: cells.map(function (cell) {
|
|
39246
39226
|
var _cell$match = cell.match(/^([^:]*):(.*)$/),
|
|
39247
|
-
_cell$match2 =
|
|
39227
|
+
_cell$match2 = slicedToArray_slicedToArray(_cell$match, 3),
|
|
39248
39228
|
type = _cell$match2[1],
|
|
39249
39229
|
unit = _cell$match2[2];
|
|
39250
39230
|
|
|
@@ -39289,7 +39269,7 @@ var useForm_excluded = ["name", "errors"];
|
|
|
39289
39269
|
var FormStore = function FormStore(forceRootUpdate) {
|
|
39290
39270
|
var _this = this;
|
|
39291
39271
|
|
|
39292
|
-
|
|
39272
|
+
classCallCheck_classCallCheck(this, FormStore);
|
|
39293
39273
|
|
|
39294
39274
|
this.formHooked = false;
|
|
39295
39275
|
this.forceRootUpdate = void 0;
|
|
@@ -39549,7 +39529,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
39549
39529
|
return fieldNamePath[i] === nameUnit;
|
|
39550
39530
|
})) {
|
|
39551
39531
|
map.update(shortNamePath, function (list) {
|
|
39552
|
-
return [].concat(
|
|
39532
|
+
return [].concat(esm_toConsumableArray_toConsumableArray(list), [field]);
|
|
39553
39533
|
});
|
|
39554
39534
|
}
|
|
39555
39535
|
});
|
|
@@ -39640,7 +39620,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
39640
39620
|
|
|
39641
39621
|
|
|
39642
39622
|
if (!info.skipExist || originValue === undefined) {
|
|
39643
|
-
_this.store = setValue(_this.store, namePath,
|
|
39623
|
+
_this.store = setValue(_this.store, namePath, esm_toConsumableArray_toConsumableArray(records)[0].value);
|
|
39644
39624
|
}
|
|
39645
39625
|
}
|
|
39646
39626
|
}
|
|
@@ -39660,7 +39640,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
39660
39640
|
if (records) {
|
|
39661
39641
|
var _requiredFieldEntitie;
|
|
39662
39642
|
|
|
39663
|
-
(_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie,
|
|
39643
|
+
(_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie, esm_toConsumableArray_toConsumableArray(esm_toConsumableArray_toConsumableArray(records).map(function (r) {
|
|
39664
39644
|
return r.entity;
|
|
39665
39645
|
})));
|
|
39666
39646
|
}
|
|
@@ -39713,7 +39693,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
39713
39693
|
fields.forEach(function (fieldData) {
|
|
39714
39694
|
var name = fieldData.name,
|
|
39715
39695
|
errors = fieldData.errors,
|
|
39716
|
-
data =
|
|
39696
|
+
data = esm_objectWithoutProperties_objectWithoutProperties(fieldData, useForm_excluded);
|
|
39717
39697
|
|
|
39718
39698
|
var namePath = getNamePath(name); // Value
|
|
39719
39699
|
|
|
@@ -39735,7 +39715,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
39735
39715
|
var namePath = field.getNamePath();
|
|
39736
39716
|
var meta = field.getMeta();
|
|
39737
39717
|
|
|
39738
|
-
var fieldData =
|
|
39718
|
+
var fieldData = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, meta), {}, {
|
|
39739
39719
|
name: namePath,
|
|
39740
39720
|
value: _this.getFieldValue(namePath)
|
|
39741
39721
|
});
|
|
@@ -39834,7 +39814,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
39834
39814
|
|
|
39835
39815
|
this.notifyObservers = function (prevStore, namePathList, info) {
|
|
39836
39816
|
if (_this.subscribable) {
|
|
39837
|
-
var mergedInfo =
|
|
39817
|
+
var mergedInfo = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, info), {}, {
|
|
39838
39818
|
store: _this.getFieldsValue(true)
|
|
39839
39819
|
});
|
|
39840
39820
|
|
|
@@ -39867,7 +39847,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
39867
39847
|
|
|
39868
39848
|
_this.notifyObservers(prevStore, childrenFields, {
|
|
39869
39849
|
type: 'dependenciesUpdate',
|
|
39870
|
-
relatedFields: [namePath].concat(
|
|
39850
|
+
relatedFields: [namePath].concat(esm_toConsumableArray_toConsumableArray(childrenFields))
|
|
39871
39851
|
}); // trigger callback function
|
|
39872
39852
|
|
|
39873
39853
|
|
|
@@ -39878,7 +39858,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
39878
39858
|
onValuesChange(changedValues, _this.getFieldsValue());
|
|
39879
39859
|
}
|
|
39880
39860
|
|
|
39881
|
-
_this.triggerOnFieldsChange([namePath].concat(
|
|
39861
|
+
_this.triggerOnFieldsChange([namePath].concat(esm_toConsumableArray_toConsumableArray(childrenFields)));
|
|
39882
39862
|
};
|
|
39883
39863
|
|
|
39884
39864
|
this.setFieldsValue = function (store) {
|
|
@@ -40006,8 +39986,8 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
40006
39986
|
var fieldNamePath = field.getNamePath(); // Add field validate rule in to promise list
|
|
40007
39987
|
|
|
40008
39988
|
if (!provideNameList || containsNamePath(namePathList, fieldNamePath)) {
|
|
40009
|
-
var promise = field.validateRules(
|
|
40010
|
-
validateMessages:
|
|
39989
|
+
var promise = field.validateRules(objectSpread2_objectSpread2({
|
|
39990
|
+
validateMessages: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, defaultValidateMessages), _this.validateMessages)
|
|
40011
39991
|
}, options)); // Wrap promise with field
|
|
40012
39992
|
|
|
40013
39993
|
promiseList.push(promise.then(function () {
|
|
@@ -40024,9 +40004,9 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
40024
40004
|
errors = _ref5.errors;
|
|
40025
40005
|
|
|
40026
40006
|
if (warningOnly) {
|
|
40027
|
-
mergedWarnings.push.apply(mergedWarnings,
|
|
40007
|
+
mergedWarnings.push.apply(mergedWarnings, esm_toConsumableArray_toConsumableArray(errors));
|
|
40028
40008
|
} else {
|
|
40029
|
-
mergedErrors.push.apply(mergedErrors,
|
|
40009
|
+
mergedErrors.push.apply(mergedErrors, esm_toConsumableArray_toConsumableArray(errors));
|
|
40030
40010
|
}
|
|
40031
40011
|
});
|
|
40032
40012
|
|
|
@@ -40117,7 +40097,7 @@ function useForm(form) {
|
|
|
40117
40097
|
var formRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef();
|
|
40118
40098
|
|
|
40119
40099
|
var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState({}),
|
|
40120
|
-
_React$useState2 =
|
|
40100
|
+
_React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
|
|
40121
40101
|
forceUpdate = _React$useState2[1];
|
|
40122
40102
|
|
|
40123
40103
|
if (!formRef.current) {
|
|
@@ -40157,8 +40137,8 @@ var FormProvider = function FormProvider(_ref) {
|
|
|
40157
40137
|
var formContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(FormContext);
|
|
40158
40138
|
var formsRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
|
|
40159
40139
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(FormContext.Provider, {
|
|
40160
|
-
value:
|
|
40161
|
-
validateMessages:
|
|
40140
|
+
value: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext), {}, {
|
|
40141
|
+
validateMessages: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext.validateMessages), validateMessages),
|
|
40162
40142
|
// =========================================================
|
|
40163
40143
|
// = Global Form Control =
|
|
40164
40144
|
// =========================================================
|
|
@@ -40184,13 +40164,13 @@ var FormProvider = function FormProvider(_ref) {
|
|
|
40184
40164
|
},
|
|
40185
40165
|
registerForm: function registerForm(name, form) {
|
|
40186
40166
|
if (name) {
|
|
40187
|
-
formsRef.current =
|
|
40167
|
+
formsRef.current = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formsRef.current), {}, defineProperty_defineProperty({}, name, form));
|
|
40188
40168
|
}
|
|
40189
40169
|
|
|
40190
40170
|
formContext.registerForm(name, form);
|
|
40191
40171
|
},
|
|
40192
40172
|
unregisterForm: function unregisterForm(name) {
|
|
40193
|
-
var newForms =
|
|
40173
|
+
var newForms = objectSpread2_objectSpread2({}, formsRef.current);
|
|
40194
40174
|
|
|
40195
40175
|
delete newForms[name];
|
|
40196
40176
|
formsRef.current = newForms;
|
|
@@ -40230,13 +40210,13 @@ var Form = function Form(_ref, ref) {
|
|
|
40230
40210
|
_onFieldsChange = _ref.onFieldsChange,
|
|
40231
40211
|
_onFinish = _ref.onFinish,
|
|
40232
40212
|
onFinishFailed = _ref.onFinishFailed,
|
|
40233
|
-
restProps =
|
|
40213
|
+
restProps = esm_objectWithoutProperties_objectWithoutProperties(_ref, Form_excluded);
|
|
40234
40214
|
|
|
40235
40215
|
var formContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(es_FormContext); // We customize handle event since Context will makes all the consumer re-render:
|
|
40236
40216
|
// https://reactjs.org/docs/context.html#contextprovider
|
|
40237
40217
|
|
|
40238
40218
|
var _useForm = es_useForm(form),
|
|
40239
|
-
_useForm2 =
|
|
40219
|
+
_useForm2 = slicedToArray_slicedToArray(_useForm, 1),
|
|
40240
40220
|
formInstance = _useForm2[0];
|
|
40241
40221
|
|
|
40242
40222
|
var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK),
|
|
@@ -40258,7 +40238,7 @@ var Form = function Form(_ref, ref) {
|
|
|
40258
40238
|
};
|
|
40259
40239
|
}, [formContext, formInstance, name]); // Pass props to store
|
|
40260
40240
|
|
|
40261
|
-
setValidateMessages(
|
|
40241
|
+
setValidateMessages(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext.validateMessages), validateMessages));
|
|
40262
40242
|
setCallbacks({
|
|
40263
40243
|
onValuesChange: onValuesChange,
|
|
40264
40244
|
onFieldsChange: function onFieldsChange(changedFields) {
|
|
@@ -40311,7 +40291,7 @@ var Form = function Form(_ref, ref) {
|
|
|
40311
40291
|
prevFieldsRef.current = fields;
|
|
40312
40292
|
}, [fields, formInstance]);
|
|
40313
40293
|
var formContextValue = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useMemo(function () {
|
|
40314
|
-
return
|
|
40294
|
+
return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formInstance), {}, {
|
|
40315
40295
|
validateTrigger: validateTrigger
|
|
40316
40296
|
});
|
|
40317
40297
|
}, [formInstance, validateTrigger]);
|
|
@@ -40323,7 +40303,7 @@ var Form = function Form(_ref, ref) {
|
|
|
40323
40303
|
return wrapperNode;
|
|
40324
40304
|
}
|
|
40325
40305
|
|
|
40326
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component,
|
|
40306
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, esm_extends_extends({}, restProps, {
|
|
40327
40307
|
onSubmit: function onSubmit(event) {
|
|
40328
40308
|
event.preventDefault();
|
|
40329
40309
|
event.stopPropagation();
|
|
@@ -40493,14 +40473,14 @@ LocaleProvider.defaultProps = {
|
|
|
40493
40473
|
|
|
40494
40474
|
|
|
40495
40475
|
var Notice = /*#__PURE__*/function (_Component) {
|
|
40496
|
-
|
|
40476
|
+
inherits_inherits(Notice, _Component);
|
|
40497
40477
|
|
|
40498
|
-
var _super =
|
|
40478
|
+
var _super = createSuper_createSuper(Notice);
|
|
40499
40479
|
|
|
40500
40480
|
function Notice() {
|
|
40501
40481
|
var _this;
|
|
40502
40482
|
|
|
40503
|
-
|
|
40483
|
+
classCallCheck_classCallCheck(this, Notice);
|
|
40504
40484
|
|
|
40505
40485
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
40506
40486
|
args[_key] = arguments[_key];
|
|
@@ -40543,7 +40523,7 @@ var Notice = /*#__PURE__*/function (_Component) {
|
|
|
40543
40523
|
return _this;
|
|
40544
40524
|
}
|
|
40545
40525
|
|
|
40546
|
-
|
|
40526
|
+
createClass_createClass(Notice, [{
|
|
40547
40527
|
key: "componentDidMount",
|
|
40548
40528
|
value: function componentDidMount() {
|
|
40549
40529
|
this.startCloseTimer();
|
|
@@ -40589,8 +40569,8 @@ var Notice = /*#__PURE__*/function (_Component) {
|
|
|
40589
40569
|
|
|
40590
40570
|
return acc;
|
|
40591
40571
|
}, {});
|
|
40592
|
-
var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
40593
|
-
className: classnames_default()(componentClass, className,
|
|
40572
|
+
var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
|
|
40573
|
+
className: classnames_default()(componentClass, className, defineProperty_defineProperty({}, "".concat(componentClass, "-closable"), closable)),
|
|
40594
40574
|
style: style,
|
|
40595
40575
|
onMouseEnter: this.clearCloseTimer,
|
|
40596
40576
|
onMouseLeave: this.startCloseTimer,
|
|
@@ -40631,7 +40611,7 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
40631
40611
|
var createdRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
|
|
40632
40612
|
|
|
40633
40613
|
var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState([]),
|
|
40634
|
-
_React$useState2 =
|
|
40614
|
+
_React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
|
|
40635
40615
|
elements = _React$useState2[0],
|
|
40636
40616
|
setElements = _React$useState2[1];
|
|
40637
40617
|
|
|
@@ -40641,7 +40621,7 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
40641
40621
|
var key = props.key;
|
|
40642
40622
|
|
|
40643
40623
|
if (div && (!createdRef.current[key] || firstMount)) {
|
|
40644
|
-
var noticeEle = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice,
|
|
40624
|
+
var noticeEle = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, esm_extends_extends({}, props, {
|
|
40645
40625
|
holder: div
|
|
40646
40626
|
}));
|
|
40647
40627
|
createdRef.current[key] = noticeEle;
|
|
@@ -40651,10 +40631,10 @@ function useNotification_useNotification(notificationInstance) {
|
|
|
40651
40631
|
});
|
|
40652
40632
|
|
|
40653
40633
|
if (index === -1) {
|
|
40654
|
-
return [].concat(
|
|
40634
|
+
return [].concat(esm_toConsumableArray_toConsumableArray(originElements), [noticeEle]);
|
|
40655
40635
|
}
|
|
40656
40636
|
|
|
40657
|
-
var cloneList =
|
|
40637
|
+
var cloneList = esm_toConsumableArray_toConsumableArray(originElements);
|
|
40658
40638
|
|
|
40659
40639
|
cloneList[index] = noticeEle;
|
|
40660
40640
|
return cloneList;
|
|
@@ -40692,14 +40672,14 @@ function getUuid() {
|
|
|
40692
40672
|
}
|
|
40693
40673
|
|
|
40694
40674
|
var Notification = /*#__PURE__*/function (_Component) {
|
|
40695
|
-
|
|
40675
|
+
inherits_inherits(Notification, _Component);
|
|
40696
40676
|
|
|
40697
|
-
var _super =
|
|
40677
|
+
var _super = createSuper_createSuper(Notification);
|
|
40698
40678
|
|
|
40699
40679
|
function Notification() {
|
|
40700
40680
|
var _this;
|
|
40701
40681
|
|
|
40702
|
-
|
|
40682
|
+
classCallCheck_classCallCheck(this, Notification);
|
|
40703
40683
|
|
|
40704
40684
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
40705
40685
|
args[_key] = arguments[_key];
|
|
@@ -40714,7 +40694,7 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
40714
40694
|
_this.add = function (originNotice, holderCallback) {
|
|
40715
40695
|
var key = originNotice.key || getUuid();
|
|
40716
40696
|
|
|
40717
|
-
var notice =
|
|
40697
|
+
var notice = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, originNotice), {}, {
|
|
40718
40698
|
key: key
|
|
40719
40699
|
});
|
|
40720
40700
|
|
|
@@ -40781,7 +40761,7 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
40781
40761
|
return _this;
|
|
40782
40762
|
}
|
|
40783
40763
|
|
|
40784
|
-
|
|
40764
|
+
createClass_createClass(Notification, [{
|
|
40785
40765
|
key: "getTransitionName",
|
|
40786
40766
|
value: function getTransitionName() {
|
|
40787
40767
|
var _this$props = this.props,
|
|
@@ -40814,7 +40794,7 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
40814
40794
|
var key = notice.key,
|
|
40815
40795
|
userPassKey = notice.userPassKey;
|
|
40816
40796
|
|
|
40817
|
-
var noticeProps =
|
|
40797
|
+
var noticeProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
|
|
40818
40798
|
prefixCls: prefixCls,
|
|
40819
40799
|
closeIcon: closeIcon
|
|
40820
40800
|
}, notice), notice.props), {}, {
|
|
@@ -40865,7 +40845,7 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
40865
40845
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
40866
40846
|
key: key,
|
|
40867
40847
|
className: classnames_default()(motionClassName, "".concat(prefixCls, "-hook-holder")),
|
|
40868
|
-
style:
|
|
40848
|
+
style: objectSpread2_objectSpread2({}, motionStyle),
|
|
40869
40849
|
ref: function ref(div) {
|
|
40870
40850
|
if (typeof key === 'undefined') {
|
|
40871
40851
|
return;
|
|
@@ -40882,9 +40862,9 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
40882
40862
|
});
|
|
40883
40863
|
}
|
|
40884
40864
|
|
|
40885
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice,
|
|
40865
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, esm_extends_extends({}, noticeProps, {
|
|
40886
40866
|
className: classnames_default()(motionClassName, noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.className),
|
|
40887
|
-
style:
|
|
40867
|
+
style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),
|
|
40888
40868
|
visible: visible
|
|
40889
40869
|
}));
|
|
40890
40870
|
}));
|
|
@@ -40907,7 +40887,7 @@ Notification.defaultProps = {
|
|
|
40907
40887
|
Notification.newInstance = function newNotificationInstance(properties, callback) {
|
|
40908
40888
|
var _ref6 = properties || {},
|
|
40909
40889
|
getContainer = _ref6.getContainer,
|
|
40910
|
-
props =
|
|
40890
|
+
props = esm_objectWithoutProperties_objectWithoutProperties(_ref6, ["getContainer"]);
|
|
40911
40891
|
|
|
40912
40892
|
var div = document.createElement('div');
|
|
40913
40893
|
|
|
@@ -40951,7 +40931,7 @@ Notification.newInstance = function newNotificationInstance(properties, callback
|
|
|
40951
40931
|
|
|
40952
40932
|
if (false) {}
|
|
40953
40933
|
|
|
40954
|
-
external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default().render( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notification,
|
|
40934
|
+
external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default().render( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notification, esm_extends_extends({}, props, {
|
|
40955
40935
|
ref: ref
|
|
40956
40936
|
})), div);
|
|
40957
40937
|
};
|
|
@@ -40981,7 +40961,7 @@ function createUseMessage(getRcNotificationInstance, getRCNoticeProps) {
|
|
|
40981
40961
|
};
|
|
40982
40962
|
|
|
40983
40963
|
var _useRCNotification = useNotification_useNotification(proxy),
|
|
40984
|
-
_useRCNotification2 =
|
|
40964
|
+
_useRCNotification2 = slicedToArray_slicedToArray(_useRCNotification, 2),
|
|
40985
40965
|
hookNotify = _useRCNotification2[0],
|
|
40986
40966
|
holder = _useRCNotification2[1];
|
|
40987
40967
|
|
|
@@ -40999,7 +40979,7 @@ function createUseMessage(getRcNotificationInstance, getRCNoticeProps) {
|
|
|
40999
40979
|
return resolve(true);
|
|
41000
40980
|
};
|
|
41001
40981
|
|
|
41002
|
-
getRcNotificationInstance(
|
|
40982
|
+
getRcNotificationInstance(esm_extends_extends(esm_extends_extends({}, args), {
|
|
41003
40983
|
prefixCls: mergedPrefixCls,
|
|
41004
40984
|
rootPrefixCls: rootPrefixCls,
|
|
41005
40985
|
getPopupContainer: getPopupContainer
|
|
@@ -41007,7 +40987,7 @@ function createUseMessage(getRcNotificationInstance, getRCNoticeProps) {
|
|
|
41007
40987
|
var prefixCls = _ref.prefixCls,
|
|
41008
40988
|
instance = _ref.instance;
|
|
41009
40989
|
innerInstance = instance;
|
|
41010
|
-
hookNotify(getRCNoticeProps(
|
|
40990
|
+
hookNotify(getRCNoticeProps(esm_extends_extends(esm_extends_extends({}, args), {
|
|
41011
40991
|
key: target,
|
|
41012
40992
|
onClose: callback
|
|
41013
40993
|
}), prefixCls));
|
|
@@ -41291,6 +41271,8 @@ var getInstance = function getInstance() {
|
|
|
41291
41271
|
return false ? 0 : null;
|
|
41292
41272
|
};
|
|
41293
41273
|
/* harmony default export */ var message = (message_api);
|
|
41274
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
41275
|
+
var runtime_regenerator = __webpack_require__(4687);
|
|
41294
41276
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/notification/hooks/useNotification.js
|
|
41295
41277
|
|
|
41296
41278
|
|
|
@@ -41310,14 +41292,14 @@ function createUseNotification(getNotificationInstance, getRCNoticeProps) {
|
|
|
41310
41292
|
};
|
|
41311
41293
|
|
|
41312
41294
|
var _useRCNotification = useNotification_useNotification(proxy),
|
|
41313
|
-
_useRCNotification2 =
|
|
41295
|
+
_useRCNotification2 = slicedToArray_slicedToArray(_useRCNotification, 2),
|
|
41314
41296
|
hookNotify = _useRCNotification2[0],
|
|
41315
41297
|
holder = _useRCNotification2[1];
|
|
41316
41298
|
|
|
41317
41299
|
function notify(args) {
|
|
41318
41300
|
var customizePrefixCls = args.prefixCls;
|
|
41319
41301
|
var mergedPrefixCls = getPrefixCls('notification', customizePrefixCls);
|
|
41320
|
-
getNotificationInstance(
|
|
41302
|
+
getNotificationInstance(esm_extends_extends(esm_extends_extends({}, args), {
|
|
41321
41303
|
prefixCls: mergedPrefixCls
|
|
41322
41304
|
}), function (_ref) {
|
|
41323
41305
|
var prefixCls = _ref.prefixCls,
|
|
@@ -41332,7 +41314,7 @@ function createUseNotification(getNotificationInstance, getRCNoticeProps) {
|
|
|
41332
41314
|
hookApiRef.current.open = notify;
|
|
41333
41315
|
['success', 'info', 'warning', 'error'].forEach(function (type) {
|
|
41334
41316
|
hookApiRef.current[type] = function (args) {
|
|
41335
|
-
return hookApiRef.current.open(
|
|
41317
|
+
return hookApiRef.current.open(esm_extends_extends(esm_extends_extends({}, args), {
|
|
41336
41318
|
type: type
|
|
41337
41319
|
}));
|
|
41338
41320
|
};
|
|
@@ -45462,14 +45444,6 @@ var TransBtn = function TransBtn(_ref) {
|
|
|
45462
45444
|
};
|
|
45463
45445
|
|
|
45464
45446
|
/* harmony default export */ var es_TransBtn = (TransBtn);
|
|
45465
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js
|
|
45466
|
-
|
|
45467
|
-
|
|
45468
|
-
|
|
45469
|
-
|
|
45470
|
-
function toArray_toArray(arr) {
|
|
45471
|
-
return arrayWithHoles_arrayWithHoles(arr) || iterableToArray_iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || nonIterableRest_nonIterableRest();
|
|
45472
|
-
}
|
|
45473
45447
|
;// CONCATENATED MODULE: ./node_modules/rc-select/es/utils/commonUtil.js
|
|
45474
45448
|
|
|
45475
45449
|
function commonUtil_toArray(value) {
|
|
@@ -45817,7 +45791,7 @@ function getSeparatedContent(text, tokens) {
|
|
|
45817
45791
|
var match = false;
|
|
45818
45792
|
|
|
45819
45793
|
function separate(str, _ref7) {
|
|
45820
|
-
var _ref8 =
|
|
45794
|
+
var _ref8 = _toArray(_ref7),
|
|
45821
45795
|
token = _ref8[0],
|
|
45822
45796
|
restTokens = _ref8.slice(1);
|
|
45823
45797
|
|
|
@@ -49354,37 +49328,6 @@ function regeneratorRuntime_regeneratorRuntime() {
|
|
|
49354
49328
|
}
|
|
49355
49329
|
}, e;
|
|
49356
49330
|
}
|
|
49357
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
49358
|
-
function esm_asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
49359
|
-
try {
|
|
49360
|
-
var info = gen[key](arg);
|
|
49361
|
-
var value = info.value;
|
|
49362
|
-
} catch (error) {
|
|
49363
|
-
reject(error);
|
|
49364
|
-
return;
|
|
49365
|
-
}
|
|
49366
|
-
if (info.done) {
|
|
49367
|
-
resolve(value);
|
|
49368
|
-
} else {
|
|
49369
|
-
Promise.resolve(value).then(_next, _throw);
|
|
49370
|
-
}
|
|
49371
|
-
}
|
|
49372
|
-
function esm_asyncToGenerator_asyncToGenerator(fn) {
|
|
49373
|
-
return function () {
|
|
49374
|
-
var self = this,
|
|
49375
|
-
args = arguments;
|
|
49376
|
-
return new Promise(function (resolve, reject) {
|
|
49377
|
-
var gen = fn.apply(self, args);
|
|
49378
|
-
function _next(value) {
|
|
49379
|
-
esm_asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
49380
|
-
}
|
|
49381
|
-
function _throw(err) {
|
|
49382
|
-
esm_asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
49383
|
-
}
|
|
49384
|
-
_next(undefined);
|
|
49385
|
-
});
|
|
49386
|
-
};
|
|
49387
|
-
}
|
|
49388
49331
|
;// CONCATENATED MODULE: ./node_modules/rc-trigger/es/Popup/useVisibleStatus.js
|
|
49389
49332
|
|
|
49390
49333
|
|
|
@@ -49456,7 +49399,7 @@ var StatusQueue = ['measure', 'alignPre', 'align', null, 'motion'];
|
|
|
49456
49399
|
}
|
|
49457
49400
|
|
|
49458
49401
|
if (status) {
|
|
49459
|
-
rafRef.current = es_raf( /*#__PURE__*/
|
|
49402
|
+
rafRef.current = es_raf( /*#__PURE__*/asyncToGenerator_asyncToGenerator( /*#__PURE__*/regeneratorRuntime_regeneratorRuntime().mark(function _callee() {
|
|
49460
49403
|
var index, nextStatus;
|
|
49461
49404
|
return regeneratorRuntime_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
49462
49405
|
while (1) {
|
|
@@ -60209,562 +60152,36 @@ function PublicLiveList(_ref) {
|
|
|
60209
60152
|
while (1) switch (_context.prev = _context.next) {
|
|
60210
60153
|
case 0:
|
|
60211
60154
|
setLoading(true);
|
|
60212
|
-
|
|
60213
|
-
|
|
60214
|
-
|
|
60215
|
-
|
|
60216
|
-
|
|
60217
|
-
|
|
60218
|
-
|
|
60219
|
-
|
|
60220
|
-
|
|
60221
|
-
|
|
60222
|
-
"live_id": "30d8726d-f4ee-452f-8266-af898555d27b",
|
|
60223
|
-
"live_name": "吴清沨名师工作室直播测试1",
|
|
60224
|
-
"lecture_user_id": 452543825909,
|
|
60225
|
-
"lecture_user_name": "程琴大号",
|
|
60226
|
-
"begin_time": "2023-11-20T19:00:00.000+0800",
|
|
60227
|
-
"end_time": "2023-11-20T23:00:00.000+0800",
|
|
60228
|
-
"duration": null,
|
|
60229
|
-
"status": 0,
|
|
60230
|
-
"type": 1,
|
|
60231
|
-
"view_replay": 1,
|
|
60232
|
-
"replay_url": null,
|
|
60233
|
-
"provide_record": 0,
|
|
60234
|
-
"conference_id": "286102851",
|
|
60235
|
-
"room_id": "65573a9ecd42c0001172375c",
|
|
60236
|
-
"chat_room_id": "6042256",
|
|
60237
|
-
"chat_room_convid": "4617269338473294294",
|
|
60238
|
-
"chat_enabled": false,
|
|
60239
|
-
"play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240218393542657?qrEventName=smartlink",
|
|
60240
|
-
"sub_type": 1,
|
|
60241
|
-
"video_url": null,
|
|
60242
|
-
"tenant_id": 416,
|
|
60243
|
-
"login": false,
|
|
60244
|
-
"description": null,
|
|
60245
|
-
"desc_pic_web_url": null,
|
|
60246
|
-
"desc_pic_mobile_url": null,
|
|
60247
|
-
"cover_url": "https://bdcs-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/%E8%AF%BE%E7%A8%8B%E5%B0%81%E9%9D%A2-%E6%80%9D%E6%83%B3%E9%93%B8%E9%AD%82_1685342669000_1700215253549.png",
|
|
60248
|
-
"cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%B0%81%E9%9D%A2_1700215325058.png",
|
|
60249
|
-
"cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%B0%81%E9%9D%A2_1700215328467.png",
|
|
60250
|
-
"create_user_id": 452543769209,
|
|
60251
|
-
"create_time": "2023-11-17T18:04:16.000+0800",
|
|
60252
|
-
"first_begin_time": null,
|
|
60253
|
-
"scope_type": "e_teacher_studio",
|
|
60254
|
-
"scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
|
|
60255
|
-
"scope_name": "吴清沨名师工作室",
|
|
60256
|
-
"scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
|
|
60257
|
-
"scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
|
|
60258
|
-
"env": "test",
|
|
60259
|
-
"chat_type": false,
|
|
60260
|
-
"discuss_chat_type": false,
|
|
60261
|
-
"comment_chat_room_id": null,
|
|
60262
|
-
"comment_chat_room_convid": null,
|
|
60263
|
-
"message_interval": 5,
|
|
60264
|
-
"bid": null,
|
|
60265
|
-
"replay_begin_time": "2023-11-21T00:00:00.000+0800",
|
|
60266
|
-
"replay_end_time": null,
|
|
60267
|
-
"view_replay_type": 0,
|
|
60268
|
-
"view_replay_name": null,
|
|
60269
|
-
"view_replay_url": null,
|
|
60270
|
-
"create_user_user_facade": {
|
|
60271
|
-
"user_id": 452543769209,
|
|
60272
|
-
"user_name": "吴清沨",
|
|
60273
|
-
"nick_name": null,
|
|
60274
|
-
"nick_name_full": null,
|
|
60275
|
-
"nick_name_short": null,
|
|
60276
|
-
"create_time": "2022-04-15T23:08:41.341+0800",
|
|
60277
|
-
"org_exinfo": {
|
|
60278
|
-
"node_id": 0,
|
|
60279
|
-
"node_name": "",
|
|
60280
|
-
"org_id": 594001860704,
|
|
60281
|
-
"org_name": null,
|
|
60282
|
-
"org_full_name": null,
|
|
60283
|
-
"org_user_code": "",
|
|
60284
|
-
"real_name": "吴清沨",
|
|
60285
|
-
"real_name_full": "wuqingfeng",
|
|
60286
|
-
"real_name_short": "wqf"
|
|
60287
|
-
},
|
|
60288
|
-
"email": null,
|
|
60289
|
-
"mobile": null,
|
|
60290
|
-
"avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543769209/avatar_url?size=80",
|
|
60291
|
-
"display_name": "吴清沨",
|
|
60292
|
-
"display_real_name": "吴清沨",
|
|
60293
|
-
"icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543769209/avatar_url?size=80",
|
|
60294
|
-
"existed": true
|
|
60295
|
-
}
|
|
60296
|
-
}, {
|
|
60297
|
-
"live_id": "ce5ddade-9160-4352-90ea-28123d98022f",
|
|
60298
|
-
"live_name": "陈美-推流测试",
|
|
60299
|
-
"lecture_user_id": null,
|
|
60300
|
-
"lecture_user_name": "陈老师",
|
|
60301
|
-
"begin_time": "2023-11-19T18:44:00.000+0800",
|
|
60302
|
-
"end_time": "2023-11-19T19:00:00.000+0800",
|
|
60303
|
-
"duration": null,
|
|
60304
|
-
"status": 1,
|
|
60305
|
-
"type": 1,
|
|
60306
|
-
"view_replay": 1,
|
|
60307
|
-
"replay_url": "https://basic.smartedu.cn/",
|
|
60308
|
-
"provide_record": 2,
|
|
60309
|
-
"conference_id": null,
|
|
60310
|
-
"room_id": null,
|
|
60311
|
-
"chat_room_id": "6043313",
|
|
60312
|
-
"chat_room_convid": "4617185775589584394",
|
|
60313
|
-
"chat_enabled": false,
|
|
60314
|
-
"play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240585204334593?qrEventName=smartlink",
|
|
60315
|
-
"sub_type": 2,
|
|
60316
|
-
"video_url": null,
|
|
60317
|
-
"tenant_id": 416,
|
|
60318
|
-
"login": false,
|
|
60319
|
-
"description": null,
|
|
60320
|
-
"desc_pic_web_url": null,
|
|
60321
|
-
"desc_pic_mobile_url": null,
|
|
60322
|
-
"cover_url": null,
|
|
60323
|
-
"cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/2022.12.16_%E9%99%88%E7%BE%8E&ba73b3ae34733a8f533d8a670590113c_1700390349311.png",
|
|
60324
|
-
"cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/2022.12.16_%E9%99%88%E7%BE%8E&ba73b3ae34733a8f533d8a670590113c_1700390352668.png",
|
|
60325
|
-
"create_user_id": 452543891320,
|
|
60326
|
-
"create_time": "2023-11-19T18:39:25.000+0800",
|
|
60327
|
-
"first_begin_time": null,
|
|
60328
|
-
"scope_type": "e_teacher_studio",
|
|
60329
|
-
"scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
|
|
60330
|
-
"scope_name": "吴清沨名师工作室",
|
|
60331
|
-
"scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
|
|
60332
|
-
"scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
|
|
60333
|
-
"env": "test",
|
|
60334
|
-
"chat_type": false,
|
|
60335
|
-
"discuss_chat_type": false,
|
|
60336
|
-
"comment_chat_room_id": null,
|
|
60337
|
-
"comment_chat_room_convid": null,
|
|
60338
|
-
"message_interval": 5,
|
|
60339
|
-
"bid": 25307027,
|
|
60340
|
-
"replay_begin_time": null,
|
|
60341
|
-
"replay_end_time": null,
|
|
60342
|
-
"view_replay_type": 2,
|
|
60343
|
-
"view_replay_name": null,
|
|
60344
|
-
"view_replay_url": null,
|
|
60345
|
-
"create_user_user_facade": {
|
|
60346
|
-
"user_id": 452543891320,
|
|
60347
|
-
"user_name": "陈美",
|
|
60348
|
-
"nick_name": "",
|
|
60349
|
-
"nick_name_full": "",
|
|
60350
|
-
"nick_name_short": "",
|
|
60351
|
-
"create_time": "2022-04-21T16:02:44.123+0800",
|
|
60352
|
-
"org_exinfo": {
|
|
60353
|
-
"node_id": 0,
|
|
60354
|
-
"node_name": "",
|
|
60355
|
-
"org_id": 594001860704,
|
|
60356
|
-
"org_name": null,
|
|
60357
|
-
"org_full_name": null,
|
|
60358
|
-
"org_user_code": "",
|
|
60359
|
-
"real_name": "陈美",
|
|
60360
|
-
"real_name_full": "chenmei",
|
|
60361
|
-
"real_name_short": "cm"
|
|
60362
|
-
},
|
|
60363
|
-
"email": null,
|
|
60364
|
-
"mobile": null,
|
|
60365
|
-
"avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
|
|
60366
|
-
"display_name": "陈美",
|
|
60367
|
-
"display_real_name": "陈美",
|
|
60368
|
-
"icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
|
|
60369
|
-
"existed": true
|
|
60370
|
-
}
|
|
60371
|
-
}, {
|
|
60372
|
-
"live_id": "1b182286-0f4e-4b3d-9023-d8a90a2b6a95",
|
|
60373
|
-
"live_name": "预约直播4",
|
|
60374
|
-
"lecture_user_id": null,
|
|
60375
|
-
"lecture_user_name": "张",
|
|
60376
|
-
"begin_time": "2023-11-17T17:59:00.000+0800",
|
|
60377
|
-
"end_time": "2023-11-17T18:13:17.000+0800",
|
|
60378
|
-
"duration": 856,
|
|
60379
|
-
"status": 2,
|
|
60380
|
-
"type": 2,
|
|
60381
|
-
"view_replay": 1,
|
|
60382
|
-
"replay_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
|
|
60383
|
-
"provide_record": 2,
|
|
60384
|
-
"conference_id": null,
|
|
60385
|
-
"room_id": null,
|
|
60386
|
-
"chat_room_id": "6042220",
|
|
60387
|
-
"chat_room_convid": "4617220959961672106",
|
|
60388
|
-
"chat_enabled": false,
|
|
60389
|
-
"play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240212538327042?qrEventName=smartlink",
|
|
60390
|
-
"sub_type": 1,
|
|
60391
|
-
"video_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
|
|
60392
|
-
"tenant_id": 416,
|
|
60393
|
-
"login": false,
|
|
60394
|
-
"description": null,
|
|
60395
|
-
"desc_pic_web_url": null,
|
|
60396
|
-
"desc_pic_mobile_url": null,
|
|
60397
|
-
"cover_url": null,
|
|
60398
|
-
"cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/3_1700212647343.jpg",
|
|
60399
|
-
"cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/3_1700212649290.png",
|
|
60400
|
-
"create_user_id": 452543891320,
|
|
60401
|
-
"create_time": "2023-11-17T17:17:45.000+0800",
|
|
60402
|
-
"first_begin_time": null,
|
|
60403
|
-
"scope_type": "e_teacher_studio",
|
|
60404
|
-
"scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
|
|
60405
|
-
"scope_name": "吴清沨名师工作室",
|
|
60406
|
-
"scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
|
|
60407
|
-
"scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
|
|
60408
|
-
"env": "test",
|
|
60409
|
-
"chat_type": false,
|
|
60410
|
-
"discuss_chat_type": false,
|
|
60411
|
-
"comment_chat_room_id": null,
|
|
60412
|
-
"comment_chat_room_convid": null,
|
|
60413
|
-
"message_interval": 5,
|
|
60414
|
-
"bid": null,
|
|
60415
|
-
"replay_begin_time": null,
|
|
60416
|
-
"replay_end_time": null,
|
|
60417
|
-
"view_replay_type": 0,
|
|
60418
|
-
"view_replay_name": null,
|
|
60419
|
-
"view_replay_url": null,
|
|
60420
|
-
"create_user_user_facade": {
|
|
60421
|
-
"user_id": 452543891320,
|
|
60422
|
-
"user_name": "陈美",
|
|
60423
|
-
"nick_name": "",
|
|
60424
|
-
"nick_name_full": "",
|
|
60425
|
-
"nick_name_short": "",
|
|
60426
|
-
"create_time": "2022-04-21T16:02:44.123+0800",
|
|
60427
|
-
"org_exinfo": {
|
|
60428
|
-
"node_id": 0,
|
|
60429
|
-
"node_name": "",
|
|
60430
|
-
"org_id": 594001860704,
|
|
60431
|
-
"org_name": null,
|
|
60432
|
-
"org_full_name": null,
|
|
60433
|
-
"org_user_code": "",
|
|
60434
|
-
"real_name": "陈美",
|
|
60435
|
-
"real_name_full": "chenmei",
|
|
60436
|
-
"real_name_short": "cm"
|
|
60437
|
-
},
|
|
60438
|
-
"email": null,
|
|
60439
|
-
"mobile": null,
|
|
60440
|
-
"avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
|
|
60441
|
-
"display_name": "陈美",
|
|
60442
|
-
"display_real_name": "陈美",
|
|
60443
|
-
"icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
|
|
60444
|
-
"existed": true
|
|
60445
|
-
}
|
|
60446
|
-
}, {
|
|
60447
|
-
"live_id": "0a3e44c6-c9ba-47ea-b60a-d224085ad6d5",
|
|
60448
|
-
"live_name": "预约直播测试3",
|
|
60449
|
-
"lecture_user_id": null,
|
|
60450
|
-
"lecture_user_name": "林老师",
|
|
60451
|
-
"begin_time": "2023-11-17T17:40:00.000+0800",
|
|
60452
|
-
"end_time": "2023-11-17T17:54:17.000+0800",
|
|
60453
|
-
"duration": 856,
|
|
60454
|
-
"status": 2,
|
|
60455
|
-
"type": 2,
|
|
60456
|
-
"view_replay": 1,
|
|
60457
|
-
"replay_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
|
|
60458
|
-
"provide_record": 2,
|
|
60459
|
-
"conference_id": null,
|
|
60460
|
-
"room_id": null,
|
|
60461
|
-
"chat_room_id": "6042218",
|
|
60462
|
-
"chat_room_convid": "4617218760938416552",
|
|
60463
|
-
"chat_enabled": false,
|
|
60464
|
-
"play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240211999326209?qrEventName=smartlink",
|
|
60465
|
-
"sub_type": 1,
|
|
60466
|
-
"video_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
|
|
60467
|
-
"tenant_id": 416,
|
|
60468
|
-
"login": false,
|
|
60469
|
-
"description": null,
|
|
60470
|
-
"desc_pic_web_url": null,
|
|
60471
|
-
"desc_pic_mobile_url": null,
|
|
60472
|
-
"cover_url": "https://bdcs-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/15_1700212402198.jpg",
|
|
60473
|
-
"cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/2_1700212396937.jpg",
|
|
60474
|
-
"cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/9_1700212398956.jpg",
|
|
60475
|
-
"create_user_id": 452543891320,
|
|
60476
|
-
"create_time": "2023-11-17T17:13:27.000+0800",
|
|
60477
|
-
"first_begin_time": null,
|
|
60478
|
-
"scope_type": "e_teacher_studio",
|
|
60479
|
-
"scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
|
|
60480
|
-
"scope_name": "吴清沨名师工作室",
|
|
60481
|
-
"scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
|
|
60482
|
-
"scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
|
|
60483
|
-
"env": "test",
|
|
60484
|
-
"chat_type": false,
|
|
60485
|
-
"discuss_chat_type": false,
|
|
60486
|
-
"comment_chat_room_id": null,
|
|
60487
|
-
"comment_chat_room_convid": null,
|
|
60488
|
-
"message_interval": 5,
|
|
60489
|
-
"bid": null,
|
|
60490
|
-
"replay_begin_time": null,
|
|
60491
|
-
"replay_end_time": null,
|
|
60492
|
-
"view_replay_type": 0,
|
|
60493
|
-
"view_replay_name": null,
|
|
60494
|
-
"view_replay_url": null,
|
|
60495
|
-
"create_user_user_facade": {
|
|
60496
|
-
"user_id": 452543891320,
|
|
60497
|
-
"user_name": "陈美",
|
|
60498
|
-
"nick_name": "",
|
|
60499
|
-
"nick_name_full": "",
|
|
60500
|
-
"nick_name_short": "",
|
|
60501
|
-
"create_time": "2022-04-21T16:02:44.123+0800",
|
|
60502
|
-
"org_exinfo": {
|
|
60503
|
-
"node_id": 0,
|
|
60504
|
-
"node_name": "",
|
|
60505
|
-
"org_id": 594001860704,
|
|
60506
|
-
"org_name": null,
|
|
60507
|
-
"org_full_name": null,
|
|
60508
|
-
"org_user_code": "",
|
|
60509
|
-
"real_name": "陈美",
|
|
60510
|
-
"real_name_full": "chenmei",
|
|
60511
|
-
"real_name_short": "cm"
|
|
60512
|
-
},
|
|
60513
|
-
"email": null,
|
|
60514
|
-
"mobile": null,
|
|
60515
|
-
"avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
|
|
60516
|
-
"display_name": "陈美",
|
|
60517
|
-
"display_real_name": "陈美",
|
|
60518
|
-
"icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
|
|
60519
|
-
"existed": true
|
|
60520
|
-
}
|
|
60521
|
-
}, {
|
|
60522
|
-
"live_id": "8a42343a-a060-41ef-a058-22af1c2e7534",
|
|
60523
|
-
"live_name": "预约直播1",
|
|
60524
|
-
"lecture_user_id": null,
|
|
60525
|
-
"lecture_user_name": "张老师",
|
|
60526
|
-
"begin_time": "2023-11-17T17:20:00.000+0800",
|
|
60527
|
-
"end_time": "2023-11-17T17:34:17.000+0800",
|
|
60528
|
-
"duration": 856,
|
|
60529
|
-
"status": 2,
|
|
60530
|
-
"type": 2,
|
|
60531
|
-
"view_replay": 1,
|
|
60532
|
-
"replay_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
|
|
60533
|
-
"provide_record": 2,
|
|
60534
|
-
"conference_id": null,
|
|
60535
|
-
"room_id": null,
|
|
60536
|
-
"chat_room_id": "6042216",
|
|
60537
|
-
"chat_room_convid": "4617206666310511005",
|
|
60538
|
-
"chat_enabled": false,
|
|
60539
|
-
"play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/240210426494980?qrEventName=smartlink",
|
|
60540
|
-
"sub_type": 1,
|
|
60541
|
-
"video_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/i%20u%20%C3%BC%20y%20w%EF%BC%88%E7%AC%AC%E4%B8%80%E8%AF%BE%E6%97%B6%EF%BC%89-1280x720-c08e7eae1cc948fe881f1267e68cbb03%20(1)%20(1)_1656210841532.mp4",
|
|
60542
|
-
"tenant_id": 416,
|
|
60543
|
-
"login": false,
|
|
60544
|
-
"description": null,
|
|
60545
|
-
"desc_pic_web_url": null,
|
|
60546
|
-
"desc_pic_mobile_url": null,
|
|
60547
|
-
"cover_url": "https://bdcs-file-1.ykt.cbern.com.cn/zxx/X-COURSE/416/21_1700211649821.jpg",
|
|
60548
|
-
"cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/1_1700211642536.jpg",
|
|
60549
|
-
"cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/18_1700211645081.jpg",
|
|
60550
|
-
"create_user_id": 452543891320,
|
|
60551
|
-
"create_time": "2023-11-17T17:00:58.000+0800",
|
|
60552
|
-
"first_begin_time": null,
|
|
60553
|
-
"scope_type": "e_teacher_studio",
|
|
60554
|
-
"scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
|
|
60555
|
-
"scope_name": "吴清沨名师工作室",
|
|
60556
|
-
"scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
|
|
60557
|
-
"scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
|
|
60558
|
-
"env": "test",
|
|
60559
|
-
"chat_type": false,
|
|
60560
|
-
"discuss_chat_type": false,
|
|
60561
|
-
"comment_chat_room_id": null,
|
|
60562
|
-
"comment_chat_room_convid": null,
|
|
60563
|
-
"message_interval": 5,
|
|
60564
|
-
"bid": null,
|
|
60565
|
-
"replay_begin_time": null,
|
|
60566
|
-
"replay_end_time": null,
|
|
60567
|
-
"view_replay_type": 0,
|
|
60568
|
-
"view_replay_name": null,
|
|
60569
|
-
"view_replay_url": null,
|
|
60570
|
-
"create_user_user_facade": {
|
|
60571
|
-
"user_id": 452543891320,
|
|
60572
|
-
"user_name": "陈美",
|
|
60573
|
-
"nick_name": "",
|
|
60574
|
-
"nick_name_full": "",
|
|
60575
|
-
"nick_name_short": "",
|
|
60576
|
-
"create_time": "2022-04-21T16:02:44.123+0800",
|
|
60577
|
-
"org_exinfo": {
|
|
60578
|
-
"node_id": 0,
|
|
60579
|
-
"node_name": "",
|
|
60580
|
-
"org_id": 594001860704,
|
|
60581
|
-
"org_name": null,
|
|
60582
|
-
"org_full_name": null,
|
|
60583
|
-
"org_user_code": "",
|
|
60584
|
-
"real_name": "陈美",
|
|
60585
|
-
"real_name_full": "chenmei",
|
|
60586
|
-
"real_name_short": "cm"
|
|
60587
|
-
},
|
|
60588
|
-
"email": null,
|
|
60589
|
-
"mobile": null,
|
|
60590
|
-
"avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
|
|
60591
|
-
"display_name": "陈美",
|
|
60592
|
-
"display_real_name": "陈美",
|
|
60593
|
-
"icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452543891320/avatar_url?size=80",
|
|
60594
|
-
"existed": true
|
|
60595
|
-
}
|
|
60596
|
-
}, {
|
|
60597
|
-
"live_id": "9d2f150c-6cb3-4c52-87e1-b816398478c1",
|
|
60598
|
-
"live_name": "1102测试相同时间2",
|
|
60599
|
-
"lecture_user_id": 452651419426,
|
|
60600
|
-
"lecture_user_name": "魏彤妍",
|
|
60601
|
-
"begin_time": "2023-11-02T11:10:00.000+0800",
|
|
60602
|
-
"end_time": "2023-11-02T11:40:00.000+0800",
|
|
60603
|
-
"duration": null,
|
|
60604
|
-
"status": 2,
|
|
60605
|
-
"type": 1,
|
|
60606
|
-
"view_replay": 0,
|
|
60607
|
-
"replay_url": null,
|
|
60608
|
-
"provide_record": 2,
|
|
60609
|
-
"conference_id": "432971706",
|
|
60610
|
-
"room_id": "6543102bcd42c0001171e356",
|
|
60611
|
-
"chat_room_id": "6040301",
|
|
60612
|
-
"chat_room_convid": "4617271537496547672",
|
|
60613
|
-
"chat_enabled": false,
|
|
60614
|
-
"play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/237446822494209?qrEventName=smartlink",
|
|
60615
|
-
"sub_type": 1,
|
|
60616
|
-
"video_url": "https://cdncs.ykt.cbern.com.cn/v0.1/download?path=/xxuexiimbr/replays/25306345_1698894971152.mp4",
|
|
60617
|
-
"tenant_id": 416,
|
|
60618
|
-
"login": false,
|
|
60619
|
-
"description": null,
|
|
60620
|
-
"desc_pic_web_url": null,
|
|
60621
|
-
"desc_pic_mobile_url": null,
|
|
60622
|
-
"cover_url": null,
|
|
60623
|
-
"cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230717105534_1698893852269.jpg",
|
|
60624
|
-
"cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230717105534_1698893858258.jpg",
|
|
60625
|
-
"create_user_id": 452651419426,
|
|
60626
|
-
"create_time": "2023-11-02T10:57:48.000+0800",
|
|
60627
|
-
"first_begin_time": null,
|
|
60628
|
-
"scope_type": "e_teacher_studio",
|
|
60629
|
-
"scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
|
|
60630
|
-
"scope_name": "吴清沨名师工作室",
|
|
60631
|
-
"scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
|
|
60632
|
-
"scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
|
|
60633
|
-
"env": "test",
|
|
60634
|
-
"chat_type": false,
|
|
60635
|
-
"discuss_chat_type": false,
|
|
60636
|
-
"comment_chat_room_id": null,
|
|
60637
|
-
"comment_chat_room_convid": null,
|
|
60638
|
-
"message_interval": 5,
|
|
60639
|
-
"bid": null,
|
|
60640
|
-
"replay_begin_time": null,
|
|
60641
|
-
"replay_end_time": null,
|
|
60642
|
-
"view_replay_type": 0,
|
|
60643
|
-
"view_replay_name": null,
|
|
60644
|
-
"view_replay_url": null,
|
|
60645
|
-
"create_user_user_facade": {
|
|
60646
|
-
"user_id": 452651419426,
|
|
60647
|
-
"user_name": "魏彤妍",
|
|
60648
|
-
"nick_name": null,
|
|
60649
|
-
"nick_name_full": null,
|
|
60650
|
-
"nick_name_short": null,
|
|
60651
|
-
"create_time": "2023-02-13T10:14:53.126+0800",
|
|
60652
|
-
"org_exinfo": {
|
|
60653
|
-
"node_id": 0,
|
|
60654
|
-
"node_name": "",
|
|
60655
|
-
"org_id": 594001860704,
|
|
60656
|
-
"org_name": null,
|
|
60657
|
-
"org_full_name": null,
|
|
60658
|
-
"org_user_code": "",
|
|
60659
|
-
"real_name": "魏彤妍",
|
|
60660
|
-
"real_name_full": "weitongyan",
|
|
60661
|
-
"real_name_short": "wty"
|
|
60662
|
-
},
|
|
60663
|
-
"email": null,
|
|
60664
|
-
"mobile": null,
|
|
60665
|
-
"avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452651419426/avatar_url?size=80",
|
|
60666
|
-
"display_name": "魏彤妍",
|
|
60667
|
-
"display_real_name": "魏彤妍",
|
|
60668
|
-
"icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452651419426/avatar_url?size=80",
|
|
60669
|
-
"existed": true
|
|
60670
|
-
}
|
|
60671
|
-
}, {
|
|
60672
|
-
"live_id": "32a81b78-5598-494a-865a-e17a6d606c44",
|
|
60673
|
-
"live_name": "1102测试相同时间",
|
|
60674
|
-
"lecture_user_id": 452651419426,
|
|
60675
|
-
"lecture_user_name": "魏彤妍",
|
|
60676
|
-
"begin_time": "2023-11-02T11:01:00.000+0800",
|
|
60677
|
-
"end_time": "2023-11-02T11:30:00.000+0800",
|
|
60678
|
-
"duration": null,
|
|
60679
|
-
"status": 2,
|
|
60680
|
-
"type": 1,
|
|
60681
|
-
"view_replay": 0,
|
|
60682
|
-
"replay_url": null,
|
|
60683
|
-
"provide_record": 0,
|
|
60684
|
-
"conference_id": "267959980",
|
|
60685
|
-
"room_id": "65430fddcd42c0001171e351",
|
|
60686
|
-
"chat_room_id": "6040299",
|
|
60687
|
-
"chat_room_convid": "4617260542380269902",
|
|
60688
|
-
"chat_enabled": false,
|
|
60689
|
-
"play_smart_link": "https://x-link.ykt.eduyun.cn/smart_links/237446661013505?qrEventName=smartlink",
|
|
60690
|
-
"sub_type": 1,
|
|
60691
|
-
"video_url": null,
|
|
60692
|
-
"tenant_id": 416,
|
|
60693
|
-
"login": false,
|
|
60694
|
-
"description": null,
|
|
60695
|
-
"desc_pic_web_url": null,
|
|
60696
|
-
"desc_pic_mobile_url": null,
|
|
60697
|
-
"cover_url": null,
|
|
60698
|
-
"cover_pic_web_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230717105523_1698893776035.jpg",
|
|
60699
|
-
"cover_pic_mobile_url": "https://bdcs-file-1.ykt.cbern.com.cn/bd_x_live/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230717105523_1698893779458.jpg",
|
|
60700
|
-
"create_user_id": 452651419426,
|
|
60701
|
-
"create_time": "2023-11-02T10:56:32.000+0800",
|
|
60702
|
-
"first_begin_time": null,
|
|
60703
|
-
"scope_type": "e_teacher_studio",
|
|
60704
|
-
"scope_id": "7086a15d-aba8-4202-abdc-3cdfb69700c6",
|
|
60705
|
-
"scope_name": "吴清沨名师工作室",
|
|
60706
|
-
"scope_link": "https://x-link.ykt.eduyun.cn/smart_links/141660235628548?qrEventName=smartlink",
|
|
60707
|
-
"scope_image": "https://bdcs-file-1.ykt.cbern.com.cn/e_teacher_studio/teacherStudio/7086a15d-aba8-4202-abdc-3cdfb69700c6/avatar/圆头 三_1691374755333.jpeg",
|
|
60708
|
-
"env": "test",
|
|
60709
|
-
"chat_type": false,
|
|
60710
|
-
"discuss_chat_type": false,
|
|
60711
|
-
"comment_chat_room_id": null,
|
|
60712
|
-
"comment_chat_room_convid": null,
|
|
60713
|
-
"message_interval": 5,
|
|
60714
|
-
"bid": null,
|
|
60715
|
-
"replay_begin_time": null,
|
|
60716
|
-
"replay_end_time": null,
|
|
60717
|
-
"view_replay_type": 0,
|
|
60718
|
-
"view_replay_name": null,
|
|
60719
|
-
"view_replay_url": null,
|
|
60720
|
-
"create_user_user_facade": {
|
|
60721
|
-
"user_id": 452651419426,
|
|
60722
|
-
"user_name": "魏彤妍",
|
|
60723
|
-
"nick_name": null,
|
|
60724
|
-
"nick_name_full": null,
|
|
60725
|
-
"nick_name_short": null,
|
|
60726
|
-
"create_time": "2023-02-13T10:14:53.126+0800",
|
|
60727
|
-
"org_exinfo": {
|
|
60728
|
-
"node_id": 0,
|
|
60729
|
-
"node_name": "",
|
|
60730
|
-
"org_id": 594001860704,
|
|
60731
|
-
"org_name": null,
|
|
60732
|
-
"org_full_name": null,
|
|
60733
|
-
"org_user_code": "",
|
|
60734
|
-
"real_name": "魏彤妍",
|
|
60735
|
-
"real_name_full": "weitongyan",
|
|
60736
|
-
"real_name_short": "wty"
|
|
60737
|
-
},
|
|
60738
|
-
"email": null,
|
|
60739
|
-
"mobile": null,
|
|
60740
|
-
"avatar_url": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452651419426/avatar_url?size=80",
|
|
60741
|
-
"display_name": "魏彤妍",
|
|
60742
|
-
"display_real_name": "魏彤妍",
|
|
60743
|
-
"icon": "http://uc-gateway.ykt.eduyun.cn/v1.1/users/452651419426/avatar_url?size=80",
|
|
60744
|
-
"existed": true
|
|
60745
|
-
}
|
|
60746
|
-
}]
|
|
60747
|
-
};
|
|
60155
|
+
_context.next = 3;
|
|
60156
|
+
return OpenLiveSearchFront({
|
|
60157
|
+
status: status,
|
|
60158
|
+
scopeType: scopeType,
|
|
60159
|
+
scopeId: scopeId,
|
|
60160
|
+
offset: (page - 1) * PageSize,
|
|
60161
|
+
limit: PageSize
|
|
60162
|
+
});
|
|
60163
|
+
case 3:
|
|
60164
|
+
data = _context.sent;
|
|
60748
60165
|
items = data.items, count = data.count;
|
|
60749
60166
|
if (!uc) {
|
|
60750
|
-
_context.next =
|
|
60167
|
+
_context.next = 15;
|
|
60751
60168
|
break;
|
|
60752
60169
|
}
|
|
60753
|
-
_context.next =
|
|
60170
|
+
_context.next = 8;
|
|
60754
60171
|
return uc.isLogin();
|
|
60755
|
-
case
|
|
60172
|
+
case 8:
|
|
60756
60173
|
curIsLogin = _context.sent;
|
|
60757
60174
|
if (!curIsLogin) {
|
|
60758
|
-
_context.next =
|
|
60175
|
+
_context.next = 15;
|
|
60759
60176
|
break;
|
|
60760
60177
|
}
|
|
60761
|
-
_context.next =
|
|
60178
|
+
_context.next = 12;
|
|
60762
60179
|
return getSubscription();
|
|
60763
|
-
case
|
|
60180
|
+
case 12:
|
|
60764
60181
|
curSubscription = _context.sent;
|
|
60765
60182
|
setSubscription(curSubscription);
|
|
60766
60183
|
setIsLogin(true);
|
|
60767
|
-
case
|
|
60184
|
+
case 15:
|
|
60768
60185
|
setList(items || []);
|
|
60769
60186
|
setTotal(count || 0);
|
|
60770
60187
|
setLoading(false);
|
|
@@ -60848,7 +60265,7 @@ function PublicLiveList(_ref) {
|
|
|
60848
60265
|
// ])
|
|
60849
60266
|
// setTotal(1)
|
|
60850
60267
|
// setLoading(false)
|
|
60851
|
-
case
|
|
60268
|
+
case 18:
|
|
60852
60269
|
case "end":
|
|
60853
60270
|
return _context.stop();
|
|
60854
60271
|
}
|
|
@@ -60869,7 +60286,7 @@ function PublicLiveList(_ref) {
|
|
|
60869
60286
|
tab: item.label
|
|
60870
60287
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Loading_Loading, {
|
|
60871
60288
|
loading: loading,
|
|
60872
|
-
delay:
|
|
60289
|
+
delay: 500
|
|
60873
60290
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
60874
60291
|
className: src_list_index_module.list
|
|
60875
60292
|
}, loading ? null : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, !loading && list.length ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, list.map(function (listItem) {
|