import{W as e,X as a,Z as s,_ as r,a8 as t,a0 as l}from"./vendor.js?ver=3.1.8";import{_ as o}from"./fc-bits-ui.js?ver=3.1.8";const c={name:"DataTable",props:{hasSelection:{type:Boolean,default:!1},wrapper_border:{type:Boolean,default:!1}}},i={class:"fcrm_table_header"},_={key:0,class:"fcrm_table_header_inner"},n={key:0,class:"fcrm_table_header_inner_left"},d={key:1,class:"fcrm_table_header_inner_actions"},f={class:"fcrm_table_header_bulk_actions"},b={class:"fcrm_table_body"};const p=o(c,[["render",function(o,c,p,h,m,v){return e(),a("div",{class:l(["fcrm_table_wrapper",{fcrm_table_wrapper_border:p.wrapper_border}])},[s("div",i,[p.hasSelection?t("",!0):(e(),a("div",_,[o.$slots["header-left"]?(e(),a("div",n,[r(o.$slots,"header-left")])):t("",!0),o.$slots["header-actions"]?(e(),a("div",d,[r(o.$slots,"header-actions")])):t("",!0)])),s("div",f,[p.hasSelection?r(o.$slots,"bulk-actions",{key:0}):t("",!0),p.hasSelection?t("",!0):r(o.$slots,"active-filters",{key:1})])]),r(o.$slots,"header-extra"),s("div",b,[r(o.$slots,"table"),r(o.$slots,"pagination")])],2)}]]);export{p as D};
