import{_ as l}from"./SmartDataTable-2Nc3Ohem.js";import{d as a,H as r,f as m,h as i}from"./index-C5GbdPxY.js";import"./VAvatar-RkAR0u0e.js";import"./VImg-BlqLjeEy.js";import"./VSelect-vtfYszIh.js";import"./VTextField-DxEUpn3-.js";import"./index-XcTykuv2.js";import"./forwardRefs-CB8NoG9r.js";import"./VList-C3dIUnee.js";import"./VMenu-CT0Fri-T.js";import"./VOverlay-DlJb3QlW.js";import"./getScrollParent-DE35ecf2.js";import"./VVirtualScroll-BUlcGoHW.js";import"./VChip-CsS_5IS6.js";import"./confirmDialog-CDDTmj30.js";import"./VCard-DptrO3GI.js";import"./VDialog-Dr29crN8.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./lodash-kem28dbC.js";import"./_commonjsHelpers-_d1bhYXs.js";import"./VForm-BZc3SavJ.js";import"./VCheckbox-rNAD_QU_.js";import"./VDatePicker-DHBX-k2T.js";import"./VSpacer-79sITyKz.js";import"./VBadge-DZHesqMo.js";import"./VTooltip-DPhSY2Qe.js";import"./TableAgent.vue_vue_type_script_setup_true_lang-XA6R7TPe.js";import"./TableEnum.vue_vue_type_script_setup_true_lang-5ITYgflT.js";import"./TableStatus.vue_vue_type_script_setup_true_lang-BRbfAU0T.js";import"./RoleBadge.vue_vue_type_script_setup_true_lang-Ctl8Qye7.js";import"./VDataTable-BFiF8jPV.js";import"./VTable-M43pjJD_.js";import"./filter-DERJvhSS.js";const P=a({__name:"Index",setup(s){const{t}=r(),e=[{title:t("loyalty::loyalty_customers.table.customer"),value:"customer.name",sortable_key:"customer_id",sortable:!0},{title:t("loyalty::loyalty_customers.table.loyalty_program"),value:"loyalty_program.name",sortable_key:"loyalty_program_id",sortable:!0},{title:t("loyalty::loyalty_customers.table.loyalty_tier"),value:"loyalty_tier.name",sortable_key:"loyalty_tier_id",sortable:!0},{title:t("loyalty::loyalty_customers.table.points_balance"),value:"points_balance",sortable:!0},{title:t("loyalty::loyalty_customers.table.lifetime_points"),value:"lifetime_points",sortable:!0},{title:t("loyalty::loyalty_customers.table.last_earned_at"),value:"last_earned_at",sortable:!0},{title:t("loyalty::loyalty_customers.table.last_redeemed_at"),value:"last_redeemed_at",sortable:!0},{title:t("admin::admin.table.created_at"),value:"created_at",sortable:!0}];return(y,p)=>{const o=l;return i(),m(o,{"api-uri":"/v1/loyalty-customers",headers:e,module:"loyalty",name:"loyalty_customer",resource:"loyalty_customers"})}}});export{P as default};
