"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@aplus-frontend/antdv/es/theme/internal"),e=require("vue");require("../../config-provider/index.js");const s=require("../utils/renderer.js"),l=require("../../config-provider/hooks/use-namespace.js"),i=require("../../config-provider/hooks/use-global-config.js"),c=r=>{const[,t]=a.useToken(),{be:u}=l.useNamespace("ap-grid"),o=i.useGlobalConfig("valueTypeMap"),n=e.ref(Date.now());return e.watch(()=>r.value,()=>{n.value=Date.now()},{deep:!0}),{renderConfig:e.computed(()=>s.renderWithColumns(r.value,t.value.colorTextTertiary,u("table-header","title"),e.unref(o))),updateSignal:n}};exports.useRenderColumns=c;
