1import{d as u,r,o as c,e as d,f as s,h as n,k as C,t as i,w as m,g as f}from"./BWypbmDt.js";const $={class:"modal-card"},b={class:"modal-card-body"},g={key:0,class:"head is-flex is-justify-content-flex-end mb-5"},y={class:"content-wrapper is-flex is-flex-direction-column is-align-items-center"},k={class:"my-2"},v={class:"actions disclaimer-modal my-2 is-flex"},B=u({__name:"ConfirmDialog",props:{cancelButtonLabel:{type:String,required:!1},confirmButtonLabel:{type:String,required:!1},confirmMessage:{type:String,required:!1},nacIdPrefix:{type:String,required:!1},showCrossCancel:{type:Boolean,default:!1}},emits:["close"],setup(a){return(e,o)=>{const p=r("o-icon"),t=r("o-button");return c(),d("div",$,[s("section",b,[a.showCrossCancel?(c(),d("div",g,[n(p,{clickable:"",icon:"cross",role:"button","aria-label":e.$t("Close"),class:"close is-clickable","custom-size":"is-size-1",onClick:o[0]||(o[0]=l=>e.$emit("close",{confirm:!1}))},null,8,["aria-label"])])):C("",!0),s("div",y,[s("span",k,i(e.$props.confirmMessage||e.$t("Are your sure ?")),1),s("div",v,[n(t,{"data-nac-id":a.nacIdPrefix?`${e.$props.nacIdPrefix}-confirm`:"modal-confirm-action_confirm",class:"mx-2",variant:"primary",onClick:o[1]||(o[1]=l=>e.$emit("close",{confirm:!0}))},{default:m(()=>[f(i(e.$props.confirmButtonLabel||e.$t("Confirm")),1)]),_:1},8,["data-nac-id"]),n(t,{"data-nac-id":a.nacIdPrefix?`${e.$props.nacIdPrefix}-cancel`:"modal-confirm-action_cancel",class:"mx-2",onClick:o[2]||(o[2]=l=>e.$emit("close",{confirm:!1}))},{default:m(()=>[f(i(e.$props.cancelButtonLabel||e.$t("Cancel")),1)]),_:1},8,["data-nac-id"])])])])])}}}),h=Object.assign(B,{__name:"ConfirmDialog"});export{h 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.