"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("@aplus-frontend/antdv/es/theme/internal"),l=require("ag-grid-community"),d=require("vue"),i=require("../config-provider/hooks/use-token.js"),s=(r,n,t)=>{const[,a]=c.useToken(),{token:o}=i.useToken();return d.computed(()=>{const u=r.value==="mini",e=a.value;return l.themeQuartz.withParams({headerHeight:"36px",headerFontSize:"12px",dataFontSize:"12px",foregroundColor:e.colorTextBase,wrapperBorder:!1,rowBorder:{color:e.colorBorderSecondary},headerRowBorder:{color:e.colorBorderSecondary},selectedRowBackgroundColor:e.controlItemBgActive,checkboxCheckedBackgroundColor:e.colorPrimary,rowHoverColor:o.value.colorBg2,headerBackgroundColor:o.value.tableHeaderBg,headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"1px",wrapperBorderRadius:"4px",...t.value||{},rowHeight:n.value,spacing:u?"5px":"6.5px"})})};exports.useTheme=s;
