'use strict';
var __defProp=Object['defineProperty'],__name=(_0x34e77b,_0x4b614b)=>__defProp(_0x34e77b,'name',{'value':_0x4b614b,'configurable':!![]});function doTableCustomAction(_0x3a288c,_0x26bc3d){let _0x27a91d;return _0x3a288c&&(_0x27a91d=_0x3a288c(_0x26bc3d)),_0x27a91d;}__name(doTableCustomAction,'doTableCustomAction');async function onActionCallback(_0x46450c,_0x3131c1,_0x3369d0){if(_0x3131c1['onCellAction']){const _0x322b13=doTableCustomAction(_0x3131c1['onCellAction'],_0x46450c),_0x4a75b7={'shouldTableRefresh':_0x3131c1['shouldTableRefreshAfter']};_0x3131c1['shouldTableRefreshAfter']&&_0x322b13 instanceof Promise?(await _0x322b13,_0x3369d0(_0x4a75b7)):_0x3369d0(_0x4a75b7);}}__name(onActionCallback,'onActionCallback');

export { doTableCustomAction, onActionCallback };
