Files
weiyu/deploy/server/admin/p__Dashboard__Kbase__Article__ArticleData.52c85856.async.js
2025-12-17 17:03:07 +08:00

1 line
7.1 KiB
JavaScript

"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[7116],{51344:function(e,r,n){n.d(r,{Z:function(){return s}});var o=n(83910),t=n(44194),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},a=n(5901),i=function(e,r){return t.createElement(a.Z,(0,o.Z)({},e,{ref:r,icon:l}))};var s=t.forwardRef(i)},83381:function(e,r,n){n.d(r,{Z:function(){return s}});var o=n(83910),t=n(44194),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{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"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(5901),i=function(e,r){return t.createElement(a.Z,(0,o.Z)({},e,{ref:r,icon:l}))};var s=t.forwardRef(i)},28031:function(e,r,n){n.d(r,{Z:function(){return s}});var o=n(83910),t=n(44194),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},a=n(5901),i=function(e,r){return t.createElement(a.Z,(0,o.Z)({},e,{ref:r,icon:l}))};var s=t.forwardRef(i)},80503:function(e,r,n){n.d(r,{Z:function(){return s}});var o=n(83910),t=n(44194),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},a=n(5901),i=function(e,r){return t.createElement(a.Z,(0,o.Z)({},e,{ref:r,icon:l}))};var s=t.forwardRef(i)},2685:function(e,r,n){var o=n(94433),t=n(38956),l=n(28273),a=n(44194),i=n(50079),s=n(85973),d=n(31549),p=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],c=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],u=function(e,r){var n=e.fieldProps,c=e.children,u=e.params,f=e.proFieldProps,h=e.mode,v=e.valueEnum,m=e.request,Z=e.showSearch,P=e.options,g=(0,t.Z)(e,p),x=(0,a.useContext)(i.Z);return(0,d.jsx)(s.Z,(0,o.Z)((0,o.Z)({valueEnum:(0,l.h)(v),request:m,params:u,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,o.Z)({options:P,mode:h,showSearch:Z,getPopupContainer:x.getPopupContainer},n),ref:r,proFieldProps:f},g),{},{children:c}))},f=a.forwardRef((function(e,r){var n=e.fieldProps,p=e.children,u=e.params,f=e.proFieldProps,h=e.mode,v=e.valueEnum,m=e.request,Z=e.options,P=(0,t.Z)(e,c),g=(0,o.Z)({options:Z,mode:h||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},n),x=(0,a.useContext)(i.Z);return(0,d.jsx)(s.Z,(0,o.Z)((0,o.Z)({valueEnum:(0,l.h)(v),request:m,params:u,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,o.Z)({getPopupContainer:x.getPopupContainer},g),ref:r,proFieldProps:f},P),{},{children:p}))})),h=a.forwardRef(u);h.SearchSelect=f,h.displayName="ProFormComponent",r.Z=h},13437:function(e,r,n){var o=n(94433),t=n(38956),l=n(44194),a=n(85973),i=n(31549),s=["fieldProps","unCheckedChildren","checkedChildren","proFieldProps"],d=l.forwardRef((function(e,r){var n=e.fieldProps,l=e.unCheckedChildren,d=e.checkedChildren,p=e.proFieldProps,c=(0,t.Z)(e,s);return(0,i.jsx)(a.Z,(0,o.Z)({valueType:"switch",fieldProps:(0,o.Z)({unCheckedChildren:l,checkedChildren:d},n),ref:r,valuePropName:"checked",proFieldProps:p,filedConfig:{valuePropName:"checked",ignoreWidth:!0,customLightMode:!0}},c))}));r.Z=d},44565:function(e,r,n){var o=n(32906),t=n(94433),l=n(38956),a=n(92032),i=n(63642),s=n(9134),d=n(21762),p=n(44194),c=n(85973),u=n(31549),f=["fieldProps","proFieldProps"],h=["fieldProps","proFieldProps"],v="text",m=function(e){var r=(0,a.Z)(e.open||!1,{value:e.open,onChange:e.onOpenChange}),n=(0,o.Z)(r,2),l=n[0],d=n[1];return(0,u.jsx)(i.Z.Item,{shouldUpdate:!0,noStyle:!0,children:function(r){var n,o=r.getFieldValue(e.name||[]);return(0,u.jsx)(s.Z,(0,t.Z)((0,t.Z)({getPopupContainer:function(e){return e&&e.parentNode?e.parentNode:e},onOpenChange:function(e){return d(e)},content:(0,u.jsxs)("div",{style:{padding:"4px 0"},children:[null===(n=e.statusRender)||void 0===n?void 0:n.call(e,o),e.strengthText?(0,u.jsx)("div",{style:{marginTop:10},children:(0,u.jsx)("span",{children:e.strengthText})}):null]}),overlayStyle:{width:240},placement:"rightTop"},e.popoverProps),{},{open:l,children:e.children}))}})},Z=function(e){var r=e.fieldProps,n=e.proFieldProps,o=(0,l.Z)(e,f);return(0,u.jsx)(c.Z,(0,t.Z)({valueType:v,fieldProps:r,filedConfig:{valueType:v},proFieldProps:n},o))};Z.Password=function(e){var r=e.fieldProps,n=e.proFieldProps,a=(0,l.Z)(e,h),i=(0,p.useState)(!1),s=(0,o.Z)(i,2),f=s[0],Z=s[1];return null!=r&&r.statusRender&&a.name?(0,u.jsx)(m,{name:a.name,statusRender:null==r?void 0:r.statusRender,popoverProps:null==r?void 0:r.popoverProps,strengthText:null==r?void 0:r.strengthText,open:f,onOpenChange:Z,children:(0,u.jsx)("div",{children:(0,u.jsx)(c.Z,(0,t.Z)({valueType:"password",fieldProps:(0,t.Z)((0,t.Z)({},(0,d.Z)(r,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(e){var n;null==r||null===(n=r.onBlur)||void 0===n||n.call(r,e),Z(!1)},onClick:function(e){var n;null==r||null===(n=r.onClick)||void 0===n||n.call(r,e),Z(!0)}}),proFieldProps:n,filedConfig:{valueType:v}},a))})}):(0,u.jsx)(c.Z,(0,t.Z)({valueType:"password",fieldProps:r,proFieldProps:n,filedConfig:{valueType:v}},a))},Z.displayName="ProFormComponent",r.Z=Z},60857:function(e,r,n){var o=n(94433),t=n(38956),l=n(44194),a=n(85973),i=n(31549),s=["fieldProps","proFieldProps"],d=function(e,r){var n=e.fieldProps,l=e.proFieldProps,d=(0,t.Z)(e,s);return(0,i.jsx)(a.Z,(0,o.Z)({ref:r,valueType:"textarea",fieldProps:n,proFieldProps:l},d))};r.Z=l.forwardRef(d)},6180:function(e,r,n){n.r(r);var o=n(76071),t=n(33154),l=n(36265),a=n(8034),i=n(77361),s=n(31549);r.default=function(){var e=(0,o.Z)(),r=e.leftSiderStyle,n=e.contentStyle;return(0,s.jsxs)(t.Z,{style:{height:"100%"},children:[(0,s.jsx)(t.Z.Panel,{defaultSize:"20%",min:"10%",max:"40%",style:r,children:(0,s.jsx)(a.Z,{type:l.VX})}),(0,s.jsx)(t.Z.Panel,{style:n,children:(0,s.jsx)(i.Z,{})})]})}}}]);