@x-edu/live-player 0.0.52 → 0.0.54
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 +142 -142
- package/package.json +1 -1
|
@@ -2833,7 +2833,7 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
2833
2833
|
|
|
2834
2834
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
2835
2835
|
// Module
|
|
2836
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".MobileListItem-module_mobileContainer_wfLKG{display:flex;flex-direction:column;border-radius:8px;overflow:hidden;height:
|
|
2836
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".MobileListItem-module_mobileContainer_wfLKG{display:flex;flex-direction:column;border-radius:8px;overflow:hidden;height:auto;background:linear-gradient(180deg,#fff,#fff 62.98%,rgba(0,247,255,.08));border:1px solid #eef4ff}.MobileListItem-module_mobileCoverWrap_271x\\+{position:relative;width:100%;padding-top:56.25%;overflow:hidden;background:#f0f0f0}.MobileListItem-module_mobileCover_LBJ85{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block}.MobileListItem-module_mobileContent_zA7iL{padding:12px;display:flex;flex-direction:column;flex:1}.MobileListItem-module_mobileTitleRow_O\\+\\+oM{margin-bottom:4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:24px;font-size:16px;min-height:49px}.MobileListItem-module_mobileStatusTag_ZDlxf{margin-right:4px!important;flex-shrink:0;margin-top:2px;font-size:10px!important;height:16px!important;line-height:20px!important}.MobileListItem-module_mobileStatusTag_ZDlxf img{width:12px!important;height:12px!important}.MobileListItem-module_mobileTitle_Qpabu{display:inline;color:#333;font-size:12px;font-style:normal;font-weight:500;line-height:18px}.MobileListItem-module_mobileMetaRow_P0gQ\\+{margin-bottom:12px}.MobileListItem-module_mobileMetaText_DNbQG{display:flex;align-items:center;font-size:10px;color:#999;line-height:18px}.MobileListItem-module_mobileMetaIcon_uoXZB{width:16px;height:16px;opacity:.6}.MobileListItem-module_countDownLabel_DV35Y,.MobileListItem-module_mobileMetaIcon_uoXZB{margin-right:4px}.MobileListItem-module_countDown_\\+eGzt{display:inline-flex}.MobileListItem-module_mobileFooterRow_ekYRA{justify-content:flex-end;flex:1 1 auto}.MobileListItem-module_mobileFooterRow_ekYRA,.MobileListItem-module_mobileHeat_V3\\+9A{display:flex;align-items:center}.MobileListItem-module_mobileHeat_V3\\+9A{font-size:10px;color:#666;flex-shrink:0}.MobileListItem-module_mobileHeatIcon_ZgirG{width:14px;height:14px;margin-right:4px;padding-bottom:2px}.MobileListItem-module_mobileAction_j\\+w5d{margin-left:auto}", ""]);
|
|
2837
2837
|
// Exports
|
|
2838
2838
|
___CSS_LOADER_EXPORT___.locals = {
|
|
2839
2839
|
"mobileContainer": "MobileListItem-module_mobileContainer_wfLKG",
|
|
@@ -25849,7 +25849,7 @@ module.exports = __webpack_require__(5666);
|
|
|
25849
25849
|
/***/ 3006:
|
|
25850
25850
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25851
25851
|
|
|
25852
|
-
var _regeneratorRuntime = __webpack_require__(
|
|
25852
|
+
var _regeneratorRuntime = __webpack_require__(5273);
|
|
25853
25853
|
|
|
25854
25854
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
25855
25855
|
|
|
@@ -40661,9 +40661,9 @@ function requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {
|
|
|
40661
40661
|
|
|
40662
40662
|
|
|
40663
40663
|
var Field = /*#__PURE__*/function (_React$Component) {
|
|
40664
|
-
|
|
40664
|
+
inherits_inherits(Field, _React$Component);
|
|
40665
40665
|
|
|
40666
|
-
var _super =
|
|
40666
|
+
var _super = createSuper_createSuper(Field);
|
|
40667
40667
|
|
|
40668
40668
|
/**
|
|
40669
40669
|
* Follow state should not management in State since it will async update by React.
|
|
@@ -40679,7 +40679,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
40679
40679
|
function Field(props) {
|
|
40680
40680
|
var _this;
|
|
40681
40681
|
|
|
40682
|
-
|
|
40682
|
+
classCallCheck_classCallCheck(this, Field);
|
|
40683
40683
|
|
|
40684
40684
|
_this = _super.call(this, props); // Register on init
|
|
40685
40685
|
|
|
@@ -40714,7 +40714,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
40714
40714
|
fieldContext = _this$props2.fieldContext;
|
|
40715
40715
|
var _fieldContext$prefixN = fieldContext.prefixName,
|
|
40716
40716
|
prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;
|
|
40717
|
-
return name !== undefined ? [].concat(
|
|
40717
|
+
return name !== undefined ? [].concat(toConsumableArray_toConsumableArray(prefixName), toConsumableArray_toConsumableArray(name)) : [];
|
|
40718
40718
|
};
|
|
40719
40719
|
|
|
40720
40720
|
_this.getRules = function () {
|
|
@@ -40747,7 +40747,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
40747
40747
|
|
|
40748
40748
|
_this.triggerMetaEvent = function (destroy) {
|
|
40749
40749
|
var onMetaChange = _this.props.onMetaChange;
|
|
40750
|
-
onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(
|
|
40750
|
+
onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, _this.getMeta()), {}, {
|
|
40751
40751
|
destroy: destroy
|
|
40752
40752
|
}));
|
|
40753
40753
|
};
|
|
@@ -40936,9 +40936,9 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
40936
40936
|
errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;
|
|
40937
40937
|
|
|
40938
40938
|
if (warningOnly) {
|
|
40939
|
-
nextWarnings.push.apply(nextWarnings,
|
|
40939
|
+
nextWarnings.push.apply(nextWarnings, toConsumableArray_toConsumableArray(errors));
|
|
40940
40940
|
} else {
|
|
40941
|
-
nextErrors.push.apply(nextErrors,
|
|
40941
|
+
nextErrors.push.apply(nextErrors, toConsumableArray_toConsumableArray(errors));
|
|
40942
40942
|
}
|
|
40943
40943
|
});
|
|
40944
40944
|
_this.errors = nextErrors;
|
|
@@ -41029,7 +41029,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
41029
41029
|
if (typeof children === 'function') {
|
|
41030
41030
|
var meta = _this.getMeta();
|
|
41031
41031
|
|
|
41032
|
-
return
|
|
41032
|
+
return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, _this.getOnlyChild(children(_this.getControlled(), meta, _this.props.fieldContext))), {}, {
|
|
41033
41033
|
isFunction: true
|
|
41034
41034
|
});
|
|
41035
41035
|
} // Filed element only
|
|
@@ -41081,13 +41081,13 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
41081
41081
|
var value = _this.getValue();
|
|
41082
41082
|
|
|
41083
41083
|
var mergedGetValueProps = getValueProps || function (val) {
|
|
41084
|
-
return
|
|
41084
|
+
return defineProperty_defineProperty({}, valuePropName, val);
|
|
41085
41085
|
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
41086
41086
|
|
|
41087
41087
|
|
|
41088
41088
|
var originTriggerFunc = childProps[trigger];
|
|
41089
41089
|
|
|
41090
|
-
var control =
|
|
41090
|
+
var control = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, childProps), mergedGetValueProps(value)); // Add trigger
|
|
41091
41091
|
|
|
41092
41092
|
|
|
41093
41093
|
control[trigger] = function () {
|
|
@@ -41158,13 +41158,13 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
41158
41158
|
var _getInternalHooks2 = getInternalHooks(HOOK_MARK),
|
|
41159
41159
|
initEntityValue = _getInternalHooks2.initEntityValue;
|
|
41160
41160
|
|
|
41161
|
-
initEntityValue(
|
|
41161
|
+
initEntityValue(assertThisInitialized_assertThisInitialized(_this));
|
|
41162
41162
|
}
|
|
41163
41163
|
|
|
41164
41164
|
return _this;
|
|
41165
41165
|
}
|
|
41166
41166
|
|
|
41167
|
-
|
|
41167
|
+
createClass_createClass(Field, [{
|
|
41168
41168
|
key: "componentDidMount",
|
|
41169
41169
|
value: function componentDidMount() {
|
|
41170
41170
|
var _this$props7 = this.props,
|
|
@@ -41238,7 +41238,7 @@ Field.defaultProps = {
|
|
|
41238
41238
|
|
|
41239
41239
|
function WrapperField(_ref5) {
|
|
41240
41240
|
var name = _ref5.name,
|
|
41241
|
-
restProps =
|
|
41241
|
+
restProps = objectWithoutProperties_objectWithoutProperties(_ref5, Field_excluded);
|
|
41242
41242
|
|
|
41243
41243
|
var fieldContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(FieldContext);
|
|
41244
41244
|
var namePath = name !== undefined ? getNamePath(name) : undefined;
|
|
@@ -41252,7 +41252,7 @@ function WrapperField(_ref5) {
|
|
|
41252
41252
|
|
|
41253
41253
|
if (false) {}
|
|
41254
41254
|
|
|
41255
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Field,
|
|
41255
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Field, esm_extends_extends({
|
|
41256
41256
|
key: key,
|
|
41257
41257
|
name: namePath
|
|
41258
41258
|
}, restProps, {
|
|
@@ -41289,7 +41289,7 @@ var List = function List(_ref) {
|
|
|
41289
41289
|
}
|
|
41290
41290
|
|
|
41291
41291
|
var parentPrefixName = getNamePath(context.prefixName) || [];
|
|
41292
|
-
var prefixName = [].concat(
|
|
41292
|
+
var prefixName = [].concat(toConsumableArray_toConsumableArray(parentPrefixName), toConsumableArray_toConsumableArray(getNamePath(name)));
|
|
41293
41293
|
|
|
41294
41294
|
var shouldUpdate = function shouldUpdate(prevValue, nextValue, _ref2) {
|
|
41295
41295
|
var source = _ref2.source;
|
|
@@ -41302,7 +41302,7 @@ var List = function List(_ref) {
|
|
|
41302
41302
|
};
|
|
41303
41303
|
|
|
41304
41304
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(FieldContext.Provider, {
|
|
41305
|
-
value:
|
|
41305
|
+
value: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, context), {}, {
|
|
41306
41306
|
prefixName: prefixName
|
|
41307
41307
|
})
|
|
41308
41308
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Field, {
|
|
@@ -41333,13 +41333,13 @@ var List = function List(_ref) {
|
|
|
41333
41333
|
var newValue = getNewValue();
|
|
41334
41334
|
|
|
41335
41335
|
if (index >= 0 && index <= newValue.length) {
|
|
41336
|
-
keyManager.keys = [].concat(
|
|
41337
|
-
onChange([].concat(
|
|
41336
|
+
keyManager.keys = [].concat(toConsumableArray_toConsumableArray(keyManager.keys.slice(0, index)), [keyManager.id], toConsumableArray_toConsumableArray(keyManager.keys.slice(index)));
|
|
41337
|
+
onChange([].concat(toConsumableArray_toConsumableArray(newValue.slice(0, index)), [defaultValue], toConsumableArray_toConsumableArray(newValue.slice(index))));
|
|
41338
41338
|
} else {
|
|
41339
41339
|
if (false) {}
|
|
41340
41340
|
|
|
41341
|
-
keyManager.keys = [].concat(
|
|
41342
|
-
onChange([].concat(
|
|
41341
|
+
keyManager.keys = [].concat(toConsumableArray_toConsumableArray(keyManager.keys), [keyManager.id]);
|
|
41342
|
+
onChange([].concat(toConsumableArray_toConsumableArray(newValue), [defaultValue]));
|
|
41343
41343
|
}
|
|
41344
41344
|
|
|
41345
41345
|
keyManager.id += 1;
|
|
@@ -41403,52 +41403,6 @@ var List = function List(_ref) {
|
|
|
41403
41403
|
};
|
|
41404
41404
|
|
|
41405
41405
|
/* harmony default export */ var es_List = (List);
|
|
41406
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
41407
|
-
function esm_arrayWithHoles_arrayWithHoles(arr) {
|
|
41408
|
-
if (Array.isArray(arr)) return arr;
|
|
41409
|
-
}
|
|
41410
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
41411
|
-
function esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) {
|
|
41412
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
41413
|
-
|
|
41414
|
-
if (_i == null) return;
|
|
41415
|
-
var _arr = [];
|
|
41416
|
-
var _n = true;
|
|
41417
|
-
var _d = false;
|
|
41418
|
-
|
|
41419
|
-
var _s, _e;
|
|
41420
|
-
|
|
41421
|
-
try {
|
|
41422
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
41423
|
-
_arr.push(_s.value);
|
|
41424
|
-
|
|
41425
|
-
if (i && _arr.length === i) break;
|
|
41426
|
-
}
|
|
41427
|
-
} catch (err) {
|
|
41428
|
-
_d = true;
|
|
41429
|
-
_e = err;
|
|
41430
|
-
} finally {
|
|
41431
|
-
try {
|
|
41432
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
41433
|
-
} finally {
|
|
41434
|
-
if (_d) throw _e;
|
|
41435
|
-
}
|
|
41436
|
-
}
|
|
41437
|
-
|
|
41438
|
-
return _arr;
|
|
41439
|
-
}
|
|
41440
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
41441
|
-
function esm_nonIterableRest_nonIterableRest() {
|
|
41442
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
41443
|
-
}
|
|
41444
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
41445
|
-
|
|
41446
|
-
|
|
41447
|
-
|
|
41448
|
-
|
|
41449
|
-
function esm_slicedToArray_slicedToArray(arr, i) {
|
|
41450
|
-
return esm_arrayWithHoles_arrayWithHoles(arr) || esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || esm_nonIterableRest_nonIterableRest();
|
|
41451
|
-
}
|
|
41452
41406
|
;// CONCATENATED MODULE: ./node_modules/rc-field-form/es/utils/asyncUtil.js
|
|
41453
41407
|
function allPromiseFinish(promiseList) {
|
|
41454
41408
|
var hasError = false;
|
|
@@ -41595,7 +41549,7 @@ var useForm_excluded = ["name", "errors"];
|
|
|
41595
41549
|
var FormStore = function FormStore(forceRootUpdate) {
|
|
41596
41550
|
var _this = this;
|
|
41597
41551
|
|
|
41598
|
-
|
|
41552
|
+
classCallCheck_classCallCheck(this, FormStore);
|
|
41599
41553
|
|
|
41600
41554
|
this.formHooked = false;
|
|
41601
41555
|
this.forceRootUpdate = void 0;
|
|
@@ -41855,7 +41809,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
41855
41809
|
return fieldNamePath[i] === nameUnit;
|
|
41856
41810
|
})) {
|
|
41857
41811
|
map.update(shortNamePath, function (list) {
|
|
41858
|
-
return [].concat(
|
|
41812
|
+
return [].concat(toConsumableArray_toConsumableArray(list), [field]);
|
|
41859
41813
|
});
|
|
41860
41814
|
}
|
|
41861
41815
|
});
|
|
@@ -41946,7 +41900,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
41946
41900
|
|
|
41947
41901
|
|
|
41948
41902
|
if (!info.skipExist || originValue === undefined) {
|
|
41949
|
-
_this.store = setValue(_this.store, namePath,
|
|
41903
|
+
_this.store = setValue(_this.store, namePath, toConsumableArray_toConsumableArray(records)[0].value);
|
|
41950
41904
|
}
|
|
41951
41905
|
}
|
|
41952
41906
|
}
|
|
@@ -41966,7 +41920,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
41966
41920
|
if (records) {
|
|
41967
41921
|
var _requiredFieldEntitie;
|
|
41968
41922
|
|
|
41969
|
-
(_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie,
|
|
41923
|
+
(_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie, toConsumableArray_toConsumableArray(toConsumableArray_toConsumableArray(records).map(function (r) {
|
|
41970
41924
|
return r.entity;
|
|
41971
41925
|
})));
|
|
41972
41926
|
}
|
|
@@ -42019,7 +41973,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
42019
41973
|
fields.forEach(function (fieldData) {
|
|
42020
41974
|
var name = fieldData.name,
|
|
42021
41975
|
errors = fieldData.errors,
|
|
42022
|
-
data =
|
|
41976
|
+
data = objectWithoutProperties_objectWithoutProperties(fieldData, useForm_excluded);
|
|
42023
41977
|
|
|
42024
41978
|
var namePath = getNamePath(name); // Value
|
|
42025
41979
|
|
|
@@ -42041,7 +41995,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
42041
41995
|
var namePath = field.getNamePath();
|
|
42042
41996
|
var meta = field.getMeta();
|
|
42043
41997
|
|
|
42044
|
-
var fieldData =
|
|
41998
|
+
var fieldData = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, meta), {}, {
|
|
42045
41999
|
name: namePath,
|
|
42046
42000
|
value: _this.getFieldValue(namePath)
|
|
42047
42001
|
});
|
|
@@ -42140,7 +42094,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
42140
42094
|
|
|
42141
42095
|
this.notifyObservers = function (prevStore, namePathList, info) {
|
|
42142
42096
|
if (_this.subscribable) {
|
|
42143
|
-
var mergedInfo =
|
|
42097
|
+
var mergedInfo = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, info), {}, {
|
|
42144
42098
|
store: _this.getFieldsValue(true)
|
|
42145
42099
|
});
|
|
42146
42100
|
|
|
@@ -42173,7 +42127,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
42173
42127
|
|
|
42174
42128
|
_this.notifyObservers(prevStore, childrenFields, {
|
|
42175
42129
|
type: 'dependenciesUpdate',
|
|
42176
|
-
relatedFields: [namePath].concat(
|
|
42130
|
+
relatedFields: [namePath].concat(toConsumableArray_toConsumableArray(childrenFields))
|
|
42177
42131
|
}); // trigger callback function
|
|
42178
42132
|
|
|
42179
42133
|
|
|
@@ -42184,7 +42138,7 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
42184
42138
|
onValuesChange(changedValues, _this.getFieldsValue());
|
|
42185
42139
|
}
|
|
42186
42140
|
|
|
42187
|
-
_this.triggerOnFieldsChange([namePath].concat(
|
|
42141
|
+
_this.triggerOnFieldsChange([namePath].concat(toConsumableArray_toConsumableArray(childrenFields)));
|
|
42188
42142
|
};
|
|
42189
42143
|
|
|
42190
42144
|
this.setFieldsValue = function (store) {
|
|
@@ -42312,8 +42266,8 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
42312
42266
|
var fieldNamePath = field.getNamePath(); // Add field validate rule in to promise list
|
|
42313
42267
|
|
|
42314
42268
|
if (!provideNameList || containsNamePath(namePathList, fieldNamePath)) {
|
|
42315
|
-
var promise = field.validateRules(
|
|
42316
|
-
validateMessages:
|
|
42269
|
+
var promise = field.validateRules(objectSpread2_objectSpread2({
|
|
42270
|
+
validateMessages: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, defaultValidateMessages), _this.validateMessages)
|
|
42317
42271
|
}, options)); // Wrap promise with field
|
|
42318
42272
|
|
|
42319
42273
|
promiseList.push(promise.then(function () {
|
|
@@ -42330,9 +42284,9 @@ var FormStore = function FormStore(forceRootUpdate) {
|
|
|
42330
42284
|
errors = _ref5.errors;
|
|
42331
42285
|
|
|
42332
42286
|
if (warningOnly) {
|
|
42333
|
-
mergedWarnings.push.apply(mergedWarnings,
|
|
42287
|
+
mergedWarnings.push.apply(mergedWarnings, toConsumableArray_toConsumableArray(errors));
|
|
42334
42288
|
} else {
|
|
42335
|
-
mergedErrors.push.apply(mergedErrors,
|
|
42289
|
+
mergedErrors.push.apply(mergedErrors, toConsumableArray_toConsumableArray(errors));
|
|
42336
42290
|
}
|
|
42337
42291
|
});
|
|
42338
42292
|
|
|
@@ -42423,7 +42377,7 @@ function useForm(form) {
|
|
|
42423
42377
|
var formRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef();
|
|
42424
42378
|
|
|
42425
42379
|
var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState({}),
|
|
42426
|
-
_React$useState2 =
|
|
42380
|
+
_React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
|
|
42427
42381
|
forceUpdate = _React$useState2[1];
|
|
42428
42382
|
|
|
42429
42383
|
if (!formRef.current) {
|
|
@@ -42463,8 +42417,8 @@ var FormProvider = function FormProvider(_ref) {
|
|
|
42463
42417
|
var formContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(FormContext);
|
|
42464
42418
|
var formsRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
|
|
42465
42419
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(FormContext.Provider, {
|
|
42466
|
-
value:
|
|
42467
|
-
validateMessages:
|
|
42420
|
+
value: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext), {}, {
|
|
42421
|
+
validateMessages: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext.validateMessages), validateMessages),
|
|
42468
42422
|
// =========================================================
|
|
42469
42423
|
// = Global Form Control =
|
|
42470
42424
|
// =========================================================
|
|
@@ -42490,13 +42444,13 @@ var FormProvider = function FormProvider(_ref) {
|
|
|
42490
42444
|
},
|
|
42491
42445
|
registerForm: function registerForm(name, form) {
|
|
42492
42446
|
if (name) {
|
|
42493
|
-
formsRef.current =
|
|
42447
|
+
formsRef.current = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formsRef.current), {}, defineProperty_defineProperty({}, name, form));
|
|
42494
42448
|
}
|
|
42495
42449
|
|
|
42496
42450
|
formContext.registerForm(name, form);
|
|
42497
42451
|
},
|
|
42498
42452
|
unregisterForm: function unregisterForm(name) {
|
|
42499
|
-
var newForms =
|
|
42453
|
+
var newForms = objectSpread2_objectSpread2({}, formsRef.current);
|
|
42500
42454
|
|
|
42501
42455
|
delete newForms[name];
|
|
42502
42456
|
formsRef.current = newForms;
|
|
@@ -42536,13 +42490,13 @@ var Form = function Form(_ref, ref) {
|
|
|
42536
42490
|
_onFieldsChange = _ref.onFieldsChange,
|
|
42537
42491
|
_onFinish = _ref.onFinish,
|
|
42538
42492
|
onFinishFailed = _ref.onFinishFailed,
|
|
42539
|
-
restProps =
|
|
42493
|
+
restProps = objectWithoutProperties_objectWithoutProperties(_ref, Form_excluded);
|
|
42540
42494
|
|
|
42541
42495
|
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:
|
|
42542
42496
|
// https://reactjs.org/docs/context.html#contextprovider
|
|
42543
42497
|
|
|
42544
42498
|
var _useForm = es_useForm(form),
|
|
42545
|
-
_useForm2 =
|
|
42499
|
+
_useForm2 = slicedToArray_slicedToArray(_useForm, 1),
|
|
42546
42500
|
formInstance = _useForm2[0];
|
|
42547
42501
|
|
|
42548
42502
|
var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK),
|
|
@@ -42564,7 +42518,7 @@ var Form = function Form(_ref, ref) {
|
|
|
42564
42518
|
};
|
|
42565
42519
|
}, [formContext, formInstance, name]); // Pass props to store
|
|
42566
42520
|
|
|
42567
|
-
setValidateMessages(
|
|
42521
|
+
setValidateMessages(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext.validateMessages), validateMessages));
|
|
42568
42522
|
setCallbacks({
|
|
42569
42523
|
onValuesChange: onValuesChange,
|
|
42570
42524
|
onFieldsChange: function onFieldsChange(changedFields) {
|
|
@@ -42617,7 +42571,7 @@ var Form = function Form(_ref, ref) {
|
|
|
42617
42571
|
prevFieldsRef.current = fields;
|
|
42618
42572
|
}, [fields, formInstance]);
|
|
42619
42573
|
var formContextValue = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useMemo(function () {
|
|
42620
|
-
return
|
|
42574
|
+
return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formInstance), {}, {
|
|
42621
42575
|
validateTrigger: validateTrigger
|
|
42622
42576
|
});
|
|
42623
42577
|
}, [formInstance, validateTrigger]);
|
|
@@ -42629,7 +42583,7 @@ var Form = function Form(_ref, ref) {
|
|
|
42629
42583
|
return wrapperNode;
|
|
42630
42584
|
}
|
|
42631
42585
|
|
|
42632
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component,
|
|
42586
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, esm_extends_extends({}, restProps, {
|
|
42633
42587
|
onSubmit: function onSubmit(event) {
|
|
42634
42588
|
event.preventDefault();
|
|
42635
42589
|
event.stopPropagation();
|
|
@@ -42811,14 +42765,14 @@ LocaleProvider.defaultProps = {
|
|
|
42811
42765
|
|
|
42812
42766
|
|
|
42813
42767
|
var Notice = /*#__PURE__*/function (_Component) {
|
|
42814
|
-
|
|
42768
|
+
inherits_inherits(Notice, _Component);
|
|
42815
42769
|
|
|
42816
|
-
var _super =
|
|
42770
|
+
var _super = createSuper_createSuper(Notice);
|
|
42817
42771
|
|
|
42818
42772
|
function Notice() {
|
|
42819
42773
|
var _this;
|
|
42820
42774
|
|
|
42821
|
-
|
|
42775
|
+
classCallCheck_classCallCheck(this, Notice);
|
|
42822
42776
|
|
|
42823
42777
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
42824
42778
|
args[_key] = arguments[_key];
|
|
@@ -42861,7 +42815,7 @@ var Notice = /*#__PURE__*/function (_Component) {
|
|
|
42861
42815
|
return _this;
|
|
42862
42816
|
}
|
|
42863
42817
|
|
|
42864
|
-
|
|
42818
|
+
createClass_createClass(Notice, [{
|
|
42865
42819
|
key: "componentDidMount",
|
|
42866
42820
|
value: function componentDidMount() {
|
|
42867
42821
|
this.startCloseTimer();
|
|
@@ -42907,8 +42861,8 @@ var Notice = /*#__PURE__*/function (_Component) {
|
|
|
42907
42861
|
|
|
42908
42862
|
return acc;
|
|
42909
42863
|
}, {});
|
|
42910
|
-
var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
42911
|
-
className: classnames_default()(componentClass, className,
|
|
42864
|
+
var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
|
|
42865
|
+
className: classnames_default()(componentClass, className, defineProperty_defineProperty({}, "".concat(componentClass, "-closable"), closable)),
|
|
42912
42866
|
style: style,
|
|
42913
42867
|
onMouseEnter: this.clearCloseTimer,
|
|
42914
42868
|
onMouseLeave: this.startCloseTimer,
|
|
@@ -42939,6 +42893,52 @@ Notice.defaultProps = {
|
|
|
42939
42893
|
duration: 1.5
|
|
42940
42894
|
};
|
|
42941
42895
|
|
|
42896
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
42897
|
+
function esm_arrayWithHoles_arrayWithHoles(arr) {
|
|
42898
|
+
if (Array.isArray(arr)) return arr;
|
|
42899
|
+
}
|
|
42900
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
|
42901
|
+
function esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) {
|
|
42902
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
42903
|
+
|
|
42904
|
+
if (_i == null) return;
|
|
42905
|
+
var _arr = [];
|
|
42906
|
+
var _n = true;
|
|
42907
|
+
var _d = false;
|
|
42908
|
+
|
|
42909
|
+
var _s, _e;
|
|
42910
|
+
|
|
42911
|
+
try {
|
|
42912
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
42913
|
+
_arr.push(_s.value);
|
|
42914
|
+
|
|
42915
|
+
if (i && _arr.length === i) break;
|
|
42916
|
+
}
|
|
42917
|
+
} catch (err) {
|
|
42918
|
+
_d = true;
|
|
42919
|
+
_e = err;
|
|
42920
|
+
} finally {
|
|
42921
|
+
try {
|
|
42922
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
42923
|
+
} finally {
|
|
42924
|
+
if (_d) throw _e;
|
|
42925
|
+
}
|
|
42926
|
+
}
|
|
42927
|
+
|
|
42928
|
+
return _arr;
|
|
42929
|
+
}
|
|
42930
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
42931
|
+
function esm_nonIterableRest_nonIterableRest() {
|
|
42932
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
42933
|
+
}
|
|
42934
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
42935
|
+
|
|
42936
|
+
|
|
42937
|
+
|
|
42938
|
+
|
|
42939
|
+
function esm_slicedToArray_slicedToArray(arr, i) {
|
|
42940
|
+
return esm_arrayWithHoles_arrayWithHoles(arr) || esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || esm_nonIterableRest_nonIterableRest();
|
|
42941
|
+
}
|
|
42942
42942
|
;// CONCATENATED MODULE: ./node_modules/rc-notification/es/useNotification.js
|
|
42943
42943
|
|
|
42944
42944
|
|
|
@@ -43010,14 +43010,14 @@ function getUuid() {
|
|
|
43010
43010
|
}
|
|
43011
43011
|
|
|
43012
43012
|
var Notification = /*#__PURE__*/function (_Component) {
|
|
43013
|
-
|
|
43013
|
+
inherits_inherits(Notification, _Component);
|
|
43014
43014
|
|
|
43015
|
-
var _super =
|
|
43015
|
+
var _super = createSuper_createSuper(Notification);
|
|
43016
43016
|
|
|
43017
43017
|
function Notification() {
|
|
43018
43018
|
var _this;
|
|
43019
43019
|
|
|
43020
|
-
|
|
43020
|
+
classCallCheck_classCallCheck(this, Notification);
|
|
43021
43021
|
|
|
43022
43022
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
43023
43023
|
args[_key] = arguments[_key];
|
|
@@ -43032,7 +43032,7 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
43032
43032
|
_this.add = function (originNotice, holderCallback) {
|
|
43033
43033
|
var key = originNotice.key || getUuid();
|
|
43034
43034
|
|
|
43035
|
-
var notice =
|
|
43035
|
+
var notice = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, originNotice), {}, {
|
|
43036
43036
|
key: key
|
|
43037
43037
|
});
|
|
43038
43038
|
|
|
@@ -43099,7 +43099,7 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
43099
43099
|
return _this;
|
|
43100
43100
|
}
|
|
43101
43101
|
|
|
43102
|
-
|
|
43102
|
+
createClass_createClass(Notification, [{
|
|
43103
43103
|
key: "getTransitionName",
|
|
43104
43104
|
value: function getTransitionName() {
|
|
43105
43105
|
var _this$props = this.props,
|
|
@@ -43132,7 +43132,7 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
43132
43132
|
var key = notice.key,
|
|
43133
43133
|
userPassKey = notice.userPassKey;
|
|
43134
43134
|
|
|
43135
|
-
var noticeProps =
|
|
43135
|
+
var noticeProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
|
|
43136
43136
|
prefixCls: prefixCls,
|
|
43137
43137
|
closeIcon: closeIcon
|
|
43138
43138
|
}, notice), notice.props), {}, {
|
|
@@ -43183,7 +43183,7 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
43183
43183
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
43184
43184
|
key: key,
|
|
43185
43185
|
className: classnames_default()(motionClassName, "".concat(prefixCls, "-hook-holder")),
|
|
43186
|
-
style:
|
|
43186
|
+
style: objectSpread2_objectSpread2({}, motionStyle),
|
|
43187
43187
|
ref: function ref(div) {
|
|
43188
43188
|
if (typeof key === 'undefined') {
|
|
43189
43189
|
return;
|
|
@@ -43200,9 +43200,9 @@ var Notification = /*#__PURE__*/function (_Component) {
|
|
|
43200
43200
|
});
|
|
43201
43201
|
}
|
|
43202
43202
|
|
|
43203
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice,
|
|
43203
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, esm_extends_extends({}, noticeProps, {
|
|
43204
43204
|
className: classnames_default()(motionClassName, noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.className),
|
|
43205
|
-
style:
|
|
43205
|
+
style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),
|
|
43206
43206
|
visible: visible
|
|
43207
43207
|
}));
|
|
43208
43208
|
}));
|
|
@@ -43225,7 +43225,7 @@ Notification.defaultProps = {
|
|
|
43225
43225
|
Notification.newInstance = function newNotificationInstance(properties, callback) {
|
|
43226
43226
|
var _ref6 = properties || {},
|
|
43227
43227
|
getContainer = _ref6.getContainer,
|
|
43228
|
-
props =
|
|
43228
|
+
props = objectWithoutProperties_objectWithoutProperties(_ref6, ["getContainer"]);
|
|
43229
43229
|
|
|
43230
43230
|
var div = document.createElement('div');
|
|
43231
43231
|
|
|
@@ -43269,7 +43269,7 @@ Notification.newInstance = function newNotificationInstance(properties, callback
|
|
|
43269
43269
|
|
|
43270
43270
|
if (false) {}
|
|
43271
43271
|
|
|
43272
|
-
external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default().render( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notification,
|
|
43272
|
+
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, {
|
|
43273
43273
|
ref: ref
|
|
43274
43274
|
})), div);
|
|
43275
43275
|
};
|
|
@@ -59850,7 +59850,7 @@ function TabPane(_ref) {
|
|
|
59850
59850
|
children = _ref.children;
|
|
59851
59851
|
|
|
59852
59852
|
var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState(forceRender),
|
|
59853
|
-
_React$useState2 =
|
|
59853
|
+
_React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
|
|
59854
59854
|
visited = _React$useState2[0],
|
|
59855
59855
|
setVisited = _React$useState2[1];
|
|
59856
59856
|
|
|
@@ -59879,7 +59879,7 @@ function TabPane(_ref) {
|
|
|
59879
59879
|
tabIndex: active ? 0 : -1,
|
|
59880
59880
|
"aria-labelledby": id && "".concat(id, "-tab-").concat(tabKey),
|
|
59881
59881
|
"aria-hidden": !active,
|
|
59882
|
-
style:
|
|
59882
|
+
style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedStyle), style),
|
|
59883
59883
|
className: classnames_default()("".concat(prefixCls, "-tabpane"), active && "".concat(prefixCls, "-tabpane-active"), className)
|
|
59884
59884
|
}, (active || visited || forceRender) && children);
|
|
59885
59885
|
}
|
|
@@ -59919,7 +59919,7 @@ function parseTabList(children) {
|
|
|
59919
59919
|
return toArray(children).map(function (node) {
|
|
59920
59920
|
if ( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.isValidElement(node)) {
|
|
59921
59921
|
var key = node.key !== undefined ? String(node.key) : undefined;
|
|
59922
|
-
return
|
|
59922
|
+
return objectSpread2_objectSpread2(objectSpread2_objectSpread2({
|
|
59923
59923
|
key: key
|
|
59924
59924
|
}, node.props), {}, {
|
|
59925
59925
|
node: node
|
|
@@ -59962,7 +59962,7 @@ function Tabs(_ref, ref) {
|
|
|
59962
59962
|
onChange = _ref.onChange,
|
|
59963
59963
|
onTabClick = _ref.onTabClick,
|
|
59964
59964
|
onTabScroll = _ref.onTabScroll,
|
|
59965
|
-
restProps =
|
|
59965
|
+
restProps = objectWithoutProperties_objectWithoutProperties(_ref, Tabs_excluded);
|
|
59966
59966
|
|
|
59967
59967
|
var tabs = parseTabList(children);
|
|
59968
59968
|
var rtl = direction === 'rtl';
|
|
@@ -59979,15 +59979,15 @@ function Tabs(_ref, ref) {
|
|
|
59979
59979
|
tabPane: true
|
|
59980
59980
|
};
|
|
59981
59981
|
} else {
|
|
59982
|
-
mergedAnimated =
|
|
59982
|
+
mergedAnimated = objectSpread2_objectSpread2({
|
|
59983
59983
|
inkBar: true,
|
|
59984
59984
|
tabPane: false
|
|
59985
|
-
},
|
|
59985
|
+
}, esm_typeof_typeof(animated) === 'object' ? animated : {});
|
|
59986
59986
|
} // ======================== Mobile ========================
|
|
59987
59987
|
|
|
59988
59988
|
|
|
59989
59989
|
var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
|
|
59990
|
-
_useState2 =
|
|
59990
|
+
_useState2 = slicedToArray_slicedToArray(_useState, 2),
|
|
59991
59991
|
mobile = _useState2[0],
|
|
59992
59992
|
setMobile = _useState2[1];
|
|
59993
59993
|
|
|
@@ -60004,7 +60004,7 @@ function Tabs(_ref, ref) {
|
|
|
60004
60004
|
value: activeKey,
|
|
60005
60005
|
defaultValue: defaultActiveKey
|
|
60006
60006
|
}),
|
|
60007
|
-
_useMergedState2 =
|
|
60007
|
+
_useMergedState2 = slicedToArray_slicedToArray(_useMergedState, 2),
|
|
60008
60008
|
mergedActiveKey = _useMergedState2[0],
|
|
60009
60009
|
setMergedActiveKey = _useMergedState2[1];
|
|
60010
60010
|
|
|
@@ -60013,7 +60013,7 @@ function Tabs(_ref, ref) {
|
|
|
60013
60013
|
return tab.key === mergedActiveKey;
|
|
60014
60014
|
});
|
|
60015
60015
|
}),
|
|
60016
|
-
_useState4 =
|
|
60016
|
+
_useState4 = slicedToArray_slicedToArray(_useState3, 2),
|
|
60017
60017
|
activeIndex = _useState4[0],
|
|
60018
60018
|
setActiveIndex = _useState4[1]; // Reset active key if not exist anymore
|
|
60019
60019
|
|
|
@@ -60038,7 +60038,7 @@ function Tabs(_ref, ref) {
|
|
|
60038
60038
|
var _useMergedState3 = useControlledState(null, {
|
|
60039
60039
|
value: id
|
|
60040
60040
|
}),
|
|
60041
|
-
_useMergedState4 =
|
|
60041
|
+
_useMergedState4 = slicedToArray_slicedToArray(_useMergedState3, 2),
|
|
60042
60042
|
mergedId = _useMergedState4[0],
|
|
60043
60043
|
setMergedId = _useMergedState4[1];
|
|
60044
60044
|
|
|
@@ -60077,7 +60077,7 @@ function Tabs(_ref, ref) {
|
|
|
60077
60077
|
};
|
|
60078
60078
|
var tabNavBar;
|
|
60079
60079
|
|
|
60080
|
-
var tabNavBarProps =
|
|
60080
|
+
var tabNavBarProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, sharedProps), {}, {
|
|
60081
60081
|
editable: editable,
|
|
60082
60082
|
locale: locale,
|
|
60083
60083
|
moreIcon: moreIcon,
|
|
@@ -60101,11 +60101,11 @@ function Tabs(_ref, ref) {
|
|
|
60101
60101
|
tabs: tabs,
|
|
60102
60102
|
prefixCls: prefixCls
|
|
60103
60103
|
}
|
|
60104
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
60104
|
+
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
|
|
60105
60105
|
ref: ref,
|
|
60106
60106
|
id: id,
|
|
60107
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(mergedTabPosition), (_classNames = {},
|
|
60108
|
-
}, restProps), tabNavBar, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabPanelList,
|
|
60107
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(mergedTabPosition), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-mobile"), mobile), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-editable"), editable), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), rtl), _classNames), className)
|
|
60108
|
+
}, restProps), tabNavBar, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabPanelList, esm_extends_extends({
|
|
60109
60109
|
destroyInactiveTabPane: destroyInactiveTabPane
|
|
60110
60110
|
}, sharedProps, {
|
|
60111
60111
|
animated: mergedAnimated
|
|
@@ -60530,14 +60530,14 @@ function calculatePage(p, state, props) {
|
|
|
60530
60530
|
}
|
|
60531
60531
|
|
|
60532
60532
|
var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
60533
|
-
|
|
60533
|
+
inherits_inherits(Pagination, _React$Component);
|
|
60534
60534
|
|
|
60535
|
-
var _super =
|
|
60535
|
+
var _super = createSuper_createSuper(Pagination);
|
|
60536
60536
|
|
|
60537
60537
|
function Pagination(props) {
|
|
60538
60538
|
var _this;
|
|
60539
60539
|
|
|
60540
|
-
|
|
60540
|
+
classCallCheck_classCallCheck(this, Pagination);
|
|
60541
60541
|
|
|
60542
60542
|
_this = _super.call(this, props);
|
|
60543
60543
|
|
|
@@ -60558,7 +60558,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60558
60558
|
});
|
|
60559
60559
|
|
|
60560
60560
|
if (typeof icon === 'function') {
|
|
60561
|
-
iconNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(icon,
|
|
60561
|
+
iconNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(icon, objectSpread2_objectSpread2({}, _this.props));
|
|
60562
60562
|
}
|
|
60563
60563
|
|
|
60564
60564
|
return iconNode;
|
|
@@ -60780,7 +60780,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60780
60780
|
return _this;
|
|
60781
60781
|
}
|
|
60782
60782
|
|
|
60783
|
-
|
|
60783
|
+
createClass_createClass(Pagination, [{
|
|
60784
60784
|
key: "componentDidUpdate",
|
|
60785
60785
|
value: function componentDidUpdate(prevProps, prevState) {
|
|
60786
60786
|
// When current page change, fix focused style of prev item
|
|
@@ -60928,8 +60928,8 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60928
60928
|
}, gotoButton);
|
|
60929
60929
|
}
|
|
60930
60930
|
|
|
60931
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul",
|
|
60932
|
-
className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"),
|
|
60931
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
|
|
60932
|
+
className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled), className),
|
|
60933
60933
|
style: style,
|
|
60934
60934
|
ref: this.savePaginationNode
|
|
60935
60935
|
}, dataOrAriaAttributeProps), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
@@ -60937,7 +60937,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60937
60937
|
onClick: this.prev,
|
|
60938
60938
|
tabIndex: this.hasPrev() ? 0 : null,
|
|
60939
60939
|
onKeyPress: this.runIfEnterPrev,
|
|
60940
|
-
className: classnames_default()("".concat(prefixCls, "-prev"),
|
|
60940
|
+
className: classnames_default()("".concat(prefixCls, "-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasPrev())),
|
|
60941
60941
|
"aria-disabled": !this.hasPrev()
|
|
60942
60942
|
}, this.renderPrev(prevPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
60943
60943
|
title: showTitle ? "".concat(current, "/").concat(allPages) : null,
|
|
@@ -60958,7 +60958,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60958
60958
|
onClick: this.next,
|
|
60959
60959
|
tabIndex: this.hasPrev() ? 0 : null,
|
|
60960
60960
|
onKeyPress: this.runIfEnterNext,
|
|
60961
|
-
className: classnames_default()("".concat(prefixCls, "-next"),
|
|
60961
|
+
className: classnames_default()("".concat(prefixCls, "-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasNext())),
|
|
60962
60962
|
"aria-disabled": !this.hasNext()
|
|
60963
60963
|
}, this.renderNext(nextPage)), gotoButton);
|
|
60964
60964
|
}
|
|
@@ -60974,7 +60974,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60974
60974
|
};
|
|
60975
60975
|
|
|
60976
60976
|
if (!allPages) {
|
|
60977
|
-
pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager,
|
|
60977
|
+
pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager, esm_extends_extends({}, pagerProps, {
|
|
60978
60978
|
key: "noPager",
|
|
60979
60979
|
page: 1,
|
|
60980
60980
|
className: "".concat(prefixCls, "-item-disabled")
|
|
@@ -60983,7 +60983,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
60983
60983
|
|
|
60984
60984
|
for (var i = 1; i <= allPages; i += 1) {
|
|
60985
60985
|
var active = current === i;
|
|
60986
|
-
pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager,
|
|
60986
|
+
pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager, esm_extends_extends({}, pagerProps, {
|
|
60987
60987
|
key: i,
|
|
60988
60988
|
page: i,
|
|
60989
60989
|
active: active
|
|
@@ -61000,7 +61000,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
61000
61000
|
onClick: this.jumpPrev,
|
|
61001
61001
|
tabIndex: "0",
|
|
61002
61002
|
onKeyPress: this.runIfEnterJumpPrev,
|
|
61003
|
-
className: classnames_default()("".concat(prefixCls, "-jump-prev"),
|
|
61003
|
+
className: classnames_default()("".concat(prefixCls, "-jump-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-jump-prev-custom-icon"), !!jumpPrevIcon))
|
|
61004
61004
|
}, itemRender(this.getJumpPrevPage(), 'jump-prev', this.getItemIcon(jumpPrevIcon, 'prev page')));
|
|
61005
61005
|
jumpNext = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
61006
61006
|
title: showTitle ? nextItemTitle : null,
|
|
@@ -61008,7 +61008,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
61008
61008
|
tabIndex: "0",
|
|
61009
61009
|
onClick: this.jumpNext,
|
|
61010
61010
|
onKeyPress: this.runIfEnterJumpNext,
|
|
61011
|
-
className: classnames_default()("".concat(prefixCls, "-jump-next"),
|
|
61011
|
+
className: classnames_default()("".concat(prefixCls, "-jump-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-jump-next-custom-icon"), !!jumpNextIcon))
|
|
61012
61012
|
}, itemRender(this.getJumpNextPage(), 'jump-next', this.getItemIcon(jumpNextIcon, 'next page')));
|
|
61013
61013
|
}
|
|
61014
61014
|
|
|
@@ -61095,8 +61095,8 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
61095
61095
|
|
|
61096
61096
|
var prevDisabled = !this.hasPrev() || !allPages;
|
|
61097
61097
|
var nextDisabled = !this.hasNext() || !allPages;
|
|
61098
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul",
|
|
61099
|
-
className: classnames_default()(prefixCls, className,
|
|
61098
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
|
|
61099
|
+
className: classnames_default()(prefixCls, className, defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled)),
|
|
61100
61100
|
style: style,
|
|
61101
61101
|
unselectable: "unselectable",
|
|
61102
61102
|
ref: this.savePaginationNode
|
|
@@ -61105,14 +61105,14 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
|
|
|
61105
61105
|
onClick: this.prev,
|
|
61106
61106
|
tabIndex: prevDisabled ? null : 0,
|
|
61107
61107
|
onKeyPress: this.runIfEnterPrev,
|
|
61108
|
-
className: classnames_default()("".concat(prefixCls, "-prev"),
|
|
61108
|
+
className: classnames_default()("".concat(prefixCls, "-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), prevDisabled)),
|
|
61109
61109
|
"aria-disabled": prevDisabled
|
|
61110
61110
|
}, this.renderPrev(prevPage)), pagerList, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
|
|
61111
61111
|
title: showTitle ? locale.next_page : null,
|
|
61112
61112
|
onClick: this.next,
|
|
61113
61113
|
tabIndex: nextDisabled ? null : 0,
|
|
61114
61114
|
onKeyPress: this.runIfEnterNext,
|
|
61115
|
-
className: classnames_default()("".concat(prefixCls, "-next"),
|
|
61115
|
+
className: classnames_default()("".concat(prefixCls, "-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), nextDisabled)),
|
|
61116
61116
|
"aria-disabled": nextDisabled
|
|
61117
61117
|
}, this.renderNext(nextPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Options, {
|
|
61118
61118
|
disabled: disabled,
|
|
@@ -61251,7 +61251,7 @@ var responsiveObserve = {
|
|
|
61251
61251
|
var listener = function listener(_ref) {
|
|
61252
61252
|
var matches = _ref.matches;
|
|
61253
61253
|
|
|
61254
|
-
_this2.dispatch(
|
|
61254
|
+
_this2.dispatch(esm_extends_extends(esm_extends_extends({}, screens), defineProperty_defineProperty({}, screen, matches)));
|
|
61255
61255
|
};
|
|
61256
61256
|
|
|
61257
61257
|
var mql = window.matchMedia(matchMediaQuery);
|
|
@@ -62755,8 +62755,8 @@ function liveTime_index(_ref) {
|
|
|
62755
62755
|
|
|
62756
62756
|
|
|
62757
62757
|
var handleCountDownFinish = /*#__PURE__*/function () {
|
|
62758
|
-
var _ref2 = liveTime_asyncToGenerator( /*#__PURE__*/
|
|
62759
|
-
return
|
|
62758
|
+
var _ref2 = liveTime_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
|
|
62759
|
+
return runtime_regenerator_default().wrap(function _callee$(_context) {
|
|
62760
62760
|
while (1) {
|
|
62761
62761
|
switch (_context.prev = _context.next) {
|
|
62762
62762
|
case 0:
|