import{_ as f}from"./basicModal.vue_vue_type_script_setup_true_lang-CsJydKhW.js";import"./basicModal.vue_vue_type_style_index_0_lang-8QZP7ApW.js";import{_ as m}from"./LuckySheet.vue_vue_type_style_index_0_lang-C6fooT_k.js";import{u as p}from"./useModal-CO65vga3.js";import{d as _,r as d,c as u,o as h,l as a,w as k,j as w,ac as x}from"./index-9PRMimni.js";const E=_({__name:"ViewTemplateModal",setup(R,{expose:s}){const e=d(),[r,{openModal:n,setProps:l}]=p({title:"",width:1300});function c(o,t){l({title:o}),n(),x(()=>{e.value?.handleTransformExcelToLuckyByUrl(t.url)})}return s({handleOpenModal:c}),(o,t)=>{const i=f;return h(),u(i,{ref:"modalRef","show-action":!1,onRegister:a(r)},{default:k(()=>[w(a(m),{ref_key:"luckySheetRef",ref:e,height:"80vh",isShowExport:!0,"sheet-options":{allowEdit:!1}},null,512)]),_:1},8,["onRegister"])}}});export{E as _};
