import{n as e}from"./index-Bg7bo8aA.js";var t=e();function n({tabs:e,active:n,onChange:r}){return(0,t.jsx)(`div`,{className:`fc-page-tabs`,children:e.map(e=>(0,t.jsx)(`button`,{type:`button`,className:`fc-page-tab${n===e.key?` fc-page-tab--on`:``}`,onClick:()=>r(e.key),children:e.label},e.key))})}function r({title:e,children:n,extra:r}){return(0,t.jsxs)(`div`,{className:`fc-card`,children:[(0,t.jsxs)(`div`,{className:`fc-card-h`,children:[(0,t.jsx)(`h3`,{children:e}),r]}),(0,t.jsx)(`div`,{className:`fc-card-b`,children:n})]})}function i({children:e,className:n}){return(0,t.jsx)(`div`,{className:`fc-alert-info${n?` ${n}`:``}`,children:e})}function a({roles:e,active:n,onChange:r}){return(0,t.jsx)(`div`,{className:`fc-role-pills`,children:e.map(e=>(0,t.jsxs)(`button`,{type:`button`,className:`fc-role-pill${n===e.code?` fc-role-pill--on`:``}${e.locked?` fc-role-pill--locked`:``}`,onClick:()=>r(e.code),children:[e.displayName,e.locked?`（锁定）`:``]},e.code))})}function o({items:e,active:n,onChange:r}){return(0,t.jsx)(`div`,{className:`fc-entity-pills`,children:e.map(e=>(0,t.jsx)(`button`,{type:`button`,className:`fc-entity-pill${n===e.value?` fc-entity-pill--on`:``}`,onClick:()=>r(e.value),children:e.label},e.value))})}function s({scope:e}){let n=e===`all`?`scope-all`:e===`dept`?`scope-dept`:`scope-self`,r=e===`all`?`全部`:e===`dept`?`部门`:e===`self`?`个人`:e;return(0,t.jsx)(`span`,{className:`fc-scope-t ${n}`,children:r})}var c={password:`cat-pwd`,real_name:`cat-real`,identity:`cat-id`,payment:`cat-pay`,contact:`cat-contact`,amount:`cat-pay`,general:`cat-general`};function l({category:e,label:n}){return(0,t.jsx)(`span`,{className:`fc-cat-badge ${c[e]||`cat-general`}`,children:n})}function u({level:e}){return(0,t.jsx)(`span`,{className:`fc-sens ${e===`L1`?`sens-l1`:e===`L2`?`sens-l2`:`sens-l3`}`,children:e})}function d({yes:e}){return(0,t.jsx)(`span`,{className:`fc-tag ${e?`fc-tag-g`:`fc-tag-r`}`,children:e?`是`:`否`})}export{n as a,u as c,o as i,d as l,r as n,a as o,l as r,s,i as t};