diff --git a/16808.ccc88e13.async.js b/16808.90802d3e.async.js
similarity index 99%
rename from 16808.ccc88e13.async.js
rename to 16808.90802d3e.async.js
index 9b6155a560..c5360a1c63 100644
--- a/16808.ccc88e13.async.js
+++ b/16808.90802d3e.async.js
@@ -2164,7 +2164,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
//筛选头部导航数据,学生账号不展示试卷库,hidden为true的需要隐藏
var visibleNavBar = (0,lodash.cloneDeep)(globalSetting === null || globalSetting === void 0 || (_globalSetting$settin = globalSetting.setting) === null || _globalSetting$settin === void 0 ? void 0 : _globalSetting$settin.navbar); //登录跳转不加这个会渲染以前的数据
visibleNavBar = (_visibleNavBar = visibleNavBar) === null || _visibleNavBar === void 0 ? void 0 : _visibleNavBar.filter(function (item) {
- return !(item !== null && item !== void 0 && item.hidden) && !((0,authority/* isCommonStudent */.JA)() && item.link === '/paperlibrary');
+ return !(item !== null && item !== void 0 && item.hidden) && !((0,authority/* isCommonStudent */.JA)() && (item === null || item === void 0 ? void 0 : item.link) === '/paperlibrary');
});
var _iterator = createForOfIteratorHelper_default()(visibleNavBar),
_step;
@@ -2173,7 +2173,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
var visibleItem = _step.value;
if (visibleItem.subitem) {
visibleItem.subitem = visibleItem.subitem.filter(function (item) {
- return !(item !== null && item !== void 0 && item.hidden) && !((0,authority/* isCommonStudent */.JA)() && item.link === '/paperlibrary');
+ return !(item !== null && item !== void 0 && item.hidden) && !((0,authority/* isCommonStudent */.JA)() && (item === null || item === void 0 ? void 0 : item.link) === '/paperlibrary');
});
}
}
@@ -2184,9 +2184,9 @@ var HeaderComponents = function HeaderComponents(_ref) {
}
var hasMatchedUrl = false;
(_visibleNavBar2 = visibleNavBar) === null || _visibleNavBar2 === void 0 || _visibleNavBar2.map(function (val, key) {
- var _location$pathname, _val$subitem;
+ var _location$pathname, _val$link, _val$subitem;
var path = '/' + ((_location$pathname = location.pathname) === null || _location$pathname === void 0 || (_location$pathname = _location$pathname.split('/')) === null || _location$pathname === void 0 ? void 0 : _location$pathname[1]);
- if (val.link === path || val.link.indexOf(path) > -1) {
+ if ((val === null || val === void 0 ? void 0 : val.link) === path || (val === null || val === void 0 || (_val$link = val.link) === null || _val$link === void 0 ? void 0 : _val$link.indexOf(path)) > -1) {
setActiveKey(val === null || val === void 0 ? void 0 : val.link);
(0,util/* setDocumentTitle */.Dk)(dealStr(val === null || val === void 0 ? void 0 : val.name));
setNavBar(footerDeal(key, {
diff --git a/19850.629c40d8.async.js b/19850.629c40d8.async.js
new file mode 100644
index 0000000000..2c8ca359ac
--- /dev/null
+++ b/19850.629c40d8.async.js
@@ -0,0 +1,2776 @@
+"use strict";
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[19850,52720,7229,78169,84360,45504,72749,35555,58268,25473,81120,21321,93826,35019,38660,1024,14882,27155,44407,81326,11021],{
+
+/***/ 50382:
+/*!*****************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
+ \*****************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_EyeOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(19973);
+// 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/EyeOutlined.js
+// This icon file is generated automatically.
+var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
+/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(22589);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_EyeOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined);
+if (false) {}
+/* harmony default export */ var icons_EyeOutlined = (RefIcon);
+
+/***/ }),
+
+/***/ 56762:
+/*!************************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/_util/hooks/useForceUpdate.js ***!
+ \************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ Z: function() { return /* binding */ useForceUpdate; }
+/* harmony export */ });
+/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
+
+function useForceUpdate() {
+ const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0);
+ return forceUpdate;
+}
+
+/***/ }),
+
+/***/ 66104:
+/*!**************************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules ***!
+ \**************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ breadcrumb; }
+});
+
+// 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-util@5.43.0@rc-util/es/Children/toArray.js
+var toArray = __webpack_require__(75440);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/pickAttrs.js
+var pickAttrs = __webpack_require__(47413);
+// 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/_util/reactNode.js
+var reactNode = __webpack_require__(92343);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
+var context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
+var DownOutlined = __webpack_require__(78386);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js
+var dropdown = __webpack_require__(91857);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/BreadcrumbSeparator.js
+"use client";
+
+
+
+const BreadcrumbSeparator = _ref => {
+ let {
+ children
+ } = _ref;
+ const {
+ getPrefixCls
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const prefixCls = getPrefixCls('breadcrumb');
+ return /*#__PURE__*/_react_17_0_2_react.createElement("li", {
+ className: `${prefixCls}-separator`,
+ "aria-hidden": "true"
+ }, children === '' ? children : children || '/');
+};
+BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;
+/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/useItemRender.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 getBreadcrumbName(route, params) {
+ if (route.title === undefined || route.title === null) {
+ return null;
+ }
+ const paramsKeys = Object.keys(params).join('|');
+ return typeof route.title === 'object' ? route.title : String(route.title).replace(new RegExp(`:(${paramsKeys})`, 'g'), (replacement, key) => params[key] || replacement);
+}
+function renderItem(prefixCls, item, children, href) {
+ if (children === null || children === undefined) {
+ return null;
+ }
+ const {
+ className,
+ onClick
+ } = item,
+ restItem = __rest(item, ["className", "onClick"]);
+ const passedProps = Object.assign(Object.assign({}, (0,pickAttrs/* default */.Z)(restItem, {
+ data: true,
+ aria: true
+ })), {
+ onClick
+ });
+ if (href !== undefined) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement("a", Object.assign({}, passedProps, {
+ className: _classnames_2_5_1_classnames_default()(`${prefixCls}-link`, className),
+ href: href
+ }), children);
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement("span", Object.assign({}, passedProps, {
+ className: _classnames_2_5_1_classnames_default()(`${prefixCls}-link`, className)
+ }), children);
+}
+function useItemRender(prefixCls, itemRender) {
+ const mergedItemRender = (item, params, routes, path, href) => {
+ if (itemRender) {
+ return itemRender(item, params, routes, path);
+ }
+ const name = getBreadcrumbName(item, params);
+ return renderItem(prefixCls, item, name, href);
+ };
+ return mergedItemRender;
+}
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/BreadcrumbItem.js
+"use client";
+
+var BreadcrumbItem_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;
+};
+
+
+
+
+
+
+
+const InternalBreadcrumbItem = props => {
+ const {
+ prefixCls,
+ separator = '/',
+ children,
+ menu,
+ overlay,
+ dropdownProps,
+ href
+ } = props;
+ // Warning for deprecated usage
+ if (false) {}
+ /** If overlay is have Wrap a Dropdown */
+ const renderBreadcrumbNode = breadcrumbItem => {
+ if (menu || overlay) {
+ const mergeDropDownProps = Object.assign({}, dropdownProps);
+ if (menu) {
+ const _a = menu || {},
+ {
+ items
+ } = _a,
+ menuProps = BreadcrumbItem_rest(_a, ["items"]);
+ mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), {
+ items: items === null || items === void 0 ? void 0 : items.map((_a, index) => {
+ var {
+ key,
+ title,
+ label,
+ path
+ } = _a,
+ itemProps = BreadcrumbItem_rest(_a, ["key", "title", "label", "path"]);
+ let mergedLabel = label !== null && label !== void 0 ? label : title;
+ if (path) {
+ mergedLabel = /*#__PURE__*/_react_17_0_2_react.createElement("a", {
+ href: `${href}${path}`
+ }, mergedLabel);
+ }
+ return Object.assign(Object.assign({}, itemProps), {
+ key: key !== null && key !== void 0 ? key : index,
+ label: mergedLabel
+ });
+ })
+ });
+ } else if (overlay) {
+ mergeDropDownProps.overlay = overlay;
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({
+ placement: "bottom"
+ }, mergeDropDownProps), /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: `${prefixCls}-overlay-link`
+ }, breadcrumbItem, /*#__PURE__*/_react_17_0_2_react.createElement(DownOutlined/* default */.Z, null)));
+ }
+ return breadcrumbItem;
+ };
+ // wrap to dropDown
+ const link = renderBreadcrumbNode(children);
+ if (link !== undefined && link !== null) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("li", null, link), separator && /*#__PURE__*/_react_17_0_2_react.createElement(breadcrumb_BreadcrumbSeparator, null, separator));
+ }
+ return null;
+};
+const BreadcrumbItem = props => {
+ const {
+ prefixCls: customizePrefixCls,
+ children,
+ href
+ } = props,
+ restProps = BreadcrumbItem_rest(props, ["prefixCls", "children", "href"]);
+ const {
+ getPrefixCls
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
+ return /*#__PURE__*/_react_17_0_2_react.createElement(InternalBreadcrumbItem, Object.assign({}, restProps, {
+ prefixCls: prefixCls
+ }), renderItem(prefixCls, restProps, children, href));
+};
+BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true;
+/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
+var style = __webpack_require__(17313);
+// 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/breadcrumb/style/index.js
+
+
+const genBreadcrumbStyle = token => {
+ const {
+ componentCls,
+ iconCls
+ } = token;
+ return {
+ [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
+ color: token.itemColor,
+ fontSize: token.fontSize,
+ [iconCls]: {
+ fontSize: token.iconFontSize
+ },
+ ol: {
+ display: 'flex',
+ flexWrap: 'wrap',
+ margin: 0,
+ padding: 0,
+ listStyle: 'none'
+ },
+ a: Object.assign({
+ color: token.linkColor,
+ transition: `color ${token.motionDurationMid}`,
+ padding: `0 ${token.paddingXXS}px`,
+ borderRadius: token.borderRadiusSM,
+ height: token.lineHeight * token.fontSize,
+ display: 'inline-block',
+ marginInline: -token.marginXXS,
+ '&:hover': {
+ color: token.linkHoverColor,
+ backgroundColor: token.colorBgTextHover
+ }
+ }, (0,style/* genFocusStyle */.Qy)(token)),
+ [`li:last-child`]: {
+ color: token.lastItemColor
+ },
+ [`${componentCls}-separator`]: {
+ marginInline: token.separatorMargin,
+ color: token.separatorColor
+ },
+ [`${componentCls}-link`]: {
+ [`
+ > ${iconCls} + span,
+ > ${iconCls} + a
+ `]: {
+ marginInlineStart: token.marginXXS
+ }
+ },
+ [`${componentCls}-overlay-link`]: {
+ borderRadius: token.borderRadiusSM,
+ height: token.lineHeight * token.fontSize,
+ display: 'inline-block',
+ padding: `0 ${token.paddingXXS}px`,
+ marginInline: -token.marginXXS,
+ [`> ${iconCls}`]: {
+ marginInlineStart: token.marginXXS,
+ fontSize: token.fontSizeIcon
+ },
+ '&:hover': {
+ color: token.linkHoverColor,
+ backgroundColor: token.colorBgTextHover,
+ a: {
+ color: token.linkHoverColor
+ }
+ },
+ a: {
+ '&:hover': {
+ backgroundColor: 'transparent'
+ }
+ }
+ },
+ // rtl style
+ [`&${token.componentCls}-rtl`]: {
+ direction: 'rtl'
+ }
+ })
+ };
+};
+// ============================== Export ==============================
+/* harmony default export */ var breadcrumb_style = ((0,genComponentStyleHook/* default */.Z)('Breadcrumb', token => {
+ const BreadcrumbToken = (0,statistic/* merge */.TS)(token, {});
+ return [genBreadcrumbStyle(BreadcrumbToken)];
+}, token => ({
+ itemColor: token.colorTextDescription,
+ lastItemColor: token.colorText,
+ iconFontSize: token.fontSize,
+ linkColor: token.colorTextDescription,
+ linkHoverColor: token.colorText,
+ separatorColor: token.colorTextDescription,
+ separatorMargin: token.marginXS
+})));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/useItems.js
+var useItems_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 route2item(route) {
+ const {
+ breadcrumbName,
+ children
+ } = route,
+ rest = useItems_rest(route, ["breadcrumbName", "children"]);
+ const clone = Object.assign({
+ title: breadcrumbName
+ }, rest);
+ if (children) {
+ clone.menu = {
+ items: children.map(_a => {
+ var {
+ breadcrumbName: itemBreadcrumbName
+ } = _a,
+ itemProps = useItems_rest(_a, ["breadcrumbName"]);
+ return Object.assign(Object.assign({}, itemProps), {
+ title: itemBreadcrumbName
+ });
+ })
+ };
+ }
+ return clone;
+}
+function useItems(items, routes) {
+ return (0,_react_17_0_2_react.useMemo)(() => {
+ if (items) {
+ return items;
+ }
+ if (routes) {
+ return routes.map(route2item);
+ }
+ return null;
+ }, [items, routes]);
+}
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/Breadcrumb.js
+"use client";
+
+var Breadcrumb_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;
+};
+
+
+
+
+
+
+
+
+
+
+
+
+const getPath = (params, path) => {
+ if (path === undefined) {
+ return path;
+ }
+ let mergedPath = (path || '').replace(/^\//, '');
+ Object.keys(params).forEach(key => {
+ mergedPath = mergedPath.replace(`:${key}`, params[key]);
+ });
+ return mergedPath;
+};
+const Breadcrumb = props => {
+ const {
+ prefixCls: customizePrefixCls,
+ separator = '/',
+ style,
+ className,
+ rootClassName,
+ routes: legacyRoutes,
+ items,
+ children,
+ itemRender,
+ params = {}
+ } = props,
+ restProps = Breadcrumb_rest(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]);
+ const {
+ getPrefixCls,
+ direction,
+ breadcrumb
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ let crumbs;
+ const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
+ const [wrapSSR, hashId] = breadcrumb_style(prefixCls);
+ const mergedItems = useItems(items, legacyRoutes);
+ if (false) {}
+ const mergedItemRender = useItemRender(prefixCls, itemRender);
+ if (mergedItems && mergedItems.length > 0) {
+ // generated by route
+ const paths = [];
+ const itemRenderRoutes = items || legacyRoutes;
+ crumbs = mergedItems.map((item, index) => {
+ const {
+ path,
+ key,
+ type,
+ menu,
+ overlay,
+ onClick,
+ className: itemClassName,
+ separator: itemSeparator,
+ dropdownProps
+ } = item;
+ const mergedPath = getPath(params, path);
+ if (mergedPath !== undefined) {
+ paths.push(mergedPath);
+ }
+ const mergedKey = key !== null && key !== void 0 ? key : index;
+ if (type === 'separator') {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(breadcrumb_BreadcrumbSeparator, {
+ key: mergedKey
+ }, itemSeparator);
+ }
+ const itemProps = {};
+ const isLastItem = index === mergedItems.length - 1;
+ if (menu) {
+ itemProps.menu = menu;
+ } else if (overlay) {
+ itemProps.overlay = overlay;
+ }
+ let {
+ href
+ } = item;
+ if (paths.length && mergedPath !== undefined) {
+ href = `#/${paths.join('/')}`;
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement(InternalBreadcrumbItem, Object.assign({
+ key: mergedKey
+ }, itemProps, (0,pickAttrs/* default */.Z)(item, {
+ data: true,
+ aria: true
+ }), {
+ className: itemClassName,
+ dropdownProps: dropdownProps,
+ href: href,
+ separator: isLastItem ? '' : separator,
+ onClick: onClick,
+ prefixCls: prefixCls
+ }), mergedItemRender(item, params, itemRenderRoutes, paths, href));
+ });
+ } else if (children) {
+ const childrenLength = (0,toArray/* default */.Z)(children).length;
+ crumbs = (0,toArray/* default */.Z)(children).map((element, index) => {
+ if (!element) {
+ return element;
+ }
+ // =================== Warning =====================
+ if (false) {}
+ false ? 0 : void 0;
+ const isLastItem = index === childrenLength - 1;
+ return (0,reactNode/* cloneElement */.Tm)(element, {
+ separator: isLastItem ? '' : separator,
+ key: index
+ });
+ });
+ }
+ const breadcrumbClassName = _classnames_2_5_1_classnames_default()(prefixCls, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.className, {
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, className, rootClassName, hashId);
+ const mergedStyle = Object.assign(Object.assign({}, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.style), style);
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("nav", Object.assign({
+ className: breadcrumbClassName,
+ style: mergedStyle
+ }, restProps), /*#__PURE__*/_react_17_0_2_react.createElement("ol", null, crumbs)));
+};
+Breadcrumb.Item = breadcrumb_BreadcrumbItem;
+Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator;
+if (false) {}
+/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js
+"use client";
+
+
+/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb);
+
+/***/ }),
+
+/***/ 24905:
+/*!************************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules ***!
+ \************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ es_checkbox; }
+});
+
+// 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-checkbox@3.1.0@rc-checkbox/es/index.js
+var es = __webpack_require__(5630);
+// 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/config-provider/context.js
+var config_provider_context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/DisabledContext.js
+var DisabledContext = __webpack_require__(1684);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/context.js
+var context = __webpack_require__(32441);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/GroupContext.js
+
+const GroupContext = /*#__PURE__*/_react_17_0_2_react.createContext(null);
+/* harmony default export */ var checkbox_GroupContext = (GroupContext);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/style/index.js
+var checkbox_style = __webpack_require__(98447);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules
+var wave = __webpack_require__(14088);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/interface.js
+var wave_interface = __webpack_require__(4572);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/Checkbox.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;
+};
+
+
+
+
+
+
+
+
+
+
+
+const InternalCheckbox = (props, ref) => {
+ var _a;
+ const {
+ prefixCls: customizePrefixCls,
+ className,
+ rootClassName,
+ children,
+ indeterminate = false,
+ style,
+ onMouseEnter,
+ onMouseLeave,
+ skipGroup = false,
+ disabled
+ } = props,
+ restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]);
+ const {
+ getPrefixCls,
+ direction,
+ checkbox
+ } = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_);
+ const checkboxGroup = _react_17_0_2_react.useContext(checkbox_GroupContext);
+ const {
+ isFormItemInput
+ } = _react_17_0_2_react.useContext(context/* FormItemInputContext */.aM);
+ const contextDisabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z);
+ const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled;
+ const prevValue = _react_17_0_2_react.useRef(restProps.value);
+ _react_17_0_2_react.useEffect(() => {
+ checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);
+ false ? 0 : void 0;
+ }, []);
+ _react_17_0_2_react.useEffect(() => {
+ if (skipGroup) {
+ return;
+ }
+ if (restProps.value !== prevValue.current) {
+ checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current);
+ checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value);
+ prevValue.current = restProps.value;
+ }
+ return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value);
+ }, [restProps.value]);
+ const prefixCls = getPrefixCls('checkbox', customizePrefixCls);
+ const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls);
+ const checkboxProps = Object.assign({}, restProps);
+ if (checkboxGroup && !skipGroup) {
+ checkboxProps.onChange = function () {
+ if (restProps.onChange) {
+ restProps.onChange.apply(restProps, arguments);
+ }
+ if (checkboxGroup.toggleOption) {
+ checkboxGroup.toggleOption({
+ label: children,
+ value: restProps.value
+ });
+ }
+ };
+ checkboxProps.name = checkboxGroup.name;
+ checkboxProps.checked = checkboxGroup.value.includes(restProps.value);
+ }
+ const classString = _classnames_2_5_1_classnames_default()(`${prefixCls}-wrapper`, {
+ [`${prefixCls}-rtl`]: direction === 'rtl',
+ [`${prefixCls}-wrapper-checked`]: checkboxProps.checked,
+ [`${prefixCls}-wrapper-disabled`]: mergedDisabled,
+ [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput
+ }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId);
+ const checkboxClass = _classnames_2_5_1_classnames_default()({
+ [`${prefixCls}-indeterminate`]: indeterminate
+ }, wave_interface/* TARGET_CLS */.A, hashId);
+ const ariaChecked = indeterminate ? 'mixed' : undefined;
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, {
+ component: "Checkbox",
+ disabled: mergedDisabled
+ }, /*#__PURE__*/_react_17_0_2_react.createElement("label", {
+ className: classString,
+ style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style),
+ onMouseEnter: onMouseEnter,
+ onMouseLeave: onMouseLeave
+ }, /*#__PURE__*/_react_17_0_2_react.createElement(es/* default */.Z, Object.assign({
+ "aria-checked": ariaChecked
+ }, checkboxProps, {
+ prefixCls: prefixCls,
+ className: checkboxClass,
+ disabled: mergedDisabled,
+ ref: ref
+ })), children !== undefined && /*#__PURE__*/_react_17_0_2_react.createElement("span", null, children))));
+};
+const Checkbox = /*#__PURE__*/_react_17_0_2_react.forwardRef(InternalCheckbox);
+if (false) {}
+/* harmony default export */ var checkbox_Checkbox = (Checkbox);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules
+var toConsumableArray = __webpack_require__(40447);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/omit.js
+var omit = __webpack_require__(55405);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/Group.js
+"use client";
+
+
+var Group_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;
+};
+
+
+
+
+
+
+
+const InternalGroup = (props, ref) => {
+ const {
+ defaultValue,
+ children,
+ options = [],
+ prefixCls: customizePrefixCls,
+ className,
+ rootClassName,
+ style,
+ onChange
+ } = props,
+ restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]);
+ const {
+ getPrefixCls,
+ direction
+ } = _react_17_0_2_react.useContext(config_provider_context/* ConfigContext */.E_);
+ const [value, setValue] = _react_17_0_2_react.useState(restProps.value || defaultValue || []);
+ const [registeredValues, setRegisteredValues] = _react_17_0_2_react.useState([]);
+ _react_17_0_2_react.useEffect(() => {
+ if ('value' in restProps) {
+ setValue(restProps.value || []);
+ }
+ }, [restProps.value]);
+ const memoOptions = _react_17_0_2_react.useMemo(() => options.map(option => {
+ if (typeof option === 'string' || typeof option === 'number') {
+ return {
+ label: option,
+ value: option
+ };
+ }
+ return option;
+ }), [options]);
+ const cancelValue = val => {
+ setRegisteredValues(prevValues => prevValues.filter(v => v !== val));
+ };
+ const registerValue = val => {
+ setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val]));
+ };
+ const toggleOption = option => {
+ const optionIndex = value.indexOf(option.value);
+ const newValue = (0,toConsumableArray/* default */.Z)(value);
+ if (optionIndex === -1) {
+ newValue.push(option.value);
+ } else {
+ newValue.splice(optionIndex, 1);
+ }
+ if (!('value' in restProps)) {
+ setValue(newValue);
+ }
+ onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => {
+ const indexA = memoOptions.findIndex(opt => opt.value === a);
+ const indexB = memoOptions.findIndex(opt => opt.value === b);
+ return indexA - indexB;
+ }));
+ };
+ const prefixCls = getPrefixCls('checkbox', customizePrefixCls);
+ const groupPrefixCls = `${prefixCls}-group`;
+ const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls);
+ const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']);
+ const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/_react_17_0_2_react.createElement(checkbox_Checkbox, {
+ prefixCls: prefixCls,
+ key: option.value.toString(),
+ disabled: 'disabled' in option ? option.disabled : restProps.disabled,
+ value: option.value,
+ checked: value.includes(option.value),
+ onChange: option.onChange,
+ className: `${groupPrefixCls}-item`,
+ style: option.style,
+ title: option.title
+ }, option.label)) : children;
+ // eslint-disable-next-line react/jsx-no-constructed-context-values
+ const context = {
+ toggleOption,
+ value,
+ disabled: restProps.disabled,
+ name: restProps.name,
+ // https://github.com/ant-design/ant-design/issues/16376
+ registerValue,
+ cancelValue
+ };
+ const classString = _classnames_2_5_1_classnames_default()(groupPrefixCls, {
+ [`${groupPrefixCls}-rtl`]: direction === 'rtl'
+ }, className, rootClassName, hashId);
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
+ className: classString,
+ style: style
+ }, domProps, {
+ ref: ref
+ }), /*#__PURE__*/_react_17_0_2_react.createElement(checkbox_GroupContext.Provider, {
+ value: context
+ }, childrenNode)));
+};
+
+const CheckboxGroup = /*#__PURE__*/_react_17_0_2_react.forwardRef(InternalGroup);
+/* harmony default export */ var Group = (/*#__PURE__*/_react_17_0_2_react.memo(CheckboxGroup));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js
+"use client";
+
+
+
+const es_checkbox_Checkbox = checkbox_Checkbox;
+es_checkbox_Checkbox.Group = Group;
+es_checkbox_Checkbox.__ANT_CHECKBOX = true;
+if (false) {}
+/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox);
+
+/***/ }),
+
+/***/ 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)];
+}));
+
+/***/ }),
+
+/***/ 28103:
+/*!***********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/divider/index.js + 1 modules ***!
+ \***********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ divider; }
+});
+
+// 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/_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/config-provider/context.js
+var context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
+var style = __webpack_require__(17313);
+// 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/divider/style/index.js
+
+
+// ============================== Shared ==============================
+const genSharedDividerStyle = token => {
+ const {
+ componentCls,
+ sizePaddingEdgeHorizontal,
+ colorSplit,
+ lineWidth,
+ textPaddingInline,
+ orientationMargin,
+ verticalMarginInline
+ } = token;
+ return {
+ [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
+ borderBlockStart: `${lineWidth}px solid ${colorSplit}`,
+ // vertical
+ '&-vertical': {
+ position: 'relative',
+ top: '-0.06em',
+ display: 'inline-block',
+ height: '0.9em',
+ marginInline: verticalMarginInline,
+ marginBlock: 0,
+ verticalAlign: 'middle',
+ borderTop: 0,
+ borderInlineStart: `${lineWidth}px solid ${colorSplit}`
+ },
+ '&-horizontal': {
+ display: 'flex',
+ clear: 'both',
+ width: '100%',
+ minWidth: '100%',
+ margin: `${token.dividerHorizontalGutterMargin}px 0`
+ },
+ [`&-horizontal${componentCls}-with-text`]: {
+ display: 'flex',
+ alignItems: 'center',
+ margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`,
+ color: token.colorTextHeading,
+ fontWeight: 500,
+ fontSize: token.fontSizeLG,
+ whiteSpace: 'nowrap',
+ textAlign: 'center',
+ borderBlockStart: `0 ${colorSplit}`,
+ '&::before, &::after': {
+ position: 'relative',
+ width: '50%',
+ borderBlockStart: `${lineWidth}px solid transparent`,
+ // Chrome not accept `inherit` in `border-top`
+ borderBlockStartColor: 'inherit',
+ borderBlockEnd: 0,
+ transform: 'translateY(50%)',
+ content: "''"
+ }
+ },
+ [`&-horizontal${componentCls}-with-text-left`]: {
+ '&::before': {
+ width: `${orientationMargin * 100}%`
+ },
+ '&::after': {
+ width: `${100 - orientationMargin * 100}%`
+ }
+ },
+ [`&-horizontal${componentCls}-with-text-right`]: {
+ '&::before': {
+ width: `${100 - orientationMargin * 100}%`
+ },
+ '&::after': {
+ width: `${orientationMargin * 100}%`
+ }
+ },
+ [`${componentCls}-inner-text`]: {
+ display: 'inline-block',
+ paddingBlock: 0,
+ paddingInline: textPaddingInline
+ },
+ '&-dashed': {
+ background: 'none',
+ borderColor: colorSplit,
+ borderStyle: 'dashed',
+ borderWidth: `${lineWidth}px 0 0`
+ },
+ [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: {
+ '&::before, &::after': {
+ borderStyle: 'dashed none none'
+ }
+ },
+ [`&-vertical${componentCls}-dashed`]: {
+ borderInlineStartWidth: lineWidth,
+ borderInlineEnd: 0,
+ borderBlockStart: 0,
+ borderBlockEnd: 0
+ },
+ [`&-plain${componentCls}-with-text`]: {
+ color: token.colorText,
+ fontWeight: 'normal',
+ fontSize: token.fontSize
+ },
+ [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: {
+ '&::before': {
+ width: 0
+ },
+ '&::after': {
+ width: '100%'
+ },
+ [`${componentCls}-inner-text`]: {
+ paddingInlineStart: sizePaddingEdgeHorizontal
+ }
+ },
+ [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: {
+ '&::before': {
+ width: '100%'
+ },
+ '&::after': {
+ width: 0
+ },
+ [`${componentCls}-inner-text`]: {
+ paddingInlineEnd: sizePaddingEdgeHorizontal
+ }
+ }
+ })
+ };
+};
+// ============================== Export ==============================
+/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => {
+ const dividerToken = (0,statistic/* merge */.TS)(token, {
+ dividerHorizontalWithTextGutterMargin: token.margin,
+ dividerHorizontalGutterMargin: token.marginLG,
+ sizePaddingEdgeHorizontal: 0
+ });
+ return [genSharedDividerStyle(dividerToken)];
+}, token => ({
+ textPaddingInline: '1em',
+ orientationMargin: 0.05,
+ verticalMarginInline: token.marginXS
+})));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/index.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;
+};
+
+
+
+
+
+const Divider = props => {
+ const {
+ getPrefixCls,
+ direction,
+ divider
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const {
+ prefixCls: customizePrefixCls,
+ type = 'horizontal',
+ orientation = 'center',
+ orientationMargin,
+ className,
+ rootClassName,
+ children,
+ dashed,
+ plain,
+ style
+ } = props,
+ restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]);
+ const prefixCls = getPrefixCls('divider', customizePrefixCls);
+ const [wrapSSR, hashId] = divider_style(prefixCls);
+ const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation;
+ const hasChildren = !!children;
+ const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;
+ const hasCustomMarginRight = orientation === 'right' && orientationMargin != null;
+ const classString = _classnames_2_5_1_classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, {
+ [`${prefixCls}-with-text`]: hasChildren,
+ [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren,
+ [`${prefixCls}-dashed`]: !!dashed,
+ [`${prefixCls}-plain`]: !!plain,
+ [`${prefixCls}-rtl`]: direction === 'rtl',
+ [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft,
+ [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight
+ }, className, rootClassName);
+ const memoizedOrientationMargin = _react_17_0_2_react.useMemo(() => {
+ if (typeof orientationMargin === 'number') {
+ return orientationMargin;
+ }
+ if (/^\d+$/.test(orientationMargin)) {
+ return Number(orientationMargin);
+ }
+ return orientationMargin;
+ }, [orientationMargin]);
+ const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && {
+ marginLeft: memoizedOrientationMargin
+ }), hasCustomMarginRight && {
+ marginRight: memoizedOrientationMargin
+ });
+ // Warning children not work in vertical mode
+ if (false) {}
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
+ className: classString,
+ style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style)
+ }, restProps, {
+ role: "separator"
+ }), children && type !== 'vertical' && /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: `${prefixCls}-inner-text`,
+ style: innerStyle
+ }, children)));
+};
+if (false) {}
+/* harmony default export */ var divider = (Divider);
+
+/***/ }),
+
+/***/ 38854:
+/*!************************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***!
+ \************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ es_dropdown; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js
+var dropdown = __webpack_require__(91857);
+// 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/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules
+var EllipsisOutlined = __webpack_require__(94172);
+// 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/config-provider/context.js
+var context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules
+var space = __webpack_require__(81327);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
+var Compact = __webpack_require__(33234);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules
+var style = __webpack_require__(47211);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.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;
+};
+
+
+
+
+
+
+
+
+
+const DropdownButton = props => {
+ const {
+ getPopupContainer: getContextPopupContainer,
+ getPrefixCls,
+ direction
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const {
+ prefixCls: customizePrefixCls,
+ type = 'default',
+ danger,
+ disabled,
+ loading,
+ onClick,
+ htmlType,
+ children,
+ className,
+ menu,
+ arrow,
+ autoFocus,
+ overlay,
+ trigger,
+ align,
+ open,
+ onOpenChange,
+ placement,
+ getPopupContainer,
+ href,
+ icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null),
+ title,
+ buttonsRender = buttons => buttons,
+ mouseEnterDelay,
+ mouseLeaveDelay,
+ overlayClassName,
+ overlayStyle,
+ destroyPopupOnHide,
+ dropdownRender
+ } = props,
+ restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]);
+ const prefixCls = getPrefixCls('dropdown', customizePrefixCls);
+ const buttonPrefixCls = `${prefixCls}-button`;
+ const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls);
+ const dropdownProps = {
+ menu,
+ arrow,
+ autoFocus,
+ align,
+ disabled,
+ trigger: disabled ? [] : trigger,
+ onOpenChange,
+ getPopupContainer: getPopupContainer || getContextPopupContainer,
+ mouseEnterDelay,
+ mouseLeaveDelay,
+ overlayClassName,
+ overlayStyle,
+ destroyPopupOnHide,
+ dropdownRender
+ };
+ const {
+ compactSize,
+ compactItemClassnames
+ } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
+ const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
+ if ('overlay' in props) {
+ dropdownProps.overlay = overlay;
+ }
+ if ('open' in props) {
+ dropdownProps.open = open;
+ }
+ if ('placement' in props) {
+ dropdownProps.placement = placement;
+ } else {
+ dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight';
+ }
+ const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
+ type: type,
+ danger: danger,
+ disabled: disabled,
+ loading: loading,
+ onClick: onClick,
+ htmlType: htmlType,
+ href: href,
+ title: title
+ }, children);
+ const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
+ type: type,
+ danger: danger,
+ icon: icon
+ });
+ const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]);
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({
+ className: classes,
+ size: compactSize,
+ block: true
+ }, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender)));
+};
+DropdownButton.__ANT_BUTTON = true;
+/* harmony default export */ var dropdown_button = (DropdownButton);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js
+"use client";
+
+
+
+const Dropdown = dropdown/* default */.Z;
+Dropdown.Button = dropdown_button;
+/* harmony default export */ var es_dropdown = (Dropdown);
+
+/***/ }),
+
+/***/ 73782:
+/*!*********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules ***!
+ \*********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ input; }
+});
+
+// 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/_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/config-provider/context.js
+var context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/context.js
+var form_context = __webpack_require__(32441);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/style/index.js
+var style = __webpack_require__(9937);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Group.js
+"use client";
+
+
+
+
+
+
+
+
+const Group = props => {
+ const {
+ getPrefixCls,
+ direction
+ } = (0,_react_17_0_2_react.useContext)(context/* ConfigContext */.E_);
+ const {
+ prefixCls: customizePrefixCls,
+ className
+ } = props;
+ const prefixCls = getPrefixCls('input-group', customizePrefixCls);
+ const inputPrefixCls = getPrefixCls('input');
+ const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls);
+ const cls = _classnames_2_5_1_classnames_default()(prefixCls, {
+ [`${prefixCls}-lg`]: props.size === 'large',
+ [`${prefixCls}-sm`]: props.size === 'small',
+ [`${prefixCls}-compact`]: props.compact,
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, hashId, className);
+ const formItemContext = (0,_react_17_0_2_react.useContext)(form_context/* FormItemInputContext */.aM);
+ const groupFormItemContext = (0,_react_17_0_2_react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), {
+ isFormItemInput: false
+ }), [formItemContext]);
+ if (false) {}
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: cls,
+ style: props.style,
+ onMouseEnter: props.onMouseEnter,
+ onMouseLeave: props.onMouseLeave,
+ onFocus: props.onFocus,
+ onBlur: props.onBlur
+ }, /*#__PURE__*/_react_17_0_2_react.createElement(form_context/* FormItemInputContext */.aM.Provider, {
+ value: groupFormItemContext
+ }, props.children)));
+};
+/* harmony default export */ var input_Group = (Group);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Input.js + 1 modules
+var Input = __webpack_require__(9432);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(19973);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js
+// This icon file is generated automatically.
+var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
+/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(22589);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeInvisibleOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_EyeInvisibleOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined);
+if (false) {}
+/* harmony default export */ var icons_EyeInvisibleOutlined = (RefIcon);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules
+var EyeOutlined = __webpack_require__(50382);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/omit.js
+var omit = __webpack_require__(55405);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/ref.js
+var es_ref = __webpack_require__(25629);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/hooks/useRemovePasswordTimeout.js
+var useRemovePasswordTimeout = __webpack_require__(59412);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Password.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;
+};
+
+
+
+
+
+
+
+
+
+
+const defaultIconRender = visible => visible ? /*#__PURE__*/_react_17_0_2_react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/_react_17_0_2_react.createElement(icons_EyeInvisibleOutlined, null);
+const ActionMap = {
+ click: 'onClick',
+ hover: 'onMouseOver'
+};
+const Password = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ const {
+ visibilityToggle = true
+ } = props;
+ const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined;
+ const [visible, setVisible] = (0,_react_17_0_2_react.useState)(() => visibilityControlled ? visibilityToggle.visible : false);
+ const inputRef = (0,_react_17_0_2_react.useRef)(null);
+ _react_17_0_2_react.useEffect(() => {
+ if (visibilityControlled) {
+ setVisible(visibilityToggle.visible);
+ }
+ }, [visibilityControlled, visibilityToggle]);
+ // Remove Password value
+ const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef);
+ const onVisibleChange = () => {
+ const {
+ disabled
+ } = props;
+ if (disabled) {
+ return;
+ }
+ if (visible) {
+ removePasswordTimeout();
+ }
+ setVisible(prevState => {
+ var _a;
+ const newState = !prevState;
+ if (typeof visibilityToggle === 'object') {
+ (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState);
+ }
+ return newState;
+ });
+ };
+ const getIcon = prefixCls => {
+ const {
+ action = 'click',
+ iconRender = defaultIconRender
+ } = props;
+ const iconTrigger = ActionMap[action] || '';
+ const icon = iconRender(visible);
+ const iconProps = {
+ [iconTrigger]: onVisibleChange,
+ className: `${prefixCls}-icon`,
+ key: 'passwordIcon',
+ onMouseDown: e => {
+ // Prevent focused state lost
+ // https://github.com/ant-design/ant-design/issues/15173
+ e.preventDefault();
+ },
+ onMouseUp: e => {
+ // Prevent caret position change
+ // https://github.com/ant-design/ant-design/issues/23524
+ e.preventDefault();
+ }
+ };
+ return /*#__PURE__*/_react_17_0_2_react.cloneElement( /*#__PURE__*/_react_17_0_2_react.isValidElement(icon) ? icon : /*#__PURE__*/_react_17_0_2_react.createElement("span", null, icon), iconProps);
+ };
+ const {
+ className,
+ prefixCls: customizePrefixCls,
+ inputPrefixCls: customizeInputPrefixCls,
+ size
+ } = props,
+ restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]);
+ const {
+ getPrefixCls
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
+ const prefixCls = getPrefixCls('input-password', customizePrefixCls);
+ const suffixIcon = visibilityToggle && getIcon(prefixCls);
+ const inputClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, {
+ [`${prefixCls}-${size}`]: !!size
+ });
+ const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), {
+ type: visible ? 'text' : 'password',
+ className: inputClassName,
+ prefixCls: inputPrefixCls,
+ suffix: suffixIcon
+ });
+ if (size) {
+ omittedProps.size = size;
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({
+ ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef)
+ }, omittedProps));
+});
+if (false) {}
+/* harmony default export */ var input_Password = (Password);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/SearchOutlined.js + 1 modules
+var SearchOutlined = __webpack_require__(42653);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/reactNode.js
+var reactNode = __webpack_require__(92343);
+// 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/config-provider/hooks/useSize.js
+var useSize = __webpack_require__(19716);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
+var Compact = __webpack_require__(33234);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/Search.js
+"use client";
+
+var Search_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;
+};
+
+
+
+
+
+
+
+
+
+
+const Search = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ const {
+ prefixCls: customizePrefixCls,
+ inputPrefixCls: customizeInputPrefixCls,
+ className,
+ size: customizeSize,
+ suffix,
+ enterButton = false,
+ addonAfter,
+ loading,
+ disabled,
+ onSearch: customOnSearch,
+ onChange: customOnChange,
+ onCompositionStart,
+ onCompositionEnd
+ } = props,
+ restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]);
+ const {
+ getPrefixCls,
+ direction
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const composedRef = _react_17_0_2_react.useRef(false);
+ const prefixCls = getPrefixCls('input-search', customizePrefixCls);
+ const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls);
+ const {
+ compactSize
+ } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
+ const size = (0,useSize/* default */.Z)(ctx => {
+ var _a;
+ return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
+ });
+ const inputRef = _react_17_0_2_react.useRef(null);
+ const onChange = e => {
+ if (e && e.target && e.type === 'click' && customOnSearch) {
+ customOnSearch(e.target.value, e, {
+ source: 'clear'
+ });
+ }
+ if (customOnChange) {
+ customOnChange(e);
+ }
+ };
+ const onMouseDown = e => {
+ var _a;
+ if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) {
+ e.preventDefault();
+ }
+ };
+ const onSearch = e => {
+ var _a, _b;
+ if (customOnSearch) {
+ customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e, {
+ source: 'input'
+ });
+ }
+ };
+ const onPressEnter = e => {
+ if (composedRef.current || loading) {
+ return;
+ }
+ onSearch(e);
+ };
+ const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/_react_17_0_2_react.createElement(SearchOutlined/* default */.Z, null) : null;
+ const btnClassName = `${prefixCls}-button`;
+ let button;
+ const enterButtonAsElement = enterButton || {};
+ const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true;
+ if (isAntdButton || enterButtonAsElement.type === 'button') {
+ button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({
+ onMouseDown,
+ onClick: e => {
+ var _a, _b;
+ (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e);
+ onSearch(e);
+ },
+ key: 'enterButton'
+ }, isAntdButton ? {
+ className: btnClassName,
+ size
+ } : {}));
+ } else {
+ button = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
+ className: btnClassName,
+ type: enterButton ? 'primary' : undefined,
+ size: size,
+ disabled: disabled,
+ key: "enterButton",
+ onMouseDown: onMouseDown,
+ onClick: onSearch,
+ loading: loading,
+ icon: searchIcon
+ }, enterButton);
+ }
+ if (addonAfter) {
+ button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, {
+ key: 'addonAfter'
+ })];
+ }
+ const cls = _classnames_2_5_1_classnames_default()(prefixCls, {
+ [`${prefixCls}-rtl`]: direction === 'rtl',
+ [`${prefixCls}-${size}`]: !!size,
+ [`${prefixCls}-with-button`]: !!enterButton
+ }, className);
+ const handleOnCompositionStart = e => {
+ composedRef.current = true;
+ onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e);
+ };
+ const handleOnCompositionEnd = e => {
+ composedRef.current = false;
+ onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e);
+ };
+ return /*#__PURE__*/_react_17_0_2_react.createElement(Input/* default */.Z, Object.assign({
+ ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref),
+ onPressEnter: onPressEnter
+ }, restProps, {
+ size: size,
+ onCompositionStart: handleOnCompositionStart,
+ onCompositionEnd: handleOnCompositionEnd,
+ prefixCls: inputPrefixCls,
+ addonAfter: button,
+ suffix: suffix,
+ onChange: onChange,
+ className: cls,
+ disabled: disabled
+ }));
+});
+if (false) {}
+/* harmony default export */ var input_Search = (Search);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/TextArea.js
+var TextArea = __webpack_require__(1643);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js
+"use client";
+
+
+
+
+
+
+const input_Input = Input/* default */.Z;
+if (false) {}
+input_Input.Group = input_Group;
+input_Input.Search = input_Search;
+input_Input.TextArea = TextArea/* default */.Z;
+input_Input.Password = input_Password;
+/* harmony default export */ var input = (input_Input);
+
+/***/ }),
+
+/***/ 57809:
+/*!**********************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/select/index.js ***!
+ \**********************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+/* 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_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 77861);
+/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 55405);
+/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
+/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../_util/PurePanel */ 53487);
+/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_util/motion */ 62892);
+/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_util/statusUtils */ 19080);
+/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355);
+/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 1684);
+/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 93891);
+/* harmony import */ var _config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../config-provider/hooks/useSize */ 19716);
+/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../form/context */ 32441);
+/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../space/Compact */ 33234);
+/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 14154);
+/* harmony import */ var _useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./useBuiltinPlacements */ 58582);
+/* harmony import */ var _useShowArrow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useShowArrow */ 84443);
+/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/iconUtil */ 66339);
+"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;
+};
+// TODO: 4.0 - codemod should help to change `filterOption` to support node props.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+const SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE';
+const InternalSelect = (_a, ref) => {
+ var _b;
+ var {
+ prefixCls: customizePrefixCls,
+ bordered = true,
+ className,
+ rootClassName,
+ getPopupContainer,
+ popupClassName,
+ dropdownClassName,
+ listHeight = 256,
+ placement,
+ listItemHeight = 24,
+ size: customizeSize,
+ disabled: customDisabled,
+ notFoundContent,
+ status: customStatus,
+ builtinPlacements,
+ dropdownMatchSelectWidth,
+ popupMatchSelectWidth,
+ direction: propDirection,
+ style,
+ allowClear
+ } = _a,
+ props = __rest(_a, ["prefixCls", "bordered", "className", "rootClassName", "getPopupContainer", "popupClassName", "dropdownClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "builtinPlacements", "dropdownMatchSelectWidth", "popupMatchSelectWidth", "direction", "style", "allowClear"]);
+ const {
+ getPopupContainer: getContextPopupContainer,
+ getPrefixCls,
+ renderEmpty,
+ direction: contextDirection,
+ virtual,
+ popupMatchSelectWidth: contextPopupMatchSelectWidth,
+ popupOverflow,
+ select
+ } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_);
+ const prefixCls = getPrefixCls('select', customizePrefixCls);
+ const rootPrefixCls = getPrefixCls();
+ const direction = propDirection !== null && propDirection !== void 0 ? propDirection : contextDirection;
+ const {
+ compactSize,
+ compactItemClassnames
+ } = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_4__/* .useCompactItemContext */ .ri)(prefixCls, direction);
+ const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls);
+ const mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
+ const {
+ mode: m
+ } = props;
+ if (m === 'combobox') {
+ return undefined;
+ }
+ if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) {
+ return 'combobox';
+ }
+ return m;
+ }, [props.mode]);
+ const isMultiple = mode === 'multiple' || mode === 'tags';
+ const showSuffixIcon = (0,_useShowArrow__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props.suffixIcon, props.showArrow);
+ const mergedPopupMatchSelectWidth = (_b = popupMatchSelectWidth !== null && popupMatchSelectWidth !== void 0 ? popupMatchSelectWidth : dropdownMatchSelectWidth) !== null && _b !== void 0 ? _b : contextPopupMatchSelectWidth;
+ // ===================== Form Status =====================
+ const {
+ status: contextStatus,
+ hasFeedback,
+ isFormItemInput,
+ feedbackIcon
+ } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_form_context__WEBPACK_IMPORTED_MODULE_7__/* .FormItemInputContext */ .aM);
+ const mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getMergedStatus */ .F)(contextStatus, customStatus);
+ // ===================== Empty =====================
+ let mergedNotFound;
+ if (notFoundContent !== undefined) {
+ mergedNotFound = notFoundContent;
+ } else if (mode === 'combobox') {
+ mergedNotFound = null;
+ } else {
+ mergedNotFound = (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
+ componentName: "Select"
+ });
+ }
+ // ===================== Icons =====================
+ const {
+ suffixIcon,
+ itemIcon,
+ removeIcon,
+ clearIcon
+ } = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(Object.assign(Object.assign({}, props), {
+ multiple: isMultiple,
+ hasFeedback,
+ feedbackIcon,
+ showSuffixIcon,
+ prefixCls,
+ showArrow: props.showArrow,
+ componentName: 'Select'
+ }));
+ const mergedAllowClear = allowClear === true ? {
+ clearIcon
+ } : allowClear;
+ const selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']);
+ const rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, {
+ [`${prefixCls}-dropdown-${direction}`]: direction === 'rtl'
+ }, rootClassName, hashId);
+ const mergedSize = (0,_config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(ctx => {
+ var _a;
+ return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
+ });
+ // ===================== Disabled =====================
+ const disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z);
+ const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;
+ const mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()({
+ [`${prefixCls}-lg`]: mergedSize === 'large',
+ [`${prefixCls}-sm`]: mergedSize === 'small',
+ [`${prefixCls}-rtl`]: direction === 'rtl',
+ [`${prefixCls}-borderless`]: !bordered,
+ [`${prefixCls}-in-form-item`]: isFormItemInput
+ }, (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, select === null || select === void 0 ? void 0 : select.className, className, rootClassName, hashId);
+ // ===================== Placement =====================
+ const memoPlacement = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
+ if (placement !== undefined) {
+ return placement;
+ }
+ return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';
+ }, [placement, direction]);
+ const mergedBuiltinPlacements = (0,_useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z)(builtinPlacements, popupOverflow);
+ // ====================== Warning ======================
+ if (false) {}
+ // ====================== Render =======================
+ return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, Object.assign({
+ ref: ref,
+ virtual: virtual,
+ showSearch: select === null || select === void 0 ? void 0 : select.showSearch
+ }, selectProps, {
+ style: Object.assign(Object.assign({}, select === null || select === void 0 ? void 0 : select.style), style),
+ dropdownMatchSelectWidth: mergedPopupMatchSelectWidth,
+ builtinPlacements: mergedBuiltinPlacements,
+ transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_15__/* .getTransitionName */ .m)(rootPrefixCls, 'slide-up', props.transitionName),
+ listHeight: listHeight,
+ listItemHeight: listItemHeight,
+ mode: mode,
+ prefixCls: prefixCls,
+ placement: memoPlacement,
+ direction: direction,
+ suffixIcon: suffixIcon,
+ menuItemSelectedIcon: itemIcon,
+ removeIcon: removeIcon,
+ allowClear: mergedAllowClear,
+ notFoundContent: mergedNotFound,
+ className: mergedClassName,
+ getPopupContainer: getPopupContainer || getContextPopupContainer,
+ dropdownClassName: rcSelectRtlDropdownClassName,
+ disabled: mergedDisabled
+ })));
+};
+if (false) {}
+const Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect);
+// We don't care debug panel
+/* istanbul ignore next */
+const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)(Select);
+Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE;
+Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx;
+Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo;
+Select._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
+if (false) {}
+/* harmony default export */ __webpack_exports__["default"] = (Select);
+
+/***/ }),
+
+/***/ 81327:
+/*!*********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules ***!
+ \*********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ space; }
+});
+
+// UNUSED EXPORTS: SpaceContext
+
+// 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-util@5.43.0@rc-util/es/Children/toArray.js
+var toArray = __webpack_require__(75440);
+// 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/space/Compact.js
+var Compact = __webpack_require__(33234);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/context.js
+
+const SpaceContext = /*#__PURE__*/_react_17_0_2_react.createContext({
+ latestIndex: 0
+});
+const SpaceContextProvider = SpaceContext.Provider;
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Item.js
+"use client";
+
+
+
+const Item = _ref => {
+ let {
+ className,
+ index,
+ children,
+ split,
+ style
+ } = _ref;
+ const {
+ latestIndex
+ } = _react_17_0_2_react.useContext(SpaceContext);
+ if (children === null || children === undefined) {
+ return null;
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
+ className: className,
+ style: style
+ }, children), index < latestIndex && split && /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: `${className}-split`
+ }, split));
+};
+/* harmony default export */ var space_Item = (Item);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules
+var space_style = __webpack_require__(2856);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/utils.js
+function isPresetSize(size) {
+ return ['small', 'middle', 'large'].includes(size);
+}
+function isValidGapNumber(size) {
+ if (!size) {
+ // The case of size = 0 is deliberately excluded here, because the default value of the gap attribute in CSS is 0, so if the user passes 0 in, we can directly ignore it.
+ return false;
+ }
+ return typeof size === 'number' && !Number.isNaN(size);
+}
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.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;
+};
+
+
+
+
+
+
+
+
+
+
+const Space = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ var _a, _b;
+ const {
+ getPrefixCls,
+ space,
+ direction: directionConfig
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const {
+ size = (space === null || space === void 0 ? void 0 : space.size) || 'small',
+ align,
+ className,
+ rootClassName,
+ children,
+ direction = 'horizontal',
+ prefixCls: customizePrefixCls,
+ split,
+ style,
+ wrap = false,
+ classNames: customClassNames,
+ styles
+ } = props,
+ otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]);
+ const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size];
+ const isPresetVerticalSize = isPresetSize(verticalSize);
+ const isPresetHorizontalSize = isPresetSize(horizontalSize);
+ const isValidVerticalSize = isValidGapNumber(verticalSize);
+ const isValidHorizontalSize = isValidGapNumber(horizontalSize);
+ const childNodes = (0,toArray/* default */.Z)(children, {
+ keepEmpty: true
+ });
+ const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
+ const prefixCls = getPrefixCls('space', customizePrefixCls);
+ const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls);
+ const cls = _classnames_2_5_1_classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, {
+ [`${prefixCls}-rtl`]: directionConfig === 'rtl',
+ [`${prefixCls}-align-${mergedAlign}`]: mergedAlign,
+ [`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize,
+ [`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize
+ }, className, rootClassName);
+ const itemClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item);
+ // Calculate latest one
+ let latestIndex = 0;
+ const nodes = childNodes.map((child, i) => {
+ var _a, _b;
+ if (child !== null && child !== undefined) {
+ latestIndex = i;
+ }
+ const key = child && child.key || `${itemClassName}-${i}`;
+ return /*#__PURE__*/_react_17_0_2_react.createElement(space_Item, {
+ className: itemClassName,
+ key: key,
+ index: i,
+ split: split,
+ style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item
+ }, child);
+ });
+ const spaceContext = _react_17_0_2_react.useMemo(() => ({
+ latestIndex
+ }), [latestIndex]);
+ // =========================== Render ===========================
+ if (childNodes.length === 0) {
+ return null;
+ }
+ const gapStyle = {};
+ if (wrap) {
+ gapStyle.flexWrap = 'wrap';
+ }
+ if (!isPresetHorizontalSize && isValidHorizontalSize) {
+ gapStyle.columnGap = horizontalSize;
+ }
+ if (!isPresetVerticalSize && isValidVerticalSize) {
+ gapStyle.rowGap = verticalSize;
+ }
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
+ ref: ref,
+ className: cls,
+ style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style)
+ }, otherProps), /*#__PURE__*/_react_17_0_2_react.createElement(SpaceContextProvider, {
+ value: spaceContext
+ }, nodes)));
+});
+if (false) {}
+const CompoundedSpace = Space;
+CompoundedSpace.Compact = Compact/* default */.ZP;
+/* harmony default export */ var space = (CompoundedSpace);
+
+/***/ }),
+
+/***/ 78673:
+/*!**********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/switch/index.js + 2 modules ***!
+ \**********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ es_switch; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules
+var LoadingOutlined = __webpack_require__(42141);
+// 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/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(19973);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/defineProperty.js
+var defineProperty = __webpack_require__(51060);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
+var slicedToArray = __webpack_require__(8295);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/objectWithoutProperties.js
+var objectWithoutProperties = __webpack_require__(62615);
+// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/hooks/useMergedState.js
+var useMergedState = __webpack_require__(71366);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/KeyCode.js
+var KeyCode = __webpack_require__(20287);
+;// CONCATENATED MODULE: ./node_modules/_rc-switch@4.1.0@rc-switch/es/index.js
+
+
+
+
+var _excluded = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"];
+
+
+
+
+var Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) {
+ var _classNames;
+ var _ref$prefixCls = _ref.prefixCls,
+ prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls,
+ className = _ref.className,
+ checked = _ref.checked,
+ defaultChecked = _ref.defaultChecked,
+ disabled = _ref.disabled,
+ loadingIcon = _ref.loadingIcon,
+ checkedChildren = _ref.checkedChildren,
+ unCheckedChildren = _ref.unCheckedChildren,
+ onClick = _ref.onClick,
+ onChange = _ref.onChange,
+ onKeyDown = _ref.onKeyDown,
+ restProps = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded);
+ var _useMergedState = (0,useMergedState/* default */.Z)(false, {
+ value: checked,
+ defaultValue: defaultChecked
+ }),
+ _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
+ innerChecked = _useMergedState2[0],
+ setInnerChecked = _useMergedState2[1];
+ function triggerChange(newChecked, event) {
+ var mergedChecked = innerChecked;
+ if (!disabled) {
+ mergedChecked = newChecked;
+ setInnerChecked(mergedChecked);
+ onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event);
+ }
+ return mergedChecked;
+ }
+ function onInternalKeyDown(e) {
+ if (e.which === KeyCode/* default */.Z.LEFT) {
+ triggerChange(false, e);
+ } else if (e.which === KeyCode/* default */.Z.RIGHT) {
+ triggerChange(true, e);
+ }
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
+ }
+ function onInternalClick(e) {
+ var ret = triggerChange(!innerChecked, e);
+ // [Legacy] trigger onClick with value
+ onClick === null || onClick === void 0 ? void 0 : onClick(ret, e);
+ }
+ var switchClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames));
+ return /*#__PURE__*/_react_17_0_2_react.createElement("button", (0,esm_extends/* default */.Z)({}, restProps, {
+ type: "button",
+ role: "switch",
+ "aria-checked": innerChecked,
+ disabled: disabled,
+ className: switchClassName,
+ ref: ref,
+ onKeyDown: onInternalKeyDown,
+ onClick: onInternalClick
+ }), loadingIcon, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner")
+ }, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner-checked")
+ }, checkedChildren), /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner-unchecked")
+ }, unCheckedChildren)));
+});
+Switch.displayName = 'Switch';
+/* harmony default export */ var es = (Switch);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules
+var wave = __webpack_require__(14088);
+// 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/config-provider/DisabledContext.js
+var DisabledContext = __webpack_require__(1684);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
+var useSize = __webpack_require__(19716);
+// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js
+var dist_module = __webpack_require__(64993);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
+var style = __webpack_require__(17313);
+// 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/switch/style/index.js
+
+
+
+const genSwitchSmallStyle = token => {
+ const {
+ componentCls,
+ trackHeightSM,
+ trackPadding,
+ trackMinWidthSM,
+ innerMinMarginSM,
+ innerMaxMarginSM,
+ handleSizeSM
+ } = token;
+ const switchInnerCls = `${componentCls}-inner`;
+ return {
+ [componentCls]: {
+ [`&${componentCls}-small`]: {
+ minWidth: trackMinWidthSM,
+ height: trackHeightSM,
+ lineHeight: `${trackHeightSM}px`,
+ [`${componentCls}-inner`]: {
+ paddingInlineStart: innerMaxMarginSM,
+ paddingInlineEnd: innerMinMarginSM,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`,
+ marginInlineEnd: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginTop: -trackHeightSM,
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ }
+ },
+ [`${componentCls}-handle`]: {
+ width: handleSizeSM,
+ height: handleSizeSM
+ },
+ [`${componentCls}-loading-icon`]: {
+ top: (handleSizeSM - token.switchLoadingIconSize) / 2,
+ fontSize: token.switchLoadingIconSize
+ },
+ [`&${componentCls}-checked`]: {
+ [`${componentCls}-inner`]: {
+ paddingInlineStart: innerMinMarginSM,
+ paddingInlineEnd: innerMaxMarginSM,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`,
+ marginInlineEnd: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`
+ }
+ },
+ [`${componentCls}-handle`]: {
+ insetInlineStart: `calc(100% - ${handleSizeSM + trackPadding}px)`
+ }
+ },
+ [`&:not(${componentCls}-disabled):active`]: {
+ [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: token.marginXXS / 2,
+ marginInlineEnd: -token.marginXXS / 2
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: -token.marginXXS / 2,
+ marginInlineEnd: token.marginXXS / 2
+ }
+ }
+ }
+ }
+ }
+ };
+};
+const genSwitchLoadingStyle = token => {
+ const {
+ componentCls,
+ handleSize
+ } = token;
+ return {
+ [componentCls]: {
+ [`${componentCls}-loading-icon${token.iconCls}`]: {
+ position: 'relative',
+ top: (handleSize - token.fontSize) / 2,
+ color: token.switchLoadingIconColor,
+ verticalAlign: 'top'
+ },
+ [`&${componentCls}-checked ${componentCls}-loading-icon`]: {
+ color: token.switchColor
+ }
+ }
+ };
+};
+const genSwitchHandleStyle = token => {
+ const {
+ componentCls,
+ motion,
+ trackPadding,
+ handleBg,
+ handleShadow,
+ handleSize
+ } = token;
+ const switchHandleCls = `${componentCls}-handle`;
+ return {
+ [componentCls]: {
+ [switchHandleCls]: {
+ position: 'absolute',
+ top: trackPadding,
+ insetInlineStart: trackPadding,
+ width: handleSize,
+ height: handleSize,
+ transition: `all ${token.switchDuration} ease-in-out`,
+ '&::before': {
+ position: 'absolute',
+ top: 0,
+ insetInlineEnd: 0,
+ bottom: 0,
+ insetInlineStart: 0,
+ backgroundColor: handleBg,
+ borderRadius: handleSize / 2,
+ boxShadow: handleShadow,
+ transition: `all ${token.switchDuration} ease-in-out`,
+ content: '""'
+ }
+ },
+ [`&${componentCls}-checked ${switchHandleCls}`]: {
+ insetInlineStart: `calc(100% - ${handleSize + trackPadding}px)`
+ },
+ [`&:not(${componentCls}-disabled):active`]: motion ? {
+ [`${switchHandleCls}::before`]: {
+ insetInlineEnd: token.switchHandleActiveInset,
+ insetInlineStart: 0
+ },
+ [`&${componentCls}-checked ${switchHandleCls}::before`]: {
+ insetInlineEnd: 0,
+ insetInlineStart: token.switchHandleActiveInset
+ }
+ } : /* istanbul ignore next */
+ {}
+ }
+ };
+};
+const genSwitchInnerStyle = token => {
+ const {
+ componentCls,
+ trackHeight,
+ trackPadding,
+ innerMinMargin,
+ innerMaxMargin,
+ handleSize
+ } = token;
+ const switchInnerCls = `${componentCls}-inner`;
+ return {
+ [componentCls]: {
+ [switchInnerCls]: {
+ display: 'block',
+ overflow: 'hidden',
+ borderRadius: 100,
+ height: '100%',
+ paddingInlineStart: innerMaxMargin,
+ paddingInlineEnd: innerMinMargin,
+ transition: `padding-inline-start ${token.switchDuration} ease-in-out, padding-inline-end ${token.switchDuration} ease-in-out`,
+ [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: {
+ display: 'block',
+ color: token.colorTextLightSolid,
+ fontSize: token.fontSizeSM,
+ transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`,
+ pointerEvents: 'none'
+ },
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`,
+ marginInlineEnd: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginTop: -trackHeight,
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ paddingInlineStart: innerMinMargin,
+ paddingInlineEnd: innerMaxMargin,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`,
+ marginInlineEnd: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`
+ }
+ },
+ [`&:not(${componentCls}-disabled):active`]: {
+ [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: trackPadding * 2,
+ marginInlineEnd: -trackPadding * 2
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: -trackPadding * 2,
+ marginInlineEnd: trackPadding * 2
+ }
+ }
+ }
+ }
+ };
+};
+const genSwitchStyle = token => {
+ const {
+ componentCls,
+ trackHeight,
+ trackMinWidth
+ } = token;
+ return {
+ [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
+ position: 'relative',
+ display: 'inline-block',
+ boxSizing: 'border-box',
+ minWidth: trackMinWidth,
+ height: trackHeight,
+ lineHeight: `${trackHeight}px`,
+ verticalAlign: 'middle',
+ background: token.colorTextQuaternary,
+ border: '0',
+ borderRadius: 100,
+ cursor: 'pointer',
+ transition: `all ${token.motionDurationMid}`,
+ userSelect: 'none',
+ [`&:hover:not(${componentCls}-disabled)`]: {
+ background: token.colorTextTertiary
+ }
+ }), (0,style/* genFocusStyle */.Qy)(token)), {
+ [`&${componentCls}-checked`]: {
+ background: token.switchColor,
+ [`&:hover:not(${componentCls}-disabled)`]: {
+ background: token.colorPrimaryHover
+ }
+ },
+ [`&${componentCls}-loading, &${componentCls}-disabled`]: {
+ cursor: 'not-allowed',
+ opacity: token.switchDisabledOpacity,
+ '*': {
+ boxShadow: 'none',
+ cursor: 'not-allowed'
+ }
+ },
+ // rtl style
+ [`&${componentCls}-rtl`]: {
+ direction: 'rtl'
+ }
+ })
+ };
+};
+// ============================== Export ==============================
+/* harmony default export */ var switch_style = ((0,genComponentStyleHook/* default */.Z)('Switch', token => {
+ const switchToken = (0,statistic/* merge */.TS)(token, {
+ switchDuration: token.motionDurationMid,
+ switchColor: token.colorPrimary,
+ switchDisabledOpacity: token.opacityLoading,
+ switchLoadingIconSize: token.fontSizeIcon * 0.75,
+ switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`,
+ switchHandleActiveInset: '-30%'
+ });
+ return [genSwitchStyle(switchToken),
+ // inner style
+ genSwitchInnerStyle(switchToken),
+ // handle style
+ genSwitchHandleStyle(switchToken),
+ // loading style
+ genSwitchLoadingStyle(switchToken),
+ // small style
+ genSwitchSmallStyle(switchToken)];
+}, token => {
+ const {
+ fontSize,
+ lineHeight,
+ controlHeight,
+ colorWhite
+ } = token;
+ const height = fontSize * lineHeight;
+ const heightSM = controlHeight / 2;
+ const padding = 2; // Fixed value
+ const handleSize = height - padding * 2;
+ const handleSizeSM = heightSM - padding * 2;
+ return {
+ trackHeight: height,
+ trackHeightSM: heightSM,
+ trackMinWidth: handleSize * 2 + padding * 4,
+ trackMinWidthSM: handleSizeSM * 2 + padding * 2,
+ trackPadding: padding,
+ handleBg: colorWhite,
+ handleSize,
+ handleSizeSM,
+ handleShadow: `0 2px 4px 0 ${new dist_module/* TinyColor */.C('#00230b').setAlpha(0.2).toRgbString()}`,
+ innerMinMargin: handleSize / 2,
+ innerMaxMargin: handleSize + padding + padding * 2,
+ innerMinMarginSM: handleSizeSM / 2,
+ innerMaxMarginSM: handleSizeSM + padding + padding * 2
+ };
+}));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/index.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;
+};
+
+
+
+
+
+
+
+
+
+
+const switch_Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ const {
+ prefixCls: customizePrefixCls,
+ size: customizeSize,
+ disabled: customDisabled,
+ loading,
+ className,
+ rootClassName,
+ style
+ } = props,
+ restProps = __rest(props, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style"]);
+ false ? 0 : void 0;
+ const {
+ getPrefixCls,
+ direction,
+ switch: SWITCH
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ // ===================== Disabled =====================
+ const disabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z);
+ const mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading;
+ const prefixCls = getPrefixCls('switch', customizePrefixCls);
+ const loadingIcon = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
+ className: `${prefixCls}-handle`
+ }, loading && /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, {
+ className: `${prefixCls}-loading-icon`
+ }));
+ // Style
+ const [wrapSSR, hashId] = switch_style(prefixCls);
+ const mergedSize = (0,useSize/* default */.Z)(customizeSize);
+ const classes = _classnames_2_5_1_classnames_default()(SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.className, {
+ [`${prefixCls}-small`]: mergedSize === 'small',
+ [`${prefixCls}-loading`]: loading,
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, className, rootClassName, hashId);
+ const mergedStyle = Object.assign(Object.assign({}, SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.style), style);
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, {
+ component: "Switch"
+ }, /*#__PURE__*/_react_17_0_2_react.createElement(es, Object.assign({}, restProps, {
+ prefixCls: prefixCls,
+ className: classes,
+ style: mergedStyle,
+ disabled: mergedDisabled,
+ ref: ref,
+ loadingIcon: loadingIcon
+ }))));
+});
+switch_Switch.__ANT_SWITCH = true;
+if (false) {}
+/* harmony default export */ var es_switch = (switch_Switch);
+
+/***/ })
+
+}]);
\ No newline at end of file
diff --git a/23041.d8100682.async.js b/23041.d8100682.async.js
new file mode 100644
index 0000000000..c73b5644dc
--- /dev/null
+++ b/23041.d8100682.async.js
@@ -0,0 +1,1329 @@
+"use strict";
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[23041,52720,45504],{
+
+/***/ 71371:
+/*!********************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/DeleteOutlined.js + 1 modules ***!
+ \********************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_DeleteOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(19973);
+// 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/DeleteOutlined.js
+// This icon file is generated automatically.
+var DeleteOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" };
+/* harmony default export */ var asn_DeleteOutlined = (DeleteOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(22589);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/DeleteOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var DeleteOutlined_DeleteOutlined = function DeleteOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_DeleteOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(DeleteOutlined_DeleteOutlined);
+if (false) {}
+/* harmony default export */ var icons_DeleteOutlined = (RefIcon);
+
+/***/ }),
+
+/***/ 45532:
+/*!************************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules ***!
+ \************************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_PlusCircleOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(19973);
+// 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/PlusCircleOutlined.js
+// This icon file is generated automatically.
+var PlusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "plus-circle", "theme": "outlined" };
+/* harmony default export */ var asn_PlusCircleOutlined = (PlusCircleOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(22589);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/PlusCircleOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var PlusCircleOutlined_PlusCircleOutlined = function PlusCircleOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_PlusCircleOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(PlusCircleOutlined_PlusCircleOutlined);
+if (false) {}
+/* harmony default export */ var icons_PlusCircleOutlined = (RefIcon);
+
+/***/ }),
+
+/***/ 66104:
+/*!**************************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules ***!
+ \**************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ breadcrumb; }
+});
+
+// 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-util@5.43.0@rc-util/es/Children/toArray.js
+var toArray = __webpack_require__(75440);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/pickAttrs.js
+var pickAttrs = __webpack_require__(47413);
+// 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/_util/reactNode.js
+var reactNode = __webpack_require__(92343);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
+var context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/DownOutlined.js + 1 modules
+var DownOutlined = __webpack_require__(78386);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js
+var dropdown = __webpack_require__(91857);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/BreadcrumbSeparator.js
+"use client";
+
+
+
+const BreadcrumbSeparator = _ref => {
+ let {
+ children
+ } = _ref;
+ const {
+ getPrefixCls
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const prefixCls = getPrefixCls('breadcrumb');
+ return /*#__PURE__*/_react_17_0_2_react.createElement("li", {
+ className: `${prefixCls}-separator`,
+ "aria-hidden": "true"
+ }, children === '' ? children : children || '/');
+};
+BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;
+/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/useItemRender.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 getBreadcrumbName(route, params) {
+ if (route.title === undefined || route.title === null) {
+ return null;
+ }
+ const paramsKeys = Object.keys(params).join('|');
+ return typeof route.title === 'object' ? route.title : String(route.title).replace(new RegExp(`:(${paramsKeys})`, 'g'), (replacement, key) => params[key] || replacement);
+}
+function renderItem(prefixCls, item, children, href) {
+ if (children === null || children === undefined) {
+ return null;
+ }
+ const {
+ className,
+ onClick
+ } = item,
+ restItem = __rest(item, ["className", "onClick"]);
+ const passedProps = Object.assign(Object.assign({}, (0,pickAttrs/* default */.Z)(restItem, {
+ data: true,
+ aria: true
+ })), {
+ onClick
+ });
+ if (href !== undefined) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement("a", Object.assign({}, passedProps, {
+ className: _classnames_2_5_1_classnames_default()(`${prefixCls}-link`, className),
+ href: href
+ }), children);
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement("span", Object.assign({}, passedProps, {
+ className: _classnames_2_5_1_classnames_default()(`${prefixCls}-link`, className)
+ }), children);
+}
+function useItemRender(prefixCls, itemRender) {
+ const mergedItemRender = (item, params, routes, path, href) => {
+ if (itemRender) {
+ return itemRender(item, params, routes, path);
+ }
+ const name = getBreadcrumbName(item, params);
+ return renderItem(prefixCls, item, name, href);
+ };
+ return mergedItemRender;
+}
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/BreadcrumbItem.js
+"use client";
+
+var BreadcrumbItem_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;
+};
+
+
+
+
+
+
+
+const InternalBreadcrumbItem = props => {
+ const {
+ prefixCls,
+ separator = '/',
+ children,
+ menu,
+ overlay,
+ dropdownProps,
+ href
+ } = props;
+ // Warning for deprecated usage
+ if (false) {}
+ /** If overlay is have Wrap a Dropdown */
+ const renderBreadcrumbNode = breadcrumbItem => {
+ if (menu || overlay) {
+ const mergeDropDownProps = Object.assign({}, dropdownProps);
+ if (menu) {
+ const _a = menu || {},
+ {
+ items
+ } = _a,
+ menuProps = BreadcrumbItem_rest(_a, ["items"]);
+ mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), {
+ items: items === null || items === void 0 ? void 0 : items.map((_a, index) => {
+ var {
+ key,
+ title,
+ label,
+ path
+ } = _a,
+ itemProps = BreadcrumbItem_rest(_a, ["key", "title", "label", "path"]);
+ let mergedLabel = label !== null && label !== void 0 ? label : title;
+ if (path) {
+ mergedLabel = /*#__PURE__*/_react_17_0_2_react.createElement("a", {
+ href: `${href}${path}`
+ }, mergedLabel);
+ }
+ return Object.assign(Object.assign({}, itemProps), {
+ key: key !== null && key !== void 0 ? key : index,
+ label: mergedLabel
+ });
+ })
+ });
+ } else if (overlay) {
+ mergeDropDownProps.overlay = overlay;
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({
+ placement: "bottom"
+ }, mergeDropDownProps), /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: `${prefixCls}-overlay-link`
+ }, breadcrumbItem, /*#__PURE__*/_react_17_0_2_react.createElement(DownOutlined/* default */.Z, null)));
+ }
+ return breadcrumbItem;
+ };
+ // wrap to dropDown
+ const link = renderBreadcrumbNode(children);
+ if (link !== undefined && link !== null) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("li", null, link), separator && /*#__PURE__*/_react_17_0_2_react.createElement(breadcrumb_BreadcrumbSeparator, null, separator));
+ }
+ return null;
+};
+const BreadcrumbItem = props => {
+ const {
+ prefixCls: customizePrefixCls,
+ children,
+ href
+ } = props,
+ restProps = BreadcrumbItem_rest(props, ["prefixCls", "children", "href"]);
+ const {
+ getPrefixCls
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
+ return /*#__PURE__*/_react_17_0_2_react.createElement(InternalBreadcrumbItem, Object.assign({}, restProps, {
+ prefixCls: prefixCls
+ }), renderItem(prefixCls, restProps, children, href));
+};
+BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true;
+/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
+var style = __webpack_require__(17313);
+// 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/breadcrumb/style/index.js
+
+
+const genBreadcrumbStyle = token => {
+ const {
+ componentCls,
+ iconCls
+ } = token;
+ return {
+ [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
+ color: token.itemColor,
+ fontSize: token.fontSize,
+ [iconCls]: {
+ fontSize: token.iconFontSize
+ },
+ ol: {
+ display: 'flex',
+ flexWrap: 'wrap',
+ margin: 0,
+ padding: 0,
+ listStyle: 'none'
+ },
+ a: Object.assign({
+ color: token.linkColor,
+ transition: `color ${token.motionDurationMid}`,
+ padding: `0 ${token.paddingXXS}px`,
+ borderRadius: token.borderRadiusSM,
+ height: token.lineHeight * token.fontSize,
+ display: 'inline-block',
+ marginInline: -token.marginXXS,
+ '&:hover': {
+ color: token.linkHoverColor,
+ backgroundColor: token.colorBgTextHover
+ }
+ }, (0,style/* genFocusStyle */.Qy)(token)),
+ [`li:last-child`]: {
+ color: token.lastItemColor
+ },
+ [`${componentCls}-separator`]: {
+ marginInline: token.separatorMargin,
+ color: token.separatorColor
+ },
+ [`${componentCls}-link`]: {
+ [`
+ > ${iconCls} + span,
+ > ${iconCls} + a
+ `]: {
+ marginInlineStart: token.marginXXS
+ }
+ },
+ [`${componentCls}-overlay-link`]: {
+ borderRadius: token.borderRadiusSM,
+ height: token.lineHeight * token.fontSize,
+ display: 'inline-block',
+ padding: `0 ${token.paddingXXS}px`,
+ marginInline: -token.marginXXS,
+ [`> ${iconCls}`]: {
+ marginInlineStart: token.marginXXS,
+ fontSize: token.fontSizeIcon
+ },
+ '&:hover': {
+ color: token.linkHoverColor,
+ backgroundColor: token.colorBgTextHover,
+ a: {
+ color: token.linkHoverColor
+ }
+ },
+ a: {
+ '&:hover': {
+ backgroundColor: 'transparent'
+ }
+ }
+ },
+ // rtl style
+ [`&${token.componentCls}-rtl`]: {
+ direction: 'rtl'
+ }
+ })
+ };
+};
+// ============================== Export ==============================
+/* harmony default export */ var breadcrumb_style = ((0,genComponentStyleHook/* default */.Z)('Breadcrumb', token => {
+ const BreadcrumbToken = (0,statistic/* merge */.TS)(token, {});
+ return [genBreadcrumbStyle(BreadcrumbToken)];
+}, token => ({
+ itemColor: token.colorTextDescription,
+ lastItemColor: token.colorText,
+ iconFontSize: token.fontSize,
+ linkColor: token.colorTextDescription,
+ linkHoverColor: token.colorText,
+ separatorColor: token.colorTextDescription,
+ separatorMargin: token.marginXS
+})));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/useItems.js
+var useItems_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 route2item(route) {
+ const {
+ breadcrumbName,
+ children
+ } = route,
+ rest = useItems_rest(route, ["breadcrumbName", "children"]);
+ const clone = Object.assign({
+ title: breadcrumbName
+ }, rest);
+ if (children) {
+ clone.menu = {
+ items: children.map(_a => {
+ var {
+ breadcrumbName: itemBreadcrumbName
+ } = _a,
+ itemProps = useItems_rest(_a, ["breadcrumbName"]);
+ return Object.assign(Object.assign({}, itemProps), {
+ title: itemBreadcrumbName
+ });
+ })
+ };
+ }
+ return clone;
+}
+function useItems(items, routes) {
+ return (0,_react_17_0_2_react.useMemo)(() => {
+ if (items) {
+ return items;
+ }
+ if (routes) {
+ return routes.map(route2item);
+ }
+ return null;
+ }, [items, routes]);
+}
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/Breadcrumb.js
+"use client";
+
+var Breadcrumb_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;
+};
+
+
+
+
+
+
+
+
+
+
+
+
+const getPath = (params, path) => {
+ if (path === undefined) {
+ return path;
+ }
+ let mergedPath = (path || '').replace(/^\//, '');
+ Object.keys(params).forEach(key => {
+ mergedPath = mergedPath.replace(`:${key}`, params[key]);
+ });
+ return mergedPath;
+};
+const Breadcrumb = props => {
+ const {
+ prefixCls: customizePrefixCls,
+ separator = '/',
+ style,
+ className,
+ rootClassName,
+ routes: legacyRoutes,
+ items,
+ children,
+ itemRender,
+ params = {}
+ } = props,
+ restProps = Breadcrumb_rest(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]);
+ const {
+ getPrefixCls,
+ direction,
+ breadcrumb
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ let crumbs;
+ const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
+ const [wrapSSR, hashId] = breadcrumb_style(prefixCls);
+ const mergedItems = useItems(items, legacyRoutes);
+ if (false) {}
+ const mergedItemRender = useItemRender(prefixCls, itemRender);
+ if (mergedItems && mergedItems.length > 0) {
+ // generated by route
+ const paths = [];
+ const itemRenderRoutes = items || legacyRoutes;
+ crumbs = mergedItems.map((item, index) => {
+ const {
+ path,
+ key,
+ type,
+ menu,
+ overlay,
+ onClick,
+ className: itemClassName,
+ separator: itemSeparator,
+ dropdownProps
+ } = item;
+ const mergedPath = getPath(params, path);
+ if (mergedPath !== undefined) {
+ paths.push(mergedPath);
+ }
+ const mergedKey = key !== null && key !== void 0 ? key : index;
+ if (type === 'separator') {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(breadcrumb_BreadcrumbSeparator, {
+ key: mergedKey
+ }, itemSeparator);
+ }
+ const itemProps = {};
+ const isLastItem = index === mergedItems.length - 1;
+ if (menu) {
+ itemProps.menu = menu;
+ } else if (overlay) {
+ itemProps.overlay = overlay;
+ }
+ let {
+ href
+ } = item;
+ if (paths.length && mergedPath !== undefined) {
+ href = `#/${paths.join('/')}`;
+ }
+ return /*#__PURE__*/_react_17_0_2_react.createElement(InternalBreadcrumbItem, Object.assign({
+ key: mergedKey
+ }, itemProps, (0,pickAttrs/* default */.Z)(item, {
+ data: true,
+ aria: true
+ }), {
+ className: itemClassName,
+ dropdownProps: dropdownProps,
+ href: href,
+ separator: isLastItem ? '' : separator,
+ onClick: onClick,
+ prefixCls: prefixCls
+ }), mergedItemRender(item, params, itemRenderRoutes, paths, href));
+ });
+ } else if (children) {
+ const childrenLength = (0,toArray/* default */.Z)(children).length;
+ crumbs = (0,toArray/* default */.Z)(children).map((element, index) => {
+ if (!element) {
+ return element;
+ }
+ // =================== Warning =====================
+ if (false) {}
+ false ? 0 : void 0;
+ const isLastItem = index === childrenLength - 1;
+ return (0,reactNode/* cloneElement */.Tm)(element, {
+ separator: isLastItem ? '' : separator,
+ key: index
+ });
+ });
+ }
+ const breadcrumbClassName = _classnames_2_5_1_classnames_default()(prefixCls, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.className, {
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, className, rootClassName, hashId);
+ const mergedStyle = Object.assign(Object.assign({}, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.style), style);
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("nav", Object.assign({
+ className: breadcrumbClassName,
+ style: mergedStyle
+ }, restProps), /*#__PURE__*/_react_17_0_2_react.createElement("ol", null, crumbs)));
+};
+Breadcrumb.Item = breadcrumb_BreadcrumbItem;
+Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator;
+if (false) {}
+/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb);
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js
+"use client";
+
+
+/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb);
+
+/***/ }),
+
+/***/ 28103:
+/*!***********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/divider/index.js + 1 modules ***!
+ \***********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ divider; }
+});
+
+// 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/_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/config-provider/context.js
+var context = __webpack_require__(36355);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
+var style = __webpack_require__(17313);
+// 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/divider/style/index.js
+
+
+// ============================== Shared ==============================
+const genSharedDividerStyle = token => {
+ const {
+ componentCls,
+ sizePaddingEdgeHorizontal,
+ colorSplit,
+ lineWidth,
+ textPaddingInline,
+ orientationMargin,
+ verticalMarginInline
+ } = token;
+ return {
+ [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
+ borderBlockStart: `${lineWidth}px solid ${colorSplit}`,
+ // vertical
+ '&-vertical': {
+ position: 'relative',
+ top: '-0.06em',
+ display: 'inline-block',
+ height: '0.9em',
+ marginInline: verticalMarginInline,
+ marginBlock: 0,
+ verticalAlign: 'middle',
+ borderTop: 0,
+ borderInlineStart: `${lineWidth}px solid ${colorSplit}`
+ },
+ '&-horizontal': {
+ display: 'flex',
+ clear: 'both',
+ width: '100%',
+ minWidth: '100%',
+ margin: `${token.dividerHorizontalGutterMargin}px 0`
+ },
+ [`&-horizontal${componentCls}-with-text`]: {
+ display: 'flex',
+ alignItems: 'center',
+ margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`,
+ color: token.colorTextHeading,
+ fontWeight: 500,
+ fontSize: token.fontSizeLG,
+ whiteSpace: 'nowrap',
+ textAlign: 'center',
+ borderBlockStart: `0 ${colorSplit}`,
+ '&::before, &::after': {
+ position: 'relative',
+ width: '50%',
+ borderBlockStart: `${lineWidth}px solid transparent`,
+ // Chrome not accept `inherit` in `border-top`
+ borderBlockStartColor: 'inherit',
+ borderBlockEnd: 0,
+ transform: 'translateY(50%)',
+ content: "''"
+ }
+ },
+ [`&-horizontal${componentCls}-with-text-left`]: {
+ '&::before': {
+ width: `${orientationMargin * 100}%`
+ },
+ '&::after': {
+ width: `${100 - orientationMargin * 100}%`
+ }
+ },
+ [`&-horizontal${componentCls}-with-text-right`]: {
+ '&::before': {
+ width: `${100 - orientationMargin * 100}%`
+ },
+ '&::after': {
+ width: `${orientationMargin * 100}%`
+ }
+ },
+ [`${componentCls}-inner-text`]: {
+ display: 'inline-block',
+ paddingBlock: 0,
+ paddingInline: textPaddingInline
+ },
+ '&-dashed': {
+ background: 'none',
+ borderColor: colorSplit,
+ borderStyle: 'dashed',
+ borderWidth: `${lineWidth}px 0 0`
+ },
+ [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: {
+ '&::before, &::after': {
+ borderStyle: 'dashed none none'
+ }
+ },
+ [`&-vertical${componentCls}-dashed`]: {
+ borderInlineStartWidth: lineWidth,
+ borderInlineEnd: 0,
+ borderBlockStart: 0,
+ borderBlockEnd: 0
+ },
+ [`&-plain${componentCls}-with-text`]: {
+ color: token.colorText,
+ fontWeight: 'normal',
+ fontSize: token.fontSize
+ },
+ [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: {
+ '&::before': {
+ width: 0
+ },
+ '&::after': {
+ width: '100%'
+ },
+ [`${componentCls}-inner-text`]: {
+ paddingInlineStart: sizePaddingEdgeHorizontal
+ }
+ },
+ [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: {
+ '&::before': {
+ width: '100%'
+ },
+ '&::after': {
+ width: 0
+ },
+ [`${componentCls}-inner-text`]: {
+ paddingInlineEnd: sizePaddingEdgeHorizontal
+ }
+ }
+ })
+ };
+};
+// ============================== Export ==============================
+/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => {
+ const dividerToken = (0,statistic/* merge */.TS)(token, {
+ dividerHorizontalWithTextGutterMargin: token.margin,
+ dividerHorizontalGutterMargin: token.marginLG,
+ sizePaddingEdgeHorizontal: 0
+ });
+ return [genSharedDividerStyle(dividerToken)];
+}, token => ({
+ textPaddingInline: '1em',
+ orientationMargin: 0.05,
+ verticalMarginInline: token.marginXS
+})));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/index.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;
+};
+
+
+
+
+
+const Divider = props => {
+ const {
+ getPrefixCls,
+ direction,
+ divider
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ const {
+ prefixCls: customizePrefixCls,
+ type = 'horizontal',
+ orientation = 'center',
+ orientationMargin,
+ className,
+ rootClassName,
+ children,
+ dashed,
+ plain,
+ style
+ } = props,
+ restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]);
+ const prefixCls = getPrefixCls('divider', customizePrefixCls);
+ const [wrapSSR, hashId] = divider_style(prefixCls);
+ const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation;
+ const hasChildren = !!children;
+ const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;
+ const hasCustomMarginRight = orientation === 'right' && orientationMargin != null;
+ const classString = _classnames_2_5_1_classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, {
+ [`${prefixCls}-with-text`]: hasChildren,
+ [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren,
+ [`${prefixCls}-dashed`]: !!dashed,
+ [`${prefixCls}-plain`]: !!plain,
+ [`${prefixCls}-rtl`]: direction === 'rtl',
+ [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft,
+ [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight
+ }, className, rootClassName);
+ const memoizedOrientationMargin = _react_17_0_2_react.useMemo(() => {
+ if (typeof orientationMargin === 'number') {
+ return orientationMargin;
+ }
+ if (/^\d+$/.test(orientationMargin)) {
+ return Number(orientationMargin);
+ }
+ return orientationMargin;
+ }, [orientationMargin]);
+ const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && {
+ marginLeft: memoizedOrientationMargin
+ }), hasCustomMarginRight && {
+ marginRight: memoizedOrientationMargin
+ });
+ // Warning children not work in vertical mode
+ if (false) {}
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
+ className: classString,
+ style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style)
+ }, restProps, {
+ role: "separator"
+ }), children && type !== 'vertical' && /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: `${prefixCls}-inner-text`,
+ style: innerStyle
+ }, children)));
+};
+if (false) {}
+/* harmony default export */ var divider = (Divider);
+
+/***/ }),
+
+/***/ 78673:
+/*!**********************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/switch/index.js + 2 modules ***!
+ \**********************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ es_switch; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules
+var LoadingOutlined = __webpack_require__(42141);
+// 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/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(19973);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/defineProperty.js
+var defineProperty = __webpack_require__(51060);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
+var slicedToArray = __webpack_require__(8295);
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/objectWithoutProperties.js
+var objectWithoutProperties = __webpack_require__(62615);
+// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
+var _react_17_0_2_react = __webpack_require__(59301);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/hooks/useMergedState.js
+var useMergedState = __webpack_require__(71366);
+// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/KeyCode.js
+var KeyCode = __webpack_require__(20287);
+;// CONCATENATED MODULE: ./node_modules/_rc-switch@4.1.0@rc-switch/es/index.js
+
+
+
+
+var _excluded = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"];
+
+
+
+
+var Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) {
+ var _classNames;
+ var _ref$prefixCls = _ref.prefixCls,
+ prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls,
+ className = _ref.className,
+ checked = _ref.checked,
+ defaultChecked = _ref.defaultChecked,
+ disabled = _ref.disabled,
+ loadingIcon = _ref.loadingIcon,
+ checkedChildren = _ref.checkedChildren,
+ unCheckedChildren = _ref.unCheckedChildren,
+ onClick = _ref.onClick,
+ onChange = _ref.onChange,
+ onKeyDown = _ref.onKeyDown,
+ restProps = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded);
+ var _useMergedState = (0,useMergedState/* default */.Z)(false, {
+ value: checked,
+ defaultValue: defaultChecked
+ }),
+ _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2),
+ innerChecked = _useMergedState2[0],
+ setInnerChecked = _useMergedState2[1];
+ function triggerChange(newChecked, event) {
+ var mergedChecked = innerChecked;
+ if (!disabled) {
+ mergedChecked = newChecked;
+ setInnerChecked(mergedChecked);
+ onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event);
+ }
+ return mergedChecked;
+ }
+ function onInternalKeyDown(e) {
+ if (e.which === KeyCode/* default */.Z.LEFT) {
+ triggerChange(false, e);
+ } else if (e.which === KeyCode/* default */.Z.RIGHT) {
+ triggerChange(true, e);
+ }
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
+ }
+ function onInternalClick(e) {
+ var ret = triggerChange(!innerChecked, e);
+ // [Legacy] trigger onClick with value
+ onClick === null || onClick === void 0 ? void 0 : onClick(ret, e);
+ }
+ var switchClassName = _classnames_2_5_1_classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), innerChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames));
+ return /*#__PURE__*/_react_17_0_2_react.createElement("button", (0,esm_extends/* default */.Z)({}, restProps, {
+ type: "button",
+ role: "switch",
+ "aria-checked": innerChecked,
+ disabled: disabled,
+ className: switchClassName,
+ ref: ref,
+ onKeyDown: onInternalKeyDown,
+ onClick: onInternalClick
+ }), loadingIcon, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner")
+ }, /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner-checked")
+ }, checkedChildren), /*#__PURE__*/_react_17_0_2_react.createElement("span", {
+ className: "".concat(prefixCls, "-inner-unchecked")
+ }, unCheckedChildren)));
+});
+Switch.displayName = 'Switch';
+/* harmony default export */ var es = (Switch);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/_util/wave/index.js + 4 modules
+var wave = __webpack_require__(14088);
+// 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/config-provider/DisabledContext.js
+var DisabledContext = __webpack_require__(1684);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/hooks/useSize.js
+var useSize = __webpack_require__(19716);
+// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js
+var dist_module = __webpack_require__(64993);
+// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
+var style = __webpack_require__(17313);
+// 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/switch/style/index.js
+
+
+
+const genSwitchSmallStyle = token => {
+ const {
+ componentCls,
+ trackHeightSM,
+ trackPadding,
+ trackMinWidthSM,
+ innerMinMarginSM,
+ innerMaxMarginSM,
+ handleSizeSM
+ } = token;
+ const switchInnerCls = `${componentCls}-inner`;
+ return {
+ [componentCls]: {
+ [`&${componentCls}-small`]: {
+ minWidth: trackMinWidthSM,
+ height: trackHeightSM,
+ lineHeight: `${trackHeightSM}px`,
+ [`${componentCls}-inner`]: {
+ paddingInlineStart: innerMaxMarginSM,
+ paddingInlineEnd: innerMinMarginSM,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`,
+ marginInlineEnd: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginTop: -trackHeightSM,
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ }
+ },
+ [`${componentCls}-handle`]: {
+ width: handleSizeSM,
+ height: handleSizeSM
+ },
+ [`${componentCls}-loading-icon`]: {
+ top: (handleSizeSM - token.switchLoadingIconSize) / 2,
+ fontSize: token.switchLoadingIconSize
+ },
+ [`&${componentCls}-checked`]: {
+ [`${componentCls}-inner`]: {
+ paddingInlineStart: innerMinMarginSM,
+ paddingInlineEnd: innerMaxMarginSM,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: `calc(100% - ${handleSizeSM + trackPadding * 2}px + ${innerMaxMarginSM * 2}px)`,
+ marginInlineEnd: `calc(-100% + ${handleSizeSM + trackPadding * 2}px - ${innerMaxMarginSM * 2}px)`
+ }
+ },
+ [`${componentCls}-handle`]: {
+ insetInlineStart: `calc(100% - ${handleSizeSM + trackPadding}px)`
+ }
+ },
+ [`&:not(${componentCls}-disabled):active`]: {
+ [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: token.marginXXS / 2,
+ marginInlineEnd: -token.marginXXS / 2
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: -token.marginXXS / 2,
+ marginInlineEnd: token.marginXXS / 2
+ }
+ }
+ }
+ }
+ }
+ };
+};
+const genSwitchLoadingStyle = token => {
+ const {
+ componentCls,
+ handleSize
+ } = token;
+ return {
+ [componentCls]: {
+ [`${componentCls}-loading-icon${token.iconCls}`]: {
+ position: 'relative',
+ top: (handleSize - token.fontSize) / 2,
+ color: token.switchLoadingIconColor,
+ verticalAlign: 'top'
+ },
+ [`&${componentCls}-checked ${componentCls}-loading-icon`]: {
+ color: token.switchColor
+ }
+ }
+ };
+};
+const genSwitchHandleStyle = token => {
+ const {
+ componentCls,
+ motion,
+ trackPadding,
+ handleBg,
+ handleShadow,
+ handleSize
+ } = token;
+ const switchHandleCls = `${componentCls}-handle`;
+ return {
+ [componentCls]: {
+ [switchHandleCls]: {
+ position: 'absolute',
+ top: trackPadding,
+ insetInlineStart: trackPadding,
+ width: handleSize,
+ height: handleSize,
+ transition: `all ${token.switchDuration} ease-in-out`,
+ '&::before': {
+ position: 'absolute',
+ top: 0,
+ insetInlineEnd: 0,
+ bottom: 0,
+ insetInlineStart: 0,
+ backgroundColor: handleBg,
+ borderRadius: handleSize / 2,
+ boxShadow: handleShadow,
+ transition: `all ${token.switchDuration} ease-in-out`,
+ content: '""'
+ }
+ },
+ [`&${componentCls}-checked ${switchHandleCls}`]: {
+ insetInlineStart: `calc(100% - ${handleSize + trackPadding}px)`
+ },
+ [`&:not(${componentCls}-disabled):active`]: motion ? {
+ [`${switchHandleCls}::before`]: {
+ insetInlineEnd: token.switchHandleActiveInset,
+ insetInlineStart: 0
+ },
+ [`&${componentCls}-checked ${switchHandleCls}::before`]: {
+ insetInlineEnd: 0,
+ insetInlineStart: token.switchHandleActiveInset
+ }
+ } : /* istanbul ignore next */
+ {}
+ }
+ };
+};
+const genSwitchInnerStyle = token => {
+ const {
+ componentCls,
+ trackHeight,
+ trackPadding,
+ innerMinMargin,
+ innerMaxMargin,
+ handleSize
+ } = token;
+ const switchInnerCls = `${componentCls}-inner`;
+ return {
+ [componentCls]: {
+ [switchInnerCls]: {
+ display: 'block',
+ overflow: 'hidden',
+ borderRadius: 100,
+ height: '100%',
+ paddingInlineStart: innerMaxMargin,
+ paddingInlineEnd: innerMinMargin,
+ transition: `padding-inline-start ${token.switchDuration} ease-in-out, padding-inline-end ${token.switchDuration} ease-in-out`,
+ [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: {
+ display: 'block',
+ color: token.colorTextLightSolid,
+ fontSize: token.fontSizeSM,
+ transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`,
+ pointerEvents: 'none'
+ },
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`,
+ marginInlineEnd: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginTop: -trackHeight,
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ paddingInlineStart: innerMinMargin,
+ paddingInlineEnd: innerMaxMargin,
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: 0,
+ marginInlineEnd: 0
+ },
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: `calc(100% - ${handleSize + trackPadding * 2}px + ${innerMaxMargin * 2}px)`,
+ marginInlineEnd: `calc(-100% + ${handleSize + trackPadding * 2}px - ${innerMaxMargin * 2}px)`
+ }
+ },
+ [`&:not(${componentCls}-disabled):active`]: {
+ [`&:not(${componentCls}-checked) ${switchInnerCls}`]: {
+ [`${switchInnerCls}-unchecked`]: {
+ marginInlineStart: trackPadding * 2,
+ marginInlineEnd: -trackPadding * 2
+ }
+ },
+ [`&${componentCls}-checked ${switchInnerCls}`]: {
+ [`${switchInnerCls}-checked`]: {
+ marginInlineStart: -trackPadding * 2,
+ marginInlineEnd: trackPadding * 2
+ }
+ }
+ }
+ }
+ };
+};
+const genSwitchStyle = token => {
+ const {
+ componentCls,
+ trackHeight,
+ trackMinWidth
+ } = token;
+ return {
+ [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
+ position: 'relative',
+ display: 'inline-block',
+ boxSizing: 'border-box',
+ minWidth: trackMinWidth,
+ height: trackHeight,
+ lineHeight: `${trackHeight}px`,
+ verticalAlign: 'middle',
+ background: token.colorTextQuaternary,
+ border: '0',
+ borderRadius: 100,
+ cursor: 'pointer',
+ transition: `all ${token.motionDurationMid}`,
+ userSelect: 'none',
+ [`&:hover:not(${componentCls}-disabled)`]: {
+ background: token.colorTextTertiary
+ }
+ }), (0,style/* genFocusStyle */.Qy)(token)), {
+ [`&${componentCls}-checked`]: {
+ background: token.switchColor,
+ [`&:hover:not(${componentCls}-disabled)`]: {
+ background: token.colorPrimaryHover
+ }
+ },
+ [`&${componentCls}-loading, &${componentCls}-disabled`]: {
+ cursor: 'not-allowed',
+ opacity: token.switchDisabledOpacity,
+ '*': {
+ boxShadow: 'none',
+ cursor: 'not-allowed'
+ }
+ },
+ // rtl style
+ [`&${componentCls}-rtl`]: {
+ direction: 'rtl'
+ }
+ })
+ };
+};
+// ============================== Export ==============================
+/* harmony default export */ var switch_style = ((0,genComponentStyleHook/* default */.Z)('Switch', token => {
+ const switchToken = (0,statistic/* merge */.TS)(token, {
+ switchDuration: token.motionDurationMid,
+ switchColor: token.colorPrimary,
+ switchDisabledOpacity: token.opacityLoading,
+ switchLoadingIconSize: token.fontSizeIcon * 0.75,
+ switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`,
+ switchHandleActiveInset: '-30%'
+ });
+ return [genSwitchStyle(switchToken),
+ // inner style
+ genSwitchInnerStyle(switchToken),
+ // handle style
+ genSwitchHandleStyle(switchToken),
+ // loading style
+ genSwitchLoadingStyle(switchToken),
+ // small style
+ genSwitchSmallStyle(switchToken)];
+}, token => {
+ const {
+ fontSize,
+ lineHeight,
+ controlHeight,
+ colorWhite
+ } = token;
+ const height = fontSize * lineHeight;
+ const heightSM = controlHeight / 2;
+ const padding = 2; // Fixed value
+ const handleSize = height - padding * 2;
+ const handleSizeSM = heightSM - padding * 2;
+ return {
+ trackHeight: height,
+ trackHeightSM: heightSM,
+ trackMinWidth: handleSize * 2 + padding * 4,
+ trackMinWidthSM: handleSizeSM * 2 + padding * 2,
+ trackPadding: padding,
+ handleBg: colorWhite,
+ handleSize,
+ handleSizeSM,
+ handleShadow: `0 2px 4px 0 ${new dist_module/* TinyColor */.C('#00230b').setAlpha(0.2).toRgbString()}`,
+ innerMinMargin: handleSize / 2,
+ innerMaxMargin: handleSize + padding + padding * 2,
+ innerMinMarginSM: handleSizeSM / 2,
+ innerMaxMarginSM: handleSizeSM + padding + padding * 2
+ };
+}));
+;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/switch/index.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;
+};
+
+
+
+
+
+
+
+
+
+
+const switch_Switch = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
+ const {
+ prefixCls: customizePrefixCls,
+ size: customizeSize,
+ disabled: customDisabled,
+ loading,
+ className,
+ rootClassName,
+ style
+ } = props,
+ restProps = __rest(props, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style"]);
+ false ? 0 : void 0;
+ const {
+ getPrefixCls,
+ direction,
+ switch: SWITCH
+ } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
+ // ===================== Disabled =====================
+ const disabled = _react_17_0_2_react.useContext(DisabledContext/* default */.Z);
+ const mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading;
+ const prefixCls = getPrefixCls('switch', customizePrefixCls);
+ const loadingIcon = /*#__PURE__*/_react_17_0_2_react.createElement("div", {
+ className: `${prefixCls}-handle`
+ }, loading && /*#__PURE__*/_react_17_0_2_react.createElement(LoadingOutlined/* default */.Z, {
+ className: `${prefixCls}-loading-icon`
+ }));
+ // Style
+ const [wrapSSR, hashId] = switch_style(prefixCls);
+ const mergedSize = (0,useSize/* default */.Z)(customizeSize);
+ const classes = _classnames_2_5_1_classnames_default()(SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.className, {
+ [`${prefixCls}-small`]: mergedSize === 'small',
+ [`${prefixCls}-loading`]: loading,
+ [`${prefixCls}-rtl`]: direction === 'rtl'
+ }, className, rootClassName, hashId);
+ const mergedStyle = Object.assign(Object.assign({}, SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.style), style);
+ return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(wave/* default */.Z, {
+ component: "Switch"
+ }, /*#__PURE__*/_react_17_0_2_react.createElement(es, Object.assign({}, restProps, {
+ prefixCls: prefixCls,
+ className: classes,
+ style: mergedStyle,
+ disabled: mergedDisabled,
+ ref: ref,
+ loadingIcon: loadingIcon
+ }))));
+});
+switch_Switch.__ANT_SWITCH = true;
+if (false) {}
+/* harmony default export */ var es_switch = (switch_Switch);
+
+/***/ })
+
+}]);
\ No newline at end of file
diff --git a/2355.b733a70a.async.js b/40770.2b061ef7.async.js
similarity index 73%
rename from 2355.b733a70a.async.js
rename to 40770.2b061ef7.async.js
index 4fe98b6143..de775043a7 100644
--- a/2355.b733a70a.async.js
+++ b/40770.2b061ef7.async.js
@@ -1,30 +1,30 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[2355,52720,94338,78169,45504,58268,25473,81120,11021],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[40770],{
-/***/ 50382:
-/*!*****************************************************************************************************!*\
- !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
- \*****************************************************************************************************/
+/***/ 28563:
+/*!***********************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules ***!
+ \***********************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ icons_EyeOutlined; }
+ Z: function() { return /* binding */ icons_ArrowLeftOutlined; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19973);
// 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/EyeOutlined.js
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js
// This icon file is generated automatically.
-var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
-/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
+var ArrowLeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, "name": "arrow-left", "theme": "outlined" };
+/* harmony default export */ var asn_ArrowLeftOutlined = (ArrowLeftOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
-;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/ArrowLeftOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
@@ -32,44 +32,89 @@ var AntdIcon = __webpack_require__(22589);
-var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
+var ArrowLeftOutlined_ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
- icon: asn_EyeOutlined
+ icon: asn_ArrowLeftOutlined
}));
};
-/** */
-var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined);
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(ArrowLeftOutlined_ArrowLeftOutlined);
if (false) {}
-/* harmony default export */ var icons_EyeOutlined = (RefIcon);
+/* harmony default export */ var icons_ArrowLeftOutlined = (RefIcon);
+
+/***/ }),
+
+/***/ 78386:
+/*!******************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***!
+ \******************************************************************************************************/
+/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
+
+
+// EXPORTS
+__webpack_require__.d(__webpack_exports__, {
+ Z: function() { return /* binding */ icons_DownOutlined; }
+});
+
+// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
+var esm_extends = __webpack_require__(19973);
+// 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/DownOutlined.js
+// This icon file is generated automatically.
+var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
+/* harmony default export */ var asn_DownOutlined = (DownOutlined);
+
+// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
+var AntdIcon = __webpack_require__(22589);
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/DownOutlined.js
+
+// GENERATE BY ./scripts/generate.ts
+// DON NOT EDIT IT MANUALLY
+
+
+
+
+var DownOutlined_DownOutlined = function DownOutlined(props, ref) {
+ return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
+ ref: ref,
+ icon: asn_DownOutlined
+ }));
+};
+
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(DownOutlined_DownOutlined);
+if (false) {}
+/* harmony default export */ var icons_DownOutlined = (RefIcon);
/***/ }),
-/***/ 45532:
-/*!************************************************************************************************************!*\
- !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules ***!
- \************************************************************************************************************/
+/***/ 50382:
+/*!*****************************************************************************************************!*\
+ !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***!
+ \*****************************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ icons_PlusCircleOutlined; }
+ Z: function() { return /* binding */ icons_EyeOutlined; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.25.7@@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(19973);
// 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/PlusCircleOutlined.js
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/EyeOutlined.js
// This icon file is generated automatically.
-var PlusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "plus-circle", "theme": "outlined" };
-/* harmony default export */ var asn_PlusCircleOutlined = (PlusCircleOutlined);
+var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
+/* harmony default export */ var asn_EyeOutlined = (EyeOutlined);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules
var AntdIcon = __webpack_require__(22589);
-;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/PlusCircleOutlined.js
+;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/EyeOutlined.js
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
@@ -77,17 +122,17 @@ var AntdIcon = __webpack_require__(22589);
-var PlusCircleOutlined_PlusCircleOutlined = function PlusCircleOutlined(props, ref) {
+var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) {
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
ref: ref,
- icon: asn_PlusCircleOutlined
+ icon: asn_EyeOutlined
}));
};
-/** */
-var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(PlusCircleOutlined_PlusCircleOutlined);
+/** */
+var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(EyeOutlined_EyeOutlined);
if (false) {}
-/* harmony default export */ var icons_PlusCircleOutlined = (RefIcon);
+/* harmony default export */ var icons_EyeOutlined = (RefIcon);
/***/ }),
@@ -1102,250 +1147,6 @@ function getStyle(prefixCls, token) {
/***/ }),
-/***/ 28103:
-/*!***********************************************************************!*\
- !*** ./node_modules/_antd@5.9.0@antd/es/divider/index.js + 1 modules ***!
- \***********************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- Z: function() { return /* binding */ divider; }
-});
-
-// 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/_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/config-provider/context.js
-var context = __webpack_require__(36355);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/style/index.js
-var style = __webpack_require__(17313);
-// 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/divider/style/index.js
-
-
-// ============================== Shared ==============================
-const genSharedDividerStyle = token => {
- const {
- componentCls,
- sizePaddingEdgeHorizontal,
- colorSplit,
- lineWidth,
- textPaddingInline,
- orientationMargin,
- verticalMarginInline
- } = token;
- return {
- [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), {
- borderBlockStart: `${lineWidth}px solid ${colorSplit}`,
- // vertical
- '&-vertical': {
- position: 'relative',
- top: '-0.06em',
- display: 'inline-block',
- height: '0.9em',
- marginInline: verticalMarginInline,
- marginBlock: 0,
- verticalAlign: 'middle',
- borderTop: 0,
- borderInlineStart: `${lineWidth}px solid ${colorSplit}`
- },
- '&-horizontal': {
- display: 'flex',
- clear: 'both',
- width: '100%',
- minWidth: '100%',
- margin: `${token.dividerHorizontalGutterMargin}px 0`
- },
- [`&-horizontal${componentCls}-with-text`]: {
- display: 'flex',
- alignItems: 'center',
- margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`,
- color: token.colorTextHeading,
- fontWeight: 500,
- fontSize: token.fontSizeLG,
- whiteSpace: 'nowrap',
- textAlign: 'center',
- borderBlockStart: `0 ${colorSplit}`,
- '&::before, &::after': {
- position: 'relative',
- width: '50%',
- borderBlockStart: `${lineWidth}px solid transparent`,
- // Chrome not accept `inherit` in `border-top`
- borderBlockStartColor: 'inherit',
- borderBlockEnd: 0,
- transform: 'translateY(50%)',
- content: "''"
- }
- },
- [`&-horizontal${componentCls}-with-text-left`]: {
- '&::before': {
- width: `${orientationMargin * 100}%`
- },
- '&::after': {
- width: `${100 - orientationMargin * 100}%`
- }
- },
- [`&-horizontal${componentCls}-with-text-right`]: {
- '&::before': {
- width: `${100 - orientationMargin * 100}%`
- },
- '&::after': {
- width: `${orientationMargin * 100}%`
- }
- },
- [`${componentCls}-inner-text`]: {
- display: 'inline-block',
- paddingBlock: 0,
- paddingInline: textPaddingInline
- },
- '&-dashed': {
- background: 'none',
- borderColor: colorSplit,
- borderStyle: 'dashed',
- borderWidth: `${lineWidth}px 0 0`
- },
- [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: {
- '&::before, &::after': {
- borderStyle: 'dashed none none'
- }
- },
- [`&-vertical${componentCls}-dashed`]: {
- borderInlineStartWidth: lineWidth,
- borderInlineEnd: 0,
- borderBlockStart: 0,
- borderBlockEnd: 0
- },
- [`&-plain${componentCls}-with-text`]: {
- color: token.colorText,
- fontWeight: 'normal',
- fontSize: token.fontSize
- },
- [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: {
- '&::before': {
- width: 0
- },
- '&::after': {
- width: '100%'
- },
- [`${componentCls}-inner-text`]: {
- paddingInlineStart: sizePaddingEdgeHorizontal
- }
- },
- [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: {
- '&::before': {
- width: '100%'
- },
- '&::after': {
- width: 0
- },
- [`${componentCls}-inner-text`]: {
- paddingInlineEnd: sizePaddingEdgeHorizontal
- }
- }
- })
- };
-};
-// ============================== Export ==============================
-/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => {
- const dividerToken = (0,statistic/* merge */.TS)(token, {
- dividerHorizontalWithTextGutterMargin: token.margin,
- dividerHorizontalGutterMargin: token.marginLG,
- sizePaddingEdgeHorizontal: 0
- });
- return [genSharedDividerStyle(dividerToken)];
-}, token => ({
- textPaddingInline: '1em',
- orientationMargin: 0.05,
- verticalMarginInline: token.marginXS
-})));
-;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/index.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;
-};
-
-
-
-
-
-const Divider = props => {
- const {
- getPrefixCls,
- direction,
- divider
- } = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
- const {
- prefixCls: customizePrefixCls,
- type = 'horizontal',
- orientation = 'center',
- orientationMargin,
- className,
- rootClassName,
- children,
- dashed,
- plain,
- style
- } = props,
- restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]);
- const prefixCls = getPrefixCls('divider', customizePrefixCls);
- const [wrapSSR, hashId] = divider_style(prefixCls);
- const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation;
- const hasChildren = !!children;
- const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null;
- const hasCustomMarginRight = orientation === 'right' && orientationMargin != null;
- const classString = _classnames_2_5_1_classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, {
- [`${prefixCls}-with-text`]: hasChildren,
- [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren,
- [`${prefixCls}-dashed`]: !!dashed,
- [`${prefixCls}-plain`]: !!plain,
- [`${prefixCls}-rtl`]: direction === 'rtl',
- [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft,
- [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight
- }, className, rootClassName);
- const memoizedOrientationMargin = _react_17_0_2_react.useMemo(() => {
- if (typeof orientationMargin === 'number') {
- return orientationMargin;
- }
- if (/^\d+$/.test(orientationMargin)) {
- return Number(orientationMargin);
- }
- return orientationMargin;
- }, [orientationMargin]);
- const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && {
- marginLeft: memoizedOrientationMargin
- }), hasCustomMarginRight && {
- marginRight: memoizedOrientationMargin
- });
- // Warning children not work in vertical mode
- if (false) {}
- return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
- className: classString,
- style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style)
- }, restProps, {
- role: "separator"
- }), children && type !== 'vertical' && /*#__PURE__*/_react_17_0_2_react.createElement("span", {
- className: `${prefixCls}-inner-text`,
- style: innerStyle
- }, children)));
-};
-if (false) {}
-/* harmony default export */ var divider = (Divider);
-
-/***/ }),
-
/***/ 73782:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules ***!
@@ -1745,221 +1546,156 @@ input_Input.Password = input_Password;
/***/ }),
-/***/ 57809:
-/*!**********************************************************!*\
- !*** ./node_modules/_antd@5.9.0@antd/es/select/index.js ***!
- \**********************************************************/
+/***/ 92899:
+/*!***************************************************************!*\
+ !*** ./node_modules/_antd@5.9.0@antd/es/style/motion/move.js ***!
+ \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-/* 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_select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-select */ 77861);
-/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rc-util/es/omit */ 55405);
-/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
-/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../_util/PurePanel */ 53487);
-/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../_util/motion */ 62892);
-/* harmony import */ var _util_statusUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_util/statusUtils */ 19080);
-/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 36355);
-/* harmony import */ var _config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../config-provider/DisabledContext */ 1684);
-/* harmony import */ var _config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../config-provider/defaultRenderEmpty */ 93891);
-/* harmony import */ var _config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../config-provider/hooks/useSize */ 19716);
-/* harmony import */ var _form_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../form/context */ 32441);
-/* harmony import */ var _space_Compact__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../space/Compact */ 33234);
-/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 14154);
-/* harmony import */ var _useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./useBuiltinPlacements */ 58582);
-/* harmony import */ var _useShowArrow__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useShowArrow */ 84443);
-/* harmony import */ var _utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/iconUtil */ 66339);
-"use client";
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ Fm: function() { return /* binding */ initMoveMotion; }
+/* harmony export */ });
+/* unused harmony exports moveDownIn, moveDownOut, moveLeftIn, moveLeftOut, moveRightIn, moveRightOut, moveUpIn, moveUpOut */
+/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 7102);
+/* harmony import */ var _motion__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./motion */ 95406);
-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]];
+
+const moveDownIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveDownIn', {
+ '0%': {
+ transform: 'translate3d(0, 100%, 0)',
+ transformOrigin: '0 0',
+ opacity: 0
+ },
+ '100%': {
+ transform: 'translate3d(0, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 1
+ }
+});
+const moveDownOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveDownOut', {
+ '0%': {
+ transform: 'translate3d(0, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 1
+ },
+ '100%': {
+ transform: 'translate3d(0, 100%, 0)',
+ transformOrigin: '0 0',
+ opacity: 0
+ }
+});
+const moveLeftIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveLeftIn', {
+ '0%': {
+ transform: 'translate3d(-100%, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 0
+ },
+ '100%': {
+ transform: 'translate3d(0, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 1
+ }
+});
+const moveLeftOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveLeftOut', {
+ '0%': {
+ transform: 'translate3d(0, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 1
+ },
+ '100%': {
+ transform: 'translate3d(-100%, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 0
+ }
+});
+const moveRightIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveRightIn', {
+ '0%': {
+ transform: 'translate3d(100%, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 0
+ },
+ '100%': {
+ transform: 'translate3d(0, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 1
+ }
+});
+const moveRightOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveRightOut', {
+ '0%': {
+ transform: 'translate3d(0, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 1
+ },
+ '100%': {
+ transform: 'translate3d(100%, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 0
+ }
+});
+const moveUpIn = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveUpIn', {
+ '0%': {
+ transform: 'translate3d(0, -100%, 0)',
+ transformOrigin: '0 0',
+ opacity: 0
+ },
+ '100%': {
+ transform: 'translate3d(0, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 1
+ }
+});
+const moveUpOut = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antMoveUpOut', {
+ '0%': {
+ transform: 'translate3d(0, 0, 0)',
+ transformOrigin: '0 0',
+ opacity: 1
+ },
+ '100%': {
+ transform: 'translate3d(0, -100%, 0)',
+ transformOrigin: '0 0',
+ opacity: 0
+ }
+});
+const moveMotion = {
+ 'move-up': {
+ inKeyframes: moveUpIn,
+ outKeyframes: moveUpOut
+ },
+ 'move-down': {
+ inKeyframes: moveDownIn,
+ outKeyframes: moveDownOut
+ },
+ 'move-left': {
+ inKeyframes: moveLeftIn,
+ outKeyframes: moveLeftOut
+ },
+ 'move-right': {
+ inKeyframes: moveRightIn,
+ outKeyframes: moveRightOut
}
- return t;
};
-// TODO: 4.0 - codemod should help to change `filterOption` to support node props.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-const SECRET_COMBOBOX_MODE_DO_NOT_USE = 'SECRET_COMBOBOX_MODE_DO_NOT_USE';
-const InternalSelect = (_a, ref) => {
- var _b;
- var {
- prefixCls: customizePrefixCls,
- bordered = true,
- className,
- rootClassName,
- getPopupContainer,
- popupClassName,
- dropdownClassName,
- listHeight = 256,
- placement,
- listItemHeight = 24,
- size: customizeSize,
- disabled: customDisabled,
- notFoundContent,
- status: customStatus,
- builtinPlacements,
- dropdownMatchSelectWidth,
- popupMatchSelectWidth,
- direction: propDirection,
- style,
- allowClear
- } = _a,
- props = __rest(_a, ["prefixCls", "bordered", "className", "rootClassName", "getPopupContainer", "popupClassName", "dropdownClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "builtinPlacements", "dropdownMatchSelectWidth", "popupMatchSelectWidth", "direction", "style", "allowClear"]);
- const {
- getPopupContainer: getContextPopupContainer,
- getPrefixCls,
- renderEmpty,
- direction: contextDirection,
- virtual,
- popupMatchSelectWidth: contextPopupMatchSelectWidth,
- popupOverflow,
- select
- } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_);
- const prefixCls = getPrefixCls('select', customizePrefixCls);
- const rootPrefixCls = getPrefixCls();
- const direction = propDirection !== null && propDirection !== void 0 ? propDirection : contextDirection;
+const initMoveMotion = (token, motionName) => {
const {
- compactSize,
- compactItemClassnames
- } = (0,_space_Compact__WEBPACK_IMPORTED_MODULE_4__/* .useCompactItemContext */ .ri)(prefixCls, direction);
- const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls);
- const mode = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
- const {
- mode: m
- } = props;
- if (m === 'combobox') {
- return undefined;
- }
- if (m === SECRET_COMBOBOX_MODE_DO_NOT_USE) {
- return 'combobox';
- }
- return m;
- }, [props.mode]);
- const isMultiple = mode === 'multiple' || mode === 'tags';
- const showSuffixIcon = (0,_useShowArrow__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props.suffixIcon, props.showArrow);
- const mergedPopupMatchSelectWidth = (_b = popupMatchSelectWidth !== null && popupMatchSelectWidth !== void 0 ? popupMatchSelectWidth : dropdownMatchSelectWidth) !== null && _b !== void 0 ? _b : contextPopupMatchSelectWidth;
- // ===================== Form Status =====================
- const {
- status: contextStatus,
- hasFeedback,
- isFormItemInput,
- feedbackIcon
- } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_form_context__WEBPACK_IMPORTED_MODULE_7__/* .FormItemInputContext */ .aM);
- const mergedStatus = (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getMergedStatus */ .F)(contextStatus, customStatus);
- // ===================== Empty =====================
- let mergedNotFound;
- if (notFoundContent !== undefined) {
- mergedNotFound = notFoundContent;
- } else if (mode === 'combobox') {
- mergedNotFound = null;
- } else {
- mergedNotFound = (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Select')) || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_config_provider_defaultRenderEmpty__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
- componentName: "Select"
- });
- }
- // ===================== Icons =====================
+ antCls
+ } = token;
+ const motionCls = `${antCls}-${motionName}`;
const {
- suffixIcon,
- itemIcon,
- removeIcon,
- clearIcon
- } = (0,_utils_iconUtil__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)(Object.assign(Object.assign({}, props), {
- multiple: isMultiple,
- hasFeedback,
- feedbackIcon,
- showSuffixIcon,
- prefixCls,
- showArrow: props.showArrow,
- componentName: 'Select'
- }));
- const mergedAllowClear = allowClear === true ? {
- clearIcon
- } : allowClear;
- const selectProps = (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(props, ['suffixIcon', 'itemIcon']);
- const rcSelectRtlDropdownClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()(popupClassName || dropdownClassName, {
- [`${prefixCls}-dropdown-${direction}`]: direction === 'rtl'
- }, rootClassName, hashId);
- const mergedSize = (0,_config_provider_hooks_useSize__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(ctx => {
- var _a;
- return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx;
- });
- // ===================== Disabled =====================
- const disabled = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider_DisabledContext__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z);
- const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled;
- const mergedClassName = classnames__WEBPACK_IMPORTED_MODULE_0___default()({
- [`${prefixCls}-lg`]: mergedSize === 'large',
- [`${prefixCls}-sm`]: mergedSize === 'small',
- [`${prefixCls}-rtl`]: direction === 'rtl',
- [`${prefixCls}-borderless`]: !bordered,
- [`${prefixCls}-in-form-item`]: isFormItemInput
- }, (0,_util_statusUtils__WEBPACK_IMPORTED_MODULE_8__/* .getStatusClassNames */ .Z)(prefixCls, mergedStatus, hasFeedback), compactItemClassnames, select === null || select === void 0 ? void 0 : select.className, className, rootClassName, hashId);
- // ===================== Placement =====================
- const memoPlacement = react__WEBPACK_IMPORTED_MODULE_2__.useMemo(() => {
- if (placement !== undefined) {
- return placement;
+ inKeyframes,
+ outKeyframes
+ } = moveMotion[motionName];
+ return [(0,_motion__WEBPACK_IMPORTED_MODULE_1__/* .initMotion */ .R)(motionCls, inKeyframes, outKeyframes, token.motionDurationMid), {
+ [`
+ ${motionCls}-enter,
+ ${motionCls}-appear
+ `]: {
+ opacity: 0,
+ animationTimingFunction: token.motionEaseOutCirc
+ },
+ [`${motionCls}-leave`]: {
+ animationTimingFunction: token.motionEaseInOutCirc
}
- return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';
- }, [placement, direction]);
- const mergedBuiltinPlacements = (0,_useBuiltinPlacements__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z)(builtinPlacements, popupOverflow);
- // ====================== Warning ======================
- if (false) {}
- // ====================== Render =======================
- return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_select__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP, Object.assign({
- ref: ref,
- virtual: virtual,
- showSearch: select === null || select === void 0 ? void 0 : select.showSearch
- }, selectProps, {
- style: Object.assign(Object.assign({}, select === null || select === void 0 ? void 0 : select.style), style),
- dropdownMatchSelectWidth: mergedPopupMatchSelectWidth,
- builtinPlacements: mergedBuiltinPlacements,
- transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_15__/* .getTransitionName */ .m)(rootPrefixCls, 'slide-up', props.transitionName),
- listHeight: listHeight,
- listItemHeight: listItemHeight,
- mode: mode,
- prefixCls: prefixCls,
- placement: memoPlacement,
- direction: direction,
- suffixIcon: suffixIcon,
- menuItemSelectedIcon: itemIcon,
- removeIcon: removeIcon,
- allowClear: mergedAllowClear,
- notFoundContent: mergedNotFound,
- className: mergedClassName,
- getPopupContainer: getPopupContainer || getContextPopupContainer,
- dropdownClassName: rcSelectRtlDropdownClassName,
- disabled: mergedDisabled
- })));
+ }];
};
-if (false) {}
-const Select = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(InternalSelect);
-// We don't care debug panel
-/* istanbul ignore next */
-const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)(Select);
-Select.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE;
-Select.Option = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .Option */ .Wx;
-Select.OptGroup = rc_select__WEBPACK_IMPORTED_MODULE_1__/* .OptGroup */ .Xo;
-Select._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
-if (false) {}
-/* harmony default export */ __webpack_exports__["default"] = (Select);
/***/ })
diff --git a/48903.5f5d51a6.async.js b/48903.44139ff1.async.js
similarity index 99%
rename from 48903.5f5d51a6.async.js
rename to 48903.44139ff1.async.js
index b99048c0e4..d4e0ad2c57 100644
--- a/48903.5f5d51a6.async.js
+++ b/48903.44139ff1.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[48903],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[48903,40770],{
/***/ 28563:
/*!***********************************************************************************************************!*\
diff --git a/32113.536f3063.async.js b/55817.fe2dc505.async.js
similarity index 65%
rename from 32113.536f3063.async.js
rename to 55817.fe2dc505.async.js
index 4eb8849231..0ac0b52b88 100644
--- a/32113.536f3063.async.js
+++ b/55817.fe2dc505.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[32113],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[55817],{
/***/ 68500:
/*!***********************************************************************************!*\
@@ -21,21 +21,19 @@
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! umi */ 44743);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 8591);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 43418);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 6848);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 95237);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 43604);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 5112);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 24905);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd */ 73782);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd */ 57809);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! antd */ 3113);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 8591);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 43418);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 6848);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 95237);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 43604);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 24905);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 78673);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 73782);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd */ 57809);
/* harmony import */ var _service_polls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/service/polls */ 71755);
-/* harmony import */ var _components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/components/RenderHtml */ 11167);
-/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../index */ 32113);
-/* harmony import */ var _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../editor.less?modules */ 37190);
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
+/* harmony import */ var _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../editor.less?modules */ 37190);
+/* harmony import */ var _components_ui_customization__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/components/ui-customization */ 1508);
+/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
@@ -52,7 +50,6 @@ var _excluded = ["problemset", "globalSetting", "loading", "dispatch", "onRef",
-
var tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
var SingleEditor = function SingleEditor(_ref, ref) {
var problemset = _ref.problemset,
@@ -156,21 +153,21 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context.next = 3;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP.info('可选:最小和最大限制须同时为数值或者“--"');
+ antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info('可选:最小和最大限制须同时为数值或者“--"');
return _context.abrupt("return");
case 3:
if (!(minChoices > maxChoices)) {
_context.next = 6;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP.info('可选的最大限制不能小于最小限制');
+ antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info('可选的最大限制不能小于最小限制');
return _context.abrupt("return");
case 6:
if (title) {
_context.next = 9;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP.info("请您输入题目");
+ antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info("请您输入题目");
return _context.abrupt("return", false);
case 9:
if (other) {
@@ -183,7 +180,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context.next = 14;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9"));
+ antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9"));
return _context.abrupt("return", false);
case 14:
bodyData = {
@@ -238,7 +235,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context.next = 36;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP.success("保存成功");
+ antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.success("保存成功");
callback('edit', -1);
_context.next = 34;
return dispatch({
@@ -279,36 +276,36 @@ var SingleEditor = function SingleEditor(_ref, ref) {
}();
var actionArr = [{
name: "删除",
- icon: "iconfont c-light-black ml30 icon-shanchu current",
+ icon: "iconfont c-red ml30 icon-shanchutimu current font20",
id: "del"
}, {
name: "上移",
- icon: "iconfont c-green ml30 icon-xiangshangyi current",
+ icon: "iconfont c-green ml30 icon-xiangshangyi current font20",
id: "up"
}, {
name: "下移",
- icon: "iconfont c-green ml30 icon-xiangxiayi current",
+ icon: "iconfont c-green ml30 icon-xiangxiayi current font20",
id: "down"
}, {
- name: "添加",
- icon: "iconfont c-green ml30 icon-tianjia current",
+ name: "复制题型",
+ icon: "iconfont c-green ml30 icon-tianjia2 current font20",
id: "add"
}, {
name: "编辑",
- icon: "iconfont c-green ml30 icon-bianjidaibeijing current",
+ icon: "iconfont c-green ml30 icon-bianji-moren current font20",
id: "edit"
}];
var actionArradd = [{
name: "删除",
- icon: "iconfont c-light-black ml30 icon-shanchu current",
+ icon: "iconfont c-red ml30 icon-shanchutimu current font20",
id: "del"
}, {
- name: "添加",
- icon: "iconfont c-green ml30 icon-tianjia current",
+ name: "复制题型",
+ icon: "iconfont c-green ml30 icon-tianjia2 current font20",
id: "add"
}, {
name: "编辑",
- icon: "iconfont c-green ml30 icon-bianjidaibeijing current",
+ icon: "iconfont c-green ml30 icon-bianji-moren current font20",
id: "edit"
}];
var actionClick = /*#__PURE__*/function () {
@@ -321,7 +318,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context3.next = _context3.t0 === "del" ? 3 : _context3.t0 === "up" ? 5 : _context3.t0 === "down" ? 5 : _context3.t0 === "edit" ? 9 : _context3.t0 === "add" ? 11 : 13;
break;
case 3:
- antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z.confirm({
+ antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.confirm({
centered: true,
okText: '确定',
cancelText: '取消',
@@ -395,26 +392,41 @@ var SingleEditor = function SingleEditor(_ref, ref) {
var showList = function showList() {
var _editData$question13, _editData$question14, _editData$question15, _editData$question$an, _editData$question$qu;
var hasChooseChoices = (_editData$question13 = editData.question) === null || _editData$question13 === void 0 ? void 0 : _editData$question13.min_choices;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("aside", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionType,
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("div", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("span", {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("aside", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionType,
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ children: [editData.question.is_necessary > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ style: {
+ color: 'red',
+ fontSize: '14px'
+ },
+ children: "*"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
className: "font16",
- children: ["\u7B2C", editData.key, "\u9898"]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
- className: "font16 c-light-black ml10 mr20",
- children: "\u591A\u9009\u9898"
- }), !hasChooseChoices ? null : "\u53EF\u9009".concat(editData === null || editData === void 0 || (_editData$question14 = editData.question) === null || _editData$question14 === void 0 ? void 0 : _editData$question14.min_choices, "-").concat(editData === null || editData === void 0 || (_editData$question15 = editData.question) === null || _editData$question15 === void 0 ? void 0 : _editData$question15.max_choices, "\u9879"), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_index__WEBPACK_IMPORTED_MODULE_10__.IsNecessaryLabel, {
- v: editData.question.is_necessary
+ style: {
+ color: '#3061D0'
+ },
+ children: "\u3010\u591A\u9009\u3011"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.can_select_count,
+ children: !hasChooseChoices ? null : "\u53EF\u9009".concat(editData === null || editData === void 0 || (_editData$question14 = editData.question) === null || _editData$question14 === void 0 ? void 0 : _editData$question14.min_choices, "-").concat(editData === null || editData === void 0 || (_editData$question15 = editData.question) === null || _editData$question15 === void 0 ? void 0 : _editData$question15.max_choices, "\u9879")
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("span", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.edit_title,
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("span", {
+ style: {
+ marginRight: '10px'
+ },
+ children: ["\u7B2C", editData.key, "\u9898"]
+ }), editData.question.question_title]
})]
}), !isadd && actionArr.map(function (item, index) {
if (item.id === "up" && editData.key === 1) return null;
if (item.id === "down" && editData.key === editData.len) return null;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
placement: "bottom",
title: item.name,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
onClick: function onClick() {
return actionClick(item);
},
@@ -424,10 +436,10 @@ var SingleEditor = function SingleEditor(_ref, ref) {
}), isadd && actionArradd.map(function (item, index) {
if (item.id === "up" && editData.key === 1) return null;
if (item.id === "down" && editData.key === editData.len) return null;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
placement: "bottom",
title: item.name,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
onClick: function onClick() {
return actionClick(item);
},
@@ -435,42 +447,37 @@ var SingleEditor = function SingleEditor(_ref, ref) {
})
}, index);
})]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
- className: "mt5",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
- value: editData.question.question_title
- })
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionChoices,
- children: [!isadd && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionChoices,
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionChoices,
+ children: [!isadd && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionChoices,
children: editData === null || editData === void 0 || (_editData$question$an = editData.question.answers) === null || _editData$question$an === void 0 ? void 0 : _editData$question$an.map(function (item, index) {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
disabled: true
}, index)
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
flex: "1",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
- className: "c-black font14",
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ className: "c-black font14 ml10",
children: item.answer_text
})
})]
});
})
- }), isadd && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionChoices,
+ }), isadd && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionChoices,
children: editData === null || editData === void 0 || (_editData$question$qu = editData.question.question_answers) === null || _editData$question$qu === void 0 ? void 0 : _editData$question$qu.map(function (item, index) {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
disabled: true
}, index)
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
flex: "1",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
- className: "c-black font14",
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ className: "c-black font14 ml10",
children: item
})
})]
@@ -481,67 +488,83 @@ var SingleEditor = function SingleEditor(_ref, ref) {
});
};
var showEdit = function showEdit() {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("aside", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionType,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("div", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("aside", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionType,
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
className: "font16 c-blue",
- children: "\u591A\u9009\u9898"
- }), " ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
+ children: "\u3010\u591A\u9009\u3011"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ className: "font16",
+ style: {
+ color: '#666666'
+ },
+ children: "\u5FC5\u7B54"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
checked: isNecessary ? true : false,
- className: "ml10",
onChange: function onChange(e) {
- return setIsNecessary(e.target.checked);
+ return setIsNecessary(e);
},
- children: "\u5FC5\u7B54"
+ className: "ml10"
})]
})
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("p", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.titleWrap,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.TextArea, {
- autoSize: {
- maxRows: 5
- },
- rows: 1,
- value: title,
- placeholder: "\u8BF7\u8F93\u5165\u9898\u76EE",
- onChange: function onChange(e) {
- return setTitle(e.target.value);
- }
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("p", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.titleWrap,
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.choiceWrap,
+ gutter: [12, 12],
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ children: "\u6807\u9898"
+ })
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.editorWrap,
+ flex: "1",
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
+ style: {
+ width: '1000px',
+ height: '40px'
+ },
+ value: title,
+ placeholder: "\u8BF7\u8F93\u5165\u9898\u76EE",
+ onChange: function onChange(e) {
+ return setTitle(e.target.value);
+ }
+ })
+ })]
})
}), questionChoiceList.map(function (item, index) {
var _item$placeholder;
var lastIndex = questionChoiceList.length - 1;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.choiceWrap,
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.choiceWrap,
gutter: [12, 12],
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
- className: "font16",
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
children: other && index === lastIndex ? '其它' : "选项"
})
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.editorWrap,
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.editorWrap,
flex: "1",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.TextArea, {
- autoSize: {
- maxRows: 5
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
+ style: {
+ width: '1000px',
+ height: '40px'
},
- value: other && index === lastIndex ? '' : questionChoiceList[index]['value'],
placeholder: (_item$placeholder = item.placeholder) !== null && _item$placeholder !== void 0 ? _item$placeholder : '',
- rows: 1,
+ value: other && index === lastIndex ? '' : questionChoiceList[index]['value'],
disabled: item.disabled ? true : false,
onChange: function onChange(e) {
questionChoiceList[index]['value'] = e.target.value;
setQuestionChoiceList(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList));
}
})
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: index > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: index > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
title: "\u5220\u9664",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("i", {
- className: "".concat(_editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.deleteIcon, " iconfont icon-htmal5icon19"),
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("i", {
+ className: "".concat(_editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.deleteIcon, " iconfont icon-yichu1"),
onClick: function onClick() {
setQuestionChoiceList(questionChoiceList.filter(function (_, key) {
return key !== index;
@@ -552,140 +575,146 @@ var SingleEditor = function SingleEditor(_ref, ref) {
})
})]
}, index);
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- gutter: [12, 12],
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: "\u53EF\u9009"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_21__["default"], {
- value: minChoices || '',
- style: {
- width: 120
- },
- onChange: function onChange(value) {
- return setMinChoices(value);
- },
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__["default"].Option, {
- value: "",
- children: "--"
- }), questionChoiceList.map(function (item, index) {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__["default"].Option, {
- value: String(index + 2),
- children: index + 2
- });
- })]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
- className: "ml10 mr10",
- children: "~"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_21__["default"], {
- style: {
- width: 120
- },
- value: maxChoices || '',
- onChange: function onChange(value) {
- return setMaxChoices(value);
- },
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__["default"].Option, {
- value: "",
- children: "--"
- }), questionChoiceList.map(function (item, index) {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__["default"].Option, {
- value: String(index + 2),
- children: index + 2
- });
- })]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
- className: "font14 c-grey-999",
- children: "\uFF08\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u7CFB\u7EDF\u5BF9\u5176\u9009\u62E9\u7684\u9009\u9879\u4E2A\u6570\u8FDB\u884C\u9650\u5236\uFF0C--\u8868\u793A\u4E0D\u9650\u5236\uFF09"
- })]
- })]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- gutter: [12, 12],
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- flex: "1",
- children: polls_status === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.Fragment, {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .ZP, {
- type: "default",
- onClick: function onClick() {
- var rs = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList);
- if (other) {
- rs.splice(rs.length - 1, 0, {
- value: ''
- });
- } else {
- rs.push({
- value: ''
- });
- }
- setQuestionChoiceList(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(rs));
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("p", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.titleWrap,
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.choiceWrap,
+ gutter: [12, 12],
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ children: "\u53EF\u9009"
+ })
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_20__["default"], {
+ value: minChoices || '',
+ style: {
+ width: 183,
+ height: '40px'
},
- children: "\u65B0\u589E\u9009\u9879"
- }), !other && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .ZP, {
- type: "default",
- className: "ml20",
- onClick: function onClick() {
- setQuestionChoiceList([].concat(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList), [{
- disabled: true,
- value: "",
- placeholder: '无法编辑!将由参与答题的人手动录入'
- }]));
- setOther(true);
+ onChange: function onChange(value) {
+ return setMinChoices(value);
+ },
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__["default"].Option, {
+ value: "",
+ children: "--"
+ }), questionChoiceList.map(function (item, index) {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__["default"].Option, {
+ value: String(index + 1),
+ children: index + 1
+ });
+ })]
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ className: "ml10 mr10",
+ children: "-"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_20__["default"], {
+ style: {
+ width: 183,
+ height: '40px'
},
- children: "\u65B0\u589E\u5176\u5B83\u9009\u9879"
+ value: maxChoices || '',
+ onChange: function onChange(value) {
+ return setMaxChoices(value);
+ },
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__["default"].Option, {
+ value: "",
+ children: "--"
+ }), questionChoiceList.map(function (item, index) {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__["default"].Option, {
+ value: String(index + 1),
+ children: index + 1
+ });
+ })]
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
+ title: "\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u7CFB\u7EDF\u5BF9\u5176\u9009\u62E9\u7684\u9009\u9879\u4E2A\u6570\u8FDB\u884C\u9650\u5236\uFF0C--\u8868\u793A\u4E0D\u9650\u5236",
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("i", {
+ className: "iconfont icon-xiaowenhao1 font14",
+ style: {
+ marginLeft: '10px',
+ color: '#3061D0',
+ cursor: 'pointer'
+ }
+ })
})]
- })
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- className: "tl",
- style: {
- marginTop: 15
- },
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .ZP, {
- type: "default",
+ })]
+ })
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ style: {
+ display: 'flex',
+ width: '1000px',
+ margin: "20px 0 0 40px"
+ },
+ children: [polls_status === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.Fragment, {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_10__/* .CustomButton */ .op, {
+ style: {
+ height: '38px'
+ },
onClick: function onClick() {
- var _editData$question16;
- if ((_editData$question16 = editData.question) !== null && _editData$question16 !== void 0 && _editData$question16.id) {
- var findNotAnswerIndex = questionChoiceList.findIndex(function (item) {
- return !item.value;
+ var rs = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList);
+ if (other) {
+ rs.splice(rs.length - 1, 0, {
+ value: ''
});
- // if (findNotAnswerIndex > -1) {
- // message.info(`请先输入 ${tagList[findNotAnswerIndex]} 选项的内容`)
- // return false
- // }
- if (isadd) {
- if (findNotAnswerIndex > -1) {
- callback('del', editData.key);
- } else {
- callback('edit', -1);
- }
- } else {
- callback('edit', -1);
- }
} else {
- callback('del', editData.key);
+ rs.push({
+ value: ''
+ });
}
+ setQuestionChoiceList(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(rs));
},
- children: "\u53D6\u6D88"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .ZP, {
- className: "ml20",
- type: "primary",
- onClick: function onClick() {
- return onSave();
+ children: "\u65B0\u589E\u9009\u9879"
+ }), !other && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_10__/* .CustomButton */ .op, {
+ style: {
+ height: '38px',
+ marginLeft: '20px'
},
- children: "\u4FDD\u5B58"
- }), polls_status === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .ZP, {
- className: "ml20",
- type: "primary",
onClick: function onClick() {
- return onSave(true);
+ setQuestionChoiceList([].concat(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList), [{
+ disabled: true,
+ value: "",
+ placeholder: '无法编辑!将由参与答题的人手动录入'
+ }]));
+ setOther(true);
},
- children: "\u4FDD\u5B58\u5E76\u7EE7\u7EED"
+ children: "\u65B0\u589E\u5176\u5B83\u9009\u9879"
})]
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.close_style,
+ onClick: function onClick() {
+ var _editData$question16;
+ if ((_editData$question16 = editData.question) !== null && _editData$question16 !== void 0 && _editData$question16.id) {
+ var findNotAnswerIndex = questionChoiceList.findIndex(function (item) {
+ return !item.value;
+ });
+ // if (findNotAnswerIndex > -1) {
+ // message.info(`请先输入 ${tagList[findNotAnswerIndex]} 选项的内容`)
+ // return false
+ // }
+ if (isadd) {
+ if (findNotAnswerIndex > -1) {
+ callback('del', editData.key);
+ } else {
+ callback('edit', -1);
+ }
+ } else {
+ callback('edit', -1);
+ }
+ } else {
+ callback('del', editData.key);
+ }
+ },
+ children: "\u53D6\u6D88"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.save_style,
+ onClick: function onClick() {
+ return onSave();
+ },
+ children: "\u4FDD\u5B58"
})]
})]
});
};
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("section", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.wrap,
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("section", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.wrap,
children: [editKey !== editData.key && showList(), editKey === editData.key && showEdit()]
});
};
@@ -724,20 +753,18 @@ var SingleEditor = function SingleEditor(_ref, ref) {
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! umi */ 44743);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 8591);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 43418);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 6848);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 95237);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 43604);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 5112);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 24905);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd */ 73782);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd */ 3113);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 8591);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 43418);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 6848);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 95237);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 43604);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 5112);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 78673);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 73782);
/* harmony import */ var _service_polls__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/service/polls */ 71755);
-/* harmony import */ var _components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/components/RenderHtml */ 11167);
-/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../index */ 32113);
-/* harmony import */ var _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../editor.less?modules */ 37190);
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
+/* harmony import */ var _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../editor.less?modules */ 37190);
+/* harmony import */ var _components_ui_customization__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/components/ui-customization */ 1508);
+/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
@@ -754,7 +781,6 @@ var _excluded = ["problemset", "globalSetting", "loading", "dispatch", "onRef",
-
var tagList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
var SingleEditor = function SingleEditor(_ref, ref) {
var problemset = _ref.problemset,
@@ -848,7 +874,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context.next = 3;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP.info("请您输入题目");
+ antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info("请您输入题目");
return _context.abrupt("return", false);
case 3:
if (other) {
@@ -861,7 +887,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context.next = 8;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9"));
+ antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info("\u8BF7\u5148\u8F93\u5165 ".concat(tagList[findNotAnswerIndex], " \u9009\u9879\u7684\u5185\u5BB9"));
return _context.abrupt("return", false);
case 8:
bodyData = {
@@ -919,7 +945,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
break;
}
callback('edit', -1);
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .ZP.success("保存成功");
+ antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.success("保存成功");
_context.next = 31;
return dispatch({
type: "polls/editPolls",
@@ -953,36 +979,36 @@ var SingleEditor = function SingleEditor(_ref, ref) {
}();
var actionArr = [{
name: "删除",
- icon: "iconfont c-light-black ml30 icon-shanchu current",
+ icon: "iconfont c-red ml30 icon-shanchutimu current font20",
id: "del"
}, {
name: "上移",
- icon: "iconfont c-green ml30 icon-xiangshangyi current",
+ icon: "iconfont c-green ml30 icon-xiangshangyi current font20",
id: "up"
}, {
name: "下移",
- icon: "iconfont c-green ml30 icon-xiangxiayi current",
+ icon: "iconfont c-green ml30 icon-xiangxiayi current font20",
id: "down"
}, {
- name: "添加",
- icon: "iconfont c-green ml30 icon-tianjia current",
+ name: "复制题型",
+ icon: "iconfont c-green ml30 icon-tianjia2 current font20",
id: "add"
}, {
name: "编辑",
- icon: "iconfont c-green ml30 icon-bianjidaibeijing current",
+ icon: "iconfont c-green ml30 icon-bianji-moren current font20",
id: "edit"
}];
var actionArradd = [{
name: "删除",
- icon: "iconfont c-light-black ml30 icon-shanchu current",
+ icon: "iconfont c-red ml30 icon-shanchutimu current font20",
id: "del"
}, {
- name: "添加",
- icon: "iconfont c-green ml30 icon-tianjia current",
+ name: "复制题型",
+ icon: "iconfont c-green ml30 icon-tianjia2 current font20",
id: "add"
}, {
name: "编辑",
- icon: "iconfont c-green ml30 icon-bianjidaibeijing current",
+ icon: "iconfont c-green ml30 icon-bianji-moren current font20",
id: "edit"
}];
var actionClick = /*#__PURE__*/function () {
@@ -995,7 +1021,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context3.next = _context3.t0 === "del" ? 3 : _context3.t0 === "up" ? 5 : _context3.t0 === "down" ? 5 : _context3.t0 === "edit" ? 9 : _context3.t0 === "add" ? 11 : 13;
break;
case 3:
- antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z.confirm({
+ antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.confirm({
centered: true,
okText: '确定',
cancelText: '取消',
@@ -1068,26 +1094,38 @@ var SingleEditor = function SingleEditor(_ref, ref) {
}();
var showList = function showList() {
var _editData$question$an, _editData$question$qu;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("aside", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionType,
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("div", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("span", {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("aside", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionType,
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ children: [editData.question.is_necessary > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ style: {
+ color: 'red',
+ fontSize: '14px'
+ },
+ children: "*"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
className: "font16",
- children: ["\u7B2C", editData.key, "\u9898"]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
- className: "font16 c-light-black ml10",
- children: "\u5355\u9009\u9898"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_index__WEBPACK_IMPORTED_MODULE_10__.IsNecessaryLabel, {
- v: editData.question.is_necessary
+ style: {
+ color: '#3061D0'
+ },
+ children: "\u3010\u5355\u9009\u3011"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("span", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.edit_title,
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("span", {
+ style: {
+ marginRight: '10px'
+ },
+ children: ["\u7B2C", editData.key, "\u9898"]
+ }), editData.question.question_title]
})]
}), !isadd && actionArr.map(function (item, index) {
if (item.id === "up" && editData.key === 1) return null;
if (item.id === "down" && editData.key === editData.len) return null;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
placement: "bottom",
title: item.name,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
onClick: function onClick() {
return actionClick(item);
},
@@ -1097,10 +1135,10 @@ var SingleEditor = function SingleEditor(_ref, ref) {
}), isadd && actionArradd.map(function (item, index) {
if (item.id === "up" && editData.key === 1) return null;
if (item.id === "down" && editData.key === editData.len) return null;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
placement: "bottom",
title: item.name,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
onClick: function onClick() {
return actionClick(item);
},
@@ -1108,39 +1146,34 @@ var SingleEditor = function SingleEditor(_ref, ref) {
})
}, index);
})]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
- className: "mt5",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
- value: editData.question.question_title
- })
- }), !isadd && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionChoices,
+ }), !isadd && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionChoices,
children: editData === null || editData === void 0 || (_editData$question$an = editData.question.answers) === null || _editData$question$an === void 0 ? void 0 : _editData$question$an.map(function (item, index) {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .ZP, {
disabled: true
}, index)
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
flex: "1",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
className: "c-black font14",
children: item.answer_text
})
})]
});
})
- }), isadd && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionChoices,
+ }), isadd && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionChoices,
children: editData === null || editData === void 0 || (_editData$question$qu = editData.question.question_answers) === null || _editData$question$qu === void 0 ? void 0 : _editData$question$qu.map(function (item, index) {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .ZP, {
disabled: true
}, index)
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
flex: "1",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
className: "c-black font14",
children: item
})
@@ -1151,67 +1184,82 @@ var SingleEditor = function SingleEditor(_ref, ref) {
});
};
var showEdit = function showEdit() {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("aside", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.questionType,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("div", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("aside", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.questionType,
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
className: "font16 c-blue",
- children: "\u5355\u9009\u9898"
- }), " ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
+ children: "\u3010\u5355\u9009\u3011"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ className: "font16",
+ style: {
+ color: '#666666'
+ },
+ children: "\u5FC5\u7B54"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
checked: isNecessary ? true : false,
- className: "ml10",
onChange: function onChange(e) {
- return setIsNecessary(e.target.checked);
+ return setIsNecessary(e);
},
- children: "\u5FC5\u7B54"
+ className: "ml10"
})]
})
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("p", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.titleWrap,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.TextArea, {
- autoSize: {
- maxRows: 5
- },
- rows: 1,
- value: title,
- placeholder: "\u8BF7\u8F93\u5165\u9898\u76EE",
- onChange: function onChange(e) {
- return setTitle(e.target.value);
- }
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("p", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.titleWrap,
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.choiceWrap,
+ gutter: [12, 12],
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ children: "\u6807\u9898"
+ })
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.editorWrap,
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
+ style: {
+ width: '1000px',
+ height: '40px'
+ },
+ value: title,
+ placeholder: "\u8BF7\u8F93\u5165\u9898\u76EE",
+ onChange: function onChange(e) {
+ return setTitle(e.target.value);
+ }
+ })
+ })]
})
}), questionChoiceList.map(function (item, index) {
var _item$placeholder;
var lastIndex = questionChoiceList.length - 1;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.choiceWrap,
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.choiceWrap,
gutter: [12, 12],
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("span", {
- className: "font16",
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
children: other && index === lastIndex ? '其它' : "选项"
})
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.editorWrap,
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.editorWrap,
flex: "1",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Z.TextArea, {
- autoSize: {
- maxRows: 5
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
+ style: {
+ width: '1000px',
+ height: '40px'
},
placeholder: (_item$placeholder = item.placeholder) !== null && _item$placeholder !== void 0 ? _item$placeholder : '',
value: other && index === lastIndex ? '' : questionChoiceList[index]['value'],
- rows: 1,
disabled: item.disabled ? true : false,
onChange: function onChange(e) {
questionChoiceList[index]['value'] = e.target.value;
setQuestionChoiceList(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList));
}
})
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- children: index > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
+ children: index > 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
title: "\u5220\u9664",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)("i", {
- className: "".concat(_editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.deleteIcon, " iconfont icon-htmal5icon19"),
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("i", {
+ className: "".concat(_editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.deleteIcon, " iconfont icon-yichu1"),
onClick: function onClick() {
setQuestionChoiceList(questionChoiceList.filter(function (_, key) {
return key !== index;
@@ -1222,93 +1270,84 @@ var SingleEditor = function SingleEditor(_ref, ref) {
})
})]
}, index);
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- gutter: [12, 12],
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- flex: "1",
- children: polls_status === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.Fragment, {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .ZP, {
- type: "default",
- onClick: function onClick() {
- var rs = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList);
- if (other) {
- rs.splice(rs.length - 1, 0, {
- value: ''
- });
- } else {
- rs.push({
- value: ''
- });
- }
- setQuestionChoiceList(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(rs));
- },
- children: "\u65B0\u589E\u9009\u9879"
- }), !other && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .ZP, {
- type: "default",
- className: "ml20",
- onClick: function onClick() {
- setQuestionChoiceList([].concat(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList), [{
- disabled: true,
- value: "",
- placeholder: '无法编辑!将由参与答题的人手动录入'
- }]));
- setOther(true);
- },
- children: "\u65B0\u589E\u5176\u5B83\u9009\u9879"
- })]
- })
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
- className: "tl",
- style: {
- marginTop: 15
- },
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .ZP, {
- type: "default",
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
+ style: {
+ display: 'flex',
+ width: '1000px',
+ margin: "20px 0 0 40px"
+ },
+ children: [polls_status === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.Fragment, {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_10__/* .CustomButton */ .op, {
+ style: {
+ height: '38px'
+ },
onClick: function onClick() {
- var _editData$question11;
- if ((_editData$question11 = editData.question) !== null && _editData$question11 !== void 0 && _editData$question11.id) {
- var findNotAnswerIndex = questionChoiceList.findIndex(function (item) {
- return !item.value;
+ var rs = _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList);
+ if (other) {
+ rs.splice(rs.length - 1, 0, {
+ value: ''
});
- // if (findNotAnswerIndex > -1) {
- // message.info(`请先输入 ${tagList[findNotAnswerIndex]} 选项的内容`)
- // return false
- // }
- if (isadd) {
- if (findNotAnswerIndex > -1) {
- callback('del', editData.key);
- } else {
- callback('edit', -1);
- }
- } else {
- callback('edit', -1);
- }
} else {
- callback('del', editData.key);
+ rs.push({
+ value: ''
+ });
}
+ setQuestionChoiceList(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(rs));
},
- children: "\u53D6\u6D88"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .ZP, {
- className: "ml20",
- type: "primary",
- onClick: function onClick() {
- return onSave();
+ children: "\u65B0\u589E\u9009\u9879"
+ }), !other && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_ui_customization__WEBPACK_IMPORTED_MODULE_10__/* .CustomButton */ .op, {
+ style: {
+ height: '38px',
+ marginLeft: '20px'
},
- children: "\u4FDD\u5B58"
- }), polls_status === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(antd__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .ZP, {
- className: "ml20",
- type: "primary",
onClick: function onClick() {
- return onSave(true);
+ setQuestionChoiceList([].concat(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(questionChoiceList), [{
+ disabled: true,
+ value: "",
+ placeholder: '无法编辑!将由参与答题的人手动录入'
+ }]));
+ setOther(true);
},
- children: " \u4FDD\u5B58\u5E76\u7EE7\u7EED "
+ children: "\u65B0\u589E\u5176\u5B83\u9009\u9879"
})]
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.close_style,
+ onClick: function onClick() {
+ var _editData$question11;
+ if ((_editData$question11 = editData.question) !== null && _editData$question11 !== void 0 && _editData$question11.id) {
+ var findNotAnswerIndex = questionChoiceList.findIndex(function (item) {
+ return !item.value;
+ });
+ // if (findNotAnswerIndex > -1) {
+ // message.info(`请先输入 ${tagList[findNotAnswerIndex]} 选项的内容`)
+ // return false
+ // }
+ if (isadd) {
+ if (findNotAnswerIndex > -1) {
+ callback('del', editData.key);
+ } else {
+ callback('edit', -1);
+ }
+ } else {
+ callback('edit', -1);
+ }
+ } else {
+ callback('del', editData.key);
+ }
+ },
+ children: "\u53D6\u6D88"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.save_style,
+ onClick: function onClick() {
+ return onSave();
+ },
+ children: "\u4FDD\u5B58"
})]
})]
});
};
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsxs)("section", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.wrap,
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("section", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z.wrap,
children: [editKey !== editData.key && showList(), editKey === editData.key && showEdit()]
});
};
@@ -1345,21 +1384,17 @@ var SingleEditor = function SingleEditor(_ref, ref) {
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! umi */ 44743);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 8591);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 43418);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 6848);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 95237);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 43604);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 24905);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 73782);
-/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 3113);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 8591);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 43418);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 6848);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 95237);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 43604);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 24905);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 78673);
+/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 73782);
/* harmony import */ var _service_polls__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/service/polls */ 71755);
-/* harmony import */ var _components_RenderHtml__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/components/RenderHtml */ 11167);
-/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../index */ 32113);
-/* harmony import */ var _editor_less_modules__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../editor.less?modules */ 37190);
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
-
-
+/* harmony import */ var _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../editor.less?modules */ 37190);
+/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
@@ -1419,7 +1454,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context.next = 3;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info("请您输入题目");
+ antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .ZP.info("请您输入题目");
return _context.abrupt("return", false);
case 3:
bodyData = {
@@ -1468,7 +1503,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context.next = 25;
break;
}
- antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.success("保存成功");
+ antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .ZP.success("保存成功");
callback('edit', -1);
_context.next = 23;
return dispatch({
@@ -1504,36 +1539,36 @@ var SingleEditor = function SingleEditor(_ref, ref) {
}();
var actionArr = [{
name: "删除",
- icon: "iconfont c-light-black ml30 icon-shanchu current",
+ icon: "iconfont c-red ml30 icon-shanchutimu current font20",
id: "del"
}, {
name: "上移",
- icon: "iconfont c-green ml30 icon-xiangshangyi current",
+ icon: "iconfont c-green ml30 icon-xiangshangyi current font20",
id: "up"
}, {
name: "下移",
- icon: "iconfont c-green ml30 icon-xiangxiayi current",
+ icon: "iconfont c-green ml30 icon-xiangxiayi current font20",
id: "down"
}, {
- name: "添加",
- icon: "iconfont c-green ml30 icon-tianjia current",
+ name: "复制题型",
+ icon: "iconfont c-green ml30 icon-tianjia2 current font20",
id: "add"
}, {
name: "编辑",
- icon: "iconfont c-green ml30 icon-bianjidaibeijing current",
+ icon: "iconfont c-green ml30 icon-bianji-moren current font20",
id: "edit"
}];
var actionArradd = [{
name: "删除",
- icon: "iconfont c-light-black ml30 icon-shanchu current",
+ icon: "iconfont c-red ml30 icon-shanchutimu current font20",
id: "del"
}, {
- name: "添加",
- icon: "iconfont c-green ml30 icon-tianjia current",
+ name: "复制题型",
+ icon: "iconfont c-green ml30 icon-tianjia2 current font20",
id: "add"
}, {
name: "编辑",
- icon: "iconfont c-green ml30 icon-bianjidaibeijing current",
+ icon: "iconfont c-green ml30 icon-bianji-moren current font20",
id: "edit"
}];
var actionClick = /*#__PURE__*/function () {
@@ -1546,7 +1581,7 @@ var SingleEditor = function SingleEditor(_ref, ref) {
_context3.next = _context3.t0 === "del" ? 3 : _context3.t0 === "up" ? 5 : _context3.t0 === "down" ? 5 : _context3.t0 === "edit" ? 9 : _context3.t0 === "add" ? 11 : 13;
break;
case 3:
- antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.confirm({
+ antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.confirm({
centered: true,
okText: '确定',
cancelText: '取消',
@@ -1619,26 +1654,38 @@ var SingleEditor = function SingleEditor(_ref, ref) {
}();
var showList = function showList() {
var _editData$question$an;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("aside", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.questionType,
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("span", {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("aside", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.questionType,
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", {
+ children: [editData.question.is_necessary > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
+ style: {
+ color: 'red',
+ fontSize: '14px'
+ },
+ children: "*"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
className: "font16",
- children: ["\u7B2C", editData.key, "\u9898"]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
- className: "font16 c-light-black ml10 mr20",
- children: "\u4E3B\u89C2\u9898"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_index__WEBPACK_IMPORTED_MODULE_9__.IsNecessaryLabel, {
- v: editData.question.is_necessary
+ style: {
+ color: '#3061D0'
+ },
+ children: "\u3010\u95EE\u7B54\u3011"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("span", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.edit_title,
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("span", {
+ style: {
+ marginRight: '10px'
+ },
+ children: ["\u7B2C", editData.key, "\u9898"]
+ }), editData.question.question_title]
})]
}), !isadd && actionArr.map(function (item, index) {
if (item.id === "up" && editData.key === 1) return null;
if (item.id === "down" && editData.key === editData.len) return null;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, {
placement: "bottom",
title: item.name,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
onClick: function onClick() {
return actionClick(item);
},
@@ -1648,10 +1695,10 @@ var SingleEditor = function SingleEditor(_ref, ref) {
}), isadd && actionArradd.map(function (item, index) {
if (item.id === "up" && editData.key === 1) return null;
if (item.id === "down" && editData.key === editData.len) return null;
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, {
placement: "bottom",
title: item.name,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
onClick: function onClick() {
return actionClick(item);
},
@@ -1659,19 +1706,14 @@ var SingleEditor = function SingleEditor(_ref, ref) {
})
}, index);
})]
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
- className: "mt5",
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {
- value: editData.question.question_title
- })
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.questionChoices,
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.questionChoices,
children: editData === null || editData === void 0 || (_editData$question$an = editData.question.answers) === null || _editData$question$an === void 0 ? void 0 : _editData$question$an.map(function (item, index) {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
disabled: true,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
className: "c-black font14",
children: item.answer_text
})
@@ -1683,88 +1725,93 @@ var SingleEditor = function SingleEditor(_ref, ref) {
});
};
var showEdit = function showEdit() {
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("aside", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("div", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.questionType,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("div", {
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("span", {
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("aside", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.questionType,
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", {
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
className: "font16 c-blue",
- children: "\u4E3B\u89C2\u9898"
- }), " ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
+ children: "\u3010\u95EE\u7B54\u3011"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
+ className: "font16",
+ style: {
+ color: '#666666'
+ },
+ children: "\u5FC5\u7B54"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
checked: isNecessary ? true : false,
- className: "ml10",
onChange: function onChange(e) {
- return setIsNecessary(e.target.checked);
+ return setIsNecessary(e);
},
- children: "\u5FC5\u7B54"
+ className: "ml10"
})]
})
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("p", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.titleWrap,
- children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z.TextArea, {
- autoSize: {
- maxRows: 5
- },
- rows: 1,
- value: title,
- placeholder: "\u8BF7\u8F93\u5165\u9898\u76EE",
- onChange: function onChange(e) {
- return setTitle(e.target.value);
- }
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("p", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.titleWrap,
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.choiceWrap,
+ gutter: [12, 12],
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("span", {
+ children: "\u6807\u9898"
+ })
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.editorWrap,
+ flex: "1",
+ children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
+ style: {
+ width: '1000px',
+ height: '40px'
+ },
+ value: title,
+ placeholder: "\u8BF7\u8F93\u5165\u9898\u76EE",
+ onChange: function onChange(e) {
+ return setTitle(e.target.value);
+ }
+ })
+ })]
})
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
- gutter: [12, 12],
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- flex: "1"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
- className: "tl",
- style: {
- marginTop: 15
- },
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, {
- type: "default",
- onClick: function onClick() {
- var _editData$question8;
- if ((_editData$question8 = editData.question) !== null && _editData$question8 !== void 0 && _editData$question8.id) {
- // if (findNotAnswerIndex > -1) {
- // message.info(`请先输入 ${tagList[findNotAnswerIndex]} 选项的内容`)
- // return false
- // }
- if (isadd) {
- if (!title) {
- callback('del', editData.key);
- } else {
- callback('edit', -1);
- }
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", {
+ style: {
+ display: 'flex',
+ width: '1000px',
+ margin: "20px 0 0 40px"
+ },
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.close_style,
+ onClick: function onClick() {
+ var _editData$question8;
+ if ((_editData$question8 = editData.question) !== null && _editData$question8 !== void 0 && _editData$question8.id) {
+ // if (findNotAnswerIndex > -1) {
+ // message.info(`请先输入 ${tagList[findNotAnswerIndex]} 选项的内容`)
+ // return false
+ // }
+ if (isadd) {
+ if (!title) {
+ callback('del', editData.key);
} else {
callback('edit', -1);
}
} else {
- callback('del', editData.key);
+ callback('edit', -1);
}
- },
- children: "\u53D6\u6D88"
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, {
- className: "ml20",
- type: "primary",
- onClick: function onClick() {
- return onSave();
- },
- children: "\u4FDD\u5B58"
- }), polls_status === 1 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, {
- className: "ml20",
- type: "primary",
- onClick: function onClick() {
- return onSave(true);
- },
- children: "\u4FDD\u5B58\u5E76\u7EE7\u7EED"
- })]
+ } else {
+ callback('del', editData.key);
+ }
+ },
+ children: "\u53D6\u6D88"
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.save_style,
+ onClick: function onClick() {
+ return onSave();
+ },
+ children: "\u4FDD\u5B58"
})]
})]
});
};
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsxs)("section", {
- className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.wrap,
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("section", {
+ className: _editor_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.wrap,
children: [editKey !== editData.key && showList(), editKey === editData.key && showEdit()]
});
};
@@ -1783,467 +1830,6 @@ var SingleEditor = function SingleEditor(_ref, ref) {
/***/ }),
-/***/ 32113:
-/*!*********************************************************************!*\
- !*** ./src/pages/Classrooms/Lists/Polls/Edit/index.tsx + 1 modules ***!
- \*********************************************************************/
-/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
-
-// ESM COMPAT FLAG
-__webpack_require__.r(__webpack_exports__);
-
-// EXPORTS
-__webpack_require__.d(__webpack_exports__, {
- IsNecessaryLabel: function() { return /* binding */ IsNecessaryLabel; },
- "default": function() { return /* binding */ Edit; }
-});
-
-// 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/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/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/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/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__(44743);
-// 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/divider/index.js + 1 modules
-var divider = __webpack_require__(28103);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules
-var breadcrumb = __webpack_require__(66104);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
-var row = __webpack_require__(95237);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
-var col = __webpack_require__(43604);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
-var tooltip = __webpack_require__(6848);
-// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules
-var input = __webpack_require__(73782);
-// 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.5.1@@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules
-var PlusCircleOutlined = __webpack_require__(45532);
-// EXTERNAL MODULE: ./src/service/polls.ts
-var service_polls = __webpack_require__(71755);
-// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Polls/Edit/components/MultipleEditor/index.tsx
-var MultipleEditor = __webpack_require__(68500);
-// EXTERNAL MODULE: ./src/components/RenderHtml/index.tsx + 2 modules
-var RenderHtml = __webpack_require__(11167);
-// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Polls/Edit/components/SingleEditor/index.tsx
-var SingleEditor = __webpack_require__(5682);
-// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Polls/Edit/components/SubjectiveEditor/index.tsx
-var SubjectiveEditor = __webpack_require__(74756);
-// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules
-var markdown_editor = __webpack_require__(34596);
-;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Polls/Edit/index.less?modules
-// extracted by mini-css-extract-plugin
-/* harmony default export */ var Editmodules = ({"flex_box_center":"flex_box_center___zXTbi","flex_space_between":"flex_space_between___PmyCC","flex_box_vertical_center":"flex_box_vertical_center___FVTkH","flex_box_center_end":"flex_box_center_end___hhcmG","flex_box_column":"flex_box_column___M32tw","bg":"bg___nBRtw","containerTitle":"containerTitle___aZMyO","containerDesc":"containerDesc___IBU0r","listItem":"listItem___N1XyK","info":"info___ckHt5","title":"title___ZKDBe","titleLeft":"titleLeft___f48Qy","titleRight":"titleRight___iByom","acitons":"acitons___x97ti","necessary_label":"necessary_label___Myrf1"});
-// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
-var jsx_runtime = __webpack_require__(37712);
-;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Polls/Edit/index.tsx
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-// import MdEditor from '@/components/'
-
-
-
-var ShixunsListPage = function ShixunsListPage(_ref) {
- var _polls$editData6, _userInfo$course, _polls$editData7, _polls$editData8, _polls$editData9;
- var polls = _ref.polls,
- globalSetting = _ref.globalSetting,
- loading = _ref.loading,
- user = _ref.user,
- dispatch = _ref.dispatch;
- var params = (0,_umi_production_exports.useParams)();
- var userInfo = user.userInfo;
- 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),
- editData = _useState2[0],
- setEditData = _useState2[1];
- var _useState3 = (0,_react_17_0_2_react.useState)(false),
- _useState4 = slicedToArray_default()(_useState3, 2),
- isEdit = _useState4[0],
- setIsEdit = _useState4[1];
- var _useState5 = (0,_react_17_0_2_react.useState)(-1),
- _useState6 = slicedToArray_default()(_useState5, 2),
- editKey = _useState6[0],
- setEditKey = _useState6[1];
- var questionType = [{
- name: "单选题",
- id: 1
- }, {
- name: "多选题",
- id: 2
- }, {
- name: "主观题",
- id: 3
- }];
- var childrenRef = (0,_react_17_0_2_react.useRef)();
- (0,_react_17_0_2_react.useEffect)(function () {
- var _polls$editData;
- if ((_polls$editData = polls.editData) !== null && _polls$editData !== void 0 && _polls$editData.poll_questions) {
- var _polls$editData2, _polls$editData3, _polls$editData4, _polls$editData5;
- editData = toConsumableArray_default()((_polls$editData2 = polls.editData) === null || _polls$editData2 === void 0 ? void 0 : _polls$editData2.poll_questions);
- setEditData(toConsumableArray_default()((_polls$editData3 = polls.editData) === null || _polls$editData3 === void 0 ? void 0 : _polls$editData3.poll_questions));
- form.setFieldsValue({
- polls_name: (_polls$editData4 = polls.editData) === null || _polls$editData4 === void 0 || (_polls$editData4 = _polls$editData4.poll) === null || _polls$editData4 === void 0 ? void 0 : _polls$editData4.polls_name,
- polls_description: (_polls$editData5 = polls.editData) === null || _polls$editData5 === void 0 || (_polls$editData5 = _polls$editData5.poll) === null || _polls$editData5 === void 0 ? void 0 : _polls$editData5.polls_description
- });
- }
- }, [polls.editData]);
- var polls_status = (_polls$editData6 = polls.editData) === null || _polls$editData6 === void 0 || (_polls$editData6 = _polls$editData6.poll) === null || _polls$editData6 === void 0 ? void 0 : _polls$editData6.polls_status;
- console.log("editdata1111:", editData);
- (0,_react_17_0_2_react.useEffect)(function () {
- dispatch({
- type: "polls/editPolls",
- payload: objectSpread2_default()({}, params)
- });
- }, [params.categoryId]);
- var save = /*#__PURE__*/function () {
- var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(type) {
- var value, 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:
- value = form.getFieldValue();
- value.is_md = true;
- value.pollsId = params.categoryId;
- _context.next = 7;
- return (0,service_polls/* putPolls */.Qg)(objectSpread2_default()({}, value));
- case 7:
- res = _context.sent;
- if (res.status === 0) {
- setIsEdit(false);
- dispatch({
- type: "polls/editPolls",
- payload: objectSpread2_default()({}, params)
- });
- }
- case 9:
- case "end":
- return _context.stop();
- }
- }, _callee);
- }));
- return function save(_x) {
- return _ref2.apply(this, arguments);
- };
- }();
- var addQuestion = /*#__PURE__*/function () {
- var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(type) {
- return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
- while (1) switch (_context2.prev = _context2.next) {
- case 0:
- if (!(editKey !== -1)) {
- _context2.next = 3;
- break;
- }
- message/* default */.ZP.error("不能同时编辑两题");
- return _context2.abrupt("return");
- case 3:
- setEditKey(editData.length + 1);
- setEditData([].concat(toConsumableArray_default()(editData), [{
- question: {
- question_type: type
- }
- }]));
- case 5:
- case "end":
- return _context2.stop();
- }
- }, _callee2);
- }));
- return function addQuestion(_x2) {
- return _ref3.apply(this, arguments);
- };
- }();
- var callback = function callback(key, data, allData) {
- switch (key) {
- case "edit":
- if (editKey === -1 || data === -1) {
- editKey = data;
- setEditKey(data);
- } else {
- message/* default */.ZP.error("不能同时编辑两题");
- }
- break;
- case "add":
- if (editKey != -1) {
- message/* default */.ZP.error("不能同时编辑两题");
- return;
- }
- delete data.id;
- editData.splice(data === null || data === void 0 ? void 0 : data.key, 0, {
- insert_id: data === null || data === void 0 ? void 0 : data.insert_id,
- question: objectSpread2_default()({}, data)
- }).slice();
- setEditData(toConsumableArray_default()(editData));
- setEditKey((data === null || data === void 0 ? void 0 : data.key) + 1);
- break;
- case "addContinue":
- // editData = [...polls.editData?.poll_questions]
- setEditData(toConsumableArray_default()(data));
- break;
- case "del":
- editData.splice(data - 1, 1);
- setEditData(toConsumableArray_default()(editData));
- setEditKey(-1);
- break;
- }
- };
- var renderQuestion = function renderQuestion() {
- var _editData;
- return (_editData = editData) === null || _editData === void 0 ? void 0 : _editData.map(function (v, k) {
- var _v$question;
- v.key = k + 1;
- v.len = editData.length;
- if (v.question.question_type === 1) {
- return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SingleEditor/* default */.Z, {
- ref: childrenRef,
- editKey: editKey,
- polls_status: polls_status,
- callback: callback,
- editData: v
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})]
- }, v.id);
- }
- if (v.question.question_type === 2) {
- return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(MultipleEditor/* default */.Z, {
- ref: childrenRef,
- editKey: editKey,
- polls_status: polls_status,
- callback: callback,
- editData: v
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})]
- }, v.id);
- }
- if (((_v$question = v.question) === null || _v$question === void 0 ? void 0 : _v$question.question_type) === 3) {
- return /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SubjectiveEditor/* default */.Z, {
- ref: childrenRef,
- editKey: editKey,
- polls_status: polls_status,
- callback: callback,
- editData: v
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})]
- }, v.id);
- }
- });
- };
- return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
- className: "edu-container",
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
- className: "animated fadeIn",
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
- className: "mt10",
- children: userInfo && /*#__PURE__*/(0,jsx_runtime.jsxs)(breadcrumb/* default */.Z, {
- separator: ">",
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
- to: "".concat(userInfo.first_category_url),
- children: (_userInfo$course = userInfo.course) === null || _userInfo$course === void 0 ? void 0 : _userInfo$course.course_name
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
- to: "/classrooms/".concat(params.coursesId, "/poll"),
- children: "\u95EE\u5377\u5217\u8868"
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
- children: "\u7F16\u8F91\u95EE\u5377"
- })]
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
- className: [Editmodules.title, 'mt20'].join(' '),
- children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
- style: {
- width: "100%"
- },
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
- flex: "1",
- children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", {
- className: "font20 ml5",
- children: "\u7F16\u8F91\u95EE\u5377"
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", {
- type: "primary",
- style: {
- fontSize: 16,
- marginRight: 10
- },
- onClick: function onClick() {
- _umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/poll/").concat(params.categoryId, "/detail?tabs=2"));
- dispatch({
- type: 'polls/setActionTabs',
- payload: {
- key: '立即发布',
- selectArrs: [params.categoryId],
- types: 2,
- params: {
- categoryId: params.categoryId
- }
- }
- });
- },
- children: "\u7ACB\u5373\u53D1\u5E03"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
- className: "font16 ",
- to: "/classrooms/".concat(params.coursesId, "/poll/").concat(params.categoryId, "/detail"),
- children: "\u8FD4\u56DE"
- })]
- })]
- })
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
- className: [Editmodules.bg, 'pt30', 'pl30', 'pr30', 'pb30', 'mt20'].join(' '),
- children: [!isEdit && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
- children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
- className: Editmodules.containerDesc,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- children: (_polls$editData7 = polls.editData) === null || _polls$editData7 === void 0 || (_polls$editData7 = _polls$editData7.poll) === null || _polls$editData7 === void 0 ? void 0 : _polls$editData7.polls_name
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
- title: "\u7F16\u8F91",
- children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- onClick: function onClick() {
- return setIsEdit(true);
- },
- className: "iconfont c-green ml30 icon-bianjishijuan3x"
- })
- })
- })]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
- className: "c-light-black",
- value: ((_polls$editData8 = polls.editData) === null || _polls$editData8 === void 0 || (_polls$editData8 = _polls$editData8.poll) === null || _polls$editData8 === void 0 ? void 0 : _polls$editData8.polls_description) || ''
- })]
- }), isEdit && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
- layout: "vertical",
- form: form,
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- name: "polls_name",
- label: "\u95EE\u5377\u6807\u9898\uFF1A",
- rules: [{
- required: true,
- message: "请填写问卷标题"
- }],
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
- maxLength: 60,
- placeholder: "\u95EE\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- label: "\u95EE\u5377\u987B\u77E5\uFF1A",
- name: "polls_description",
- children: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, {
- watch: true,
- placeholder: "\u8BF7\u5728\u6B64\u8F93\u5165\u672C\u6B21\u95EE\u5377\u7B54\u9898\u7684\u76F8\u5173\u8BF4\u660E",
- defaultValue: (_polls$editData9 = polls.editData) === null || _polls$editData9 === void 0 || (_polls$editData9 = _polls$editData9.poll) === null || _polls$editData9 === void 0 ? void 0 : _polls$editData9.polls_description
- })
- }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
- className: "tr",
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
- type: "default",
- onClick: function onClick() {
- setIsEdit(false);
- },
- style: {
- marginRight: 10
- },
- children: "\u53D6\u6D88"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
- style: {
- margin: '0px 20px'
- },
- type: "primary",
- onClick: function onClick() {
- save();
- },
- children: "\u4FDD\u5B58"
- })]
- })]
- })]
- }), editData != '' && /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
- className: [Editmodules.bg, 'pt30', 'pl20', 'pr20', 'pb20', 'mt20'].join(' '),
- children: renderQuestion()
- }), polls_status === 1 ? /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
- className: [Editmodules.bg, 'pt30', 'pl30', 'pr30', 'pb30', 'mt20'].join(' '),
- children: questionType.map(function (item) {
- return /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
- className: "mr20",
- type: "primary",
- onClick: function onClick() {
- return addQuestion(item.id);
- },
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)(PlusCircleOutlined/* default */.Z, {
- className: "mr5"
- }), item.name]
- });
- })
- }) : null]
- });
-};
-/* harmony default export */ var Edit = ((0,_umi_production_exports.connect)(function (_ref4) {
- var polls = _ref4.polls,
- loading = _ref4.loading,
- user = _ref4.user,
- globalSetting = _ref4.globalSetting;
- return {
- polls: polls,
- globalSetting: globalSetting,
- user: user,
- loading: loading.effects
- };
-})(ShixunsListPage));
-function IsNecessaryLabel(_ref5) {
- var v = _ref5.v;
- return /*#__PURE__*/(0,jsx_runtime.jsx)(_react_17_0_2_react.Fragment, {
- children: v > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- className: Editmodules.necessary_label,
- children: "\u5FC5\u7B54"
- }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- className: Editmodules.necessary_label,
- children: "\u9009\u7B54"
- })
- });
-}
-
-/***/ }),
-
/***/ 37190:
/*!******************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Polls/Edit/components/editor.less?modules ***!
@@ -2251,7 +1837,7 @@ function IsNecessaryLabel(_ref5) {
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// extracted by mini-css-extract-plugin
-/* harmony default export */ __webpack_exports__.Z = ({"flex_box_center":"flex_box_center___JbEg0","flex_space_between":"flex_space_between___Kf6pN","flex_box_vertical_center":"flex_box_vertical_center___e4qgM","flex_box_center_end":"flex_box_center_end___p8QnY","flex_box_column":"flex_box_column___qCilW","wrap":"wrap___Gdnjm","modal":"modal___nL9rn","titleWrap":"titleWrap___ezuXc","required":"required___i8a7H","title":"title___FaxQL","colorGray":"colorGray___CO5Es","choiceWrap":"choiceWrap___pj0lT","answer":"answer___Aq1c0","activeAnswer":"activeAnswer___VIsVw","deleteIcon":"deleteIcon___Gsa5a","addIcon":"addIcon___Yr5Ku","editorWrap":"editorWrap____aGAd","htmlWrap":"htmlWrap___SKYBF","radio":"radio___wvdFS","color333":"color333___uuN3O","color999":"color999___prp8g","questionType":"questionType___FKxwP","questionChoices":"questionChoices___c0OQa"});
+/* harmony default export */ __webpack_exports__.Z = ({"flex_box_center":"flex_box_center___JbEg0","flex_space_between":"flex_space_between___Kf6pN","flex_box_vertical_center":"flex_box_vertical_center___e4qgM","flex_box_center_end":"flex_box_center_end___p8QnY","flex_box_column":"flex_box_column___qCilW","wrap":"wrap___Gdnjm","modal":"modal___nL9rn","titleWrap":"titleWrap___ezuXc","required":"required___i8a7H","title":"title___FaxQL","colorGray":"colorGray___CO5Es","choiceWrap":"choiceWrap___pj0lT","answer":"answer___Aq1c0","activeAnswer":"activeAnswer___VIsVw","deleteIcon":"deleteIcon___Gsa5a","addIcon":"addIcon___Yr5Ku","editorWrap":"editorWrap____aGAd","htmlWrap":"htmlWrap___SKYBF","radio":"radio___wvdFS","color333":"color333___uuN3O","color999":"color999___prp8g","questionType":"questionType___FKxwP","questionChoices":"questionChoices___c0OQa","close_style":"close_style___NQVEE","save_style":"save_style___kq8NC","edit_title":"edit_title___W3elv","can_select_count":"can_select_count___F11WF"});
/***/ })
diff --git a/70130.626cbd33.async.js b/70130.1eba589a.async.js
similarity index 99%
rename from 70130.626cbd33.async.js
rename to 70130.1eba589a.async.js
index 8385000479..f38754848b 100644
--- a/70130.626cbd33.async.js
+++ b/70130.1eba589a.async.js
@@ -7532,7 +7532,7 @@ var _seed = __webpack_require__(/*! ../seed */ 54303);
var _genColorMapToken = _interopRequireDefault(__webpack_require__(/*! ../shared/genColorMapToken */ 29330));
var _genCommonMapToken = _interopRequireDefault(__webpack_require__(/*! ../shared/genCommonMapToken */ 86704));
var _colors2 = __webpack_require__(/*! ./colors */ 31951);
-var _genFontMapToken = _interopRequireDefault(__webpack_require__(/*! ../shared/genFontMapToken */ 9250));
+var _genFontMapToken = _interopRequireDefault(__webpack_require__(/*! ../shared/genFontMapToken */ 37325));
function derivative(token) {
const colorPalettes = Object.keys(_seed.defaultPresetColors).map(colorKey => {
const colors = (0, _colors.generate)(token[colorKey]);
@@ -7795,7 +7795,7 @@ exports["default"] = _default;
/***/ }),
-/***/ 9250:
+/***/ 37325:
/*!**********************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/lib/theme/themes/shared/genFontMapToken.js ***!
\**********************************************************************************/
diff --git a/94338.647fd0a1.async.js b/94338.8d780958.async.js
similarity index 99%
rename from 94338.647fd0a1.async.js
rename to 94338.8d780958.async.js
index 9312ae7d74..72061c0aab 100644
--- a/94338.647fd0a1.async.js
+++ b/94338.8d780958.async.js
@@ -1,5 +1,5 @@
"use strict";
-(self["webpackChunk"] = self["webpackChunk"] || []).push([[94338,52720,78169,45504,2355,58268,25473,81120,11021],{
+(self["webpackChunk"] = self["webpackChunk"] || []).push([[94338,52720,78169,45504,58268,25473,81120,11021],{
/***/ 50382:
/*!*****************************************************************************************************!*\
diff --git a/index.html b/index.html
index 92c92df93b..c3ef690a57 100644
--- a/index.html
+++ b/index.html
@@ -26,7 +26,7 @@
display: block !important;
}
-
+