1import{_ as n,d as l,W as r,o as d,h as c,w as s,bz as p,j as a,k as o,t,ae as i,bk as f}from"./index.419d7c42.js";const m=l({name:"ConfirmationDialog",emits:["ok","hide"],props:{spec:{type:Object,required:!0}},setup(){return{refDialog:r()}},methods:{onDialogHide(){this.$emit("hide")},onOKClick(){this.$emit("ok"),this.hide()},hide(){this.refDialog&&this.refDialog.hide()},getMessage(){return this.$t(this.spec.message,this.spec.messageParams?this.spec.messageParams:{})}}}),g={class:"q-dialog-header flex row justify-between items-center"},h={class:"q-mb-none q-dialog-header-title"},u={class:"q-dialog-body"},_={class:"q-mb-none q-confirmation-message"},k={class:"q-dialog-footer flex row justify-end items-center"};function b(e,q,C,D,$,v){return d(),c(p,{ref:"refDialog",class:"q-dialog-confirmation","transition-hide":"jump-down","transition-show":"jump-up",onHide:e.onDialogHide},{default:s(()=>[a(f,{class:"q-dialog-plugin"},{default:s(()=>[o("div",g,[o("p",h,t(e.$t("confirmation")),1),a(i,{flat:"",size:"md",padding:"sm",icon:"sym_s_clear",ripple:!1,onClick:e.hide},null,8,["onClick"])]),o("div",u,[o("p",_,t(e.getMessage()),1)]),o("div",k,[a(i,{flat:"","no-caps":"",class:"q-mr-md q-dialog-footer-btn q-btn-cancel",color:"dark",ripple:{early:!0},label:e.$t("cancel"),onClick:e.hide},null,8,["label","onClick"]),a(i,{"no-caps":"",unelevated:"",class:"q-dialog-footer-btn",color:"dark",ripple:!0,label:e.$t("confirm"),onClick:e.onOKClick},null,8,["label","onClick"])])]),_:1})]),_:1},8,["onHide"])}var w=n(m,[["render",b],["__scopeId","data-v-af0d8c86"]]);export{w as default};
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.