var u=Object.defineProperty;var f=(t,o,a)=>o in t?u(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a;var e=(t,o,a)=>(f(t,typeof o!="symbol"?o+"":o,a),a);import{$ as n}from"./jquery-Ce1xMU6f.js";import{d as p,r as v,o as b,c as h,a as s,t as y,b as g,e as D}from"../index.js";class j{constructor(){e(this,"name","");e(this,"meta",new w);e(this,"rowVersion","");e(this,"discoveryProfiles",[]);e(this,"uid","")}}class w{constructor(){e(this,"uid","");e(this,"createdTime",new Date);e(this,"createdBy","");e(this,"modifiedTime",new Date);e(this,"modifiedBy","");e(this,"buildVersion",0)}}const B={class:"modal-dialog"},C={class:"modal-content"},E={class:"modal-header"},S={class:"modal-title"},k=s("button",{type:"button",class:"close","data-dismiss":"modal","aria-label":"Close"},[s("span",{"aria-hidden":"true"},"×")],-1),V={class:"modal-body"},P={class:"modal-footer"},T=s("button",{class:"btn btn-outline-secondary","data-dismiss":"modal","aria-label":"Close"}," Cancel ",-1),$=s("span",{class:"fa fa-save"},null,-1),q=p({__name:"EditItemDialog",props:{title:{default:"Edit Dialog"}},emits:["save"],setup(t,{expose:o,emit:a}){const c=a,i=v(null);function r(){n(i.value).modal("show")}function m(){c("save")}function _(){n(i.value).modal("hide")}return o({show:r,hide:_}),(l,d)=>(b(),h("div",{ref_key:"dialogElement",ref:i,class:"modal fade",role:"dialog"},[s("div",B,[s("div",C,[s("div",E,[s("h3",S,y(l.title),1),k]),s("div",V,[g(l.$slots,"body")]),s("div",P,[T,s("button",{type:"button",class:"btn btn-success",onClick:d[0]||(d[0]=x=>m())},[$,D(" Save ")])])])])],512))}});export{j as D,q as _};
