parent
b1ffe5f069
commit
ed55c86f75
@ -1,862 +0,0 @@
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[49149,13488],{
|
||||
|
||||
/***/ 78231:
|
||||
/*!********************************************************************************************************!*\
|
||||
!*** ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/ReloadOutlined.js + 1 modules ***!
|
||||
\********************************************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, {
|
||||
Z: function() { return /* binding */ icons_ReloadOutlined; }
|
||||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/extends.js
|
||||
var esm_extends = __webpack_require__(24931);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
||||
var _react_17_0_2_react = __webpack_require__(59301);
|
||||
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/ReloadOutlined.js
|
||||
// This icon file is generated automatically.
|
||||
var ReloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" } }] }, "name": "reload", "theme": "outlined" };
|
||||
/* harmony default export */ var asn_ReloadOutlined = (ReloadOutlined);
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules
|
||||
var AntdIcon = __webpack_require__(99194);
|
||||
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/ReloadOutlined.js
|
||||
|
||||
// GENERATE BY ./scripts/generate.ts
|
||||
// DON NOT EDIT IT MANUALLY
|
||||
|
||||
|
||||
|
||||
|
||||
var ReloadOutlined_ReloadOutlined = function ReloadOutlined(props, ref) {
|
||||
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
|
||||
ref: ref,
|
||||
icon: asn_ReloadOutlined
|
||||
}));
|
||||
};
|
||||
|
||||
/** */
|
||||
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(ReloadOutlined_ReloadOutlined);
|
||||
if (false) {}
|
||||
/* harmony default export */ var icons_ReloadOutlined = (RefIcon);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 27666:
|
||||
/*!****************************************************************************!*\
|
||||
!*** ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js ***!
|
||||
\****************************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 12101);
|
||||
/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 91659);
|
||||
|
||||
|
||||
function throttleByAnimationFrame(fn) {
|
||||
let requestId;
|
||||
const later = args => () => {
|
||||
requestId = null;
|
||||
fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args));
|
||||
};
|
||||
const throttled = function () {
|
||||
if (requestId == null) {
|
||||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
||||
args[_key] = arguments[_key];
|
||||
}
|
||||
requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args));
|
||||
}
|
||||
};
|
||||
throttled.cancel = () => {
|
||||
rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z.cancel(requestId);
|
||||
requestId = null;
|
||||
};
|
||||
return throttled;
|
||||
}
|
||||
/* harmony default export */ __webpack_exports__.Z = (throttleByAnimationFrame);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 81228:
|
||||
/*!*********************************************************************!*\
|
||||
!*** ./node_modules/_antd@5.9.0@antd/es/affix/index.js + 2 modules ***!
|
||||
\*********************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// EXPORTS
|
||||
__webpack_require__.d(__webpack_exports__, {
|
||||
Z: function() { return /* binding */ affix; }
|
||||
});
|
||||
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/classCallCheck.js
|
||||
var classCallCheck = __webpack_require__(70057);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/createClass.js
|
||||
var createClass = __webpack_require__(3643);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/inherits.js
|
||||
var inherits = __webpack_require__(61471);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.4@@babel/runtime/helpers/esm/createSuper.js + 1 modules
|
||||
var createSuper = __webpack_require__(14385);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
||||
var _react_17_0_2_react = __webpack_require__(59301);
|
||||
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
|
||||
var _classnames_2_5_1_classnames = __webpack_require__(92310);
|
||||
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
|
||||
// EXTERNAL MODULE: ./node_modules/_rc-resize-observer@1.4.0@rc-resize-observer/es/index.js + 4 modules
|
||||
var es = __webpack_require__(28647);
|
||||
// EXTERNAL MODULE: ./node_modules/_rc-util@5.39.1@rc-util/es/omit.js
|
||||
var omit = __webpack_require__(62805);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/throttleByAnimationFrame.js
|
||||
var throttleByAnimationFrame = __webpack_require__(27666);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
|
||||
var context = __webpack_require__(36355);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/genComponentStyleHook.js
|
||||
var genComponentStyleHook = __webpack_require__(83116);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/util/statistic.js
|
||||
var statistic = __webpack_require__(37613);
|
||||
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/style/index.js
|
||||
|
||||
// ============================== Shared ==============================
|
||||
const genSharedAffixStyle = token => {
|
||||
const {
|
||||
componentCls
|
||||
} = token;
|
||||
return {
|
||||
[componentCls]: {
|
||||
position: 'fixed',
|
||||
zIndex: token.zIndexPopup
|
||||
}
|
||||
};
|
||||
};
|
||||
// ============================== Export ==============================
|
||||
/* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Affix', token => {
|
||||
const affixToken = (0,statistic/* merge */.TS)(token, {
|
||||
zIndexPopup: token.zIndexBase + 10
|
||||
});
|
||||
return [genSharedAffixStyle(affixToken)];
|
||||
}));
|
||||
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/utils.js
|
||||
function getTargetRect(target) {
|
||||
return target !== window ? target.getBoundingClientRect() : {
|
||||
top: 0,
|
||||
bottom: window.innerHeight
|
||||
};
|
||||
}
|
||||
function getFixedTop(placeholderRect, targetRect, offsetTop) {
|
||||
if (offsetTop !== undefined && targetRect.top > placeholderRect.top - offsetTop) {
|
||||
return offsetTop + targetRect.top;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
function getFixedBottom(placeholderRect, targetRect, offsetBottom) {
|
||||
if (offsetBottom !== undefined && targetRect.bottom < placeholderRect.bottom + offsetBottom) {
|
||||
const targetBottomOffset = window.innerHeight - targetRect.bottom;
|
||||
return offsetBottom + targetBottomOffset;
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/affix/index.js
|
||||
"use client";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load'];
|
||||
function getDefaultTarget() {
|
||||
return typeof window !== 'undefined' ? window : null;
|
||||
}
|
||||
var AffixStatus;
|
||||
(function (AffixStatus) {
|
||||
AffixStatus[AffixStatus["None"] = 0] = "None";
|
||||
AffixStatus[AffixStatus["Prepare"] = 1] = "Prepare";
|
||||
})(AffixStatus || (AffixStatus = {}));
|
||||
let InternalAffix = /*#__PURE__*/function (_React$Component) {
|
||||
(0,inherits/* default */.Z)(InternalAffix, _React$Component);
|
||||
var _super = (0,createSuper/* default */.Z)(InternalAffix);
|
||||
function InternalAffix() {
|
||||
var _this;
|
||||
(0,classCallCheck/* default */.Z)(this, InternalAffix);
|
||||
_this = _super.apply(this, arguments);
|
||||
_this.state = {
|
||||
status: AffixStatus.None,
|
||||
lastAffix: false,
|
||||
prevTarget: null
|
||||
};
|
||||
_this.placeholderNodeRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)();
|
||||
_this.fixedNodeRef = /*#__PURE__*/(0,_react_17_0_2_react.createRef)();
|
||||
_this.addListeners = () => {
|
||||
const targetFunc = _this.getTargetFunc();
|
||||
const target = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc();
|
||||
const {
|
||||
prevTarget
|
||||
} = _this.state;
|
||||
if (prevTarget !== target) {
|
||||
TRIGGER_EVENTS.forEach(eventName => {
|
||||
prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition);
|
||||
target === null || target === void 0 ? void 0 : target.addEventListener(eventName, _this.lazyUpdatePosition);
|
||||
});
|
||||
_this.updatePosition();
|
||||
_this.setState({
|
||||
prevTarget: target
|
||||
});
|
||||
}
|
||||
};
|
||||
_this.removeListeners = () => {
|
||||
if (_this.timer) {
|
||||
clearTimeout(_this.timer);
|
||||
_this.timer = null;
|
||||
}
|
||||
const {
|
||||
prevTarget
|
||||
} = _this.state;
|
||||
const targetFunc = _this.getTargetFunc();
|
||||
const newTarget = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc();
|
||||
TRIGGER_EVENTS.forEach(eventName => {
|
||||
newTarget === null || newTarget === void 0 ? void 0 : newTarget.removeEventListener(eventName, _this.lazyUpdatePosition);
|
||||
prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition);
|
||||
});
|
||||
_this.updatePosition.cancel();
|
||||
// https://github.com/ant-design/ant-design/issues/22683
|
||||
_this.lazyUpdatePosition.cancel();
|
||||
};
|
||||
_this.getOffsetTop = () => {
|
||||
const {
|
||||
offsetBottom,
|
||||
offsetTop
|
||||
} = _this.props;
|
||||
return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop;
|
||||
};
|
||||
_this.getOffsetBottom = () => _this.props.offsetBottom;
|
||||
// =================== Measure ===================
|
||||
_this.measure = () => {
|
||||
const {
|
||||
status,
|
||||
lastAffix
|
||||
} = _this.state;
|
||||
const {
|
||||
onChange
|
||||
} = _this.props;
|
||||
const targetFunc = _this.getTargetFunc();
|
||||
if (status !== AffixStatus.Prepare || !_this.fixedNodeRef.current || !_this.placeholderNodeRef.current || !targetFunc) {
|
||||
return;
|
||||
}
|
||||
const offsetTop = _this.getOffsetTop();
|
||||
const offsetBottom = _this.getOffsetBottom();
|
||||
const targetNode = targetFunc();
|
||||
if (targetNode) {
|
||||
const newState = {
|
||||
status: AffixStatus.None
|
||||
};
|
||||
const placeholderRect = getTargetRect(_this.placeholderNodeRef.current);
|
||||
if (placeholderRect.top === 0 && placeholderRect.left === 0 && placeholderRect.width === 0 && placeholderRect.height === 0) {
|
||||
return;
|
||||
}
|
||||
const targetRect = getTargetRect(targetNode);
|
||||
const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop);
|
||||
const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom);
|
||||
if (fixedTop !== undefined) {
|
||||
newState.affixStyle = {
|
||||
position: 'fixed',
|
||||
top: fixedTop,
|
||||
width: placeholderRect.width,
|
||||
height: placeholderRect.height
|
||||
};
|
||||
newState.placeholderStyle = {
|
||||
width: placeholderRect.width,
|
||||
height: placeholderRect.height
|
||||
};
|
||||
} else if (fixedBottom !== undefined) {
|
||||
newState.affixStyle = {
|
||||
position: 'fixed',
|
||||
bottom: fixedBottom,
|
||||
width: placeholderRect.width,
|
||||
height: placeholderRect.height
|
||||
};
|
||||
newState.placeholderStyle = {
|
||||
width: placeholderRect.width,
|
||||
height: placeholderRect.height
|
||||
};
|
||||
}
|
||||
newState.lastAffix = !!newState.affixStyle;
|
||||
if (onChange && lastAffix !== newState.lastAffix) {
|
||||
onChange(newState.lastAffix);
|
||||
}
|
||||
_this.setState(newState);
|
||||
}
|
||||
};
|
||||
_this.prepareMeasure = () => {
|
||||
// event param is used before. Keep compatible ts define here.
|
||||
_this.setState({
|
||||
status: AffixStatus.Prepare,
|
||||
affixStyle: undefined,
|
||||
placeholderStyle: undefined
|
||||
});
|
||||
// Test if `updatePosition` called
|
||||
if (false) {}
|
||||
};
|
||||
_this.updatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => {
|
||||
_this.prepareMeasure();
|
||||
});
|
||||
_this.lazyUpdatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => {
|
||||
const targetFunc = _this.getTargetFunc();
|
||||
const {
|
||||
affixStyle
|
||||
} = _this.state;
|
||||
// Check position change before measure to make Safari smooth
|
||||
if (targetFunc && affixStyle) {
|
||||
const offsetTop = _this.getOffsetTop();
|
||||
const offsetBottom = _this.getOffsetBottom();
|
||||
const targetNode = targetFunc();
|
||||
if (targetNode && _this.placeholderNodeRef.current) {
|
||||
const targetRect = getTargetRect(targetNode);
|
||||
const placeholderRect = getTargetRect(_this.placeholderNodeRef.current);
|
||||
const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop);
|
||||
const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom);
|
||||
if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Directly call prepare measure since it's already throttled.
|
||||
_this.prepareMeasure();
|
||||
});
|
||||
return _this;
|
||||
}
|
||||
(0,createClass/* default */.Z)(InternalAffix, [{
|
||||
key: "getTargetFunc",
|
||||
value: function getTargetFunc() {
|
||||
const {
|
||||
getTargetContainer
|
||||
} = this.context;
|
||||
const {
|
||||
target
|
||||
} = this.props;
|
||||
if (target !== undefined) {
|
||||
return target;
|
||||
}
|
||||
return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget;
|
||||
}
|
||||
// Event handler
|
||||
}, {
|
||||
key: "componentDidMount",
|
||||
value: function componentDidMount() {
|
||||
// [Legacy] Wait for parent component ref has its value.
|
||||
// We should use target as directly element instead of function which makes element check hard.
|
||||
this.timer = setTimeout(this.addListeners);
|
||||
}
|
||||
}, {
|
||||
key: "componentDidUpdate",
|
||||
value: function componentDidUpdate(prevProps) {
|
||||
this.addListeners();
|
||||
if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) {
|
||||
this.updatePosition();
|
||||
}
|
||||
this.measure();
|
||||
}
|
||||
}, {
|
||||
key: "componentWillUnmount",
|
||||
value: function componentWillUnmount() {
|
||||
this.removeListeners();
|
||||
}
|
||||
// =================== Render ===================
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
const {
|
||||
affixStyle,
|
||||
placeholderStyle
|
||||
} = this.state;
|
||||
const {
|
||||
affixPrefixCls,
|
||||
rootClassName,
|
||||
children
|
||||
} = this.props;
|
||||
const className = _classnames_2_5_1_classnames_default()(affixStyle && rootClassName, {
|
||||
[affixPrefixCls]: !!affixStyle
|
||||
});
|
||||
let props = (0,omit/* default */.Z)(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls', 'rootClassName']);
|
||||
// Omit this since `onTestUpdatePosition` only works on test.
|
||||
if (false) {}
|
||||
return /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, {
|
||||
onResize: this.updatePosition
|
||||
}, /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({}, props, {
|
||||
ref: this.placeholderNodeRef
|
||||
}), affixStyle && /*#__PURE__*/_react_17_0_2_react.createElement("div", {
|
||||
style: placeholderStyle,
|
||||
"aria-hidden": "true"
|
||||
}), /*#__PURE__*/_react_17_0_2_react.createElement("div", {
|
||||
className: className,
|
||||
ref: this.fixedNodeRef,
|
||||
style: affixStyle
|
||||
}, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, {
|
||||
onResize: this.updatePosition
|
||||
}, children))));
|
||||
}
|
||||
}]);
|
||||
return InternalAffix;
|
||||
}(_react_17_0_2_react.Component);
|
||||
InternalAffix.contextType = context/* ConfigContext */.E_;
|
||||
const Affix = /*#__PURE__*/(0,_react_17_0_2_react.forwardRef)((props, ref) => {
|
||||
const {
|
||||
prefixCls: customizePrefixCls,
|
||||
rootClassName
|
||||
} = props;
|
||||
const {
|
||||
getPrefixCls
|
||||
} = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_);
|
||||
const affixPrefixCls = getPrefixCls('affix', customizePrefixCls);
|
||||
const [wrapSSR, hashId] = style(affixPrefixCls);
|
||||
const AffixProps = Object.assign(Object.assign({}, props), {
|
||||
affixPrefixCls,
|
||||
rootClassName: _classnames_2_5_1_classnames_default()(rootClassName, hashId)
|
||||
});
|
||||
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(InternalAffix, Object.assign({}, AffixProps, {
|
||||
ref: ref
|
||||
})));
|
||||
});
|
||||
if (false) {}
|
||||
/* harmony default export */ var affix = (Affix);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 88522:
|
||||
/*!*****************************************************************!*\
|
||||
!*** ./node_modules/_antd@5.9.0@antd/es/auto-complete/index.js ***!
|
||||
\*****************************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310);
|
||||
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 47783);
|
||||
/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/omit */ 62805);
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
|
||||
/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/PurePanel */ 53487);
|
||||
/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 92343);
|
||||
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 36355);
|
||||
/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 57809);
|
||||
"use client";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const {
|
||||
Option
|
||||
} = _select__WEBPACK_IMPORTED_MODULE_3__["default"];
|
||||
function isSelectOptionOrSelectOptGroup(child) {
|
||||
return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup);
|
||||
}
|
||||
const AutoComplete = (props, ref) => {
|
||||
const {
|
||||
prefixCls: customizePrefixCls,
|
||||
className,
|
||||
popupClassName,
|
||||
dropdownClassName,
|
||||
children,
|
||||
dataSource
|
||||
} = props;
|
||||
const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children);
|
||||
// ============================= Input =============================
|
||||
let customizeInput;
|
||||
if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) {
|
||||
[customizeInput] = childNodes;
|
||||
}
|
||||
const getInputElement = customizeInput ? () => customizeInput : undefined;
|
||||
// ============================ Options ============================
|
||||
let optionChildren;
|
||||
// [Legacy] convert `children` or `dataSource` into option children
|
||||
if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) {
|
||||
optionChildren = children;
|
||||
} else {
|
||||
optionChildren = dataSource ? dataSource.map(item => {
|
||||
if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) {
|
||||
return item;
|
||||
}
|
||||
switch (typeof item) {
|
||||
case 'string':
|
||||
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, {
|
||||
key: item,
|
||||
value: item
|
||||
}, item);
|
||||
case 'object':
|
||||
{
|
||||
const {
|
||||
value: optionValue
|
||||
} = item;
|
||||
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, {
|
||||
key: optionValue,
|
||||
value: optionValue
|
||||
}, item.text);
|
||||
}
|
||||
default:
|
||||
false ? 0 : void 0;
|
||||
return undefined;
|
||||
}
|
||||
}) : [];
|
||||
}
|
||||
if (false) {}
|
||||
const {
|
||||
getPrefixCls
|
||||
} = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__/* .ConfigContext */ .E_);
|
||||
const prefixCls = getPrefixCls('select', customizePrefixCls);
|
||||
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__["default"], Object.assign({
|
||||
ref: ref,
|
||||
suffixIcon: null
|
||||
}, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props, ['dataSource', 'dropdownClassName']), {
|
||||
prefixCls: prefixCls,
|
||||
popupClassName: popupClassName || dropdownClassName,
|
||||
className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-auto-complete`, className),
|
||||
mode: _select__WEBPACK_IMPORTED_MODULE_3__["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE
|
||||
}, {
|
||||
// Internal api
|
||||
getInputElement
|
||||
}), optionChildren);
|
||||
};
|
||||
const RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete);
|
||||
// We don't care debug panel
|
||||
/* istanbul ignore next */
|
||||
const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(RefAutoComplete);
|
||||
RefAutoComplete.Option = Option;
|
||||
RefAutoComplete._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
|
||||
if (false) {}
|
||||
/* harmony default export */ __webpack_exports__.Z = (RefAutoComplete);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 51581:
|
||||
/*!****************************************************************************************************!*\
|
||||
!*** ./node_modules/_react-infinite-scroller@1.2.4@react-infinite-scroller/dist/InfiniteScroll.js ***!
|
||||
\****************************************************************************************************/
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({
|
||||
value: true
|
||||
}));
|
||||
|
||||
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
||||
|
||||
var _react = __webpack_require__(/*! react */ 59301);
|
||||
|
||||
var _react2 = _interopRequireDefault(_react);
|
||||
|
||||
var _propTypes = __webpack_require__(/*! prop-types */ 12708);
|
||||
|
||||
var _propTypes2 = _interopRequireDefault(_propTypes);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
||||
|
||||
var InfiniteScroll = function (_Component) {
|
||||
_inherits(InfiniteScroll, _Component);
|
||||
|
||||
function InfiniteScroll(props) {
|
||||
_classCallCheck(this, InfiniteScroll);
|
||||
|
||||
var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props));
|
||||
|
||||
_this.scrollListener = _this.scrollListener.bind(_this);
|
||||
_this.eventListenerOptions = _this.eventListenerOptions.bind(_this);
|
||||
_this.mousewheelListener = _this.mousewheelListener.bind(_this);
|
||||
return _this;
|
||||
}
|
||||
|
||||
_createClass(InfiniteScroll, [{
|
||||
key: 'componentDidMount',
|
||||
value: function componentDidMount() {
|
||||
this.pageLoaded = this.props.pageStart;
|
||||
this.options = this.eventListenerOptions();
|
||||
this.attachScrollListener();
|
||||
}
|
||||
}, {
|
||||
key: 'componentDidUpdate',
|
||||
value: function componentDidUpdate() {
|
||||
if (this.props.isReverse && this.loadMore) {
|
||||
var parentElement = this.getParentElement(this.scrollComponent);
|
||||
parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop;
|
||||
this.loadMore = false;
|
||||
}
|
||||
this.attachScrollListener();
|
||||
}
|
||||
}, {
|
||||
key: 'componentWillUnmount',
|
||||
value: function componentWillUnmount() {
|
||||
this.detachScrollListener();
|
||||
this.detachMousewheelListener();
|
||||
}
|
||||
}, {
|
||||
key: 'isPassiveSupported',
|
||||
value: function isPassiveSupported() {
|
||||
var passive = false;
|
||||
|
||||
var testOptions = {
|
||||
get passive() {
|
||||
passive = true;
|
||||
}
|
||||
};
|
||||
|
||||
try {
|
||||
document.addEventListener('test', null, testOptions);
|
||||
document.removeEventListener('test', null, testOptions);
|
||||
} catch (e) {
|
||||
// ignore
|
||||
}
|
||||
return passive;
|
||||
}
|
||||
}, {
|
||||
key: 'eventListenerOptions',
|
||||
value: function eventListenerOptions() {
|
||||
var options = this.props.useCapture;
|
||||
|
||||
if (this.isPassiveSupported()) {
|
||||
options = {
|
||||
useCapture: this.props.useCapture,
|
||||
passive: true
|
||||
};
|
||||
}
|
||||
return options;
|
||||
}
|
||||
|
||||
// Set a defaut loader for all your `InfiniteScroll` components
|
||||
|
||||
}, {
|
||||
key: 'setDefaultLoader',
|
||||
value: function setDefaultLoader(loader) {
|
||||
this.defaultLoader = loader;
|
||||
}
|
||||
}, {
|
||||
key: 'detachMousewheelListener',
|
||||
value: function detachMousewheelListener() {
|
||||
var scrollEl = window;
|
||||
if (this.props.useWindow === false) {
|
||||
scrollEl = this.scrollComponent.parentNode;
|
||||
}
|
||||
|
||||
scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);
|
||||
}
|
||||
}, {
|
||||
key: 'detachScrollListener',
|
||||
value: function detachScrollListener() {
|
||||
var scrollEl = window;
|
||||
if (this.props.useWindow === false) {
|
||||
scrollEl = this.getParentElement(this.scrollComponent);
|
||||
}
|
||||
|
||||
scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);
|
||||
scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);
|
||||
}
|
||||
}, {
|
||||
key: 'getParentElement',
|
||||
value: function getParentElement(el) {
|
||||
var scrollParent = this.props.getScrollParent && this.props.getScrollParent();
|
||||
if (scrollParent != null) {
|
||||
return scrollParent;
|
||||
}
|
||||
return el && el.parentNode;
|
||||
}
|
||||
}, {
|
||||
key: 'filterProps',
|
||||
value: function filterProps(props) {
|
||||
return props;
|
||||
}
|
||||
}, {
|
||||
key: 'attachScrollListener',
|
||||
value: function attachScrollListener() {
|
||||
var parentElement = this.getParentElement(this.scrollComponent);
|
||||
|
||||
if (!this.props.hasMore || !parentElement) {
|
||||
return;
|
||||
}
|
||||
|
||||
var scrollEl = window;
|
||||
if (this.props.useWindow === false) {
|
||||
scrollEl = parentElement;
|
||||
}
|
||||
|
||||
scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);
|
||||
scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);
|
||||
scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);
|
||||
|
||||
if (this.props.initialLoad) {
|
||||
this.scrollListener();
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: 'mousewheelListener',
|
||||
value: function mousewheelListener(e) {
|
||||
// Prevents Chrome hangups
|
||||
// See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257
|
||||
if (e.deltaY === 1 && !this.isPassiveSupported()) {
|
||||
e.preventDefault();
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: 'scrollListener',
|
||||
value: function scrollListener() {
|
||||
var el = this.scrollComponent;
|
||||
var scrollEl = window;
|
||||
var parentNode = this.getParentElement(el);
|
||||
|
||||
var offset = void 0;
|
||||
if (this.props.useWindow) {
|
||||
var doc = document.documentElement || document.body.parentNode || document.body;
|
||||
var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop;
|
||||
if (this.props.isReverse) {
|
||||
offset = scrollTop;
|
||||
} else {
|
||||
offset = this.calculateOffset(el, scrollTop);
|
||||
}
|
||||
} else if (this.props.isReverse) {
|
||||
offset = parentNode.scrollTop;
|
||||
} else {
|
||||
offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight;
|
||||
}
|
||||
|
||||
// Here we make sure the element is visible as well as checking the offset
|
||||
if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) {
|
||||
this.detachScrollListener();
|
||||
this.beforeScrollHeight = parentNode.scrollHeight;
|
||||
this.beforeScrollTop = parentNode.scrollTop;
|
||||
// Call loadMore after detachScrollListener to allow for non-async loadMore functions
|
||||
if (typeof this.props.loadMore === 'function') {
|
||||
this.props.loadMore(this.pageLoaded += 1);
|
||||
this.loadMore = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: 'calculateOffset',
|
||||
value: function calculateOffset(el, scrollTop) {
|
||||
if (!el) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight);
|
||||
}
|
||||
}, {
|
||||
key: 'calculateTopPosition',
|
||||
value: function calculateTopPosition(el) {
|
||||
if (!el) {
|
||||
return 0;
|
||||
}
|
||||
return el.offsetTop + this.calculateTopPosition(el.offsetParent);
|
||||
}
|
||||
}, {
|
||||
key: 'render',
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var renderProps = this.filterProps(this.props);
|
||||
|
||||
var children = renderProps.children,
|
||||
element = renderProps.element,
|
||||
hasMore = renderProps.hasMore,
|
||||
initialLoad = renderProps.initialLoad,
|
||||
isReverse = renderProps.isReverse,
|
||||
loader = renderProps.loader,
|
||||
loadMore = renderProps.loadMore,
|
||||
pageStart = renderProps.pageStart,
|
||||
ref = renderProps.ref,
|
||||
threshold = renderProps.threshold,
|
||||
useCapture = renderProps.useCapture,
|
||||
useWindow = renderProps.useWindow,
|
||||
getScrollParent = renderProps.getScrollParent,
|
||||
props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']);
|
||||
|
||||
props.ref = function (node) {
|
||||
_this2.scrollComponent = node;
|
||||
if (ref) {
|
||||
ref(node);
|
||||
}
|
||||
};
|
||||
|
||||
var childrenArray = [children];
|
||||
if (hasMore) {
|
||||
if (loader) {
|
||||
isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader);
|
||||
} else if (this.defaultLoader) {
|
||||
isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader);
|
||||
}
|
||||
}
|
||||
return _react2.default.createElement(element, props, childrenArray);
|
||||
}
|
||||
}]);
|
||||
|
||||
return InfiniteScroll;
|
||||
}(_react.Component);
|
||||
|
||||
InfiniteScroll.propTypes = {
|
||||
children: _propTypes2.default.node.isRequired,
|
||||
element: _propTypes2.default.node,
|
||||
hasMore: _propTypes2.default.bool,
|
||||
initialLoad: _propTypes2.default.bool,
|
||||
isReverse: _propTypes2.default.bool,
|
||||
loader: _propTypes2.default.node,
|
||||
loadMore: _propTypes2.default.func.isRequired,
|
||||
pageStart: _propTypes2.default.number,
|
||||
ref: _propTypes2.default.func,
|
||||
getScrollParent: _propTypes2.default.func,
|
||||
threshold: _propTypes2.default.number,
|
||||
useCapture: _propTypes2.default.bool,
|
||||
useWindow: _propTypes2.default.bool
|
||||
};
|
||||
InfiniteScroll.defaultProps = {
|
||||
element: 'div',
|
||||
hasMore: false,
|
||||
initialLoad: true,
|
||||
pageStart: 0,
|
||||
ref: null,
|
||||
threshold: 250,
|
||||
useWindow: true,
|
||||
isReverse: false,
|
||||
useCapture: false,
|
||||
loader: null,
|
||||
getScrollParent: null
|
||||
};
|
||||
exports["default"] = InfiniteScroll;
|
||||
module.exports = exports['default'];
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 26724:
|
||||
/*!**************************************************************************************!*\
|
||||
!*** ./node_modules/_react-infinite-scroller@1.2.4@react-infinite-scroller/index.js ***!
|
||||
\**************************************************************************************/
|
||||
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 51581)
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,47 @@
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Administration/Student/components/AddStudent.less?modules ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.addStudentContainer___c5ADl {
|
||||
margin-top: -25px;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 .tips___UuolQ {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
line-height: 14px;
|
||||
margin-bottom: 60px;
|
||||
text-align: center;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 .qrCode___OJ0wR {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 .qrCode___OJ0wR > div:first-child {
|
||||
width: 168px;
|
||||
height: 168px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 2px 8px 0px #dedede;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 .qrCode___OJ0wR > div:last-child {
|
||||
margin-top: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #999999;
|
||||
line-height: 12px;
|
||||
}
|
||||
.addStudentContainer___c5ADl .ant-tabs-nav {
|
||||
height: 64px;
|
||||
padding-top: 10px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,546 +0,0 @@
|
||||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Administration/Student/index.less?modules ***!
|
||||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___b2kk6 {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___nObta {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___hJhvZ {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___qXikU {
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
-webkit-justify-content: flex-end;
|
||||
-webkit-align-items: center;
|
||||
-webkit-box-align: center;
|
||||
-webkit-box-pack: end;
|
||||
box-align: center;
|
||||
box-pack: end;
|
||||
}
|
||||
.flex_box_column___mEKiq {
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.bg___lVGk1 {
|
||||
background: white;
|
||||
}
|
||||
.containerTitle___uKeyY {
|
||||
height: 88px;
|
||||
line-height: 88px;
|
||||
font-size: 18px;
|
||||
padding: 0 30px;
|
||||
color: #333;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
.containerDesc___Qtb8c {
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
padding: 0 30px;
|
||||
display: box;
|
||||
display: flex;
|
||||
}
|
||||
.containerDesc___Qtb8c p:nth-child(1) {
|
||||
flex: 1 1;
|
||||
}
|
||||
.listItem___fe9KR {
|
||||
padding: 25px 30px 25px 30px;
|
||||
background: white;
|
||||
margin-top: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.listItem___fe9KR:hover {
|
||||
box-shadow: 0px 0px 8px 0px #D5E3FF;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #A4BDF5;
|
||||
}
|
||||
.listItem___fe9KR img {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
.tabListhover___TybSz {
|
||||
box-shadow: 0px 0px 8px 0px #D5E3FF;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #A4BDF5;
|
||||
}
|
||||
.title___xqdfG {
|
||||
display: box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.title___xqdfG strong {
|
||||
color: #333;
|
||||
}
|
||||
.tips___pwNVA {
|
||||
cursor: pointer;
|
||||
color: #9096A3;
|
||||
padding-left: 4px;
|
||||
}
|
||||
.tips___pwNVA > i {
|
||||
font-size: 14px;
|
||||
}
|
||||
.tips___pwNVA:hover {
|
||||
color: #0152d9;
|
||||
}
|
||||
.titleLeft___BVFvs {
|
||||
flex: 1 1;
|
||||
}
|
||||
.titleRight___JqeRw a {
|
||||
margin-right: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.acitons___lv8AM {
|
||||
height: 70px;
|
||||
background: white;
|
||||
margin-top: 20px;
|
||||
display: box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
padding: 0 30px;
|
||||
}
|
||||
.acitons___lv8AM > div:nth-child(1) {
|
||||
flex: 1 1;
|
||||
}
|
||||
.acitons___lv8AM > div:nth-child(2) {
|
||||
display: box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.acitons___lv8AM > div:nth-child(2) p {
|
||||
cursor: pointer;
|
||||
color: #999;
|
||||
}
|
||||
.acitons___lv8AM > div:nth-child(2) p:hover {
|
||||
color: #333;
|
||||
}
|
||||
.acitons___lv8AM > div:nth-child(2) p span {
|
||||
position: relative;
|
||||
padding: 0 20px;
|
||||
}
|
||||
.acitons___lv8AM > div:nth-child(2) p span:after {
|
||||
content: '';
|
||||
width: 1px;
|
||||
height: 10px;
|
||||
background: #ededed;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
.acitons___lv8AM > div:nth-child(2) p:nth-last-child(1) span {
|
||||
padding-right: 0;
|
||||
}
|
||||
.acitons___lv8AM > div:nth-child(2) p:nth-last-child(1) span:after {
|
||||
display: none;
|
||||
}
|
||||
.memberManager___LiU3G {
|
||||
-webkit-box-orient: vertical;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
.menu___blKWy {
|
||||
position: relative;
|
||||
display: box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
.menu___blKWy > ul {
|
||||
flex: 1 1;
|
||||
border: 0;
|
||||
}
|
||||
.menu___blKWy > ul li {
|
||||
height: 74px;
|
||||
line-height: 74px;
|
||||
margin: 0 15px;
|
||||
}
|
||||
.menu___blKWy > div span {
|
||||
padding: 0 20px;
|
||||
}
|
||||
.topScores___E5ebB img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 60px;
|
||||
}
|
||||
.first___zlZUp,
|
||||
.second___pGCY1,
|
||||
.three___iAEZV {
|
||||
height: 60px;
|
||||
display: box;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
box-pack: end;
|
||||
}
|
||||
.first___zlZUp span {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background: #ffd058;
|
||||
border-radius: 4px 4px 0 0;
|
||||
display: block;
|
||||
}
|
||||
.second___pGCY1 span {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
background: #e0e5ea;
|
||||
border-radius: 4px 0 0 0;
|
||||
display: block;
|
||||
}
|
||||
.three___iAEZV span {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
background: #e5a866;
|
||||
border-radius: 0 4px 0 0;
|
||||
display: block;
|
||||
}
|
||||
.dropmenu___nCsdc {
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
display: box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-orient: block-axis;
|
||||
}
|
||||
.dropmenu___nCsdc > ul {
|
||||
flex: 1 1;
|
||||
}
|
||||
.tabActive___tTsoS {
|
||||
color: #9B9B9B;
|
||||
}
|
||||
.tabs___AYiix {
|
||||
width: 973px;
|
||||
position: relative;
|
||||
margin-left: 44px;
|
||||
}
|
||||
.tabs___AYiix [class~='ant-tabs-tab'] {
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
}
|
||||
.rightAction___E4SkN {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 20px;
|
||||
z-index: 1;
|
||||
display: box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.rightAction___E4SkN div[class~='ant-select'] {
|
||||
width: 190px;
|
||||
border-radius: 4px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.rightAction___E4SkN div[class~='ant-select'] div[class~='ant-select-selector'] {
|
||||
height: 38px;
|
||||
background: #f6f7f9;
|
||||
padding: 0 12px;
|
||||
border: none;
|
||||
}
|
||||
.rightAction___E4SkN div[class~='ant-select'] div[class~='ant-select-selector'] span[class~='ant-select-selection-placeholder'],
|
||||
.rightAction___E4SkN div[class~='ant-select'] div[class~='ant-select-selector'] span[class~='ant-select-selection-item'] {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
color: #000;
|
||||
}
|
||||
div[data-node-key="2"],
|
||||
div[data-node-key="3"] {
|
||||
margin-left: 40px !important;
|
||||
}
|
||||
.ruleWrap___CEQBI {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.head___vI0BP {
|
||||
max-width: 1200px;
|
||||
margin: 10px 0 10px 0;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.head___vI0BP .left___ZacRo {
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
}
|
||||
.head___vI0BP .right___KZNPX {
|
||||
width: 190px;
|
||||
margin-top: 4px;
|
||||
margin-right: 2px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.head___vI0BP .right___KZNPX .icon___hD9HM {
|
||||
cursor: pointer;
|
||||
}
|
||||
.head___vI0BP .right___KZNPX .icon___hD9HM img {
|
||||
margin-top: -4px;
|
||||
}
|
||||
.head___vI0BP .right___KZNPX .icon___hD9HM span {
|
||||
color: #5F6367;
|
||||
margin-left: 6px;
|
||||
}
|
||||
.head___vI0BP .right___KZNPX .icon___hD9HM span:hover {
|
||||
color: #bacffe;
|
||||
}
|
||||
.head___vI0BP .addQuestionBtn___AvX9i {
|
||||
border-radius: 18px;
|
||||
height: 36px;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: right;
|
||||
color: #3061d0;
|
||||
border-color: #bacffe;
|
||||
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.head___vI0BP .addQuestionBtn___AvX9i:hover {
|
||||
color: #165dff;
|
||||
border-color: #165dff;
|
||||
box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.name___KyyJs {
|
||||
cursor: pointer;
|
||||
color: #165dff;
|
||||
}
|
||||
.antdTable1___u0KZ_ {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.antdTable2___UD2bD {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.tips___pwNVA {
|
||||
cursor: pointer;
|
||||
}
|
||||
.tips___pwNVA > i {
|
||||
font-size: 14px;
|
||||
}
|
||||
.tips___pwNVA:hover {
|
||||
color: #0152d9;
|
||||
}
|
||||
.pngIcon___DxnC5 {
|
||||
width: 18px;
|
||||
}
|
||||
.refuse___Rbcu8:hover {
|
||||
color: red;
|
||||
}
|
||||
|
||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Administration/Student/components/AddStudent.less?modules ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.addStudentContainer___c5ADl {
|
||||
margin-top: -25px;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 .tips___UuolQ {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
line-height: 14px;
|
||||
margin-bottom: 60px;
|
||||
text-align: center;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 .qrCode___OJ0wR {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 .qrCode___OJ0wR > div:first-child {
|
||||
width: 168px;
|
||||
height: 168px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 2px 8px 0px #dedede;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.addStudentContainer___c5ADl .listItem___cOpB2 .qrCode___OJ0wR > div:last-child {
|
||||
margin-top: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #999999;
|
||||
line-height: 12px;
|
||||
}
|
||||
.addStudentContainer___c5ADl .ant-tabs-nav {
|
||||
height: 64px;
|
||||
padding-top: 10px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/image-preview/index.less ***!
|
||||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.image-preview-container {
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
position: fixed;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 99999;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
.image-preview-container .image-preview {
|
||||
transition: transform 0.4s linear;
|
||||
max-width: 86%;
|
||||
}
|
||||
.image-preview-container .button-group {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
position: absolute;
|
||||
z-index: 101;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
}
|
||||
.image-preview-container .button-group a,
|
||||
.image-preview-container .button-group button {
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
margin-right: 10px;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
}
|
||||
.preview-wrp-group {
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.9@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Administration/Student/components/ProfessionalAuthModal.less?modules ***!
|
||||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.colorBlue___WOM5T {
|
||||
color: #0152d9;
|
||||
}
|
||||
.formWrap___yqLts div[class~='ant-form-item-label'] {
|
||||
width: 100px;
|
||||
text-align: right;
|
||||
}
|
||||
.formWrap___yqLts span[class~='ant-upload-btn'] {
|
||||
padding: 0px !important;
|
||||
}
|
||||
.flexRow___wFKNT {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.flexColumn___qCl6_ {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.example___p1oVC p {
|
||||
margin: 0px;
|
||||
}
|
||||
.exampleImg___FicSU {
|
||||
width: 160px;
|
||||
height: 100px;
|
||||
background: #f0f0f0;
|
||||
border: 1px dashed #dadada;
|
||||
border-radius: 4px;
|
||||
padding: 0px ;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
.colorOrange___An3FW {
|
||||
color: #ff6800;
|
||||
}
|
||||
.uploader___tn7L8 p {
|
||||
margin: 0px;
|
||||
}
|
||||
.uploadImg___c3FkU {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.imageTip___jtZ10 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 110px;
|
||||
width: 162px;
|
||||
padding: 20px 0;
|
||||
}
|
||||
.uploadTipIcon___cbsw3 {
|
||||
color: #4b667f;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
}
|
||||
.uploadTip___LbZNb {
|
||||
font-size: 16px;
|
||||
color: #05101a;
|
||||
}
|
||||
.color05101a___sXzzB {
|
||||
color: #05101a;
|
||||
}
|
||||
.viewLargerImg___xxHvS {
|
||||
border-bottom: 1px solid #3061D0;
|
||||
color: #3061D0;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
padding-top: 10px;
|
||||
}
|
||||
.footerWrap___VqJfp {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.footerWrap___VqJfp div[class~='ant-form-item-control'] {
|
||||
max-width: 100%;
|
||||
}
|
||||
.footerWrap___VqJfp div[class~='ant-form-item'] {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.footerWrap___VqJfp div[class~='ant-form-item-control-input-content'] {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.note___P2g8J {
|
||||
padding: 19px;
|
||||
background: #f5f5f5;
|
||||
margin-top: 20px;
|
||||
color: #656565;
|
||||
font-size: 14px;
|
||||
}
|
||||
.note___P2g8J p {
|
||||
margin: 0px;
|
||||
}
|
||||
.schoolHintWrap___hrE16 {
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.colorCDCDCD___IwhGa {
|
||||
color: #cdcdcd;
|
||||
}
|
||||
.color0152d9___dudWJ {
|
||||
color: #0152d9;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue