"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=Symbol("agGridExpandableKey"),s=Symbol("agGridMaskVisibleKey"),r=Symbol("agGridSorterContextKey");function d(t){e.provide(i,t)}function b(){return e.inject(i,{expandable:e.ref({})})}function c(t){e.provide(r,t)}function k(){return e.inject(r,{sorter:e.ref({}),setSorter:()=>{}})}function v(t){e.provide(s,t)}function o(){return e.inject(s,{masks:e.ref({}),setMaskVisible:()=>{}})}function x(t){const{masks:a,setMaskVisible:u}=o(),n=e.computed(()=>a.value[t.value]);function l(){u(t.value,!n.value)}return{maskVisible:n,toggleMaskVisible:l}}exports.AgGridExpandableContextKey=i;exports.AgGridMaskVisibleContextKey=s;exports.AgGridSorterContextKey=r;exports.useInjectExpandable=b;exports.useInjectMaskVisible=o;exports.useInjectSorter=k;exports.useMaskVisible=x;exports.useProvideExpandable=d;exports.useProvideMaskVisible=v;exports.useProvideSorter=c;
