mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-16 04:07:51 +00:00
1 line
49 KiB
JavaScript
1 line
49 KiB
JavaScript
|
|
"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[9209],{48800:function(e,n,t){t.d(n,{Z:function(){return l}});var o=t(77260),r=t(44194),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},i=t(54183),d=function(e,n){return r.createElement(i.Z,(0,o.Z)({},e,{ref:n,icon:a}))};var l=r.forwardRef(d)},31560:function(e,n,t){t.d(n,{ZP:function(){return g},Yk:function(){return v},TM:function(){return h}});var o=t(59199),r=t(50779),a=t(49336),i=t(6689),d=t(77167),l=t(79255);const c=({treeCls:e,treeNodeCls:n,directoryNodeSelectedBg:t,directoryNodeSelectedColor:o,motionDurationMid:r,borderRadius:a,controlItemBgHover:i})=>({[`${e}${e}-directory ${n}`]:{[`${e}-node-content-wrapper`]:{position:"static",[`&:has(${e}-drop-indicator)`]:{position:"relative"},[`> *:not(${e}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${r}`,content:'""',borderRadius:a},"&:hover:before":{background:i}},[`${e}-switcher, ${e}-checkbox, ${e}-draggable-icon`]:{zIndex:1},"&-selected":{background:t,borderRadius:a,[`${e}-switcher, ${e}-draggable-icon`]:{color:o},[`${e}-node-content-wrapper`]:{color:o,background:"transparent","&:before, &:hover:before":{background:t}}}}}),s=new o.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),u=(e,n)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${n.motionDurationSlow}`}}}),f=(e,n)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:n.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,o.bf)(n.lineWidthBold)} solid ${n.colorPrimary}`,borderRadius:"50%",content:'""'}}}),p=(e,n)=>{const{treeCls:t,treeNodeCls:r,treeNodePadding:i,titleHeight:d,indentSize:l,nodeSelectedBg:c,nodeHoverBg:p,colorTextQuaternary:v,controlItemBgActiveDisabled:h}=n;return{[t]:Object.assign(Object.assign({},(0,a.Wf)(n)),{"--rc-virtual-list-scrollbar-bg":n.colorSplit,background:n.colorBgContainer,borderRadius:n.borderRadius,transition:`background-color ${n.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${t}-rtl ${t}-switcher_close ${t}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${t}-active-focused)`]:Object.assign({},(0,a.oN)(n)),[`${t}-list-holder-inner`]:{alignItems:"flex-start"},[`&${t}-block-node`]:{[`${t}-list-holder-inner`]:{alignItems:"stretch",[`${t}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${n.colorPrimary}`,opacity:0,animationName:s,animationDuration:n.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:n.borderRadius}}},[r]:{display:"flex",alignItems:"flex-start",marginBottom:i,lineHeight:(0,o.bf)(d),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:i},[`&-disabled ${t}-node-content-wrapper`]:{color:n.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${t}-checkbox-disabled + ${t}-node-selected,&${r}-disabled${r}-selected ${t}-node-content-wrapper`]:{backgroundColor:h},[`${t}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${r}-disabled)`]:{[`${t}-node-content-wrapper`]:{"&:hover":{color:n.nodeHoverColor}}},[`&-active ${t}-node-content-wrapper`]:{background:n.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${t}-title`]:{color:n.colorPrimary,fontWeight:n.fontWeightStrong},"&-draggable":{cursor:"grab",[`${t}-draggable-icon`]:{flexShrink:0,width:d,textAlign:"center",visibility:"visible",color:v},[`&${r}-
|