1import{_ as m,b as s,d as g,o as d,w as i,c as E,e as c,g as T,a as n,Z as r,t as o}from"./index-sUPB-bMu.js";const M={name:"NoteModal",props:{noteNotTitle:{type:Boolean,required:!1,default:!1},noteNotContent:{type:Boolean,required:!1,default:!1},saveNoteLive:{type:Boolean,required:!1,default:!1}},computed:{modalWidth(){return window.screen.width<575?"90%":"480px"}},methods:{toggleDeleteNote(){this.$emit("toggleDeleteNote")},toggleNotExitModal(){this.$emit("toggleNotExitModal")},reloadNote(){this.$emit("reloadNote")},newNoteLiveModal(){this.$emit("newNoteLiveModal")},toggleSaveModal(){this.$emit("toggleSaveModal")}}},_={key:0},L={key:1},b={key:2},v={class:"not-exit__save"};function f(e,l,N,D,C,t){const O=s("AlertBox"),S=s("SvgElement"),u=s("ModalElement");return d(),g(u,{"modal-id":"note-exit",width:t.modalWidth,"click-to-close":!1,"close-button":!1,show:N.noteNotTitle||N.noteNotContent||N.saveNoteLive},{default:i(()=>[N.noteNotTitle?(d(),E("span",_,[T(O,{type:"warning"},{default:i(()=>[r(o(e.$t("USER.NOTES.MODAL.TITLE_NOT_TITLE")),1)]),_:1}),n("p",null,o(e.$t("USER.NOTES.MODAL.DESCRIPTION_NOT_TITLE")),1),n("button",{class:"btn btn--color-primary button-cancel",onClick:l[0]||(l[0]=(...a)=>t.toggleNotExitModal&&t.toggleNotExitModal(...a))},o(e.$t("USER.NOTES.MODAL.BUTTON_OK")),1)])):N.noteNotContent?(d(),E("span",L,[T(O,{type:"warning"},{default:i(()=>[r(o(e.$t("USER.NOTES.MODAL.TITLE_NOT_CONTENT")),1)]),_:1}),n("p",null,o(e.$t("USER.NOTES.MODAL.DESCRIPTION_NOT_CONTENT")),1),n("button",{class:"btn btn--outline-primary button-delete",onClick:l[1]||(l[1]=(...a)=>t.toggleDeleteNote&&t.toggleDeleteNote(...a))},o(e.$t("USER.NOTES.MODAL.BUTTON_DELETE")),1),n("button",{class:"btn btn--color-primary button-cancel",onClick:l[2]||(l[2]=(...a)=>t.reloadNote&&t.reloadNote(...a))}
1,o(e.$t("USER.NOTES.MODAL.BUTTON_CANCEL")),1)])):N.saveNoteLive?(d(),E("span",b,[n("div",v,[T(S,{name:"Save",title:"Save",class:"icon"}),r(" "+o(e.$t("USER.NOTES.MODAL.TITLE_SAVE_NOTE")),1)]),n("p",null,o(e.$t("USER.NOTES.MODAL.DESCRIPTION_SAVE_NOTE")),1),n("button",{class:"btn btn--outline-primary button-delete",onClick:l[3]||(l[3]=(...a)=>t.newNoteLiveModal&&t.newNoteLiveModal(...a))},o(e.$t("USER.NOTES.MODAL.BUTTON_NEW")),1),n("button",{class:"btn btn--color-primary button-cancel",onClick:l[4]||(l[4]=(...a)=>t.toggleSaveModal&&t.toggleSaveModal(...a))},o(e.$t("USER.NOTES.MODAL.BUTTON_CONTINUE")),1)])):c("",!0)]),_:1},8,["width","show"])}const A=m(M,[["render",f],["__scopeId","data-v-b6072ed7"]]);export{A 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.