"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("lodash-unified"),i=require("./index.js");function u(e,n){return e?.parentElement?e.parentElement.classList.contains(n)?e.parentElement?.parentElement?e.parentElement.parentElement.className?.includes("basic-table"):!1:u(e.parentElement,n):!1}const f=e=>u(e,"ant-form")&&e?.parentNode||i.getTopWindow().document?.body,c=({text:e})=>{const n=t=>t==null||t==="";return Array.isArray(e)?n(e[0])?"--":e[0]:n(e)?"--":e},d=!1,s={getPopupContainer:f,transformCellText:c,autoInsertSpaceInButton:d};function l(e){const n={...e},t=Object.keys(s);for(const r of t)a.isUndefined(n[r])&&(n[r]=s[r]);return n}function m(e,n){const t={...n},r=Object.keys(e);for(const o of r)a.isUndefined(e[o])||(t[o]=e[o]);return t}exports.antdConfigProviderPresets=s;exports.autoInsertSpaceInButton=d;exports.getPopupContainer=f;exports.mergeAntdProvideConfig=l;exports.mergeAntdProviderConfigWithCache=m;exports.transformCellText=c;
