diff --git a/20105.5df0a711.async.js b/20105.440d864d.async.js
similarity index 99%
rename from 20105.5df0a711.async.js
rename to 20105.440d864d.async.js
index a7c40c8e51..c6c627b697 100644
--- a/20105.5df0a711.async.js
+++ b/20105.440d864d.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[20105,28518,52970,38342,57824,73580,96699,6700,87959,67454,97968,3702,85804],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[20105,28518,38342,57824,73580,96699,6700,87959,67454,97968,3702,85804],{
/***/ 65363:
/*!*************************************************************************************************************!*\
diff --git a/52970.1a7304cf.async.js b/24317.e2e797f8.async.js
similarity index 72%
rename from 52970.1a7304cf.async.js
rename to 24317.e2e797f8.async.js
index 7d261de6f9..e776521e45 100644
--- a/52970.1a7304cf.async.js
+++ b/24317.e2e797f8.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[52970,28518,20105,38342,57824,73580,96699,6700,87959,67454,97968,3702,85804],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[24317,38342,57824,73580,96699,6700,87959,67454,97968,3702,85804],{
/***/ 65363:
/*!*************************************************************************************************************!*\
@@ -136,6 +136,96 @@ if (false) {}
/***/ }),
+/***/ 8657:
+/*!************************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/FolderOpenOutlined.js + 1 modules ***!
+ \************************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_FolderOpenOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.27.0@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(72308);
+// 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/FolderOpenOutlined.js
+// This icon file is generated automatically.
+var FolderOpenOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z" } }] }, "name": "folder-open", "theme": "outlined" };
+/* harmony default export */ var asn_FolderOpenOutlined = (FolderOpenOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(7657);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/FolderOpenOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var FolderOpenOutlined_FolderOpenOutlined = function FolderOpenOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_FolderOpenOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(FolderOpenOutlined_FolderOpenOutlined);
+if (false) {}
+/* harmony default export */ var icons_FolderOpenOutlined = (RefIcon);
+
+/***/ }),
+
+/***/ 10906:
+/*!******************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/FormOutlined.js + 1 modules ***!
+ \******************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_FormOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.27.0@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(72308);
+// 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/FormOutlined.js
+// This icon file is generated automatically.
+var FormOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z" } }] }, "name": "form", "theme": "outlined" };
+/* harmony default export */ var asn_FormOutlined = (FormOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(7657);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/FormOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var FormOutlined_FormOutlined = function FormOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_FormOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(FormOutlined_FormOutlined);
+if (false) {}
+/* harmony default export */ var icons_FormOutlined = (RefIcon);
+
+/***/ }),
+
/***/ 24905:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules ***!
@@ -414,246 +504,6 @@ if (false) {}
/***/ }),
-/***/ 98447:
-/*!******************************************************************!*\
- !*** ./node_modules/_antd@5.9.0@antd/es/checkbox/style/index.js ***!
- \******************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ C2: function() { return /* binding */ getStyle; }
-/* harmony export */ });
-/* unused harmony export genCheckboxStyle */
-/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 17313);
-/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../theme/internal */ 37613);
-/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 83116);
-
-
-// ============================== Styles ==============================
-const genCheckboxStyle = token => {
- const {
- checkboxCls
- } = token;
- const wrapperCls = `${checkboxCls}-wrapper`;
- return [
- // ===================== Basic =====================
- {
- // Group
- [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), {
- display: 'inline-flex',
- flexWrap: 'wrap',
- columnGap: token.marginXS,
- // Group > Grid
- [`> ${token.antCls}-row`]: {
- flex: 1
- }
- }),
- // Wrapper
- [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), {
- display: 'inline-flex',
- alignItems: 'baseline',
- cursor: 'pointer',
- // Fix checkbox & radio in flex align #30260
- '&:after': {
- display: 'inline-block',
- width: 0,
- overflow: 'hidden',
- content: "'\\a0'"
- },
- // Checkbox near checkbox
- [`& + ${wrapperCls}`]: {
- marginInlineStart: 0
- },
- [`&${wrapperCls}-in-form-item`]: {
- 'input[type="checkbox"]': {
- width: 14,
- height: 14 // FIXME: magic
- }
- }
- }),
-
- // Wrapper > Checkbox
- [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), {
- position: 'relative',
- whiteSpace: 'nowrap',
- lineHeight: 1,
- cursor: 'pointer',
- borderRadius: token.borderRadiusSM,
- // To make alignment right when `controlHeight` is changed
- // Ref: https://github.com/ant-design/ant-design/issues/41564
- alignSelf: 'center',
- // Wrapper > Checkbox > input
- [`${checkboxCls}-input`]: {
- position: 'absolute',
- // Since baseline align will get additional space offset,
- // we need to move input to top to make it align with text.
- // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799
- inset: 0,
- zIndex: 1,
- cursor: 'pointer',
- opacity: 0,
- margin: 0,
- [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .genFocusOutline */ .oN)(token))
- },
- // Wrapper > Checkbox > inner
- [`${checkboxCls}-inner`]: {
- boxSizing: 'border-box',
- position: 'relative',
- top: 0,
- insetInlineStart: 0,
- display: 'block',
- width: token.checkboxSize,
- height: token.checkboxSize,
- direction: 'ltr',
- backgroundColor: token.colorBgContainer,
- border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`,
- borderRadius: token.borderRadiusSM,
- borderCollapse: 'separate',
- transition: `all ${token.motionDurationSlow}`,
- '&:after': {
- boxSizing: 'border-box',
- position: 'absolute',
- top: '50%',
- insetInlineStart: '21.5%',
- display: 'table',
- width: token.checkboxSize / 14 * 5,
- height: token.checkboxSize / 14 * 8,
- border: `${token.lineWidthBold}px solid ${token.colorWhite}`,
- borderTop: 0,
- borderInlineStart: 0,
- transform: 'rotate(45deg) scale(0) translate(-50%,-50%)',
- opacity: 0,
- content: '""',
- transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}`
- }
- },
- // Wrapper > Checkbox + Text
- '& + span': {
- paddingInlineStart: token.paddingXS,
- paddingInlineEnd: token.paddingXS
- }
- })
- },
- // ===================== Hover =====================
- {
- // Wrapper & Wrapper > Checkbox
- [`
- ${wrapperCls}:not(${wrapperCls}-disabled),
- ${checkboxCls}:not(${checkboxCls}-disabled)
- `]: {
- [`&:hover ${checkboxCls}-inner`]: {
- borderColor: token.colorPrimary
- }
- },
- [`${wrapperCls}:not(${wrapperCls}-disabled)`]: {
- [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: {
- backgroundColor: token.colorPrimaryHover,
- borderColor: 'transparent'
- },
- [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: {
- borderColor: token.colorPrimaryHover
- }
- }
- },
- // ==================== Checked ====================
- {
- // Wrapper > Checkbox
- [`${checkboxCls}-checked`]: {
- [`${checkboxCls}-inner`]: {
- backgroundColor: token.colorPrimary,
- borderColor: token.colorPrimary,
- '&:after': {
- opacity: 1,
- transform: 'rotate(45deg) scale(1) translate(-50%,-50%)',
- transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}`
- }
- }
- },
- [`
- ${wrapperCls}-checked:not(${wrapperCls}-disabled),
- ${checkboxCls}-checked:not(${checkboxCls}-disabled)
- `]: {
- [`&:hover ${checkboxCls}-inner`]: {
- backgroundColor: token.colorPrimaryHover,
- borderColor: 'transparent'
- }
- }
- },
- // ================= Indeterminate =================
- {
- [checkboxCls]: {
- '&-indeterminate': {
- // Wrapper > Checkbox > inner
- [`${checkboxCls}-inner`]: {
- backgroundColor: token.colorBgContainer,
- borderColor: token.colorBorder,
- '&:after': {
- top: '50%',
- insetInlineStart: '50%',
- width: token.fontSizeLG / 2,
- height: token.fontSizeLG / 2,
- backgroundColor: token.colorPrimary,
- border: 0,
- transform: 'translate(-50%, -50%) scale(1)',
- opacity: 1,
- content: '""'
- }
- }
- }
- }
- },
- // ==================== Disable ====================
- {
- // Wrapper
- [`${wrapperCls}-disabled`]: {
- cursor: 'not-allowed'
- },
- // Wrapper > Checkbox
- [`${checkboxCls}-disabled`]: {
- // Wrapper > Checkbox > input
- [`&, ${checkboxCls}-input`]: {
- cursor: 'not-allowed',
- // Disabled for native input to enable Tooltip event handler
- // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901
- pointerEvents: 'none'
- },
- // Wrapper > Checkbox > inner
- [`${checkboxCls}-inner`]: {
- background: token.colorBgContainerDisabled,
- borderColor: token.colorBorder,
- '&:after': {
- borderColor: token.colorTextDisabled
- }
- },
- '&:after': {
- display: 'none'
- },
- '& + span': {
- color: token.colorTextDisabled
- },
- [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: {
- background: token.colorTextDisabled
- }
- }
- }];
-};
-// ============================== Export ==============================
-function getStyle(prefixCls, token) {
- const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_1__/* .merge */ .TS)(token, {
- checkboxCls: `.${prefixCls}`,
- checkboxSize: token.controlInteractiveSize
- });
- return [genCheckboxStyle(checkboxToken)];
-}
-/* harmony default export */ __webpack_exports__.ZP = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)('Checkbox', (token, _ref) => {
- let {
- prefixCls
- } = _ref;
- return [getStyle(prefixCls, token)];
-}));
-
-/***/ }),
-
/***/ 38854:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***!
@@ -1629,6 +1479,486 @@ const CompoundedSpace = Space;
CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony default export */ var space = (CompoundedSpace);
+/***/ }),
+
+/***/ 41416:
+/*!********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/tree/index.js + 8 modules ***!
+ \********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ tree; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_rc-tree@5.7.12@rc-tree/es/index.js + 7 modules
+var es = __webpack_require__(54844);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.27.0@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
+var toConsumableArray = __webpack_require__(80702);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/FileOutlined.js + 1 modules
+var FileOutlined = __webpack_require__(52671);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/FolderOpenOutlined.js + 1 modules
+var FolderOpenOutlined = __webpack_require__(8657);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.27.0@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(72308);
+// 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/FolderOutlined.js
+// This icon file is generated automatically.
+var FolderOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" } }] }, "name": "folder", "theme": "outlined" };
+/* harmony default export */ var asn_FolderOutlined = (FolderOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(7657);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/FolderOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var FolderOutlined_FolderOutlined = function FolderOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_FolderOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(FolderOutlined_FolderOutlined);
+if (false) {}
+/* harmony default export */ var icons_FolderOutlined = (RefIcon);
+// 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-tree@5.7.12@rc-tree/es/util.js
+var util = __webpack_require__(35654);
+// EXTERNAL MODULE: ./node_modules/_rc-tree@5.7.12@rc-tree/es/utils/treeUtil.js
+var treeUtil = __webpack_require__(71430);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
+var context = __webpack_require__(36355);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/HolderOutlined.js
+// This icon file is generated automatically.
+var HolderOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" } }] }, "name": "holder", "theme": "outlined" };
+/* harmony default export */ var asn_HolderOutlined = (HolderOutlined);
+
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/HolderOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var HolderOutlined_HolderOutlined = function HolderOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_HolderOutlined
+ }));
+};
+
+/** */
+var HolderOutlined_RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(HolderOutlined_HolderOutlined);
+if (false) {}
+/* harmony default export */ var icons_HolderOutlined = (HolderOutlined_RefIcon);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/motion.js
+var _util_motion = __webpack_require__(62892);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/style/index.js
+var tree_style = __webpack_require__(20648);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/utils/dropIndicator.js
+"use client";
+
+
+const offset = 4;
+function dropIndicatorRender(props) {
+ const {
+ dropPosition,
+ dropLevelOffset,
+ prefixCls,
+ indent,
+ direction = 'ltr'
+ } = props;
+ const startPosition = direction === 'ltr' ? 'left' : 'right';
+ const endPosition = direction === 'ltr' ? 'right' : 'left';
+ const style = {
+ [startPosition]: -dropLevelOffset * indent + offset,
+ [endPosition]: 0
+ };
+ switch (dropPosition) {
+ case -1:
+ style.top = -3;
+ break;
+ case 1:
+ style.bottom = -3;
+ break;
+ default:
+ // dropPosition === 0
+ style.bottom = -3;
+ style[startPosition] = indent + offset;
+ break;
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement("div", {
+ style: style,
+ className: `${prefixCls}-drop-indicator`
+ });
+}
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/utils/iconUtil.js + 2 modules
+var iconUtil = __webpack_require__(71997);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/Tree.js
+"use client";
+
+
+
+
+
+
+
+
+
+
+const Tree = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ const {
+ getPrefixCls,
+ direction,
+ virtual,
+ tree
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const {
+ prefixCls: customizePrefixCls,
+ className,
+ showIcon = false,
+ showLine,
+ switcherIcon,
+ blockNode = false,
+ children,
+ checkable = false,
+ selectable = true,
+ draggable,
+ motion: customMotion,
+ style
+ } = props;
+ const prefixCls = getPrefixCls('tree', customizePrefixCls);
+ const rootPrefixCls = getPrefixCls();
+ const motion = customMotion !== null && customMotion !== void 0 ? customMotion : Object.assign(Object.assign({}, (0,_util_motion/* default */.Z)(rootPrefixCls)), {
+ motionAppear: false
+ });
+ const newProps = Object.assign(Object.assign({}, props), {
+ checkable,
+ selectable,
+ showIcon,
+ motion,
+ blockNode,
+ showLine: Boolean(showLine),
+ dropIndicatorRender: dropIndicatorRender
+ });
+ const [wrapSSR, hashId] = (0,tree_style/* default */.ZP)(prefixCls);
+ const draggableConfig = _react_17_0_2_react.useMemo(() => {
+ if (!draggable) {
+ return false;
+ }
+ let mergedDraggable = {};
+ switch (typeof draggable) {
+ case 'function':
+ mergedDraggable.nodeDraggable = draggable;
+ break;
+ case 'object':
+ mergedDraggable = Object.assign({}, draggable);
+ break;
+ default:
+ break;
+ // Do nothing
+ }
+
+ if (mergedDraggable.icon !== false) {
+ mergedDraggable.icon = mergedDraggable.icon || /*#__PURE__*/_react_17_0_2_react.createElement(icons_HolderOutlined, null);
+ }
+ return mergedDraggable;
+ }, [draggable]);
+ const renderSwitcherIcon = nodeProps => /*#__PURE__*/_react_17_0_2_react.createElement(iconUtil/* default */.Z, {
+ prefixCls: prefixCls,
+ switcherIcon: switcherIcon,
+ treeNodeProps: nodeProps,
+ showLine: showLine
+ });
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, Object.assign({
+ itemHeight: 20,
+ ref: ref,
+ virtual: virtual
+ }, newProps, {
+ // newProps may contain style so declare style below it
+ style: Object.assign(Object.assign({}, tree === null || tree === void 0 ? void 0 : tree.style), style),
+ prefixCls: prefixCls,
+ className: _classnames_2_5_1_classnames_default()({
+ [`${prefixCls}-icon-hide`]: !showIcon,
+ [`${prefixCls}-block-node`]: blockNode,
+ [`${prefixCls}-unselectable`]: !selectable,
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, tree === null || tree === void 0 ? void 0 : tree.className, className, hashId),
+ direction: direction,
+ checkable: checkable ? /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: `${prefixCls}-checkbox-inner`
+ }) : checkable,
+ selectable: selectable,
+ switcherIcon: renderSwitcherIcon,
+ draggable: draggableConfig
+ }), children));
+});
+if (false) {}
+/* harmony default export */ var tree_Tree = (Tree);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/utils/dictUtil.js
+
+var Record;
+(function (Record) {
+ Record[Record["None"] = 0] = "None";
+ Record[Record["Start"] = 1] = "Start";
+ Record[Record["End"] = 2] = "End";
+})(Record || (Record = {}));
+function traverseNodesKey(treeData, callback) {
+ function processNode(dataNode) {
+ const {
+ key,
+ children
+ } = dataNode;
+ if (callback(key, dataNode) !== false) {
+ traverseNodesKey(children || [], callback);
+ }
+ }
+ treeData.forEach(processNode);
+}
+/** 计算选中范围,只考虑expanded情况以优化性能 */
+function calcRangeKeys(_ref) {
+ let {
+ treeData,
+ expandedKeys,
+ startKey,
+ endKey
+ } = _ref;
+ const keys = [];
+ let record = Record.None;
+ if (startKey && startKey === endKey) {
+ return [startKey];
+ }
+ if (!startKey || !endKey) {
+ return [];
+ }
+ function matchKey(key) {
+ return key === startKey || key === endKey;
+ }
+ traverseNodesKey(treeData, key => {
+ if (record === Record.End) {
+ return false;
+ }
+ if (matchKey(key)) {
+ // Match test
+ keys.push(key);
+ if (record === Record.None) {
+ record = Record.Start;
+ } else if (record === Record.Start) {
+ record = Record.End;
+ return false;
+ }
+ } else if (record === Record.Start) {
+ // Append selection
+ keys.push(key);
+ }
+ return expandedKeys.includes(key);
+ });
+ return keys;
+}
+function convertDirectoryKeysToNodes(treeData, keys) {
+ const restKeys = (0,toConsumableArray/* default */.Z)(keys);
+ const nodes = [];
+ traverseNodesKey(treeData, (key, node) => {
+ const index = restKeys.indexOf(key);
+ if (index !== -1) {
+ nodes.push(node);
+ restKeys.splice(index, 1);
+ }
+ return !!restKeys.length;
+ });
+ return nodes;
+}
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/DirectoryTree.js
+"use client";
+
+
+var __rest = undefined && undefined.__rest || function (s, e) {
+ var t = {};
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
+ }
+ return t;
+};
+
+
+
+
+
+
+
+
+
+
+function getIcon(props) {
+ const {
+ isLeaf,
+ expanded
+ } = props;
+ if (isLeaf) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(FileOutlined/* default */.Z, null);
+ }
+ return expanded ? /*#__PURE__*/_react_17_0_2_react.createElement(FolderOpenOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(icons_FolderOutlined, null);
+}
+function getTreeData(_ref) {
+ let {
+ treeData,
+ children
+ } = _ref;
+ return treeData || (0,treeUtil/* convertTreeToData */.zn)(children);
+}
+const DirectoryTree = (_a, ref) => {
+ var {
+ defaultExpandAll,
+ defaultExpandParent,
+ defaultExpandedKeys
+ } = _a,
+ props = __rest(_a, ["defaultExpandAll", "defaultExpandParent", "defaultExpandedKeys"]);
+ // Shift click usage
+ const lastSelectedKey = _react_17_0_2_react.useRef();
+ const cachedSelectedKeys = _react_17_0_2_react.useRef();
+ const getInitExpandedKeys = () => {
+ const {
+ keyEntities
+ } = (0,treeUtil/* convertDataToEntities */.I8)(getTreeData(props));
+ let initExpandedKeys;
+ // Expanded keys
+ if (defaultExpandAll) {
+ initExpandedKeys = Object.keys(keyEntities);
+ } else if (defaultExpandParent) {
+ initExpandedKeys = (0,util/* conductExpandParent */.r7)(props.expandedKeys || defaultExpandedKeys || [], keyEntities);
+ } else {
+ initExpandedKeys = props.expandedKeys || defaultExpandedKeys;
+ }
+ return initExpandedKeys;
+ };
+ const [selectedKeys, setSelectedKeys] = _react_17_0_2_react.useState(props.selectedKeys || props.defaultSelectedKeys || []);
+ const [expandedKeys, setExpandedKeys] = _react_17_0_2_react.useState(() => getInitExpandedKeys());
+ _react_17_0_2_react.useEffect(() => {
+ if ('selectedKeys' in props) {
+ setSelectedKeys(props.selectedKeys);
+ }
+ }, [props.selectedKeys]);
+ _react_17_0_2_react.useEffect(() => {
+ if ('expandedKeys' in props) {
+ setExpandedKeys(props.expandedKeys);
+ }
+ }, [props.expandedKeys]);
+ const onExpand = (keys, info) => {
+ var _a;
+ if (!('expandedKeys' in props)) {
+ setExpandedKeys(keys);
+ }
+ // Call origin function
+ return (_a = props.onExpand) === null || _a === void 0 ? void 0 : _a.call(props, keys, info);
+ };
+ const onSelect = (keys, event) => {
+ var _a;
+ const {
+ multiple
+ } = props;
+ const {
+ node,
+ nativeEvent
+ } = event;
+ const {
+ key = ''
+ } = node;
+ const treeData = getTreeData(props);
+ // const newState: DirectoryTreeState = {};
+ // We need wrap this event since some value is not same
+ const newEvent = Object.assign(Object.assign({}, event), {
+ selected: true
+ });
+ // Windows / Mac single pick
+ const ctrlPick = (nativeEvent === null || nativeEvent === void 0 ? void 0 : nativeEvent.ctrlKey) || (nativeEvent === null || nativeEvent === void 0 ? void 0 : nativeEvent.metaKey);
+ const shiftPick = nativeEvent === null || nativeEvent === void 0 ? void 0 : nativeEvent.shiftKey;
+ // Generate new selected keys
+ let newSelectedKeys;
+ if (multiple && ctrlPick) {
+ // Control click
+ newSelectedKeys = keys;
+ lastSelectedKey.current = key;
+ cachedSelectedKeys.current = newSelectedKeys;
+ newEvent.selectedNodes = convertDirectoryKeysToNodes(treeData, newSelectedKeys);
+ } else if (multiple && shiftPick) {
+ // Shift click
+ newSelectedKeys = Array.from(new Set([].concat((0,toConsumableArray/* default */.Z)(cachedSelectedKeys.current || []), (0,toConsumableArray/* default */.Z)(calcRangeKeys({
+ treeData,
+ expandedKeys,
+ startKey: key,
+ endKey: lastSelectedKey.current
+ })))));
+ newEvent.selectedNodes = convertDirectoryKeysToNodes(treeData, newSelectedKeys);
+ } else {
+ // Single click
+ newSelectedKeys = [key];
+ lastSelectedKey.current = key;
+ cachedSelectedKeys.current = newSelectedKeys;
+ newEvent.selectedNodes = convertDirectoryKeysToNodes(treeData, newSelectedKeys);
+ }
+ (_a = props.onSelect) === null || _a === void 0 ? void 0 : _a.call(props, newSelectedKeys, newEvent);
+ if (!('selectedKeys' in props)) {
+ setSelectedKeys(newSelectedKeys);
+ }
+ };
+ const {
+ getPrefixCls,
+ direction
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const {
+ prefixCls: customizePrefixCls,
+ className,
+ showIcon = true,
+ expandAction = 'click'
+ } = props,
+ otherProps = __rest(props, ["prefixCls", "className", "showIcon", "expandAction"]);
+ const prefixCls = getPrefixCls('tree', customizePrefixCls);
+ const connectClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-directory`, {
+ [`${prefixCls}-directory-rtl`]: direction === 'rtl'
+ }, className);
+ return /*#__PURE__*/_react_17_0_2_react.createElement(tree_Tree, Object.assign({
+ icon: getIcon,
+ ref: ref,
+ blockNode: true
+ }, otherProps, {
+ showIcon: showIcon,
+ expandAction: expandAction,
+ prefixCls: prefixCls,
+ className: connectClassName,
+ expandedKeys: expandedKeys,
+ selectedKeys: selectedKeys,
+ onSelect: onSelect,
+ onExpand: onExpand
+ }));
+};
+const ForwardDirectoryTree = /*#__PURE__*/_react_17_0_2_react.forwardRef(DirectoryTree);
+if (false) {}
+/* harmony default export */ var tree_DirectoryTree = (ForwardDirectoryTree);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/index.js
+"use client";
+
+
+
+
+const es_tree_Tree = tree_Tree;
+es_tree_Tree.DirectoryTree = tree_DirectoryTree;
+es_tree_Tree.TreeNode = es/* TreeNode */.O;
+/* harmony default export */ var tree = (es_tree_Tree);
+
/***/ })
}]);
\ No newline at end of file
diff --git a/28518.79b9f4fa.async.js b/28518.69cba1df.async.js
similarity index 99%
rename from 28518.79b9f4fa.async.js
rename to 28518.69cba1df.async.js
index 8b8038020a..f5223b3614 100644
--- a/28518.79b9f4fa.async.js
+++ b/28518.69cba1df.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[28518,20105,52970,38342,57824,73580,96699,6700,87959,67454,97968,3702,85804],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[28518,20105,38342,57824,73580,96699,6700,87959,67454,97968,3702,85804],{
/***/ 65363:
/*!*************************************************************************************************************!*\
diff --git a/74496.403dc980.async.js b/36713.bbf2bc0f.async.js
similarity index 55%
rename from 74496.403dc980.async.js
rename to 36713.bbf2bc0f.async.js
index 66a5731222..a63ad0a68b 100644
--- a/74496.403dc980.async.js
+++ b/36713.bbf2bc0f.async.js
@@ -1,139 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[74496],{
-
-/***/ 83805:
-/*!*************************************!*\
- !*** ./src/pages/tasks/constant.js ***!
- \*************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ $Y: function() { return /* binding */ SET_EDITOR_THEME; },
-/* harmony export */ A0: function() { return /* binding */ HIDE_EVALUATE_LOADING; },
-/* harmony export */ EP: function() { return /* binding */ HIDE_EVALUATE_RESULT; },
-/* harmony export */ F_: function() { return /* binding */ MOVE_X; },
-/* harmony export */ G9: function() { return /* binding */ UPDATE_TIMESTRAP; },
-/* harmony export */ GB: function() { return /* binding */ FETCH_REP_CONTENT; },
-/* harmony export */ GR: function() { return /* binding */ GET_DISCUSSES; },
-/* harmony export */ GW: function() { return /* binding */ SET_SHOW_DIR; },
-/* harmony export */ Hp: function() { return /* binding */ SHOW_TASK_LIST; },
-/* harmony export */ Ir: function() { return /* binding */ FETCH_TASK_FAILURE; },
-/* harmony export */ N$: function() { return /* binding */ EDIT_REP_CODE; },
-/* harmony export */ NZ: function() { return /* binding */ HIDE_TIP_MODAL; },
-/* harmony export */ Nv: function() { return /* binding */ HIDE_NOTICE; },
-/* harmony export */ OA: function() { return /* binding */ HIDE_PICTURE_VIEW; },
-/* harmony export */ OJ: function() { return /* binding */ SET_CHOOSE_ANSWERS; },
-/* harmony export */ QF: function() { return /* binding */ ON_AUTO_FORMAT; },
-/* harmony export */ RS: function() { return /* binding */ SHOW_REWARD_DIALOG; },
-/* harmony export */ RY: function() { return /* binding */ SET_VNC_LOADING; },
-/* harmony export */ Rj: function() { return /* binding */ SHOW_TIP_MODAL; },
-/* harmony export */ SX: function() { return /* binding */ ACTIVE_DISCUSS_INDEX; },
-/* harmony export */ Tp: function() { return /* binding */ SET_EDITOR_FONTSIZE; },
-/* harmony export */ Ui: function() { return /* binding */ SHOW_EVALUATE_LOADING; },
-/* harmony export */ V1: function() { return /* binding */ EVAL_CHOOSE_END; },
-/* harmony export */ Vn: function() { return /* binding */ SET_REWARD; },
-/* harmony export */ dL: function() { return /* binding */ SHOW_NOTICE; },
-/* harmony export */ fo: function() { return /* binding */ DISABLE_DISCUSS; },
-/* harmony export */ gK: function() { return /* binding */ TRIGGER_TAB_FIXED; },
-/* harmony export */ hK: function() { return /* binding */ HIDE_TASK_LIST; },
-/* harmony export */ i3: function() { return /* binding */ TRIGGER_RIGHT_PANEL_MASK; },
-/* harmony export */ ib: function() { return /* binding */ SET_TASK_STAR; },
-/* harmony export */ lS: function() { return /* binding */ TRIGGER_ENLARGE_UNITY3D; },
-/* harmony export */ m5: function() { return /* binding */ SHOW_EVALUATE_RESULT; },
-/* harmony export */ n4: function() { return /* binding */ FETCH_TASK_START; },
-/* harmony export */ n_: function() { return /* binding */ SET_ACTIVE_INDEX; },
-/* harmony export */ oP: function() { return /* binding */ SET_REPOS; },
-/* harmony export */ p2: function() { return /* binding */ SET_EVALUATE_MESSAGE; },
-/* harmony export */ pl: function() { return /* binding */ FETCH_ANSWER_INFO; },
-/* harmony export */ rM: function() { return /* binding */ PLUS_DISCUSS; },
-/* harmony export */ sM: function() { return /* binding */ GET_TASK_LIST; },
-/* harmony export */ t2: function() { return /* binding */ CANCEL_REWARD_DIALOG; },
-/* harmony export */ tD: function() { return /* binding */ SHOW_DISCUSSES_LOADING; },
-/* harmony export */ u8: function() { return /* binding */ TOP_OR_DOWN_DISCUSS; },
-/* harmony export */ um: function() { return /* binding */ ON_TAB_TO_SPACE; },
-/* harmony export */ vm: function() { return /* binding */ SHOW_PICTURE_VIEW; },
-/* harmony export */ wQ: function() { return /* binding */ MOVE_Y; },
-/* harmony export */ wj: function() { return /* binding */ EVAL_CHOOSE_START; },
-/* harmony export */ wt: function() { return /* binding */ SHOW_ANSWER_LOADING; },
-/* harmony export */ yS: function() { return /* binding */ SET_ACTION_TYPE; },
-/* harmony export */ yi: function() { return /* binding */ FETCH_TASK_SUCCESS; },
-/* harmony export */ ym: function() { return /* binding */ SELECT_UNLOCK_ANSWER; },
-/* harmony export */ z2: function() { return /* binding */ UPDATE_TASK_DATA; }
-/* harmony export */ });
-/* unused harmony exports CREATE_DISCUSS, SHOW_REP_LOADING, SET_REP_PATH, SET_EDITOR_SETTING, SHOW_PATH_LIST, HIDE_PATH_LIST, SET_TAB_INDEX, SET_SSH_TABS, SET_SSH_CONFIGDATA, SET_SSH_CONFIGDATAARR */
-var FETCH_TASK_START = 'FETCH_TASK_START';
-var FETCH_TASK_FAILURE = 'FETCH_TASK_FAILURE';
-var FETCH_TASK_SUCCESS = 'FETCH_TASK_SUCCESS';
-var UPDATE_TASK_DATA = 'UPDATE_TASK_DATA';
-var HIDE_EVALUATE_RESULT = 'HIDE_EVALUATE_RESULT';
-var SHOW_EVALUATE_RESULT = 'SHOW_EVALUATE_RESULT';
-var UPDATE_TIMESTRAP = 'UPDATE_TIMESTRAP';
-var MOVE_X = 'MOVE_X';
-var MOVE_Y = 'MOVE_Y';
-var TRIGGER_RIGHT_PANEL_MASK = 'TRIGGER_RIGHT_PANEL_MASK ';
-
-//left_panel_action
-var SET_ACTIVE_INDEX = 'SET_ACTIVE_INDEX';
-var GET_TASK_LIST = 'GET_TASK_LIST';
-var SHOW_TASK_LIST = 'SHOW_TASK_LIST';
-var HIDE_TASK_LIST = 'HIDE_TASK_LIST';
-var SET_TASK_STAR = 'SET_TASK_STAR';
-var TRIGGER_ENLARGE_UNITY3D = 'TRIGGER_ENLARGE_UNITY3D ';
-var TRIGGER_TAB_FIXED = 'TRIGGER_TAB_FIXED ';
-
-//discuss action
-var GET_DISCUSSES = 'GET_DISCUSSES';
-var SHOW_DISCUSSES_LOADING = 'SHOW_DISCUSSES_LOADING';
-var TOP_OR_DOWN_DISCUSS = 'TOP_OR_DOWN_DISCUSS';
-var PLUS_DISCUSS = 'PLUS_DISCUSS';
-var SET_ACTION_TYPE = 'SET_ACTION_TYPE';
-var SHOW_REWARD_DIALOG = 'SHOW_REWARD_DIALOG';
-var CANCEL_REWARD_DIALOG = 'CANCEL_REWARD_DIALOG';
-var SET_REWARD = 'SET_REWARD';
-var ACTIVE_DISCUSS_INDEX = 'ACTIVE_DISCUSS_INDEX';
-var CREATE_DISCUSS = 'CREATE_DISCUSS';
-var DISABLE_DISCUSS = 'DISABLE_DISCUSS';
-
-//answer_panel_action
-var SHOW_ANSWER_LOADING = 'SHOW_ANSWER_LOADING';
-var FETCH_ANSWER_INFO = 'FETCH_ANSWER_INFO';
-var HIDE_TIP_MODAL = 'HIGH_TIP_MODAL';
-var SHOW_TIP_MODAL = 'SHOW_TIP_MODAL';
-var SELECT_UNLOCK_ANSWER = 'SELECT_UNLOCK_ANSWER';
-
-//choose_repository_action
-var SET_CHOOSE_ANSWERS = 'SET_CHOOSE_ANSWERS';
-var EVAL_CHOOSE_START = 'EVAL_CHOOSE_START';
-var EVAL_CHOOSE_END = 'EVAL_CHOOSE_END';
-
-//code_repository_action
-var SHOW_REP_LOADING = 'SHOW_REP_loading';
-var FETCH_REP_CONTENT = 'FETCH_REP_CONTENT';
-var EDIT_REP_CODE = 'EDIT_REP_CONTENT';
-var SET_REP_PATH = 'SET_REP_PATH';
-var SHOW_EVALUATE_LOADING = 'SHOW_EVALUATE_LOADING';
-var HIDE_EVALUATE_LOADING = 'HIDE_EVALUATE_LOADING';
-var SET_EVALUATE_MESSAGE = 'SET_EVALUATE_MESSAGE';
-var SET_SHOW_DIR = 'SET_SHOW_DIR';
-var SET_EDITOR_SETTING = 'SET_EDITOR_SETTING';
-var SET_EDITOR_THEME = 'SET_EDITOR_THEME';
-var SET_EDITOR_FONTSIZE = 'SET_EDITOR_FONTSIZE';
-var SET_REPOS = 'SET_REPOS';
-var SHOW_PATH_LIST = 'SHOW_PATH_LIST';
-var HIDE_PATH_LIST = 'HIDE_PATH_LIST';
-var HIDE_PICTURE_VIEW = 'HIDE_PICTURE_VIEW';
-var SHOW_PICTURE_VIEW = 'SHOW_PICTURE_VIEW';
-var SHOW_NOTICE = 'SHOW_NOTICE';
-var HIDE_NOTICE = 'HIDE_NOTICE';
-var SET_TAB_INDEX = 'SET_TAB_INDEX';
-var SET_SSH_TABS = 'SET_SSH_TABS';
-var SET_SSH_CONFIGDATA = 'SET_SSH_CONFIGDATA';
-var SET_SSH_CONFIGDATAARR = 'SET_SSH_CONFIGDATAARR';
-var SET_VNC_LOADING = 'SET_VNC_LOADING ';
-var ON_TAB_TO_SPACE = 'ON_TAB_TO_SPACE ';
-var ON_AUTO_FORMAT = 'ON_AUTO_FORMAT ';
-
-/***/ }),
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[36713],{
/***/ 30055:
/*!**********************************************!*\
@@ -209,620 +75,6 @@ var AsyncButton = function AsyncButton(_ref) {
/***/ }),
-/***/ 72696:
-/*!************************************************************!*\
- !*** ./src/components/ChunkedUpload/index.tsx + 1 modules ***!
- \************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ components_ChunkedUpload; }
-});
-
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
-var regeneratorRuntime = __webpack_require__(7557);
-var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
-var objectSpread2 = __webpack_require__(82242);
-var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
-var asyncToGenerator = __webpack_require__(41498);
-var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
-var slicedToArray = __webpack_require__(79800);
-var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
-var _react_17_0_2_react = __webpack_require__(59301);
-// EXTERNAL MODULE: ./src/utils/fetch.ts
-var fetch = __webpack_require__(1833);
-// EXTERNAL MODULE: ./node_modules/_uuid@8.3.0@uuid/dist/esm-browser/v4.js + 4 modules
-var v4 = __webpack_require__(1012);
-// 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);
-;// CONCATENATED MODULE: ./src/components/ChunkedUpload/index.less?modules
-// extracted by mini-css-extract-plugin
-/* harmony default export */ var ChunkedUploadmodules = ({"upload":"upload___jpwPD"});
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
-var jsx_runtime = __webpack_require__(37712);
-;// CONCATENATED MODULE: ./src/components/ChunkedUpload/index.tsx
-
-
-
-
-
-
-
-
-
-
-
-var ChunkedUpload = function ChunkedUpload(_ref, ref) {
- var _ref$chunkSize = _ref.chunkSize,
- chunkSize = _ref$chunkSize === void 0 ? 1024 * 1024 * 2 : _ref$chunkSize,
- _ref$options = _ref.options,
- options = _ref$options === void 0 ? {} : _ref$options,
- onCancel = _ref.onCancel,
- onComplete = _ref.onComplete,
- onError = _ref.onError,
- onProgress = _ref.onProgress,
- onBefore = _ref.onBefore,
- onBeginInitFile = _ref.onBeginInitFile,
- children = _ref.children,
- accept = _ref.accept,
- className = _ref.className,
- _ref$style = _ref.style,
- style = _ref$style === void 0 ? {} : _ref$style,
- _ref$concurrency = _ref.concurrency,
- concurrency = _ref$concurrency === void 0 ? 4 : _ref$concurrency;
- var _useState = (0,_react_17_0_2_react.useState)('ready'),
- _useState2 = slicedToArray_default()(_useState, 2),
- uploadStatus = _useState2[0],
- setUploadStatus = _useState2[1];
-
- //组件内调试
- var _useState3 = (0,_react_17_0_2_react.useState)(0),
- _useState4 = slicedToArray_default()(_useState3, 2),
- progress = _useState4[0],
- setProgress = _useState4[1];
- var _useState5 = (0,_react_17_0_2_react.useState)(''),
- _useState6 = slicedToArray_default()(_useState5, 2),
- uploadStatusMessage = _useState6[0],
- setUploadStatusMessage = _useState6[1];
- var _useState7 = (0,_react_17_0_2_react.useState)(null),
- _useState8 = slicedToArray_default()(_useState7, 2),
- file = _useState8[0],
- setFile = _useState8[1];
- var abortControllerRef = (0,_react_17_0_2_react.useRef)(null);
- var domId = (0,_react_17_0_2_react.useRef)((0,v4/* default */.Z)());
- var cancelStatus = (0,_react_17_0_2_react.useRef)(false);
- (0,_react_17_0_2_react.useImperativeHandle)(ref, function () {
- return {
- cancel: cancel,
- file: file,
- uploadStatus: uploadStatus
- };
- });
- var clearInput = function clearInput() {
- var input = document.getElementById(domId.current);
- if (input) {
- input.value = '';
- }
- };
- var handleUpload = /*#__PURE__*/function () {
- var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(file) {
- var fileSize, totalChunks, res, uploadId, promises, percent, _loop, i, completed, step, _promises$slice, subTasks, p, uploadRes;
- return regeneratorRuntime_default()().wrap(function _callee$(_context2) {
- while (1) switch (_context2.prev = _context2.next) {
- case 0:
- if (!(uploadStatus === 'uploading')) {
- _context2.next = 2;
- break;
- }
- return _context2.abrupt("return");
- case 2:
- if (onBeginInitFile) {
- onBeginInitFile(file);
- }
- fileSize = file.size;
- totalChunks = Math.ceil(fileSize / chunkSize);
- cancelStatus.current = false;
- setUploadStatus('uploading');
- setProgress(0);
- setUploadStatusMessage('');
- _context2.prev = 9;
- _context2.next = 12;
- return (0,fetch/* default */.ZP)("/api/attachments/multipart_upload_start", {
- method: 'POST',
- body: objectSpread2_default()({
- fileName: file.name,
- chunkCount: totalChunks
- }, options)
- });
- case 12:
- res = _context2.sent;
- if (!(cancelStatus.current || (res === null || res === void 0 ? void 0 : res.status) !== 0)) {
- _context2.next = 15;
- break;
- }
- throw new Error();
- case 15:
- uploadId = res.upload_id;
- abortControllerRef.current = new AbortController();
- promises = [];
- percent = 0;
- _loop = /*#__PURE__*/regeneratorRuntime_default()().mark(function _loop() {
- var start, end, chunk, formData, key;
- return regeneratorRuntime_default()().wrap(function _loop$(_context) {
- while (1) switch (_context.prev = _context.next) {
- case 0:
- start = i * chunkSize;
- end = Math.min(start + chunkSize, fileSize);
- chunk = file.slice(start, end);
- formData = new FormData();
- formData.append('chunk', chunk);
- formData.append('fileName', file.name);
- formData.append('chunkIndex', (i + 1).toString());
- formData.append('uploadId', uploadId);
- for (key in options) {
- if (Object.prototype.hasOwnProperty.call(options, key)) {
- formData.append(key, options[key]);
- }
- }
- promises.push(function () {
- return (0,fetch/* default */.ZP)("/api/attachments/multipart_upload", {
- method: 'POST',
- body: formData,
- signal: abortControllerRef.current.signal
- }, true).then(function (res) {
- console.log(res, 444);
- percent++;
- var currentProgress = Math.round(percent / totalChunks * 100);
- setProgress(currentProgress);
- if (onProgress) {
- onProgress(objectSpread2_default()(objectSpread2_default()({}, res), {}, {
- file: file,
- percent: currentProgress
- }));
- }
- });
- });
- case 10:
- case "end":
- return _context.stop();
- }
- }, _loop);
- });
- i = 0;
- case 21:
- if (!(i < totalChunks)) {
- _context2.next = 26;
- break;
- }
- return _context2.delegateYield(_loop(), "t0", 23);
- case 23:
- i++;
- _context2.next = 21;
- break;
- case 26:
- completed = 0;
- step = concurrency;
- console.log(promises, 'promises');
- case 29:
- if (!(completed < promises.length)) {
- _context2.next = 38;
- break;
- }
- subTasks = (_promises$slice = promises.slice(completed, completed + step)) === null || _promises$slice === void 0 ? void 0 : _promises$slice.map(function (t) {
- return t();
- });
- if (!(subTasks.length > 0)) {
- _context2.next = 36;
- break;
- }
- _context2.next = 34;
- return Promise.all(subTasks);
- case 34:
- p = _context2.sent;
- completed += step;
- case 36:
- _context2.next = 29;
- break;
- case 38:
- _context2.next = 40;
- return (0,fetch/* default */.ZP)("/api/attachments/multipart_upload_end", {
- method: 'POST',
- body: objectSpread2_default()({
- fileName: file.name,
- chunkCount: totalChunks,
- uploadId: uploadId
- }, options)
- });
- case 40:
- uploadRes = _context2.sent;
- if (!!uploadRes.object) {
- setUploadStatus('success');
- clearInput();
- if (onComplete) {
- onComplete(objectSpread2_default()(objectSpread2_default()({}, uploadRes), {}, {
- file: file,
- percent: 100
- }));
- }
- } else {
- setUploadStatus('error');
- setUploadStatusMessage('上传失败,请稍后重试');
- clearInput();
- if (onError) {
- onError(file.name);
- }
- }
- _context2.next = 50;
- break;
- case 44:
- _context2.prev = 44;
- _context2.t1 = _context2["catch"](9);
- setUploadStatus('error');
- setUploadStatusMessage('上传失败,请稍后重试');
- clearInput();
- if (onError) {
- onError(file.name);
- }
- case 50:
- case "end":
- return _context2.stop();
- }
- }, _callee, null, [[9, 44]]);
- }));
- return function handleUpload(_x) {
- return _ref2.apply(this, arguments);
- };
- }();
- var cancel = (0,_react_17_0_2_react.useCallback)(function () {
- cancelStatus.current = true;
- if (abortControllerRef.current) {
- abortControllerRef.current.abort();
- if (onCancel) {
- onCancel();
- }
- }
- }, [onCancel]);
- var handleChangeUpload = function handleChangeUpload(e) {
- var _e$target;
- var file = e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 || (_e$target = _e$target.files) === null || _e$target === void 0 ? void 0 : _e$target[0];
- setFile(file);
- uploadStatus = 'ready';
- if (!file) {
- return;
- }
- if (onBefore) {
- var bool = onBefore(file);
- if (!bool) {
- handleUpload(file);
- }
- clearInput();
- return;
- }
- handleUpload(file);
- };
- return /*#__PURE__*/(0,jsx_runtime.jsxs)(_react_17_0_2_react.Fragment, {
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("input", {
- type: "file",
- id: domId.current,
- style: {
- display: 'none'
- },
- onChange: handleChangeUpload,
- accept: accept
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("label", {
- className: _classnames_2_5_1_classnames_default()(ChunkedUploadmodules.upload, className),
- htmlFor: domId.current,
- style: style,
- children: children
- })]
- });
-};
-/* harmony default export */ var components_ChunkedUpload = (/*#__PURE__*/(0,_react_17_0_2_react.forwardRef)(ChunkedUpload));
-
-/***/ }),
-
-/***/ 34213:
-/*!**********************************************************!*\
- !*** ./src/components/CoverUpload/index.tsx + 1 modules ***!
- \**********************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ components_CoverUpload; }
-});
-
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
-var slicedToArray = __webpack_require__(79800);
-var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
-var _react_17_0_2_react = __webpack_require__(59301);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
-var es_button = __webpack_require__(3113);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
-var message = __webpack_require__(8591);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/upload/index.js + 24 modules
-var upload = __webpack_require__(54580);
-// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/UploadOutlined.js + 1 modules
-var UploadOutlined = __webpack_require__(32050);
-// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules
-var CloseCircleFilled = __webpack_require__(19248);
-// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
-var env = __webpack_require__(63648);
-;// CONCATENATED MODULE: ./src/components/CoverUpload/index.less?modules
-// extracted by mini-css-extract-plugin
-/* harmony default export */ var CoverUploadmodules = ({"img":"img___BgL9D"});
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
-var jsx_runtime = __webpack_require__(37712);
-;// CONCATENATED MODULE: ./src/components/CoverUpload/index.tsx
-
-
-
-
-
-
-
-
-var CoverUpload = function CoverUpload(_ref) {
- var value = _ref.value,
- onChange = _ref.onChange,
- getFileProgress = _ref.getFileProgress;
- var _useState = (0,_react_17_0_2_react.useState)(false),
- _useState2 = slicedToArray_default()(_useState, 2),
- imgLoading = _useState2[0],
- setImgLoading = _useState2[1];
- var uploadButton = /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
- loading: imgLoading,
- icon: /*#__PURE__*/(0,jsx_runtime.jsx)(UploadOutlined/* default */.Z, {}),
- children: "\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"
- });
- var renderImg = function renderImg() {
- return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: CoverUploadmodules.img,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
- src: env/* default */.Z.API_SERVER + "/api/attachments/" + value,
- alt: "avatar",
- style: {
- width: 288
- }
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(CloseCircleFilled/* default */.Z, {
- onClick: function onClick() {
- return onChange('');
- },
- style: {
- fontSize: '16px',
- color: 'red'
- }
- })
- })]
- });
- };
- var handleChange = function handleChange(info) {
- if (getFileProgress) {
- getFileProgress(info);
- }
- if (info.file.status === 'uploading') {
- setImgLoading(true);
- return;
- }
- if (info.file.status === 'done') {
- var _info$file, _info$file3;
- setImgLoading(false);
- if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) {
- var _info$file2;
- message/* default */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message);
- // onChange()
- return;
- }
- onChange(info === null || info === void 0 || (_info$file3 = info.file) === null || _info$file3 === void 0 || (_info$file3 = _info$file3.response) === null || _info$file3 === void 0 ? void 0 : _info$file3.id);
- }
- };
- return /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, {
- children: value ? renderImg() : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, {
- withCredentials: true,
- name: "file",
- showUploadList: false,
- action: "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"),
- onChange: handleChange,
- accept: "image/*",
- children: uploadButton
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: "mt20 c-light-black",
- children: "\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528288*158\u50CF\u7D20\uFF1B"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: "c-light-black",
- children: "\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002"
- })]
- })
- });
-};
-/* harmony default export */ var components_CoverUpload = (CoverUpload);
-
-/***/ }),
-
-/***/ 92030:
-/*!******************************************************!*\
- !*** ./src/components/Spinner/index.tsx + 1 modules ***!
- \******************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ Spinner; }
-});
-
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
-var _react_17_0_2_react = __webpack_require__(59301);
-// EXTERNAL MODULE: ./src/.umi-production/exports.ts
-var _umi_production_exports = __webpack_require__(48938);
-;// CONCATENATED MODULE: ./src/components/Spinner/index.less?modules
-// extracted by mini-css-extract-plugin
-/* harmony default export */ var Spinnermodules = ({"ldsRing":"ldsRing___mpBZC","idsRingWrapper":"idsRingWrapper___Of9_n","ldsring":"ldsring___o0w2t"});
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
-var jsx_runtime = __webpack_require__(37712);
-;// CONCATENATED MODULE: ./src/components/Spinner/index.tsx
-
-
-
-
-
-/* harmony default export */ var Spinner = (function (_ref) {
- var message = _ref.message,
- className = _ref.className,
- children = _ref.children,
- _ref$style = _ref.style,
- style = _ref$style === void 0 ? {} : _ref$style;
- return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: "".concat(Spinnermodules.idsRingWrapper, " ").concat(className),
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: Spinnermodules.ldsRing,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {})]
- }), message ? /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
- style: style,
- children: message
- }) : null, /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {})]
- });
-});
-
-/***/ }),
-
-/***/ 16080:
-/*!************************************************************!*\
- !*** ./src/components/image-preview/index.tsx + 1 modules ***!
- \************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ image_preview; }
-});
-
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
-var slicedToArray = __webpack_require__(79800);
-var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
-var _react_17_0_2_react = __webpack_require__(59301);
-;// CONCATENATED MODULE: ./src/components/image-preview/index.less
-// extracted by mini-css-extract-plugin
-
-// EXTERNAL MODULE: ./src/components/mediator.js
-var mediator = __webpack_require__(14555);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
-var es_button = __webpack_require__(3113);
-// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/ReloadOutlined.js + 1 modules
-var ReloadOutlined = __webpack_require__(32398);
-// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/DownloadOutlined.js + 1 modules
-var DownloadOutlined = __webpack_require__(41464);
-// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseOutlined.js + 1 modules
-var CloseOutlined = __webpack_require__(99267);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
-var jsx_runtime = __webpack_require__(37712);
-;// CONCATENATED MODULE: ./src/components/image-preview/index.tsx
-
-
-
-
-
-
-
-
-/* harmony default export */ var image_preview = (function () {
- var _useState = (0,_react_17_0_2_react.useState)(''),
- _useState2 = slicedToArray_default()(_useState, 2),
- url = _useState2[0],
- setUrl = _useState2[1];
- var _useState3 = (0,_react_17_0_2_react.useState)(0),
- _useState4 = slicedToArray_default()(_useState3, 2),
- deg = _useState4[0],
- setDeg = _useState4[1];
- var saveUrl = (0,_react_17_0_2_react.useRef)('');
- (0,_react_17_0_2_react.useEffect)(function () {
- var unSub = mediator/* default */.Z.subscribe('preview-image', function (value) {
- setUrl(value);
- // window.document.body
- // document.body.style.height='100%'
- document.body.style.overflow = 'hidden';
- });
- return unSub;
- }, []);
- (0,_react_17_0_2_react.useEffect)(function () {
- document.addEventListener('keydown', onViewEscClose);
- return function () {
- document.removeEventListener('keydown', onViewEscClose);
- };
- }, []);
- (0,_react_17_0_2_react.useEffect)(function () {
- saveUrl.current = url;
- }, [url]);
- function onViewEscClose(e) {
- if (e.keyCode == 27 && saveUrl.current) {
- onClose();
- }
- }
-
- // https://data.educoder.net/api/attachments/1571649
- function onClose() {
- // document.body.style.height='100%'
- document.body.style.overflow = 'auto';
- setUrl('');
- }
- function onRotate() {
- setDeg(deg + 90);
- }
- var maskRef = (0,_react_17_0_2_react.useRef)();
- var previewWrapperRef = (0,_react_17_0_2_react.useRef)();
- var handleMaskClick = function handleMaskClick(e) {
- if (e.nativeEvent.target === maskRef.current || e.nativeEvent.target === previewWrapperRef.current) {
- onClose();
- }
- };
- return /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, {
- children: !url ? null : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: "image-preview-container",
- ref: maskRef,
- onClick: handleMaskClick,
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: "button-group",
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
- onClick: onRotate,
- children: ["\u65CB\u8F6C", /*#__PURE__*/(0,jsx_runtime.jsx)(ReloadOutlined/* default */.Z, {})]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
- href: url,
- children: ["\u4E0B\u8F7D", /*#__PURE__*/(0,jsx_runtime.jsx)(DownloadOutlined/* default */.Z, {})]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
- onClick: onClose,
- children: ["\u5173\u95ED", /*#__PURE__*/(0,jsx_runtime.jsx)(CloseOutlined/* default */.Z, {})]
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: "preview-wrp-group",
- ref: previewWrapperRef,
- children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
- className: "image-preview",
- src: url,
- alt: "\u9884\u89C8\u5927\u56FE",
- style: {
- transform: "rotate(".concat(deg, "deg)")
- }
- })
- })]
- })
- });
-});
-
-/***/ }),
-
/***/ 36713:
/*!**********************************************************************!*\
!*** ./src/pages/Paths/Detail/components/Sort/index.tsx + 1 modules ***!
@@ -2087,471 +1339,6 @@ var SendToClassModal = function SendToClassModal(_ref) {
};
})(SendToClassModal));
-/***/ }),
-
-/***/ 38952:
-/*!*******************************************************************************!*\
- !*** ./src/pages/Video/Detail/components/AddVideoModal/index.tsx + 1 modules ***!
- \*******************************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ components_AddVideoModal; }
-});
-
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js
-var toConsumableArray = __webpack_require__(37205);
-var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
-var regeneratorRuntime = __webpack_require__(7557);
-var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
-var objectSpread2 = __webpack_require__(82242);
-var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
-var asyncToGenerator = __webpack_require__(41498);
-var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
-// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
-var slicedToArray = __webpack_require__(79800);
-var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
-var _react_17_0_2_react = __webpack_require__(59301);
-// EXTERNAL MODULE: ./src/.umi-production/exports.ts
-var _umi_production_exports = __webpack_require__(48938);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules
-var input = __webpack_require__(10249);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
-var es_form = __webpack_require__(78241);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
-var message = __webpack_require__(8591);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
-var modal = __webpack_require__(43418);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/progress/index.js + 13 modules
-var progress = __webpack_require__(93948);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tag/index.js + 5 modules
-var tag = __webpack_require__(12563);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
-var es_checkbox = __webpack_require__(24905);
-;// CONCATENATED MODULE: ./src/pages/Video/Detail/components/AddVideoModal/index.less?modules
-// extracted by mini-css-extract-plugin
-/* harmony default export */ var AddVideoModalmodules = ({"modal":"modal___EKlPQ","uploadWrap":"uploadWrap___YGxav","upload":"upload___ouqG9","uploadLink":"uploadLink___nuif6","fileProgress":"fileProgress___tf4qy","fileCancel":"fileCancel___Bh3Wh","videoName":"videoName___Ra0NM","contentItem":"contentItem___zMdIq","tagsList-content":"tagsList-content___sDVph"});
-// EXTERNAL MODULE: ./src/components/CoverUpload/index.tsx + 1 modules
-var CoverUpload = __webpack_require__(34213);
-// EXTERNAL MODULE: ./src/utils/authority.ts
-var authority = __webpack_require__(65241);
-// EXTERNAL MODULE: ./src/components/ChunkedUpload/index.tsx + 1 modules
-var ChunkedUpload = __webpack_require__(72696);
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
-var jsx_runtime = __webpack_require__(37712);
-;// CONCATENATED MODULE: ./src/pages/Video/Detail/components/AddVideoModal/index.tsx
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-var TextArea = input/* default */.Z.TextArea;
-var MAX_FILE_SIZE = 1024;
-var AddVideoModal = function AddVideoModal(_ref) {
- var _user$userInfo, _user$userInfo2;
- var user = _ref.user,
- globalSetting = _ref.globalSetting,
- loading = _ref.loading,
- dispatch = _ref.dispatch,
- visible = _ref.visible,
- editData = _ref.editData,
- _ref$onCancel = _ref.onCancel,
- onCancel = _ref$onCancel === void 0 ? function () {} : _ref$onCancel,
- _ref$onOk = _ref.onOk,
- onOk = _ref$onOk === void 0 ? function () {} : _ref$onOk,
- _ref$queryParams = _ref.queryParams,
- queryParams = _ref$queryParams === void 0 ? {} : _ref$queryParams;
- var params = (0,_umi_production_exports.useParams)();
- var _Form$useForm = es_form/* default */.Z.useForm(),
- _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
- form = _Form$useForm2[0];
- var _useState = (0,_react_17_0_2_react.useState)([]),
- _useState2 = slicedToArray_default()(_useState, 2),
- videoList = _useState2[0],
- setVideoList = _useState2[1];
- var _useState3 = (0,_react_17_0_2_react.useState)(false),
- _useState4 = slicedToArray_default()(_useState3, 2),
- isLoading = _useState4[0],
- setIsLoading = _useState4[1];
- var uploader = (0,_react_17_0_2_react.useRef)();
- var _useState5 = (0,_react_17_0_2_react.useState)(),
- _useState6 = slicedToArray_default()(_useState5, 2),
- link = _useState6[0],
- setLink = _useState6[1];
- var _useState7 = (0,_react_17_0_2_react.useState)(false),
- _useState8 = slicedToArray_default()(_useState7, 2),
- showLink = _useState8[0],
- setShowLink = _useState8[1];
- var _useState9 = (0,_react_17_0_2_react.useState)(false),
- _useState10 = slicedToArray_default()(_useState9, 2),
- isRequestLoading = _useState10[0],
- setIsRequestLoading = _useState10[1];
- var sizeNum = (0,authority/* isSuperAdmins */.Ny)() ? 3 : 1;
- (0,_react_17_0_2_react.useEffect)(function () {
- var _editData$video_item, _editData$video_item2, _editData$tags, _editData$video_item3, _editData$video_item4;
- if (!visible) {
- return;
- }
- if (!editData) {
- return;
- }
- setShowLink(editData.is_link);
- setLink(editData.link);
- !editData.is_link && setVideoList([{
- name: editData === null || editData === void 0 || (_editData$video_item = editData.video_item) === null || _editData$video_item === void 0 ? void 0 : _editData$video_item.file_name,
- loaded: 100,
- videoId: editData === null || editData === void 0 || (_editData$video_item2 = editData.video_item) === null || _editData$video_item2 === void 0 ? void 0 : _editData$video_item2.video_id
- }]);
- setTagslist((editData === null || editData === void 0 || (_editData$tags = editData.tags) === null || _editData$tags === void 0 ? void 0 : _editData$tags.map(function (item) {
- return item === null || item === void 0 ? void 0 : item.name;
- })) || []);
- form.setFieldsValue({
- name: editData.name,
- description: editData.description,
- attachment_id: editData === null || editData === void 0 || (_editData$video_item3 = editData.video_item) === null || _editData$video_item3 === void 0 ? void 0 : _editData$video_item3.attachment_id,
- allow_skip: editData === null || editData === void 0 || (_editData$video_item4 = editData.video_item) === null || _editData$video_item4 === void 0 ? void 0 : _editData$video_item4.allow_skip
- });
- }, [editData, visible]);
- var handleChangeUpload = function handleChangeUpload(file) {
- setShowLink(false);
- var fileName = file.name.toLowerCase();
- if (fileName && fileName.indexOf('.avi') == -1 && fileName.indexOf('.flv') == -1 && fileName.indexOf('.f4v') == -1 && fileName.indexOf('.m4v') == -1 && fileName.indexOf('.mov') == -1 && fileName.indexOf('.mp4') == -1 && fileName.indexOf('.rmvb') == -1 && fileName.indexOf('.swf') == -1 && fileName.indexOf('.webm') == -1 && fileName.indexOf('.wmv') == -1) {
- message/* default */.ZP.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F");
- return true;
- }
- if (file.size > MAX_FILE_SIZE * sizeNum * 1024 * 1024) {
- message/* default */.ZP.info("\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7".concat(sizeNum, "G"));
- return true;
- }
- if (videoList !== null && videoList !== void 0 && videoList.find(function (item) {
- return item.name === file.name;
- })) {
- message/* default */.ZP.info("\u4F60\u4E0D\u80FD\u4E0A\u4F20\u540C\u4E00\u4E2A\u89C6\u9891\u6587\u4EF6\u540D\u79F0\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002");
- return true;
- }
- return false;
- };
- var handleRemove = function handleRemove(name, isSuccess) {
- modal/* default */.Z.confirm({
- title: '提示',
- centered: true,
- okText: '确定',
- cancelText: '取消',
- content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: "tc",
- children: ["\u60A8\u786E\u8BA4\u8981", isSuccess ? '删除' : '取消上传', "\u8BE5\u89C6\u9891\u5417\uFF1F"]
- }),
- onOk: function onOk() {
- if (isSuccess) {
- setVideoList([]);
- } else {
- uploader.current.cancel();
- setVideoList([]);
- }
- }
- });
- };
- var handleOk = /*#__PURE__*/function () {
- var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
- var video, res;
- return regeneratorRuntime_default()().wrap(function _callee$(_context) {
- while (1) switch (_context.prev = _context.next) {
- case 0:
- _context.next = 2;
- return form.validateFields();
- case 2:
- if (!(!showLink && !(videoList !== null && videoList !== void 0 && videoList.length) || showLink && !link)) {
- _context.next = 5;
- break;
- }
- message/* default */.ZP.info('请先上传视频或者添加外链');
- return _context.abrupt("return");
- case 5:
- setIsRequestLoading(true);
- video = showLink ? {
- link: link
- } : {
- video_id: videoList === null || videoList === void 0 ? void 0 : videoList[0].videoId
- };
- _context.next = 9;
- return onOk(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, video), queryParams), {
- name: form.getFieldValue('name'),
- attachment_id: form.getFieldValue('attachment_id'),
- description: form.getFieldValue('description'),
- tags: tagsList,
- allow_skip: form.getFieldValue('allow_skip')
- }));
- case 9:
- res = _context.sent;
- setIsRequestLoading(false);
- if (res.id) {
- handleClear();
- }
- case 12:
- case "end":
- return _context.stop();
- }
- }, _callee);
- }));
- return function handleOk() {
- return _ref2.apply(this, arguments);
- };
- }();
- var handleClear = function handleClear() {
- form.resetFields();
- setVideoList([]);
- setLink(null);
- setTagslist([]);
- setShowLink(null);
- };
- var handleCancel = function handleCancel() {
- onCancel();
- handleClear();
- };
- var renderContent = function renderContent() {
- var _videoList$, _videoList$2, _videoList$3, _videoList$4, _videoList$7;
- return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
- children: [!showLink && !!(videoList !== null && videoList !== void 0 && videoList.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: AddVideoModalmodules.fileProgress,
- children: [(videoList === null || videoList === void 0 || (_videoList$ = videoList[0]) === null || _videoList$ === void 0 ? void 0 : _videoList$.loaded) == 100 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: "".concat(AddVideoModalmodules.videoName, " font14"),
- children: videoList === null || videoList === void 0 || (_videoList$2 = videoList[0]) === null || _videoList$2 === void 0 ? void 0 : _videoList$2.name
- }) : /*#__PURE__*/(0,jsx_runtime.jsx)(progress/* default */.Z, {
- style: {
- width: '80%'
- },
- percent: videoList === null || videoList === void 0 || (_videoList$3 = videoList[0]) === null || _videoList$3 === void 0 ? void 0 : _videoList$3.loaded,
- status: (videoList === null || videoList === void 0 || (_videoList$4 = videoList[0]) === null || _videoList$4 === void 0 ? void 0 : _videoList$4.loaded) == 100 ? 'normal' : 'active'
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: AddVideoModalmodules.fileCancel,
- onClick: function onClick() {
- var _videoList$5, _videoList$6;
- return handleRemove(videoList === null || videoList === void 0 || (_videoList$5 = videoList[0]) === null || _videoList$5 === void 0 ? void 0 : _videoList$5.name, (videoList === null || videoList === void 0 || (_videoList$6 = videoList[0]) === null || _videoList$6 === void 0 ? void 0 : _videoList$6.loaded) == 100);
- },
- children: (videoList === null || videoList === void 0 || (_videoList$7 = videoList[0]) === null || _videoList$7 === void 0 ? void 0 : _videoList$7.loaded) === 100 ? '删除' : '取消上传'
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: AddVideoModalmodules.uploadWrap,
- style: {
- display: videoList !== null && videoList !== void 0 && videoList.length ? 'none' : 'flex'
- },
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ChunkedUpload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, {
- ref: uploader,
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: AddVideoModalmodules.upload,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
- className: "iconfont icon-shangchuanshipin1 mr5"
- }), "\u4E0A\u4F20\u89C6\u9891"]
- })
- })), /*#__PURE__*/(0,jsx_runtime.jsxs)("label", {
- className: "".concat(AddVideoModalmodules.upload, " ").concat(AddVideoModalmodules.uploadLink),
- onClick: function onClick() {
- return setShowLink(true);
- },
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
- className: "iconfont icon-lianjie1 mr5"
- }), "\u6DFB\u52A0\u5916\u94FE"]
- })]
- }), showLink && /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
- className: "mt5",
- placeholder: "\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",
- value: link,
- onChange: function onChange(e) {
- return setLink(e.target.value);
- }
- })]
- });
- };
- var _useState11 = (0,_react_17_0_2_react.useState)([]),
- _useState12 = slicedToArray_default()(_useState11, 2),
- tagsList = _useState12[0],
- setTagslist = _useState12[1];
- var addTag = function addTag(e) {
- if (e.key == 'Enter') {
- var tag = form.getFieldValue('tag');
- form.setFieldsValue({
- tag: ''
- });
- if (!tag) {
- message/* default */.ZP.info('标签不能为空');
- return;
- }
- if (tagsList.filter(function (item) {
- return item === tag;
- }).length > 0) {
- message/* default */.ZP.info('已有相同名称标签');
- return;
- }
- tagsList.push(tag);
- setTagslist(toConsumableArray_default()(tagsList));
- }
- };
- var tagCloseFn = function tagCloseFn(e, str) {
- e.preventDefault();
- // const index = tagsList.findIndex((key:string)=>str===str);
- // tagsList.splice(index,1)
- setTagslist(toConsumableArray_default()(tagsList.filter(function (item) {
- return item != str;
- })));
- };
- var uploadProps = {
- accept: '.mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*',
- onBefore: handleChangeUpload,
- onBeginInitFile: function onBeginInitFile(v) {
- setVideoList([{
- name: v.filename,
- loaded: 0
- }]);
- },
- onComplete: function onComplete(v) {
- setVideoList([{
- name: v.filename,
- loaded: v.percent,
- videoId: v.id
- }]);
- },
- onError: function onError() {
- setVideoList([]);
- },
- onProgress: function onProgress(v) {
- setVideoList([{
- name: v.filename,
- loaded: v.percent
- }]);
- },
- chunkSize: 1024 * 1024 * 2,
- // 2MB
- options: {
- user_id: user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.user_id
- }
- };
- return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
- centered: true,
- maskClosable: false,
- title: editData ? '编辑视频项目' : '新建视频项目',
- width: 740,
- className: AddVideoModalmodules.modal,
- open: visible,
- confirmLoading: isRequestLoading,
- onOk: handleOk,
- onCancel: handleCancel,
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
- form: form,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- label: "\u9879\u76EE\u540D\u79F0",
- name: "name",
- rules: [{
- required: true,
- message: '请输入项目名称'
- }],
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
- maxLength: 40,
- placeholder: "\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- label: "\u9879\u76EE\u5185\u5BB9",
- name: "content",
- className: AddVideoModalmodules.contentItem,
- children: renderContent()
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- name: "attachment_id",
- label: "\u4E0A\u4F20\u5C01\u9762\u56FE:",
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(CoverUpload/* default */.Z, {
- getFileProgress: function getFileProgress(info) {
- if (info.file.status === 'uploading') {
- setIsRequestLoading(true);
- return;
- }
- if (info.file.status === 'done') {
- setIsRequestLoading(false);
- }
- }
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- label: "\u9879\u76EE\u7B80\u4ECB",
- name: "description",
- className: "ml8",
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(TextArea, {
- rows: 5,
- maxLength: 800,
- placeholder: "\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- label: "\u77E5\u8BC6\u6807\u7B7E",
- name: "tag",
- className: "ml8",
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
- onKeyUp: addTag
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- className: AddVideoModalmodules['tagsList-content'],
- children: tagsList.map(function (item, index) {
- return /*#__PURE__*/(0,jsx_runtime.jsx)(tag/* default */.Z, {
- closable: true,
- onClose: function onClose(e) {
- tagCloseFn(e, item);
- },
- children: item
- }, index + item);
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- label: "\u64AD\u653E\u8BBE\u7F6E",
- name: "allow_skip",
- valuePropName: "checked",
- className: "ml8",
- initialValue: true,
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
- children: "\u5141\u8BB8\u5FEB\u8FDB\u64AD\u653E"
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: "c-grey-999",
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- children: "\u6CE8\u610F\uFF1A"
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- children: ["1\u3001\u4E0A\u4F20\u89C6\u9891\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F", /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
- to: "/users/".concat((_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login, "/videos/protocol"),
- target: "_blank",
- className: AddVideoModalmodules.colorBlue,
- children: "\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"
- }), "\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B"]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- children: ["2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7", sizeNum, "G\uFF1B"]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- children: "3\u3001\u652F\u6301\u6587\u4EF6\u683C\u5F0F\uFF1Aavi\u3001flv\u3001f4v\u3001m4v\u3001mov\u3001mp4\u3001rmvb\u3001swf\u3001webm\u3001wmv\uFF1B"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- children: "4\u3001\u5982\u679C\u89C6\u9891\u6765\u81EA\u4E8E\u5916\u90E8\u94FE\u63A5\uFF0C\u672C\u7F51\u7AD9\u4E0D\u63D0\u4F9B\u64AD\u653E\u9875\u9762\uFF0C\u65E0\u6CD5\u63D0\u4F9B\u7EDF\u8BA1\u6570\u636E\u3002"
- })]
- })]
- })
- });
-};
-/* harmony default export */ var components_AddVideoModal = ((0,_umi_production_exports.connect)(function (_ref3) {
- var user = _ref3.user,
- loading = _ref3.loading,
- globalSetting = _ref3.globalSetting;
- return {
- user: user,
- globalSetting: globalSetting,
- loading: loading
- };
-})(AddVideoModal));
-
/***/ })
}]);
\ No newline at end of file
diff --git a/67514.5c3f66e9.async.js b/67514.16a4b4cb.async.js
similarity index 99%
rename from 67514.5c3f66e9.async.js
rename to 67514.16a4b4cb.async.js
index 6095523ea5..17f7893bb4 100644
--- a/67514.5c3f66e9.async.js
+++ b/67514.16a4b4cb.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[67514,28518,20105,52970,38342,57824,73580,96699,6700,87959,67454,97968,3702,85804],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[67514,28518,20105,38342,57824,73580,96699,6700,87959,67454,97968,3702,85804],{
/***/ 65363:
/*!*************************************************************************************************************!*\
diff --git a/index.html b/index.html
index 9fc8c7feac..5f8da03c51 100644
--- a/index.html
+++ b/index.html
@@ -26,7 +26,7 @@
display: block !important;
}
-
+