PageSourceSearch

https://live.gasengineersoftware.co.uk/public/dist/pages/chunks/DeleteModal-D_mpVZXa.js

js gasengineersoftware.co.uk collected 2026-09-24 13:26:17 UTC 2,376 bytes, 2 lines download raw bytes

1import{bh as o,b as r,s as c,i as u,D as p,v as g,j as _,f as n,d as v,bg as D,c as C}from"./vendor-1vIt8e1l.js";import{a as I,C as h,I as M,T as w,M as B}from"../index.2117.js";import"./shared-config--KhTFZan.js";import"./vendor-pdf-C11cpwyN.js";import"./vendor-datepicker-BP712TSD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"2.117"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="58a72ade-ab54-4133-9861-e7f0715fb050",e._sentryDebugIdIdentifier="sentry-dbid-58a72ade-ab54-4133-9861-e7f0715fb050")})()}catch{}const T=v({name:"DeleteModal",components:{Modal:B,TextHead:w,Icon:M,CustomButton:h},props:{title:{type:String},description:{type:String},visible:{type:Boolean},id:{type:Number},data:{type:Object},disableIcon:{type:Boolean},loading:{type:Boolean}},emits:["update:visible","updateData","delete"],setup(e,{emit:t}){const l=D(),s=C({get(){return{...e}},set(a){t("updateData",a)}});return{i18n:l,currentData:s,actionDelete:()=>{t("delete",{...e})},closeModal:()=>{t("update:visible",!1)}}}}),k=T,E={class:"delete-modal__body"},N={class:"delete-modal__buttons"};function S(e,t,l,s,f,b){const a=o("Icon"),d=o("TextHead"),i=o("CustomButton"),m=o("Modal");return r(),c(m,{visible:e.currentData.visible,"onUpdate:visible":t[0]||(t[0]=y=>e.currentData.visible=y),class:"delete-modal",title:e.title,loading:e.loading,onApprove:e.actionDelete,onCancel:e.closeModal},{buttons:u(()=>[p("div",N,[n(i,{text:e.i18n.t("buttons.cancel"),transparent:"",onClick:e.closeModal},null,8,["text","onClick"]),n(i,{text:e.i18n.t("buttons.delete"),onClick:e.actionDelete},null,8,["text","onClick"])])]),default:u(()=>[p("div",E,[e.disableIcon?g("",!0):(r(),c(a,{key:0,icon:"error",class:"mt-10"})),_(e.$slots,"default",{},()=>[n(d,{as:"h3",class:"mb-10 mt-16",text:e.i18n.t("delete_modal.are_you_sure")},null,8,["text"]),n(d,{as:"h6",class:"mb-16",color:"grey",text:e.description??e.i18n.t("delete_modal.cant_reverse")},null,8,["text"])])])]),_:3}
1,8,["visible","title","loading","onApprove","onCancel"])}const R=I(k,[["render",S]]);export{R as default};
2//# sourceMappingURL=DeleteModal-D_mpVZXa.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.