E
z^s_dlg4hZ_s4Mmv-9;pDp>ht?1YG5OHse0+i%&AfpIUQ!z{vWlwJF!JG2&greo}VZ
LTZ3rq)TK-Z0G$pP
literal 0
HcmV?d00001
diff --git a/NearBeach/static/NearBeach/1187.min.js b/NearBeach/static/NearBeach/1187.min.js
new file mode 100644
index 000000000..90792e668
--- /dev/null
+++ b/NearBeach/static/NearBeach/1187.min.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunknearbeach=self.webpackChunknearbeach||[]).push([[1187],{7740:(e,t,i)=>{i.d(t,{Z:()=>D});var o=i(6252),s=i(3577);const a=(0,o._)("h2",null,"Public Links",-1),n=(0,o._)("p",{class:"text-instructions"}," The following will be public links you can send to clients. The links will contain certain information of the current object. i.e. it's status and description. Becareful who you send the links too! ",-1),l={key:0,class:"alert alert-info"},d={key:1,class:"alert alert-info"},r={key:2,class:"table table-striped"},c=(0,o._)("td",null,"Public Link",-1),u=(0,o._)("td",{style:{"text-align":"center",width:"100px"}},"Is Active",-1),h={key:0,style:{width:"10px"}},b=["onClick"],p={style:{"text-align":"center"}},g=["checked","data-public-link-id","disabled"],m={key:0},_={class:"remove-link"},k={key:3,class:"row submit-row"},y={class:"col-md-12"};var f=i(989),v=i(6542),w=i(5808);const $={name:"ListPublicLinks",props:{isReadOnly:{type:Boolean,default:!1},overrideDestination:{type:String,default:""},overrideLocationId:{type:Number,default:0}},data:()=>({isFetchingData:!0,publicLinkResults:[]}),watch:{overrideLocationId(){this.getPublicLinks()}},components:{Icon:v.JO},computed:{...(0,f.Se)({destination:"getDestination",locationId:"getLocationId",rootUrl:"getRootUrl",userLevel:"getUserLevel"})},mixins:[w.Z],methods:{async copyPublicLink(e){const t=`${window.location.origin}${this.rootUrl}public/${this.getDestination()}/${this.getLocationId()}/${e}/`;try{await navigator.clipboard.writeText(t),this.$store.dispatch("newToast",{header:"Public Link Copied",message:"Public Link has successfully copied to the clipboard",extra_classes:"bg-success"})}catch(e){this.$store.dispatch("newToast",{header:"Can not copy public link",message:"Sorry, we failed to copy the public link",extra_classes:"bg-danger",delay:0})}},createPublicLink(){this.$store.dispatch("newToast",{header:"Creating New Toast",message:"Please wait whilst we create the toast",extra_classes:"bg-warning text-dark",delay:0,unique_type:"create_public_link"}),this.axios.post(`${this.rootUrl}public_data/${this.getDestination()}/${this.getLocationId()}/create/`).then((e=>{this.$store.dispatch("newToast",{header:"Successful new Public Link",message:"We have been able to create a new public link",extra_classes:"bg-success",unique_type:"create_public_link"}),this.publicLinkResults=e.data})).catch((e=>{this.$store.dispatch("newToast",{header:"Can not create new public link",message:`Sorry, we failed to create the new public link. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"create_public_link"})}))},deletePublicLink(e){const t=new FormData;t.set("public_link_id",e),this.$store.dispatch("newToast",{header:"Deleting Public Link",message:"Deleting Public Link",extra_classes:"bg-warning text-dark",delay:0,unique_type:"public_link_delete"}),this.axios.post(`${this.rootUrl}public_data/${this.getDestination()}/${this.getLocationId()}/delete/`,t).then((()=>{this.publicLinkResults=this.publicLinkResults.filter((t=>t.public_link_id!==e)),this.$store.dispatch("newToast",{header:"Successfully Deleted Public Link",message:"Successfully Deleted Public Link",extra_classes:"bg-success",unique_type:"public_link_delete"})})).catch((e=>{this.$store.dispatch("newToast",{header:"Error Deleting Public Link",message:`Error - could not delete link. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"public_link_delete"})}))},formatUrl(e){if(""===e||void 0===e)return"Data error!";const t=e.slice(0,7);return`${window.location.origin}${this.rootUrl}public/${this.getDestination()}/${this.getLocationId()}/${t}...`},getDestination(){return""!==this.overrideDestination?this.overrideDestination:this.destination},getLocationId(){return""!==this.overrideDestination?this.overrideLocationId:this.locationId},getPublicLinks(){0!==this.getLocationId()&&this.axios(`${this.rootUrl}public_data/${this.getDestination()}/${this.getLocationId()}/get_links/`).then((e=>{this.publicLinkResults=e.data,this.isFetchingData=!1})).catch((e=>{this.$store.dispatch("newToast",{header:"Error fetching Public Links",message:`We had an issue fetching the public links for this object. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))},updateIsActive(e){const t=e.target.dataset.publicLinkId;this.$store.dispatch("newToast",{header:"Updating Active Status for Private Link",message:"Please wait - we are updating the status",extra_classes:"bg-warning text-dark",delay:0,unique_type:`is_active-${t}`});let i="False";e.target.checked&&(i="True");const o=new FormData;o.set("public_link_id",t),o.set("public_link_is_active",i),this.axios.post(`${this.rootUrl}public_data/${this.destination}/${this.locationId}/update_link/`,o).then((()=>{this.$store.dispatch("newToast",{header:"Successfully Updated",message:"We have updated the is active status for the link",extra_classes:"bg-success",unique_type:`is_active-${t}`})})).catch((e=>{this.$store.dispatch("newToast",{header:"Error Updating Active Status for Private Link",message:`We are sorry, something went wrong. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:`is_active-${t}`})}))}},mounted(){this.$nextTick((()=>{this.getPublicLinks()}))}},D=(0,i(3744).Z)($,[["render",function(e,t,i,f,v,w){const $=(0,o.up)("Icon");return(0,o.wg)(),(0,o.iD)(o.HY,null,[a,n,v.isFetchingData?((0,o.wg)(),(0,o.iD)("div",l,"Currently loading data...")):(0,o.kq)("v-if",!0),!1===v.isFetchingData&&0===v.publicLinkResults.length?((0,o.wg)(),(0,o.iD)("div",d," Sorry. There are no public links setup for this object. ")):((0,o.wg)(),(0,o.iD)("table",r,[(0,o._)("thead",null,[(0,o._)("tr",null,[c,u,e.userLevel>1?((0,o.wg)(),(0,o.iD)("td",h)):(0,o.kq)("v-if",!0)])]),(0,o._)("tbody",null,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(v.publicLinkResults,(i=>((0,o.wg)(),(0,o.iD)("tr",{key:i.public_link_id},[(0,o._)("td",null,[(0,o._)("button",{type:"button",class:"btn btn-link",onClick:e=>w.copyPublicLink(i.public_link_id)},(0,s.toDisplayString)(w.formatUrl(i.public_link_id)),9,b)]),(0,o._)("td",p,[(0,o._)("input",{class:"form-check-input",type:"checkbox",checked:i.public_link_is_active,"data-public-link-id":i.public_link_id,disabled:e.userLevel<=1,onChange:t[0]||(t[0]=(...e)=>w.updateIsActive&&w.updateIsActive(...e))},null,40,g)]),e.userLevel>1?((0,o.wg)(),(0,o.iD)("td",m,[(0,o._)("span",_,[(0,o.Wm)($,{icon:e.icons.trashCan,onClick:e=>w.deletePublicLink(i.public_link_id)},null,8,["icon","onClick"])])])):(0,o.kq)("v-if",!0)])))),128))])])),!1===i.isReadOnly&&e.userLevel>1?((0,o.wg)(),(0,o.iD)("div",k,[(0,o._)("div",y,[(0,o._)("button",{class:"btn btn-primary save-changes",onClick:t[1]||(t[1]=(...e)=>w.createPublicLink&&w.createPublicLink(...e))}," Create Public Link ")])])):(0,o.kq)("v-if",!0)],64)}]])},6505:(e,t,i)=>{i.d(t,{Z:()=>h});var o=i(6252);const s={class:"modal fade",id:"confirmFolderDeleteModal",tabindex:"-1","data-bs-backdrop":"static","data-bs-keyboard":"false","aria-labelledby":"confirmFolderDelete","aria-hidden":"true"},a={class:"modal-dialog"},n={class:"modal-content"},l=(0,o._)("div",{class:"modal-header"},[(0,o._)("h5",{class:"modal-title",id:"confirmFolderDelete"}," Please confirm Folder Deletion "),(0,o.kq)(" TASK INFORMATION "),(0,o._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"confirmFolderDeleteButton"})],-1),d=(0,o._)("div",{class:"modal-body"}," Are you sure you want to delete the folder? All files under this folder will be deleted also. ",-1),r={class:"modal-footer"};var c=i(989);i(3138);const u={name:"ConfirmFolderDelete",mixins:[i(1295).Z],computed:{...(0,c.Se)({destination:"getDestination",folderRemoveId:"getFolderRemoveId",locationId:"getLocationId",rootUrl:"getRootUrl"})},methods:{deleteFolder(){if(""===this.folderRemoveId)return;const e=this.folderRemoveId,t=new FormData;t.set("folder_id",this.folderRemoveId),this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/remove_folder/`,t).then((()=>{this.$store.dispatch("removeFolder",{folder_id:e}),this.closeModal()})).catch((e=>{this.$store.dispatch("newToast",{header:"Error removing folder",message:`We could not remove your folder. Error - ${e}`,extra_classes:"bg-danger",delay:0})})),this.closeModal()},closeModal(){this.$store.commit({type:"updateFolderRemoveId",documentRemoveKey:""}),document.getElementById("confirmFolderDeleteButton").click(),this.reopenCardInformation()}}},h=(0,i(3744).Z)(u,[["render",function(e,t,i,c,u,h){return(0,o.wg)(),(0,o.iD)("div",s,[(0,o._)("div",a,[(0,o._)("div",n,[l,d,(0,o._)("div",r,[(0,o._)("button",{type:"button",class:"btn btn-secondary",onClick:t[0]||(t[0]=(...e)=>h.closeModal&&h.closeModal(...e))}," No "),(0,o._)("button",{type:"button",class:"btn btn-primary",onClick:t[1]||(t[1]=(...e)=>h.deleteFolder&&h.deleteFolder(...e))}," Yes ")])])])])}]])},9159:(e,t,i)=>{i.d(t,{Z:()=>b});var o=i(6252);const s={class:"modal fade",id:"confirmNoteDeleteModal",tabindex:"-1","data-bs-backdrop":"static","data-bs-keyboard":"false","aria-labelledby":"confirmLinkDelete","aria-hidden":"true"},a={class:"modal-dialog"},n={class:"modal-content"},l=(0,o._)("div",{class:"modal-header"},[(0,o._)("h5",{class:"modal-title",id:"confirmNoteDelete"}," Please confirm Note Deletion "),(0,o._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"confirmNoteDeleteButton"})],-1),d=(0,o._)("div",{class:"modal-body"}," Are you sure you want to delete the note? ",-1),r={class:"modal-footer"};var c=i(989),u=(i(3138),i(1295));const h={name:"ConfirmNoteDelete",props:{},computed:{...(0,c.Se)({destination:"getDestination",noteId:"getSingleNoteId",rootUrl:"getRootUrl"})},mixins:[u.Z],methods:{deleteNote(){this.$store.dispatch("newToast",{header:"Deleting Note",message:"Currently deleting note",extra_classes:"bg-warning text-dark",delay:0,unique_type:"delete_note"});let e=`${this.rootUrl}note/delete/${this.noteId}/`;this.destination&&(e=`${this.rootUrl}note/organisation/delete/${this.noteId}/`),this.axios.post(e).then((()=>{this.$store.dispatch("newToast",{header:"Note is deleted",message:"Successfully Deleted Note",extra_classes:"bg-success",unique_type:"delete_note"}),this.$store.commit({type:"removeNote",noteId:this.noteId}),this.closeModal(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Failed to Delete Note",message:`Sorry, we failed to delete the note. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"delete_note"})}))},closeModal(){document.getElementById("confirmNoteDeleteButton").click(),this.reopenCardInformation()}}},b=(0,i(3744).Z)(h,[["render",function(e,t,i,c,u,h){return(0,o.wg)(),(0,o.iD)("div",s,[(0,o._)("div",a,[(0,o._)("div",n,[l,d,(0,o._)("div",r,[(0,o._)("button",{type:"button",class:"btn btn-secondary",onClick:t[0]||(t[0]=(...e)=>h.closeModal&&h.closeModal(...e))}," No "),(0,o._)("button",{type:"button",class:"btn btn-primary",onClick:t[1]||(t[1]=(...e)=>h.deleteNote&&h.deleteNote(...e))}," Yes ")])])])])}]])},8576:(e,t,i)=>{i.d(t,{Z:()=>y});var o=i(6252);const s={class:"modal fade",id:"editNoteModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},a={class:"modal-dialog modal-lg",role:"document"},n={class:"modal-content"},l={class:"modal-header"},d=(0,o._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"editNoteCloseButton"},[(0,o._)("span",{"aria-hidden":"true"})],-1),r={class:"modal-body"},c=(0,o._)("p",{class:"text-instructions"},' Use the text editor to edit your note. Click on the "Update" button to submit the changes. ',-1),u={class:"modal-footer"},h=["disabled"];var b=i(5808),p=i(1295),g=i(6542),m=i(7267),_=i(989);i(3138);const k={name:"EditHistoryNoteWizard",components:{editor:m.Z,Icon:g.JO},mixins:[b.Z,p.Z],data:()=>({noteModel:""}),computed:{...(0,_.Se)({description:"getSingleNoteDescription",destination:"getDestination",contentCss:"getContentCss",noteDescription:"getSingleNoteDescription",noteId:"getSingleNoteId",rootUrl:"getRootUrl",skin:"getSkin"})},watch:{noteDescription(){this.noteModel=this.noteDescription}},methods:{closeModal(){document.getElementById("editNoteCloseButton").click(),this.reopenCardInformation()},updateNote(){const e=new FormData;e.set("object_note_id",`${this.noteId}`),e.set("object_note",this.noteModel),this.$store.dispatch("newToast",{header:"Updating Note",message:"Please wait - updating your note",extra_classes:"bg-warning text-dark",delay:0,unique_type:"save_note"});let t=`${this.rootUrl}note/update/${this.noteId}/`;"organisation"===this.destination&&(t=`${this.rootUrl}note/organisation/update/${this.noteId}/`),this.axios.post(t,e).then((()=>{this.$store.dispatch("newToast",{header:"Updated Note",message:"The note updated successfully.",extra_classes:"bg-success",unique_type:"save_note"}),this.$store.dispatch({type:"editSingleNote",noteId:this.noteId,noteDescription:this.noteModel}),document.getElementById("editNoteCloseButton").click(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Failed Updating Note",message:`Failed to update note - Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"save_note"})}))}}},y=(0,i(3744).Z)(k,[["render",function(e,t,i,b,p,g){const m=(0,o.up)("Icon"),_=(0,o.up)("editor");return(0,o.wg)(),(0,o.iD)(o.HY,null,[(0,o.kq)(" EDIT HISTORY NOTE "),(0,o._)("div",s,[(0,o._)("div",a,[(0,o._)("div",n,[(0,o._)("div",l,[(0,o._)("h2",null,[(0,o.Wm)(m,{icon:e.icons.noteAdd},null,8,["icon"]),(0,o.Uk)(" Edit Note ")]),d]),(0,o._)("div",r,[c,(0,o.Wm)(_,{init:{height:300,menubar:!1,plugins:["lists","codesample","table"],toolbar:"undo redo | blocks | bold italic strikethrough underline backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | table image codesample",skin:`${this.skin}`,content_css:`${this.contentCss}`},modelValue:p.noteModel,"onUpdate:modelValue":t[0]||(t[0]=e=>p.noteModel=e)},null,8,["init","modelValue"])]),(0,o._)("div",u,[(0,o._)("button",{type:"button",class:"btn btn-primary",disabled:""==p.noteModel,onClick:t[1]||(t[1]=(...e)=>g.updateNote&&g.updateNote(...e))}," Update Note ",8,h),(0,o._)("button",{type:"button",class:"btn btn-secondary",onClick:t[2]||(t[2]=(...e)=>g.closeModal&&g.closeModal(...e))}," Close ")])])])])],2112)}]])}}]);
\ No newline at end of file
diff --git a/NearBeach/static/NearBeach/1187.min.js.gz b/NearBeach/static/NearBeach/1187.min.js.gz
new file mode 100644
index 0000000000000000000000000000000000000000..30b39e48d9b5690f46e242c66fa2bb5815e64f13
GIT binary patch
literal 3365
zcmV+=4chV>2RHzX!g22vm|FWpad!I4{I6datym-3&b6nv&ZxE^Sv%TY{X%+<3}vI
zyxecw9yr#jx(MRP?w9sda8(!QRM>Hb-%
z$xRxPa8i@iFiqM@Yn%^qN#`rbmdqgdAz_Y?J^&S%63&Zx
z)f{;0GlYyrw0lZ1f)RQTtS~vq&?zOb=!7o?8+h%mtuhj9)K!#}bR0ZgRLBIZA)|K;
znNDU%57kO|PzpfDjiz755~h6=#T?a*A9L4_~7;2&buz;NY#mek$?D<2kOmFI5BEB29O5v
zC1UKiZWqt2Z7?^KqECo08fvFb%pU$HF~A@6({=!=mm7Pnp3v1jux4(8Aye|jVbtyg
z`Z-!jwe>g}wsb|7&iNvd{I%$+77=4sDTxc0npa_Mcar$i>ev!74wL+-;=td0G((?$
zz7iwnoXpwruNa3>U0w(k`l{~*nmpOxDnbHqg!Fsg_?a*NCqU=QgC+T+@qPILV3}6`
z)5eM9$p8GMw{MA2yd*YZRpk)DxU}k9d6}ITiwoFAdpZY#l*LRyjAuTc%IqPrzugNy
z9>zZ|yxV+#8gtp!VgV$(@Wx-6bC3~^4$as9>3Y#d0=GdJ%Zj(
z1RL9FN)is@3Gn1PcZ#*BjL{t&7qTu(3t)_K%27`XC@L10z^u6U%#>1Iyva>qtZxIS
zSGUW0*H_#3CmI|#El5^9J6f=Ode0gyKq$IY%q<&6Yd3gNMONk=cQ5q_pbIN3pWBhA
z6(-IX9OL?pj}$1XXd}2MBw0k4+8`%HDOnpx&!iP!p2k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Ecs|!I_GV%>4Vdq
znSjP8{h+I(ZL*%Cqv{fYdO?l(M3n1D^Cenf*BR}t==|+#&B{=UUQ^q-$%0{*B>O5y
v{Q8J{xcKi;alyhv+)=-js{LKDTyMGI>t?)i_i3*JU6NVGnAU_w{z$X|c{t.d(e,{Z:()=>D});var n=t(6252);const r={key:0,class:"kanban-row"},d={key:1,class:"kanban-row"};var l=t(989),i=t(3577);const s=["id","data-level","data-column"],o=["id","data-sort-number","data-card-id"],c=(0,n._)("br",null,null,-1);var u=t(3138),m=t(6542),p=t(5808),k=t(9980),b=t.n(k);const h={name:"KanbanColumn",components:{draggable:b(),Icon:m.JO},props:{columnId:{type:Number,default:0},levelId:{type:Number,default:0},newCardInfo:{type:Array,default:()=>[]}},data:()=>({drag:!1,priorityList:["highest","high","normal","low","lowest"]}),computed:{...(0,l.Se)({allCards:"getCards",kanbanStatus:"getKanbanStatus",openCardOnLoad:"getOpenCardOnLoad",rootUrl:"getRootUrl"}),masterList(){let a=this.allCards.filter((a=>parseInt(a.fields.kanban_column)===this.columnId&&parseInt(a.fields.kanban_level)===this.levelId));return a=a.sort(((a,e)=>a.fields.kanban_card_sort_number-e.fields.kanban_card_sort_number)),a}},mixins:[p.Z],methods:{checkCardOrder(){if(0===this.masterList.length)return;const a=this.masterList.map((a=>a.fields.kanban_card_sort_number)),e=Math.min.apply(null,a),t=Math.max.apply(null,a);0===e&&t===this.masterList.length-1||(document.getElementById("sort_error").style.display="flex",this.masterList.forEach(((a,e)=>{const t=new FormData;t.set("new_card_column",this.columnId.toString()),t.set("new_card_level",this.levelId.toString()),t.set("new_card_sort_number",e.toString()),t.set("old_card_column",a.fields.kanban_column),t.set("old_card_level",a.fields.kanban_level),t.set("old_card_sort_number",a.fields.kanban_card_sort_number),t.set("card_id",a.pk),this.$store.commit({type:"updateKanbanCard",card_id:a.pk,kanban_column:this.columnId,kanban_level:this.levelId,kanban_card_sort_number:e}),this.axios.post(`${this.rootUrl}kanban_information/${a.pk}/move_card/`,t)})),document.getElementById("sort_error").style.display="")},doubleClickCard(a){const e=this.masterList.filter((e=>e.pk===a.target.dataset.cardId))[0];this.sendDataUpstream(e)},isLinkedObject(a){let e="";return null!==a.fields.project&&(e="project"),null!==a.fields.requirement&&(e="requirement"),null!==a.fields.task&&(e="task"),e},sendDataUpstream(a){const e=this.isLinkedObject(a);if(e.length>0){const t=`${this.rootUrl}${e}_information/${a.fields[e]}/`;window.open(t,"_blank").focus()}else this.$store.dispatch({type:"updateCard",cardId:a.pk,cardTitle:a.fields.kanban_card_text,cardDescription:a.fields.kanban_card_description,cardColumn:a.fields.kanban_column,cardLevel:a.fields.kanban_level,cardLink:{},cardPriority:a.fields.kanban_card_priority}),new u.u_(document.getElementById("cardInformationModal")).show()},singleClickCard(a){const e=this.masterList.filter((e=>e.pk===a))[0];this.sendDataUpstream(e)}},watch:{newCardInfo(){this.columnId===this.newCardInfo[0].fields.kanban_column&&this.levelId===this.newCardInfo[0].fields.kanban_level&&this.masterList.push(this.newCardInfo[0])}},mounted(){this.masterList.filter((a=>{const e=a.pk===this.openCardOnLoad,t=0===this.isLinkedObject(a).length;return e&&t})).length>0&&this.singleClickCard(this.openCardOnLoad)}};var _=t(3744);const f=(0,_.Z)(h,[["render",function(a,e,t,r,d,l){const u=(0,n.up)("Icon");return(0,n.wg)(),(0,n.iD)("div",{class:"list-group kanban-cell",id:`kanban_cell_${t.levelId}_${t.columnId}`,"data-level":t.levelId,"data-column":t.columnId},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(l.masterList,(t=>((0,n.wg)(),(0,n.iD)("div",{class:"list-group-item",key:t.pk,id:t.pk,"data-sort-number":t.fields.kanban_card_sort_number,"data-card-id":t.pk,onDblclick:e[0]||(e[0]=a=>l.doubleClickCard(a))},[(0,n._)("div",{class:(0,i.normalizeClass)(`card-priority-line priority-${d.priorityList[t.fields.kanban_card_priority]}`)},null,2),l.isLinkedObject(t)?((0,n.wg)(),(0,n.j4)(u,{key:0,icon:a.icons.linkOut,"data-sort-number":t.fields.kanban_card_sort_number,"data-card-id":t.pk,class:"card-external-link"},null,8,["icon","data-sort-number","data-card-id"])):(0,n.kq)("v-if",!0),(0,n._)("b",null,"#"+(0,i.toDisplayString)(t.pk),1),c,(0,n.Uk)(" "+(0,i.toDisplayString)(t.fields.kanban_card_text)+" ",1),(0,n.Wm)(u,{class:"kanban-card-info-icon",icon:a.icons.infoCircle,onClick:a=>l.singleClickCard(t.pk),onDblclick:a=>l.singleClickCard(t.pk)},null,8,["icon","onClick","onDblclick"])],40,o)))),128))],8,s)}]]),g=["id","data-sort-number","data-card-id","data-card-priority"],C=["data-card-id","data-sort-number","data-card-priority"],y={key:1},v=(0,n._)("br",null,null,-1),w={class:"kanban-add-new-cards"},I={name:"kanbanColumnDraggable",components:{Icon:m.JO,draggable:b()},props:{columnId:{type:Number,default:0},columnProperty:{type:String,default:"Normal"},levelId:{type:Number,default:0},newCardInfo:{type:Array,default:()=>[]}},data:()=>({drag:!1,priorityList:["highest","high","normal","low","lowest"]}),computed:{...(0,l.Se)({allCards:"getCards",canDragCards:"getCanDragCards",kanbanStatus:"getKanbanStatus",levelCollapseStatus:"getLevelCollapseStatus",openCardOnLoad:"getOpenCardOnLoad",rootUrl:"getRootUrl"}),dragOptions:()=>({animation:200,group:"description",disabled:!1,ghostClass:"ghost"}),masterList(){return this.$store.getters.getCardsOrder(this.columnId,this.levelId)}},mixins:[p.Z],methods:{addNewKanbanCard(){this.$store.commit({type:"updateNewCardLocation",columnId:this.columnId,levelId:this.levelId,userCanSelectLocation:!1}),new u.u_(document.getElementById("addKanbanCardModal")).show()},addNewLink(){this.$store.commit({type:"updateNewCardLocation",columnId:this.columnId,levelId:this.levelId,userCanSelectLocation:!1}),new u.u_(document.getElementById("newLinkModal")).show()},archiveCards(){this.$store.commit({type:"updateArchiveDestination",column:this.columnId,level:this.levelId})},checkCardOrder(){if(0===this.masterList.length)return;const a=this.masterList.map((a=>a.fields.kanban_card_sort_number)),e=Math.min.apply(null,a),t=Math.max.apply(null,a);if(0===e&&t===this.masterList.length-1)return;document.getElementById("sort_error").style.display="flex";const n=new FormData;this.masterList.forEach(((a,e)=>{n.append("kanban_cards",a.pk),this.$store.commit({type:"updateKanbanCard",card_id:a.pk,kanban_card_sort_number:e})})),this.axios.post(`${this.rootUrl}kanban_information/fix_card_ordering/`,n).catch((a=>{this.$store.dispatch("newToast",{header:"Failed to move card",message:`Sorry, we could not move your card. Error -> ${a}`,extra_classes:"bg-danger",delay:0})})),document.getElementById("sort_error").style.display=""},doubleClickCard(a){const e=this.masterList.filter((e=>parseInt(e.pk)===parseInt(a.target.dataset.cardId)))[0];this.sendDataUpstream(e)},isLinkedObject(a){let e="";return null!==a.fields.project&&(e="project"),null!==a.fields.requirement&&(e="requirement"),null!==a.fields.task&&(e="task"),e},async onEnd(a){await this.$store.dispatch("kanbanCardMoved",{event:a});const e=a.to,t=a.from,n=a.item.dataset.cardId;let r=e.dataset.column,d=e.dataset.level,l=(a.newIndex,t.dataset.column),i=t.dataset.level,s=(a.oldIndex,e.dataset.columnProperty);const o=new FormData;o.set("new_card_column",r),o.set("new_card_level",d),this.$store.getters.getCardsOrder(r,d).forEach((a=>{o.append("new_destination",a.pk)})),this.$store.getters.getCardsOrder(l,i).forEach((a=>{o.append("old_destination",a.pk)})),this.axios.post(`${this.rootUrl}kanban_information/${n}/move_card/`,o).then((()=>{"Blocked"===s&&(this.$store.commit({type:"updateValue",field:"cardId",value:parseInt(n)}),new u.u_(document.getElementById("blockedNotesModal")).show())})).catch((a=>{this.$store.dispatch("newToast",{header:"Can not update Card",message:`Sorry, moving the card had an error. Error -> ${a}`,extra_classes:"bg-danger",delay:0})}))},sendDataUpstream(a){const e=this.isLinkedObject(a);if(e.length>0){const t=`${this.rootUrl}${e}_information/${a.fields[e]}/`;window.open(t,"_blank").focus()}else this.$store.dispatch({type:"updateCard",cardId:a.pk,cardTitle:a.fields.kanban_card_text,cardDescription:a.fields.kanban_card_description,cardColumn:a.fields.kanban_column,cardLevel:a.fields.kanban_level,cardLink:{},cardPriority:a.fields.kanban_card_priority}),new u.u_(document.getElementById("cardInformationModal")).show()},singleClickCard(a){const e=this.masterList.filter((e=>e.pk===a))[0];this.sendDataUpstream(e)}},watch:{newCardInfo(){this.columnId===this.newCardInfo[0].fields.kanban_column&&this.levelId===this.newCardInfo[0].fields.kanban_level&&this.masterList.push(this.newCardInfo[0])}},mounted(){this.checkCardOrder(),this.masterList.filter((a=>{const e=a.pk===this.openCardOnLoad,t=0===this.isLinkedObject(a).length;return e&&t})).length>0&&this.singleClickCard(this.openCardOnLoad)}},L={name:"KanbanRow",components:{KanbanColumn:f,KanbanColumnDraggable:(0,_.Z)(I,[["render",function(a,e,t,r,d,l){const s=(0,n.up)("Icon"),o=(0,n.up)("draggable");return a.levelCollapseStatus(t.levelId)?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.j4)(o,{key:0,class:"list-group kanban-cell",id:`kanban_cell_${t.levelId}_${t.columnId}`,"data-level":t.levelId,"data-column":t.columnId,"data-column-property":t.columnProperty,animation:200,disabled:"Closed"===a.kanbanStatus||!a.canDragCards,group:"tasks","ghost-class":"ghost",onEnd:e[4]||(e[4]=a=>l.onEnd(a)),modelValue:l.masterList,"onUpdate:modelValue":e[5]||(e[5]=a=>l.masterList=a),"item-key":"pk"},(0,n.Nv)({item:(0,n.w5)((({element:t})=>[((0,n.wg)(),(0,n.iD)("div",{class:"list-group-item",key:t.pk,id:t.pk,"data-sort-number":t.fields.kanban_card_sort_number,"data-card-id":t.pk,"data-card-priority":t.fields.kanban_card_priority,onDblclick:e[0]||(e[0]=a=>l.doubleClickCard(a))},[(0,n._)("div",{class:(0,i.normalizeClass)(`card-priority-line priority-${d.priorityList[t.fields.kanban_card_priority]}`),"data-card-id":t.pk,"data-sort-number":t.fields.kanban_card_sort_number,"data-card-priority":t.fields.kanban_card_priority},null,10,C),l.isLinkedObject(t).length>0?((0,n.wg)(),(0,n.j4)(s,{key:0,icon:a.icons.linkOut,"data-card-id":t.pk,"data-sort-number":t.fields.kanban_card_sort_number,"data-card-priority":t.fields.kanban_card_priority,class:"card-external-link"},null,8,["icon","data-card-id","data-sort-number","data-card-priority"])):(0,n.kq)("v-if",!0),(0,n._)("b",null,"#"+(0,i.toDisplayString)(t.pk),1),a.canDragCards?(0,n.kq)("v-if",!0):((0,n.wg)(),(0,n.iD)("b",y," - LOCKED!")),v,(0,n.Uk)(" "+(0,i.toDisplayString)(t.fields.kanban_card_text)+" ",1),(0,n.Wm)(s,{class:"kanban-card-info-icon",icon:a.icons.infoCircle,onClick:a=>l.singleClickCard(t.pk),onDblclick:a=>l.singleClickCard(t.pk)},null,8,["icon","onClick","onDblclick"])],40,g))])),_:2},["Closed"!==a.kanbanStatus?{name:"footer",fn:(0,n.w5)((()=>[(0,n._)("div",w,["Closed"!==t.columnProperty?((0,n.wg)(),(0,n.iD)("a",{key:0,class:"kanban-link btn btn-primary",href:"javascript:void(0)",onClick:e[1]||(e[1]=(...a)=>l.addNewKanbanCard&&l.addNewKanbanCard(...a))}," New Card ")):(0,n.kq)("v-if",!0),"Closed"!==t.columnProperty?((0,n.wg)(),(0,n.iD)("a",{key:1,class:"kanban-link btn btn-warning",href:"javascript:void(0)",onClick:e[2]||(e[2]=(...a)=>l.addNewLink&&l.addNewLink(...a))}," Link Object ")):(0,n.kq)("v-if",!0),l.masterList.length>0?((0,n.wg)(),(0,n.iD)("a",{key:2,class:"kanban-link btn btn-danger",href:"javascript:void(0)",onClick:e[3]||(e[3]=(...a)=>l.archiveCards&&l.archiveCards(...a))}," Archive Cards ")):(0,n.kq)("v-if",!0)])])),key:"0"}:void 0]),1032,["id","data-level","data-column","data-column-property","disabled","modelValue"]))}]])},props:{levelId:{type:Number,default:0},newCardInfo:{type:Array,default:()=>[]}},computed:{...(0,l.Se)({columnResults:"getColumnResults",userLevel:"getUserLevel"})},methods:{doubleClickedCard(a){this.$emit("double_clicked_card",a)}}},D=(0,_.Z)(L,[["render",function(a,e,t,l,i,s){const o=(0,n.up)("kanban-column-draggable"),c=(0,n.up)("kanban-column");return a.userLevel>1?((0,n.wg)(),(0,n.iD)("div",r,[(0,n.kq)(" Users can edit kanban board - can drag "),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(a.columnResults,(a=>((0,n.wg)(),(0,n.j4)(o,{key:a.pk,"level-id":t.levelId,"column-id":a.pk,"column-property":a.fields.kanban_column_property,"new-card-info":t.newCardInfo,onDouble_clicked_card:e[0]||(e[0]=a=>s.doubleClickedCard(a))},null,8,["level-id","column-id","column-property","new-card-info"])))),128))])):((0,n.wg)(),(0,n.iD)("div",d,[(0,n.kq)(" Read Only Users "),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(a.columnResults,(a=>((0,n.wg)(),(0,n.j4)(c,{key:a.pk,"level-id":t.levelId,"column-id":a.pk,"new-card-info":t.newCardInfo,onDouble_clicked_card:e[1]||(e[1]=a=>s.doubleClickedCard(a))},null,8,["level-id","column-id","new-card-info"])))),128))]))}]])}}]);
\ No newline at end of file
diff --git a/NearBeach/static/NearBeach/1510.min.js.gz b/NearBeach/static/NearBeach/1510.min.js.gz
new file mode 100644
index 0000000000000000000000000000000000000000..c39a870b6fb95170a6e45f725a6cdf59dfe9d4fc
GIT binary patch
literal 2827
zcmV+m3-t6GMKJ&z2e~=)PE;vP3WgV5%d}o!yT_%1TEs}nO$yILp8Hg#l(uMlSYhx=
z*h-cNzSR6xZAc#RBzz&Q390GOLhk4&?@#uG(f$8xe%krV5(`4rNJ85>@pJFHZ+hOm
zNls>_l*!U03&4*ClO-w;Nd(uetFtw>O8-sEM%Ji(47JwG-GAc>A|jwMUEc$Tfo8+K
zZ6h=WN+w5IXM98T_u#u?K$;s;cz(qf+e`&_0|S2
z=n@pb)~I<2Q-A?$%Tx^vA_mr4AB+Td0lKR!CqT)wxvS8x`qnW5h#NvjAN`0r3{?N<905Ea{oXr&`DJ|w78L^EKbY~|QJkUX
zpBxZ&&)HbZP%o=)g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/NearBeach/1695.min.js
new file mode 100644
index 000000000..d4cc37928
--- /dev/null
+++ b/NearBeach/static/NearBeach/1695.min.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunknearbeach=self.webpackChunknearbeach||[]).push([[1695],{7267:(n,e,t)=>{t.d(e,{Z:()=>p});var o,i=t(6252),r=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],a=function(n){return-1!==r.map((function(n){return n.toLowerCase()})).indexOf(n.toLowerCase())},l=0,c=function(n){var e=Date.now();return n+"_"+Math.floor(1e9*Math.random())+ ++l+String(e)},d=function(n){return void 0===n||""===n?[]:Array.isArray(n)?n:n.split(" ")},s=function(){return{listeners:[],scriptId:c("tiny-script"),scriptLoaded:!1}},u=(o=s(),{load:function(n,e,t){o.scriptLoaded?t():(o.listeners.push(t),n.getElementById(o.scriptId)||function(n,e,t,i){var r=e.createElement("script");r.referrerPolicy="origin",r.type="application/javascript",r.id=n,r.src=t;var a=function(){r.removeEventListener("load",a),o.listeners.forEach((function(n){return n()})),o.scriptLoaded=!0};r.addEventListener("load",a),e.head&&e.head.appendChild(r)}(o.scriptId,n,e))},reinitialize:function(){o=s()}}),h=function(){var n="undefined"!=typeof window?window:t.g;return n&&n.tinymce?n.tinymce:null},v={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],modelValue:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(n){return"html"===n||"text"===n}}},f=t(2262),b=function(){return b=Object.assign||function(n){for(var e,t=1,o=arguments.length;t{t.d(e,{Z:()=>S});var o=t(6252),i=t(2262),r=t(834),a=t(9960),l=t(5103),c=t(6135),d=t(9699),s=t(2366),u=t(3079),h=t(945),v=t(1263),f=t(2326),b=t(6810),p=t(5944),g=t(3910);const m={name:"Switch",common:t(8373).Z,self:n=>{const{primaryColor:e,opacityDisabled:t,borderRadius:o,textColor3:i}=n;return Object.assign(Object.assign({},g.Z),{iconColor:i,textColor:"white",loadingColor:e,opacityDisabled:t,railColor:"rgba(0, 0, 0, .14)",railColorActive:e,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${(0,p.zX)(e,{alpha:.2})}`})}};var y=t(9197),w=t(9474);const C=(0,w.cB)("switch","\n height: var(--n-height);\n min-width: var(--n-width);\n vertical-align: middle;\n user-select: none;\n -webkit-user-select: none;\n display: inline-flex;\n outline: none;\n justify-content: center;\n align-items: center;\n",[(0,w.cE)("children-placeholder","\n height: var(--n-rail-height);\n display: flex;\n flex-direction: column;\n overflow: hidden;\n pointer-events: none;\n visibility: hidden;\n "),(0,w.cE)("rail-placeholder","\n display: flex;\n flex-wrap: none;\n "),(0,w.cE)("button-placeholder","\n width: calc(1.75 * var(--n-rail-height));\n height: var(--n-rail-height);\n "),(0,w.cB)("base-loading","\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n font-size: calc(var(--n-button-width) - 4px);\n color: var(--n-loading-color);\n transition: color .3s var(--n-bezier);\n ",[(0,y.c)({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),(0,w.cE)("checked, unchecked","\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n box-sizing: border-box;\n position: absolute;\n white-space: nowrap;\n top: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n line-height: 1;\n "),(0,w.cE)("checked","\n right: 0;\n padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));\n "),(0,w.cE)("unchecked","\n left: 0;\n justify-content: flex-end;\n padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));\n "),(0,w.c)("&:focus",[(0,w.cE)("rail","\n box-shadow: var(--n-box-shadow-focus);\n ")]),(0,w.cM)("round",[(0,w.cE)("rail","border-radius: calc(var(--n-rail-height) / 2);",[(0,w.cE)("button","border-radius: calc(var(--n-button-height) / 2);")])]),(0,w.u4)("disabled",[(0,w.u4)("icon",[(0,w.cM)("rubber-band",[(0,w.cM)("pressed",[(0,w.cE)("rail",[(0,w.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,w.cE)("rail",[(0,w.c)("&:active",[(0,w.cE)("button","max-width: var(--n-button-width-pressed);")])]),(0,w.cM)("active",[(0,w.cM)("pressed",[(0,w.cE)("rail",[(0,w.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),(0,w.cE)("rail",[(0,w.c)("&:active",[(0,w.cE)("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),(0,w.cM)("active",[(0,w.cE)("rail",[(0,w.cE)("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),(0,w.cE)("rail","\n overflow: hidden;\n height: var(--n-rail-height);\n min-width: var(--n-rail-width);\n border-radius: var(--n-rail-border-radius);\n cursor: pointer;\n position: relative;\n transition:\n opacity .3s var(--n-bezier),\n background .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n background-color: var(--n-rail-color);\n ",[(0,w.cE)("button-icon","\n color: var(--n-icon-color);\n transition: color .3s var(--n-bezier);\n font-size: calc(var(--n-button-height) - 4px);\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n line-height: 1;\n ",[(0,y.c)()]),(0,w.cE)("button",'\n align-items: center; \n top: var(--n-offset);\n left: var(--n-offset);\n height: var(--n-button-height);\n width: var(--n-button-width-pressed);\n max-width: var(--n-button-width);\n border-radius: var(--n-button-border-radius);\n background-color: var(--n-button-color);\n box-shadow: var(--n-button-box-shadow);\n box-sizing: border-box;\n cursor: inherit;\n content: "";\n position: absolute;\n transition:\n background-color .3s var(--n-bezier),\n left .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n max-width .3s var(--n-bezier),\n box-shadow .3s var(--n-bezier);\n ')]),(0,w.cM)("active",[(0,w.cE)("rail","background-color: var(--n-rail-color-active);")]),(0,w.cM)("loading",[(0,w.cE)("rail","\n cursor: wait;\n ")]),(0,w.cM)("disabled",[(0,w.cE)("rail","\n cursor: not-allowed;\n opacity: .5;\n ")])]),x=Object.assign(Object.assign({},l.Z.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let k;const S=(0,o.aZ)({name:"Switch",props:x,setup(n){void 0===k&&(k="undefined"==typeof CSS||void 0!==CSS.supports&&CSS.supports("width","max(1px)"));const{mergedClsPrefixRef:e,inlineThemeDisabled:t}=(0,c.Z)(n),u=(0,l.Z)("Switch","-switch",C,m,n,e),h=(0,d.Z)(n),{mergedSizeRef:b,mergedDisabledRef:p}=h,g=(0,i.iH)(n.defaultValue),y=(0,i.Vh)(n,"value"),w=(0,a.Z)(y,g),x=(0,o.Fl)((()=>w.value===n.checkedValue)),S=(0,i.iH)(!1),B=(0,i.iH)(!1),E=(0,o.Fl)((()=>{const{railStyle:e}=n;if(e)return e({focused:B.value,checked:x.value})}));function $(e){const{"onUpdate:value":t,onChange:o,onUpdateValue:i}=n,{nTriggerFormInput:r,nTriggerFormChange:a}=h;t&&(0,v.R)(t,e),i&&(0,v.R)(i,e),o&&(0,v.R)(o,e),g.value=e,r(),a()}const F=(0,o.Fl)((()=>{const{value:n}=b,{self:{opacityDisabled:e,railColor:t,railColorActive:o,buttonBoxShadow:i,buttonColor:a,boxShadowFocus:l,loadingColor:c,textColor:d,iconColor:s,[(0,f.T)("buttonHeight",n)]:h,[(0,f.T)("buttonWidth",n)]:v,[(0,f.T)("buttonWidthPressed",n)]:p,[(0,f.T)("railHeight",n)]:g,[(0,f.T)("railWidth",n)]:m,[(0,f.T)("railBorderRadius",n)]:y,[(0,f.T)("buttonBorderRadius",n)]:w},common:{cubicBezierEaseInOut:C}}=u.value;let x,S,B;return k?(x=`calc((${g} - ${h}) / 2)`,S=`max(${g}, ${h})`,B=`max(${m}, calc(${m} + ${h} - ${g}))`):(x=(0,r.BL)(((0,r.fQ)(g)-(0,r.fQ)(h))/2),S=(0,r.BL)(Math.max((0,r.fQ)(g),(0,r.fQ)(h))),B=(0,r.fQ)(g)>(0,r.fQ)(h)?m:(0,r.BL)((0,r.fQ)(m)+(0,r.fQ)(h)-(0,r.fQ)(g))),{"--n-bezier":C,"--n-button-border-radius":w,"--n-button-box-shadow":i,"--n-button-color":a,"--n-button-width":v,"--n-button-width-pressed":p,"--n-button-height":h,"--n-height":S,"--n-offset":x,"--n-opacity-disabled":e,"--n-rail-border-radius":y,"--n-rail-color":t,"--n-rail-color-active":o,"--n-rail-height":g,"--n-rail-width":m,"--n-width":B,"--n-box-shadow-focus":l,"--n-loading-color":c,"--n-text-color":d,"--n-icon-color":s}})),D=t?(0,s.F)("switch",(0,o.Fl)((()=>b.value[0])),F,n):void 0;return{handleClick:function(){n.loading||p.value||(w.value!==n.checkedValue?$(n.checkedValue):$(n.uncheckedValue))},handleBlur:function(){B.value=!1,function(){const{nTriggerFormBlur:n}=h;n()}(),S.value=!1},handleFocus:function(){B.value=!0,function(){const{nTriggerFormFocus:n}=h;n()}()},handleKeyup:function(e){n.loading||p.value||" "===e.key&&(w.value!==n.checkedValue?$(n.checkedValue):$(n.uncheckedValue),S.value=!1)},handleKeydown:function(e){n.loading||p.value||" "===e.key&&(e.preventDefault(),S.value=!0)},mergedRailStyle:E,pressed:S,mergedClsPrefix:e,mergedValue:w,checked:x,mergedDisabled:p,cssVars:t?void 0:F,themeClass:null==D?void 0:D.themeClass,onRender:null==D?void 0:D.onRender}},render(){const{mergedClsPrefix:n,mergedDisabled:e,checked:t,mergedRailStyle:i,onRender:r,$slots:a}=this;null==r||r();const{checked:l,unchecked:c,icon:d,"checked-icon":s,"unchecked-icon":v}=a,f=!((0,b.aD)(d)&&(0,b.aD)(s)&&(0,b.aD)(v));return(0,o.h)("div",{role:"switch","aria-checked":t,class:[`${n}-switch`,this.themeClass,f&&`${n}-switch--icon`,t&&`${n}-switch--active`,e&&`${n}-switch--disabled`,this.round&&`${n}-switch--round`,this.loading&&`${n}-switch--loading`,this.pressed&&`${n}-switch--pressed`,this.rubberBand&&`${n}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},(0,o.h)("div",{class:`${n}-switch__rail`,"aria-hidden":"true",style:i},(0,b.K9)(l,(e=>(0,b.K9)(c,(t=>e||t?(0,o.h)("div",{"aria-hidden":!0,class:`${n}-switch__children-placeholder`},(0,o.h)("div",{class:`${n}-switch__rail-placeholder`},(0,o.h)("div",{class:`${n}-switch__button-placeholder`}),e),(0,o.h)("div",{class:`${n}-switch__rail-placeholder`},(0,o.h)("div",{class:`${n}-switch__button-placeholder`}),t)):null)))),(0,o.h)("div",{class:`${n}-switch__button`},(0,b.K9)(d,(e=>(0,b.K9)(s,(t=>(0,b.K9)(v,(i=>(0,o.h)(u.Z,null,{default:()=>this.loading?(0,o.h)(h.Z,{key:"loading",clsPrefix:n,strokeWidth:20}):this.checked&&(t||e)?(0,o.h)("div",{class:`${n}-switch__button-icon`,key:t?"checked-icon":"icon"},t||e):this.checked||!i&&!e?null:(0,o.h)("div",{class:`${n}-switch__button-icon`,key:i?"unchecked-icon":"icon"},i||e)}))))))),(0,b.K9)(l,(e=>e&&(0,o.h)("div",{key:"checked",class:`${n}-switch__checked`},e))),(0,b.K9)(c,(e=>e&&(0,o.h)("div",{key:"unchecked",class:`${n}-switch__unchecked`},e))))))}})}}]);
\ No newline at end of file
diff --git a/NearBeach/static/NearBeach/1695.min.js.gz b/NearBeach/static/NearBeach/1695.min.js.gz
new file mode 100644
index 0000000000000000000000000000000000000000..249b5d579bdd51f034c4e06f985490f5eb9a05e1
GIT binary patch
literal 4371
zcmV+u5$x_8lQ;mJ1z4p7`%x^}l`{R9#)(gUr7ZS?-w2gQj%g
z$dFkA|7ET`U1xl7>DRpN088m8K(sL6gzY78|NUCo9d~a4%g-ryassGM$Qar4AN*{?
zEcFBicR9dINsd13OnN&6piUusAmtFHJY^5cjj>oL>9E@F4SEdKzO3EJUOb43NYU72
z=Y8m4&m?KTv1JfNqte};bw$M2Y>gB5oee;9yO>(Tx*(xa^BcHrkE4Wp@>d(vjYa^G
zpPq?TDU%9^YFCOE4QN87a}2g$H5J02Nt1^l|Ur$6J#bV(RfUvrxuyTaq$w)=Yj3+
zr}S~$Hkj!4ZhH>Lfo;x53!>MVG^p)hbs4<}DNGvkA^LXFiF_Fo2TH!Ow9f%vqcbE;
zDJQz8!Gh?3_h|75_C8~LhW=`HRf(-WQINL#cR
zCxeja8>l6d>;#BWA@h;4A)&E_iSDU1*0Tj<+i;Xc0|y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al 0
HcmV?d00001
diff --git a/NearBeach/static/NearBeach/2471.min.js b/NearBeach/static/NearBeach/2471.min.js
new file mode 100644
index 000000000..d67e41cf7
--- /dev/null
+++ b/NearBeach/static/NearBeach/2471.min.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunknearbeach=self.webpackChunknearbeach||[]).push([[2471],{8737:(e,t,o)=>{o.d(t,{Z:()=>F});var i=o(6252),n=o(3577);const d={class:"text-instructions"},s={key:0,class:"module-spacer"},l=[(0,i._)("div",{class:"alert alert-dark"}," Sorry - there are no documents or folders uploaded. ",-1)],a={key:1,class:"document--widget"},r=(0,i._)("p",{class:"text-instructions"},"Go to Parent Directory...",-1),c=["onClick"],u={class:"text-instructions"},m={key:0,class:"document--remove"},p=["href"],h={class:"text-instructions"},g={key:0,class:"document--remove"},b=(0,i._)("hr",null,null,-1),_={key:2,class:"btn-group save-changes"},y={key:0,class:"btn btn-primary dropdown-toggle",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},f={class:"dropdown-menu"};var D=o(3138),v=o(6542),k=o(5808),w=o(989);const I={name:"DocumentsModule",components:{Icon:v.JO},props:{overrideDestination:{type:String,default:""},overrideLocationId:{type:Number,default:0},readOnly:{type:Boolean,default:!1}},mixins:[k.Z],computed:{...(0,w.Se)({currentFolder:"getCurrentFolder",destination:"getDestination",documentFilteredList:"getDocumentFilteredList",documentObjectCount:"getDocumentObjectCount",folderFilteredList:"getFolderFilteredList",locationId:"getLocationId",userLevel:"getUserLevel",rootUrl:"getRootUrl"})},watch:{overrideLocationId(){this.getDocumentList(),this.getFolderList()}},methods:{addFolder(){const e=document.getElementById("cardInformationModalCloseButton");null!==e&&e.click(),new D.u_(document.getElementById("addFolderModal")).show()},addLink(){const e=document.getElementById("cardInformationModalCloseButton");null!==e&&e.click(),new D.u_(document.getElementById("addLinkModal")).show()},confirmFileDelete(e){this.$store.commit({type:"updateDocumentRemoveKey",documentRemoveKey:e});const t=document.getElementById("cardInformationModalCloseButton");null!==t&&t.click(),new D.u_(document.getElementById("confirmFileDeleteModal")).show()},confirmFolderDelete(e){this.$store.commit({type:"updateFolderRemoveId",folderRemoveId:e});const t=document.getElementById("cardInformationModalCloseButton");null!==t&&t.click(),new D.u_(document.getElementById("confirmFolderDeleteModal")).show()},getDestination(){return""!==this.overrideDestination?this.overrideDestination:this.destination},getDocumentList(){0!==this.getLocationId()&&this.axios.post(`${this.rootUrl}documentation/${this.getDestination()}/${this.getLocationId()}/list/files/`).then((e=>{this.$store.commit({type:"updateDocumentList",documentList:e.data})})).catch((e=>{this.$store.dispatch("newToast",{header:"Error getting Document List",message:`Can not retrieve document list. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))},getFolderList(){0!==this.getLocationId()&&this.axios.post(`${this.rootUrl}documentation/${this.getDestination()}/${this.getLocationId()}/list/folders/`).then((e=>{this.$store.commit({type:"updateFolderList",folderList:e.data})}))},getIcon(e){if(""!==e.document_key__document_url_location&&null!==e.document_key__document_url_location)return this.icons.linkOut;const t=e.document_key__document.split(".");switch(t[t.length-1]){case"jpg":case"png":case"bmp":return this.icons.imageIcon;case"doc":case"docx":return this.icons.microsoftWord;case"xls":case"xlsx":return this.icons.microsoftExcel;case"ppt":case"pptx":return this.icons.microsoftPowerpoint;case"pdf":return this.icons.documentPdf;default:return this.icons.documentText}},getLocationId(){return""!==this.overrideDestination?this.overrideLocationId:this.locationId},goToParentDirectory(){this.$store.dispatch("goToParentDirectory",{})},shortName:e=>e.length<=50?e:`${e.substring(0,47)}...`,updateCurrentFolder(e){this.$store.commit({type:"updateCurrentFolder",currentFolder:e})},uploadDocument(){const e=document.getElementById("cardInformationModalCloseButton");null!==e&&e.click(),new D.u_(document.getElementById("uploadDocumentModal")).show()}},mounted(){this.$nextTick((()=>{this.getDocumentList(),this.getFolderList()}))}},F=(0,o(3744).Z)(I,[["render",function(e,t,o,D,v,k){const w=(0,i.up)("Icon");return(0,i.wg)(),(0,i.iD)("div",null,[(0,i._)("h2",null,[(0,i.Wm)(w,{icon:e.icons.bxBriefcase},null,8,["icon"]),(0,i.Uk)(" Documents ")]),(0,i._)("p",d," The following is a folder structure of all documents uploaded to this "+(0,n.toDisplayString)(this.getDestination()),1),(0,i.kq)(" DOCUMENT FOLDER TREE "),0===parseInt(e.documentObjectCount)?((0,i.wg)(),(0,i.iD)("div",s,l)):((0,i.wg)(),(0,i.iD)("div",a,[(0,i.kq)(" GO TO PARENT DIRECTORY "),0!==this.currentFolder?((0,i.wg)(),(0,i.iD)("div",{key:0,onClick:t[0]||(t[0]=e=>k.goToParentDirectory()),class:"document--child"},[(0,i.Wm)(w,{icon:e.icons.arrowUp,width:"80px",height:"80px"},null,8,["icon"]),r])):(0,i.kq)("v-if",!0),(0,i.kq)(" RENDER THE FOLDERS "),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.folderFilteredList,(t=>((0,i.wg)(),(0,i.iD)("div",{key:t.pk,class:"document--child"},[(0,i._)("a",{href:"javascript:void(0)",onClick:e=>k.updateCurrentFolder(t.pk)},[(0,i.Wm)(w,{icon:e.icons.folderIcon,width:"80px",height:"80px"},null,8,["icon"]),(0,i._)("p",u,(0,n.toDisplayString)(k.shortName(t.fields.folder_description)),1)],8,c),(0,i.kq)(" REMOVE FOLDER "),e.userLevel>=2?((0,i.wg)(),(0,i.iD)("div",m,[(0,i.Wm)(w,{icon:e.icons.trashCan,onClick:e=>k.confirmFolderDelete(t.pk)},null,8,["icon","onClick"])])):(0,i.kq)("v-if",!0)])))),128)),(0,i.kq)(" RENDER THE FILES "),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.documentFilteredList,(t=>((0,i.wg)(),(0,i.iD)("div",{key:t.document_key_id,class:"document--child"},[(0,i._)("a",{href:`/private/${t.document_key_id}/`,rel:"noopener noreferrer",target:"_blank"},[(0,i.Wm)(w,{icon:k.getIcon(t),width:"80px",height:"80px"},null,8,["icon"]),(0,i._)("p",h,(0,n.toDisplayString)(k.shortName(t.document_key__document_description)),1)],8,p),(0,i.kq)(" REMOVE DOCUMENT "),e.userLevel>=2?((0,i.wg)(),(0,i.iD)("div",g,[(0,i.Wm)(w,{icon:e.icons.trashCan,onClick:e=>k.confirmFileDelete(t.document_key_id)},null,8,["icon","onClick"])])):(0,i.kq)("v-if",!0)])))),128))])),(0,i.kq)(" ADD DOCUMENTS AND FOLDER BUTTON "),b,!1===o.readOnly?((0,i.wg)(),(0,i.iD)("div",_,[e.userLevel>1?((0,i.wg)(),(0,i.iD)("button",y," New Document/File ")):(0,i.kq)("v-if",!0),(0,i._)("ul",f,[(0,i._)("li",null,[(0,i._)("a",{class:"dropdown-item",href:"javascript:void(0)",onClick:t[1]||(t[1]=(...e)=>k.uploadDocument&&k.uploadDocument(...e))}," Upload Document ")]),(0,i._)("li",null,[(0,i._)("a",{class:"dropdown-item",href:"javascript:void(0)",onClick:t[2]||(t[2]=(...e)=>k.addLink&&k.addLink(...e))}," Add Link ")]),(0,i._)("li",null,[(0,i._)("a",{class:"dropdown-item",href:"javascript:void(0)",onClick:t[3]||(t[3]=(...e)=>k.addFolder&&k.addFolder(...e))}," Add Folder ")])])])):(0,i.kq)("v-if",!0)])}]])},5007:(e,t,o)=>{o.d(t,{Z:()=>v});var i=o(6252),n=o(3577);const d={key:0,class:"module-spacer"},s={class:"alert alert-dark"},l={key:1,class:"note-history"},a={class:"note-history--profile"},r=["src"],c={class:"note-history--username"},u={class:"note-history--date"},m={key:0,class:"note-history--edit-button"},p=["onClick"],h=["onClick"],g={class:"note-history--note"};var b=o(7267),_=o(3138),y=o(989),f=o(431);const D={name:"ListNotes",components:{editor:b.Z},mixins:[f.Z],props:{destination:{type:String,default:""}},computed:{...(0,y.Se)({contentCss:"getContentCss",noteList:"getNoteList",rootUrl:"getRootUrl",staticUrl:"getStaticUrl",skin:"getSkin"})},methods:{deleteNote(e){if(this.$store.dispatch({type:"updateNoteId",noteId:e}),new _.u_(document.getElementById("confirmNoteDeleteModal")).show(),"card"===this.destination){const e=document.getElementById("cardInformationModalCloseButton");void 0!==e&&e.click()}},editNote(e){if(this.$store.dispatch({type:"updateNoteId",noteId:e}),new _.u_(document.getElementById("editNoteModal")).show(),"card"===this.destination){const e=document.getElementById("cardInformationModalCloseButton");void 0!==e&&e.click()}},profilePicture(e){return null!==e&&""!==e?`${this.rootUrl}private/${e}/`:`${this.staticUrl}NearBeach/images/placeholder/people_tax.svg`}}},v=(0,o(3744).Z)(D,[["render",function(e,t,o,b,_,y){const f=(0,i.up)("editor");return(0,i.wg)(),(0,i.iD)("div",null,[(0,i.kq)(" NOTE HISTORY "),0===e.noteList.length?((0,i.wg)(),(0,i.iD)("div",d,[(0,i._)("div",s," Sorry - but there are no notes for this "+(0,n.toDisplayString)(o.destination)+". ",1)])):((0,i.wg)(),(0,i.iD)("div",l,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.noteList,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"note-history--row",key:t.object_note_id},[(0,i._)("div",a,[(0,i._)("img",{src:y.profilePicture(t.profile_picture),alt:"default profile",class:"note-history--profile-picture"},null,8,r),(0,i._)("div",c,(0,n.toDisplayString)(t.first_name)+" "+(0,n.toDisplayString)(t.last_name),1),(0,i._)("div",u,(0,n.toDisplayString)(e.getNiceDatetime(t.date_modified)),1),"true"===t.can_edit?((0,i.wg)(),(0,i.iD)("div",m,[(0,i._)("button",{type:"button",class:"btn btn-outline-secondary",onClick:e=>y.editNote(t.object_note_id)}," Edit Note ",8,p),(0,i._)("button",{type:"button",class:"btn btn-outline-danger",onClick:e=>y.deleteNote(t.object_note_id)}," Delete Note ",8,h)])):(0,i.kq)("v-if",!0)]),(0,i._)("div",g,[(0,i.Wm)(f,{init:{height:250,menubar:!1,plugins:["lists","image","codesample","table"],toolbar:[],skin:`${this.skin}`,content_css:`${this.contentCss}`},modelValue:t.object_note,"onUpdate:modelValue":e=>t.object_note=e,disabled:!0},null,8,["init","modelValue","onUpdate:modelValue"])])])))),128))]))])}]])},9401:(e,t,o)=>{o.d(t,{Z:()=>I});var i=o(6252),n=o(9963);const d={class:"modal fade",id:"addFolderModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},s={class:"modal-dialog modal-lg"},l={class:"modal-content"},a={class:"modal-header"},r=(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"addFolderCloseButton"},[(0,i._)("span",{"aria-hidden":"true"})],-1),c={class:"modal-body"},u={class:"row"},m=(0,i._)("div",{class:"col-md-4"},[(0,i._)("strong",null,"Creating a folder"),(0,i._)("p",{class:"text-instructions"},' Give the folder an appropriate name. When done, click on the "Save" button. It will be added to the current folder. ')],-1),p={class:"col-md-8"},h={class:"form-group"},g=(0,i._)("label",{for:"folder_description"},"Folder Name",-1),b={class:"modal-footer"},_=(0,i._)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1),y=["disabled"];var f=o(6542),D=(o(3138),o(989)),v=o(5808),k=o(1295);const w={name:"AddFolderWizard",components:{Icon:f.JO},props:{destination:{type:String,default:"/"},locationId:{type:Number,default:0}},mixins:[v.Z,k.Z],data:()=>({disableAddFolderButton:!0,folderDescriptionModel:""}),computed:{...(0,D.Se)({existingFolders:"getFolderFilteredList",currentFolder:"getCurrentFolder",rootUrl:"getRootUrl"})},methods:{addFolder(){const e=new FormData;e.set("folder_description",this.folderDescriptionModel),this.currentFolder>0&&e.set("parent_folder",this.currentFolder),this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/add_folder/`,e).then((e=>{this.$store.dispatch("appendFolderList",{folderList:e.data[0]}),this.folderDescriptionModel="",document.getElementById("addFolderCloseButton").click(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Failed to add folder",message:`Failed to add folder. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))}},updated(){const e=this.existingFolders.filter((e=>e.fields.folder_description===this.folderDescriptionModel));this.disableAddFolderButton=e.length>0||""===this.folderDescriptionModel||null===this.folderDescriptionModel}},I=(0,o(3744).Z)(w,[["render",function(e,t,o,f,D,v){const k=(0,i.up)("Icon");return(0,i.wg)(),(0,i.iD)("div",d,[(0,i._)("div",s,[(0,i._)("div",l,[(0,i._)("div",a,[(0,i._)("h2",null,[(0,i.Wm)(k,{icon:e.icons.userIcon},null,8,["icon"]),(0,i.Uk)(" Add Folder Wizard ")]),r]),(0,i._)("div",c,[(0,i._)("div",u,[m,(0,i._)("div",p,[(0,i._)("div",h,[g,(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=e=>D.folderDescriptionModel=e),class:"form-control",id:"folder_description",maxlength:"50"},null,512),[[n.vModelText,D.folderDescriptionModel]])])])])]),(0,i._)("div",b,[_,(0,i._)("button",{type:"button",class:"btn btn-primary",disabled:D.disableAddFolderButton,onClick:t[1]||(t[1]=(...e)=>v.addFolder&&v.addFolder(...e))}," Add Folder ",8,y)])])])])}]])},5050:(e,t,o)=>{o.d(t,{Z:()=>C});var i=o(6252),n=o(9963);const d={class:"modal fade",id:"addLinkModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},s={class:"modal-dialog modal-lg"},l={class:"modal-content"},a={class:"modal-header"},r=(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"addLinkCloseButton"},[(0,i._)("span",{"aria-hidden":"true"})],-1),c={class:"modal-body"},u={class:"row"},m=(0,i._)("div",{class:"col-md-4"},[(0,i._)("strong",null,"Add Link"),(0,i._)("p",{class:"text-instruction"}," Add hyperlinks to other documents and sources located in on the internet/cloud. ")],-1),p={class:"col-md-8"},h={class:"form-group"},g={for:"document_description"},b={key:0,class:"error"},_={class:"form-group"},y={for:"document_url_location"},f={class:"modal-footer"},D=(0,i._)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1),v=["disabled"];var k=o(6542),w=o(989),I=o(5808),F=o(1295),x=o(5705),M=o(760),U=o(7939);o(3138);const L={name:"AddLinkWizard",setup:()=>({v$:(0,x.ZP)()}),components:{Icon:k.JO,ValidationRendering:U.Z},props:{destination:{type:String,default:"/"},locationId:{type:Number,default:0}},mixins:[I.Z,F.Z],data:()=>({linkModel:"",disableAddButton:!0,documentDescriptionModel:"",documentUrlLocationModel:"",duplicateDescription:!1}),validations:{documentDescriptionModel:{required:M.C1},documentUrlLocationModel:{required:M.C1,url:M.HQ}},computed:{...(0,w.Se)({currentFolder:"getCurrentFolder",excludeDocuments:"getDocumentFilteredList",rootUrl:"getRootUrl"})},methods:{addLink(){const e=new FormData;e.set("document_description",this.documentDescriptionModel),e.set("document_url_location",this.documentUrlLocationModel),this.currentFolder>0&&e.set("parent_folder",this.currentFolder),this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/add_link/`,e).then((e=>{this.$store.dispatch("appendDocumentList",{documentList:e.data[0]}),this.documentDescriptionModel="",this.documentUrlLocationModel="",document.getElementById("addLinkCloseButton").click(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Error Adding Link",message:`Sorry, could not add the link for you. Error - ${e}`,extra_classes:"bg-danger",delay:0})}))}},updated(){const e=this.excludeDocuments.filter((e=>e.document_key__document_description===this.documentDescriptionModel));this.duplicateDescription=e.length>0,this.v$.$touch(),this.disableAddButton=this.v$.$invalid||e.length>0}},C=(0,o(3744).Z)(L,[["render",function(e,t,o,k,w,I){const F=(0,i.up)("Icon"),x=(0,i.up)("validation-rendering");return(0,i.wg)(),(0,i.iD)("div",d,[(0,i._)("div",s,[(0,i._)("div",l,[(0,i._)("div",a,[(0,i._)("h2",null,[(0,i.Wm)(F,{icon:e.icons.userIcon},null,8,["icon"]),(0,i.Uk)(" Add Link Wizard ")]),r]),(0,i._)("div",c,[(0,i._)("div",u,[m,(0,i._)("div",p,[(0,i._)("div",h,[(0,i._)("label",g,[(0,i.Uk)(" Document Description "),(0,i.Wm)(x,{"error-list":k.v$.documentDescriptionModel.$errors},null,8,["error-list"]),w.duplicateDescription?((0,i.wg)(),(0,i.iD)("span",b," Sorry - but this is a duplicated description.")):(0,i.kq)("v-if",!0)]),(0,i.wy)((0,i._)("input",{id:"document_description","onUpdate:modelValue":t[0]||(t[0]=e=>w.documentDescriptionModel=e),class:"form-control",maxlength:"50",placeholder:"NearBeach Homepage"},null,512),[[n.vModelText,w.documentDescriptionModel]])]),(0,i._)("div",_,[(0,i._)("label",y,[(0,i.Uk)(" Document URL "),(0,i.Wm)(x,{"error-list":k.v$.documentUrlLocationModel.$errors},null,8,["error-list"])]),(0,i.wy)((0,i._)("input",{id:"document_url_location","onUpdate:modelValue":t[1]||(t[1]=e=>w.documentUrlLocationModel=e),class:"form-control",placeholder:"https://nearbeach.org"},null,512),[[n.vModelText,w.documentUrlLocationModel]])])])])]),(0,i._)("div",f,[D,(0,i._)("button",{type:"button",class:"btn btn-primary",onClick:t[2]||(t[2]=(...e)=>I.addLink&&I.addLink(...e)),disabled:w.disableAddButton}," Add Link ",8,v)])])])])}]])},5014:(e,t,o)=>{o.d(t,{Z:()=>m});var i=o(6252);const n={class:"modal fade",id:"confirmFileDeleteModal",tabindex:"-1","data-bs-backdrop":"static","data-bs-keyboard":"false","aria-labelledby":"confirmFileDelete","aria-hidden":"true"},d={class:"modal-dialog"},s={class:"modal-content"},l=(0,i._)("div",{class:"modal-header"},[(0,i._)("h5",{class:"modal-title",id:"confirmFileDelete"}," Please confirm File Deletion "),(0,i.kq)(" TASK INFORMATION "),(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"confirmFileDeleteButton"})],-1),a=(0,i._)("div",{class:"modal-body"}," Are you sure you want to delete the file? ",-1),r={class:"modal-footer"};var c=o(989);o(3138);const u={name:"ConfirmFileDelete",mixins:[o(1295).Z],computed:{...(0,c.Se)({destination:"getDestination",documentRemoveKey:"getDocumentRemoveKey",locationId:"getLocationId",rootUrl:"getRootUrl"})},methods:{deleteFile(){if(""===this.documentRemoveKey)return;const e=this.documentRemoveKey,t=new FormData;t.set("document_key",this.documentRemoveKey),this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/remove/`,t).then((()=>{this.$store.dispatch("removeDocument",{document_key:e}),this.closeModal()})).catch((e=>{this.$store.dispatch("newToast",{header:"Error removing file",message:`We could not remove your file. Error - ${e}`,extra_classes:"bg-danger",delay:0})})),this.closeModal()},closeModal(){this.$store.commit({type:"updateDocumentRemoveKey",documentRemoveKey:""}),document.getElementById("confirmFileDeleteButton").click(),this.reopenCardInformation()}}},m=(0,o(3744).Z)(u,[["render",function(e,t,o,c,u,m){return(0,i.wg)(),(0,i.iD)("div",n,[(0,i._)("div",d,[(0,i._)("div",s,[l,a,(0,i._)("div",r,[(0,i._)("button",{type:"button",class:"btn btn-secondary",onClick:t[0]||(t[0]=(...e)=>m.closeModal&&m.closeModal(...e))}," No "),(0,i._)("button",{type:"button",class:"btn btn-primary",onClick:t[1]||(t[1]=(...e)=>m.deleteFile&&m.deleteFile(...e))}," Yes ")])])])])}]])},3027:(e,t,o)=>{o.d(t,{Z:()=>f});var i=o(6252);const n={class:"modal fade",id:"newNoteModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},d={class:"modal-dialog modal-lg",role:"document"},s={class:"modal-content"},l={class:"modal-header"},a=(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"newNoteCloseButton"},[(0,i._)("span",{"aria-hidden":"true"})],-1),r={class:"modal-body"},c=(0,i._)("p",{class:"text-instructions"}," Use the text editor to type out your note. Click on the submit button to submit the note. ",-1),u={class:"modal-footer"},m=["disabled"],p=(0,i._)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1);var h=o(5808),g=o(6542),b=o(7267),_=o(989);const y={name:"NewHistoryNoteWizard",components:{editor:b.Z,Icon:g.JO},props:{destination:{type:String,default:""},locationId:{type:Number,default:0}},mixins:[h.Z],data:()=>({newNoteModel:""}),computed:{...(0,_.Se)({contentCss:"getContentCss",rootUrl:"getRootUrl",skin:"getSkin"})},methods:{submitNote(){this.$store.dispatch("newToast",{header:"Submitting new note",message:"Please wait. Submitting new note",extra_classes:"bg-warning text-dark",delay:0,unique_type:"submit_note"});const e=new FormData;e.set("destination",this.destination),e.set("location_id",`${this.locationId}`),e.set("note",this.newNoteModel);let t="add_notes";"organisation"===this.destination&&(t="organisation_add_notes"),this.axios.post(`${this.rootUrl}object_data/${this.destination}/${this.locationId}/${t}/`,e).then((e=>{this.$store.dispatch("newToast",{header:"New Note Submitted",message:"The new note submitted successfully.",extra_classes:"bg-success",unique_type:"submit_note"}),this.$store.commit({type:"addNote",newNote:e.data[0]}),this.newNoteModel="",document.getElementById("newNoteCloseButton").click()})).catch((e=>{this.$store.dispatch("newToast",{header:"Error Submitting Note",message:`Sorry, the note did not submit. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"submit_note"})}))}}},f=(0,o(3744).Z)(y,[["render",function(e,t,o,h,g,b){const _=(0,i.up)("Icon"),y=(0,i.up)("editor");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.kq)(" NEW HISTORY NOTE "),(0,i._)("div",n,[(0,i._)("div",d,[(0,i._)("div",s,[(0,i._)("div",l,[(0,i._)("h2",null,[(0,i.Wm)(_,{icon:e.icons.noteAdd},null,8,["icon"]),(0,i.Uk)(" New Note ")]),a]),(0,i._)("div",r,[c,(0,i.Wm)(y,{init:{height:300,menubar:!1,plugins:["lists","codesample","table"],toolbar:"undo redo | blocks | bold italic strikethrough underline backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | table image codesample",skin:`${this.skin}`,content_css:`${this.contentCss}`},modelValue:g.newNoteModel,"onUpdate:modelValue":t[0]||(t[0]=e=>g.newNoteModel=e)},null,8,["init","modelValue"])]),(0,i._)("div",u,[(0,i._)("button",{type:"button",class:"btn btn-primary",disabled:""==g.newNoteModel,onClick:t[1]||(t[1]=(...e)=>b.submitNote&&b.submitNote(...e))}," Submit Note ",8,m),p])])])])],2112)}]])},4657:(e,t,o)=>{o.d(t,{Z:()=>q});var i=o(6252),n=o(3577),d=o(9963);const s={class:"modal fade",id:"uploadDocumentModal","data-bs-backdrop":"static","data-bs-keyboard":"false",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},l={class:"modal-dialog modal-lg"},a={class:"modal-content"},r={class:"modal-header"},c=(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"uploadDocumentCloseButton"},[(0,i._)("span",{"aria-hidden":"true"})],-1),u={class:"modal-body"},m={class:"row"},p={class:"col-md-4"},h=(0,i._)("strong",null,"Uploading File",-1),g={class:"text-instructions"},b={key:0},_={key:1},y={key:2},f={class:"col-md-8"},D={key:0,class:"form-file"},v={class:"mb-3"},k={for:"document",class:"form-label"},w=(0,i._)("br",null,null,-1),I={key:0,class:"alert alert-warning"},F=["accept"],x={key:1,class:"form-group"},M={class:"form-group"},U=(0,i._)("label",{for:"documentDescription"},"Document Description",-1),L=(0,i._)("br",null,null,-1),C={class:"form-row"},$={key:2},E={key:0,class:"alert alert-warning"},N=(0,i._)("div",{class:"spinner-border text-primary",role:"status"},[(0,i._)("span",{class:"sr-only"},"Loading...")],-1),S=(0,i._)("div",{class:"alert alert-success"}," The document has been uploaded. The server is currently writing the file to disk. Please be patient - this modal will close automatically. Thank you ",-1),B={class:"modal-footer"},T=(0,i._)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1),Z=["disabled"];var R=o(6542),O=(o(3138),o(989)),A=o(5808),W=o(1295);const P={name:"UploadDocumentWizard",components:{Icon:R.JO},props:{overrideDestination:{type:String,default:""},overrideLocationId:{type:Number,default:0}},mixins:[A.Z,W.Z],data:()=>({disableUploadButton:!0,documentModel:[],documentDescriptionModel:"",uploadPercentage:"",maxUploadSize:0,maxUploadString:"No Upload Limit",maxUploadWarning:!1}),computed:{...(0,O.Se)({acceptedDocuments:"getAcceptedDocuments",currentFolder:"getCurrentFolder",destination:"getDestination",excludeDocuments:"getDocumentFilteredList",locationId:"getLocationId",staticUrl:"getStaticUrl",rootUrl:"getRootUrl"})},methods:{getDestination(){return""!==this.overrideDestination?this.overrideDestination:this.destination},getLocationId(){return""!==this.overrideDestination?this.overrideLocationId:this.locationId},handleFileUploads(e){e[0].size*(0!==this.maxUploadSize)>this.maxUploadSize?this.maxUploadWarning=!0:(this.maxUploadWarning=!1,this.documentModel=e[0],this.documentDescriptionModel=e[0].name)},resetForm(){this.documentModel="",this.documentDescriptionModel="",this.uploadPercentage=""},uploadFile(){const e=new FormData;e.set("document",this.documentModel,this.documentDescriptionModel),e.set("document_description",this.documentDescriptionModel),this.currentFolder>0&&e.set("parent_folder",this.currentFolder);const t={onUploadProgress:e=>{this.uploadPercentage=parseFloat(e.loaded)/parseFloat(e.total)}};this.axios.post(`${this.rootUrl}documentation/${this.getDestination()}/${this.getLocationId()}/upload/`,e,t).then((e=>{this.$store.dispatch("appendDocumentList",{documentList:e.data[0]}),document.getElementById("uploadDocumentCloseButton").click(),this.resetForm(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Failed to upload documentation",message:`Can not upload the documentation. ${e}`,extra_classes:"bg-danger",delay:0})}))}},watch:{maxUploadSize(){if(0===this.maxUploadSize)return"No Upload Limit";const e=Math.floor(Math.log(this.maxUploadSize)/Math.log(1024));this.maxUploadString=`Max Upload Size: ${parseFloat((this.maxUploadSize/Math.pow(1024,e)).toFixed(2))} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][e]}`}},updated(){const e=this.excludeDocuments.filter((e=>e.document_key__document_description===this.documentDescriptionModel));this.disableUploadButton=""===this.documentModel||0===this.documentDescriptionModel.length||e.length>0},mounted(){this.$nextTick((()=>{this.axios.post(`${this.rootUrl}documentation/get/max_upload/`).then((e=>{this.maxUploadSize=e.data.max_upload_size})).catch((()=>{this.$store.dispatch("newToast",{header:"Failed to get the max upload size",message:`Had an issue getting data from backend. ${this.maxUploadString}`,extra_classes:"bg-danger",delay:0})}))}))}},q=(0,o(3744).Z)(P,[["render",function(e,t,o,R,O,A){const W=(0,i.up)("Icon");return(0,i.wg)(),(0,i.iD)("div",s,[(0,i._)("div",l,[(0,i._)("div",a,[(0,i._)("div",r,[(0,i._)("h2",null,[(0,i.Wm)(W,{icon:e.icons.userIcon},null,8,["icon"]),(0,i.Uk)(" Upload Document Wizard ")]),c]),(0,i._)("div",u,[(0,i._)("div",m,[(0,i._)("div",p,[h,(0,i._)("p",g," You will be able to upload a file against this "+(0,n.toDisplayString)(A.getDestination)+". It will appear in the current folder. ",1),0===O.documentModel.length?((0,i.wg)(),(0,i.iD)("p",b,' 1. Please click on "Upload File" button to upload a file ')):""===O.uploadPercentage?((0,i.wg)(),(0,i.iD)("p",_,' 2. Please modify the document descript to be more human readable. Or click the "Reset" button to remove the uploaded file. ')):((0,i.wg)(),(0,i.iD)("p",y," 3. Document is currently uploading. Please be patient. "))]),(0,i._)("div",f,[0===O.documentModel.length?((0,i.wg)(),(0,i.iD)("div",D,[(0,i._)("div",v,[(0,i._)("label",k,[(0,i.Uk)(" Please upload a file"),w,(0,i.Uk)(" "+(0,n.toDisplayString)(O.maxUploadString)+" ",1),O.maxUploadWarning?((0,i.wg)(),(0,i.iD)("div",I," Sorry - file too large ")):(0,i.kq)("v-if",!0)]),(0,i._)("input",{type:"file",class:"form-control",id:"document",accept:e.acceptedDocuments,onChange:t[0]||(t[0]=e=>A.handleFileUploads(e.target.files))},null,40,F)])])):""==O.uploadPercentage?((0,i.wg)(),(0,i.iD)("div",x,[(0,i.kq)(" DOCUMENT DESCRIPTION "),(0,i._)("div",M,[U,(0,i.wy)((0,i._)("input",{id:"documentDescription","onUpdate:modelValue":t[1]||(t[1]=e=>O.documentDescriptionModel=e),type:"text",class:"form-control"},null,512),[[d.vModelText,O.documentDescriptionModel]])]),(0,i.kq)(" RESET FORM BUTTON "),L,(0,i._)("div",C,[(0,i._)("button",{onClick:t[2]||(t[2]=(...e)=>A.resetForm&&A.resetForm(...e)),class:"btn btn-warning"}," Reset Form ")])])):((0,i.wg)(),(0,i.iD)("div",$,[(0,i.kq)(" THE UPLOAD SPINNER "),parseFloat(O.uploadPercentage).toFixed(0)<1?((0,i.wg)(),(0,i.iD)("div",E,[(0,i.Uk)(" Uploading "+(0,n.toDisplayString)((100*parseFloat(O.uploadPercentage)).toFixed(2))+"% ",1),N])):((0,i.wg)(),(0,i.iD)(i.HY,{key:1},[(0,i.kq)(" THE FINAL WRITING "),S],2112))]))])])]),(0,i._)("div",B,[T,(0,i._)("button",{type:"button",class:"btn btn-primary",disabled:O.disableUploadButton,onClick:t[3]||(t[3]=(...e)=>A.uploadFile&&A.uploadFile(...e))}," Upload File ",8,Z)])])])])}]])},7939:(e,t,o)=>{o.d(t,{Z:()=>s});var i=o(6252),n=o(3577);const d={name:"ValidationRendering",props:{errorList:{type:Array,default:()=>[]}}},s=(0,o(3744).Z)(d,[["render",function(e,t,o,d,s,l){return(0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(o.errorList,(e=>((0,i.wg)(),(0,i.iD)("span",{class:"error",key:e.$uid},(0,n.toDisplayString)(e.$message),1)))),128)}]])},431:(e,t,o)=>{o.d(t,{Z:()=>n});var i=o(7126);const n={methods:{getNiceDatetime:e=>""===e||null==e?"":i.ou.fromISO(e).toLocaleString(i.ou.DATETIME_MED),getNiceDatetimeFromInt:e=>""===e||null==e?"":i.ou.fromMillis(e).toLocaleString(i.ou.DATETIME_MED),getNiceDate:e=>""===e||null==e?"":i.ou.fromISO(e).toLocaleString(i.ou.DATE_MED_WITH_WEEKDAY),disableDate(e){const t=new Date;return t.setMilliseconds(0),t.setSeconds(0),t.setHours(0),e<=t.getTime()-36e5}}}},624:(e,t,o)=>{o.d(t,{Z:()=>n});var i=o(7449);const n={data:()=>({darkTheme:i.$}),methods:{getTheme:e=>"dark"===e?i.$:null}}},5808:(e,t,o)=>{o.d(t,{Z:()=>U});var i=o(3985),n=o(5555),d=o(1826),s=o(6443),l=o(1327),a=o(8521),r=o(1056),c=o(4324),u=o(9672),m=o(9867),p=o(1239),h=o(5004),g=o(1321),b=o(1216),_=o(5550),y=o(7702),f=o(7903),D=o(2606),v=o(3843),k=o(2393),w=o(3360),I=o(9714),F=o(1323),x=o(2610),M=o(5968);const U={data:()=>({icons:{arrowUp:i.Z,bugIcon:n.Z,bxBriefcase:d.Z,cardChecklist:s.Z,clipboardIcon:l.Z,documentPdf:a.Z,documentText:r.Z,folderIcon:c.Z,groupPresentation:u.Z,imageIcon:m.Z,infoCircle:p.Z,linkIcon:h.Z,linkIcon2:g.Z,linkOut:b.Z,mailIcon:_.Z,microsoftExcel:y.Z,microsoftPowerpoint:f.Z,microsoftWord:D.Z,noteAdd:v.Z,objectStorage:k.Z,passwordIcon:w.Z,trashCan:I.Z,userIcon:F.Z,usersIcon:x.Z,xCircle:M.Z}})}},1295:(e,t,o)=>{o.d(t,{Z:()=>n});var i=o(3138);const n={methods:{reopenCardInformation(){let e=document.getElementById("cardInformationModal");null!==e&&(e=new i.u_(e),e.show()),setTimeout((()=>{const e=document.getElementsByClassName("modal-backdrop fade show");e.length>1&&e[0].remove()}),200)}}}}}]);
\ No newline at end of file
diff --git a/NearBeach/static/NearBeach/2471.min.js.gz b/NearBeach/static/NearBeach/2471.min.js.gz
new file mode 100644
index 0000000000000000000000000000000000000000..40be080b7b95c0f6e162d5fa5404325fb72b359c
GIT binary patch
literal 6674
zcmV+t8tvs9J$3+`1vwct|Dn`)E|>NClyEWOZ-gYXfBu$z{dQlCp0e$!a8#X4hm8W0
zAQvT*-tSZG>zB;a>EPZlvXVXyE^+CS)9M-tEc3L2Jr=b)FMOpxty(*%o&QX&E`(L8
zRGteEDQoTLr}8JtZCNoh`+M&oREZL(iExq4->X{ARR`#FA!{9J=W54IxeHOwxhll>
z-v9p=ffy1DR<=dyl5{cu1P}xv<;`*ovG=%YT!&az+I1|iC|#7c+eBg$ptkp4ZIP*t
zoZirOn=$x2JlCW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zAMI_
z+g0#(=+j#c)k1rMkfu}Y1~do+QtDo-#l8JL0CzMlk5IUGaXpr$68Bar@?*cE6*!MU
zaBhM=rt0S8Sg~#Ybp4|miWAM7z$(u4yPrPCZTi*u8S<+$J~XMu-+M}c13;YPG#fq!
zCLfFw#iP;VY$(m1gt4ILqZ#Z@7rxB!w+Dd(PAuymxecE6^`f)Q2W48maOPGB)-yKG
zcX{ihaz`7TXr;IeV+w3yY#rGTpTEHaK(x2|JoIoW_NwA~q+Z11eLa_&xu(*Y;i?Kl
zVabyOfgEbjo2w9Syy<0v-y!hstrGmt9|%!XT3
z)M(c?WBJUL6~zuWR3aMw;WRhQPV0{f#S_)ULhbG|FnAl|h*q^Zjhb*D?x;etobfLF
z;s4U08VzO|C_BY*P5rvU@{Q?C9U9&>uIDOw9GcCH%>Za6x>6Ov$naMg7)st(Ht)4wAmS32VPUk
zB1HTuV^wHFCw$X3<#pJq!_tJ3cI|iCb(gt{n.d(t,{Z:()=>g});var a,i=n(6252),o=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],l=function(e){return-1!==o.map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())},r=0,s=function(e){var t=Date.now();return e+"_"+Math.floor(1e9*Math.random())+ ++r+String(t)},d=function(e){return void 0===e||""===e?[]:Array.isArray(e)?e:e.split(" ")},u=function(){return{listeners:[],scriptId:s("tiny-script"),scriptLoaded:!1}},c=(a=u(),{load:function(e,t,n){a.scriptLoaded?n():(a.listeners.push(n),e.getElementById(a.scriptId)||function(e,t,n,i){var o=t.createElement("script");o.referrerPolicy="origin",o.type="application/javascript",o.id=e,o.src=n;var l=function(){o.removeEventListener("load",l),a.listeners.forEach((function(e){return e()})),a.scriptLoaded=!0};o.addEventListener("load",l),t.head&&t.head.appendChild(o)}(a.scriptId,e,t))},reinitialize:function(){a=u()}}),m=function(){var e="undefined"!=typeof window?window:n.g;return e&&e.tinymce?e.tinymce:null},p={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],modelValue:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(e){return"html"===e||"text"===e}}},h=n(2262),f=function(){return f=Object.assign||function(e){for(var t,n=1,a=arguments.length;n{n.d(t,{Z:()=>g});var a=n(6252);const i={class:"row"},o=(0,a._)("div",{class:"col-md-4"},[(0,a._)("h2",null,"Backout Plan"),(0,a._)("p",{class:"text-instructions"}," Please outline the backout plan that will be implemented, and when it will be implemented, when something goes wrong with the Request for Change. ")],-1),l={class:"col-md-8",style:{"min-height":"610px"}},r=(0,a._)("br",null,null,-1);var s=n(5705),d=n(760),u=n(7939),c=n(7267),m=n(2299),p=n(4758),h=n(989);const f={name:"RfcBackoutPlan",setup:()=>({v$:(0,s.ZP)()}),components:{editor:c.Z,ValidationRendering:u.Z},props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:()=>[]},uuid:{type:String,default:""}},computed:{...(0,h.Se)({contentCss:"getContentCss",skin:"getSkin"})},mixins:[m.Z,p.Z],data:()=>({rfcBackoutPlanModel:""}),validations:{rfcBackoutPlanModel:{required:d.C1,maxLength:(0,d.BS)(63e4)}},methods:{handleUploadImage(e,t){return""===this.uuid?this.uploadImage(e,t):this.newObjectUploadImage(e,t)},updateValidation(){this.v$.$touch(),this.$emit("update_validation",{tab:"tab_4",value:!this.v$.$invalid})},updateValues(e,t){this.$emit("update_values",{modelName:e,modelValue:t})}},watch:{rfcBackoutPlanModel(){this.updateValues("rfcBackoutPlan",this.rfcBackoutPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcBackoutPlanModel=this.rfcResults[0].fields.rfc_backout_plan),this.v$.$touch()}},g=(0,n(3744).Z)(f,[["render",function(e,t,n,s,d,u){const c=(0,a.up)("validation-rendering"),m=(0,a.up)("editor");return(0,a.wg)(),(0,a.iD)("div",i,[o,(0,a._)("div",l,[(0,a._)("label",null,[(0,a.Uk)(" Backout Plan: "),(0,a.Wm)(c,{"error-list":s.v$.rfcBackoutPlanModel.$errors},null,8,["error-list"])]),r,(0,a.Wm)(m,{init:{file_picker_types:"image",height:500,images_upload_handler:u.handleUploadImage,menubar:!1,paste_data_images:!0,plugins:["lists","image","codesample","table"],toolbar:"undo redo | blocks | bold italic strikethrough underline backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | table image codesample",skin:`${this.skin}`,content_css:`${this.contentCss}`},disabled:n.isReadOnly,modelValue:e.rfcBackoutPlanModel,"onUpdate:modelValue":t[0]||(t[0]=t=>e.rfcBackoutPlanModel=t)},null,8,["init","disabled","modelValue"])])])}]])},9670:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(6252);const i={class:"row"},o=(0,a._)("div",{class:"col-md-4"},[(0,a._)("h2",null,"Implementation Plan"),(0,a._)("p",{class:"text-instructions"}," Please outline your implementation plan for this request for change. ")],-1),l={class:"col-md-8",style:{"min-height":"610px"}},r=(0,a._)("br",null,null,-1);var s=n(5705),d=n(760),u=n(7939),c=n(7267),m=n(2299),p=n(4758),h=n(989);const f={name:"RfcImplementationPlan",setup:()=>({v$:(0,s.ZP)()}),components:{editor:c.Z,ValidationRendering:u.Z},props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:()=>[]},uuid:{type:String,default:""}},computed:{...(0,h.Se)({contentCss:"getContentCss",skin:"getSkin"})},mixins:[m.Z,p.Z],data:()=>({rfcImplementationPlanModel:""}),validations:{rfcImplementationPlanModel:{required:d.C1,maxLength:(0,d.BS)(63e4)}},methods:{handleUploadImage(e,t){return""===this.uuid?this.uploadImage(e,t):this.newObjectUploadImage(e,t)},updateValidation(){this.v$.$touch(),this.$emit("update_validation",{tab:"tab_3",value:!this.v$.$invalid})},updateValues(e,t){this.$emit("update_values",{modelName:e,modelValue:t})}},watch:{rfcImplementationPlanModel(){this.updateValues("rfcImplementationPlanModel",this.rfcImplementationPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcImplementationPlanModel=this.rfcResults[0].fields.rfc_implementation_plan),this.v$.$touch()}},g=(0,n(3744).Z)(f,[["render",function(e,t,n,s,d,u){const c=(0,a.up)("validation-rendering"),m=(0,a.up)("editor");return(0,a.wg)(),(0,a.iD)("div",i,[o,(0,a._)("div",l,[(0,a._)("label",null,[(0,a.Uk)(" Implementation Plan: "),(0,a.Wm)(c,{"error-list":s.v$.rfcImplementationPlanModel.$errors},null,8,["error-list"])]),r,(0,a.Wm)(m,{init:{file_picker_types:"image",height:500,images_upload_handler:u.handleUploadImage,menubar:!1,paste_data_images:!0,plugins:["lists","image","codesample","table"],toolbar:"undo redo | blocks | bold italic strikethrough underline backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | table image codesample",skin:`${this.skin}`,content_css:`${this.contentCss}`},disabled:n.isReadOnly,modelValue:e.rfcImplementationPlanModel,"onUpdate:modelValue":t[0]||(t[0]=t=>e.rfcImplementationPlanModel=t)},null,8,["init","disabled","modelValue"])])])}]])},8542:(e,t,n)=>{n.d(t,{Z:()=>M});var a=n(6252);const i={class:"row"},o=(0,a._)("div",{class:"col-md-4"},[(0,a._)("h2",null,"Risk"),(0,a._)("p",{class:"text-instructions"}," Please outline all risks associated with this Request for Change. A detail list of all risks should be noted. ")],-1),l={class:"col-md-8",style:{"min-height":"610px"}},r={class:"row"},s={class:"col-md-4"},d={class:"col-md-4"},u={class:"col-md-4"},c=(0,a._)("br",null,null,-1),m=(0,a._)("br",null,null,-1);var p=n(5705),h=n(760),f=n(7939),g=n(2001),v=n(7267),b=n(2299),y=n(4758),_=n(989);const k={name:"RfcRisk",setup:()=>({v$:(0,p.ZP)()}),components:{editor:v.Z,NSelect:g.Z,ValidationRendering:f.Z},props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:()=>[]},uuid:{type:String,default:""}},computed:{...(0,_.Se)({contentCss:"getContentCss",skin:"getSkin"})},mixins:[b.Z,y.Z],data:()=>({rfcPriority:[{label:"Critical",value:4},{label:"High",value:3},{label:"Medium",value:2},{label:"Low",value:1}],rfcPriorityModel:"",rfcRisk:[{label:"Very High",value:5},{label:"High",value:4},{label:"Moderate",value:3},{label:"Low",value:2},{label:"None",value:1}],rfcRiskModel:"",rfcRiskSummaryModel:"",rfcImpact:[{label:"High",value:3},{label:"Medium",value:2},{label:"Low",value:1}],rfcImpactModel:""}),validations:{rfcPriorityModel:{required:h.C1},rfcRiskModel:{required:h.C1},rfcRiskSummaryModel:{required:h.C1,maxLength:(0,h.BS)(63e4)},rfcImpactModel:{required:h.C1}},methods:{handleUploadImage(e,t){return""===this.uuid?this.uploadImage(e,t):this.newObjectUploadImage(e,t)},updateValidation(){console.log("VALIDATING RISK"),this.v$.$touch(),this.$emit("update_validation",{tab:"tab_2",value:!this.v$.$invalid})},updateValues(e,t){this.$emit("update_values",{modelName:e,modelValue:t})}},watch:{rfcPriority(){this.updateValues("rfcPriority",this.rfcPriority),this.updateValidation()},rfcPriorityModel(){this.updateValues("rfcPriorityModel",this.rfcPriorityModel),this.updateValidation()},rfcRisk(){this.updateValues("rfcRisk",this.rfcRisk),this.updateValidation()},rfcRiskModel(){this.updateValues("rfcRiskModel",this.rfcRiskModel),this.updateValidation()},rfcRiskSummaryModel(){this.updateValues("rfcRiskSummaryModel",this.rfcRiskSummaryModel),this.updateValidation()},rfcImpact(){this.updateValues("rfcImpact",this.rfcImpact),this.updateValidation()},rfcImpactModel(){this.updateValues("rfcImpactModel",this.rfcImpactModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcPriorityModel=this.rfcResults[0].fields.rfc_priority,this.rfcRiskModel=this.rfcResults[0].fields.rfc_risk,this.rfcRiskSummaryModel=this.rfcResults[0].fields.rfc_risk_and_impact_analysis,this.rfcImpactModel=this.rfcResults[0].fields.rfc_impact),this.v$.$touch()}},M=(0,n(3744).Z)(k,[["render",function(e,t,n,p,h,f){const g=(0,a.up)("validation-rendering"),v=(0,a.up)("n-select"),b=(0,a.up)("editor");return(0,a.wg)(),(0,a.iD)("div",i,[o,(0,a._)("div",l,[(0,a._)("div",r,[(0,a._)("div",s,[(0,a._)("label",null,[(0,a.Uk)(" Priority of Change "),(0,a.Wm)(g,{"error-list":p.v$.rfcPriorityModel.$errors},null,8,["error-list"])]),(0,a.Wm)(v,{options:e.rfcPriority,disabled:n.isReadOnly,value:e.rfcPriorityModel,"onUpdate:value":t[0]||(t[0]=t=>e.rfcPriorityModel=t)},null,8,["options","disabled","value"])]),(0,a._)("div",d,[(0,a._)("label",null,[(0,a.Uk)(" Risk of Change "),(0,a.Wm)(g,{"error-list":p.v$.rfcRiskModel.$errors},null,8,["error-list"])]),(0,a.Wm)(v,{options:e.rfcRisk,disabled:n.isReadOnly,value:e.rfcRiskModel,"onUpdate:value":t[1]||(t[1]=t=>e.rfcRiskModel=t)},null,8,["options","disabled","value"])]),(0,a._)("div",u,[(0,a._)("label",null,[(0,a.Uk)(" Impact of Change "),(0,a.Wm)(g,{"error-list":p.v$.rfcImpactModel.$errors},null,8,["error-list"])]),(0,a.Wm)(v,{options:e.rfcImpact,disabled:n.isReadOnly,value:e.rfcImpactModel,"onUpdate:value":t[2]||(t[2]=t=>e.rfcImpactModel=t)},null,8,["options","disabled","value"])])]),c,(0,a.kq)(" RFC SUMMARY "),(0,a._)("label",null,[(0,a.Uk)(" Risk Association: "),(0,a.Wm)(g,{"error-list":p.v$.rfcRiskSummaryModel.$errors},null,8,["error-list"])]),m,(0,a.Wm)(b,{init:{file_picker_types:"image",height:500,images_upload_handler:f.handleUploadImage,menubar:!1,paste_data_images:!0,plugins:["lists","image","codesample","table"],toolbar:"undo redo | blocks | bold italic strikethrough underline backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | table image codesample",skin:`${this.skin}`,content_css:`${this.contentCss}`},disabled:n.isReadOnly,modelValue:e.rfcRiskSummaryModel,"onUpdate:modelValue":t[3]||(t[3]=t=>e.rfcRiskSummaryModel=t)},null,8,["init","disabled","modelValue"])])])}]])},170:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(6252);const i={class:"row"},o=(0,a._)("div",{class:"col-md-4"},[(0,a._)("h2",null,"Test Plan"),(0,a._)("p",{class:"text-instructions"}," Outline your test plan. How will you test the Request for Change once it has been implemented. ")],-1),l={class:"col-md-8",style:{"min-height":"610px"}},r=(0,a._)("br",null,null,-1);var s=n(5705),d=n(760),u=n(7939),c=n(7267),m=n(2299),p=n(4758),h=n(989);const f={name:"RfcTestPlan",setup:()=>({v$:(0,s.ZP)()}),components:{editor:c.Z,ValidationRendering:u.Z},props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:()=>[]},uuid:{type:String,default:""}},computed:{...(0,h.Se)({contentCss:"getContentCss",skin:"getSkin"})},mixins:[m.Z,p.Z],data:()=>({rfcTestPlanModel:""}),validations:{rfcTestPlanModel:{required:d.C1,maxLength:(0,d.BS)(63e4)}},methods:{handleUploadImage(e,t){return""===this.uuid?this.uploadImage(e,t):this.newObjectUploadImage(e,t)},updateValidation(){this.v$.$touch(),this.$emit("update_validation",{tab:"tab_5",value:!this.v$.$invalid})},updateValues(e,t){this.$emit("update_values",{modelName:e,modelValue:t})}},watch:{rfcTestPlanModel(){this.updateValues("rfcTestPlanModel",this.rfcTestPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcTestPlanModel=this.rfcResults[0].fields.rfc_test_plan),this.v$.$touch()}},g=(0,n(3744).Z)(f,[["render",function(e,t,n,s,d,u){const c=(0,a.up)("validation-rendering"),m=(0,a.up)("editor");return(0,a.wg)(),(0,a.iD)("div",i,[o,(0,a._)("div",l,[(0,a._)("label",null,[(0,a.Uk)(" Test Plan: "),(0,a.Wm)(c,{"error-list":s.v$.rfcTestPlanModel.$errors},null,8,["error-list"])]),r,(0,a.Wm)(m,{init:{file_picker_types:"image",height:500,images_upload_handler:u.handleUploadImage,menubar:!1,paste_data_images:!0,plugins:["lists","image","codesample","table"],toolbar:"undo redo | blocks | bold italic strikethrough underline backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | table image codesample",skin:`${this.skin}`,content_css:`${this.contentCss}`},disabled:n.isReadOnly,modelValue:e.rfcTestPlanModel,"onUpdate:modelValue":t[0]||(t[0]=t=>e.rfcTestPlanModel=t)},null,8,["init","disabled","modelValue"])])])}]])},7939:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(6252),i=n(3577);const o={name:"ValidationRendering",props:{errorList:{type:Array,default:()=>[]}}},l=(0,n(3744).Z)(o,[["render",function(e,t,n,o,l,r){return(0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(n.errorList,(e=>((0,a.wg)(),(0,a.iD)("span",{class:"error",key:e.$uid},(0,i.toDisplayString)(e.$message),1)))),128)}]])},624:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(7449);const i={data:()=>({darkTheme:a.$}),methods:{getTheme:e=>"dark"===e?a.$:null}}},4758:(e,t,n)=>{n.d(t,{Z:()=>a});const a={methods:{newObjectUploadImage(e,t){const n=new FormData;n.set("document",e.blob(),e.filename()),n.set("document_description",e.filename()),n.set("uuid",this.uuid);const a={onUploadProgress:e=>{parseFloat(e.loaded),parseFloat(e.total)}};return this.axios.post(`${this.rootUrl}documentation/new_object_upload/`,n,a).then((e=>`/private/${e.data[0].document_key_id}`)).catch((e=>{this.$store.dispatch("newToast",{header:"Error uploading image",message:`Error uploading image. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))},replaceIncorrectImageUrl:e=>e.replace(new RegExp(''),(e=>e.replace("../","/")))}}},2299:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(9669),i=n.n(a);const o={computed:{...(0,n(989).Se)({destination:"getDestination",locationId:"getLocationId",rootUrl:"getRootUrl"})},methods:{uploadImage(e,t){const n=new FormData;n.set("document",e.blob(),e.filename()),n.set("document_description",e.filename());const a={onUploadProgress:e=>{parseFloat(e.loaded),parseFloat(e.total)}};return this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/upload/`,n,a).then((e=>`/private/${e.data[0].document_key_id}`)).catch((e=>{this.$store.dispatch("newToast",{header:"Failed to upload image",message:`Sorry, could not upload image. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))},newObjectUploadImage(e,t){const n=new FormData;n.set("document",e.blob(),e.filename()),n.set("document_description",e.filename()),n.set("uuid",this.uuid);const a={onUploadProgress:e=>{parseFloat(e.loaded),parseFloat(e.total)}};return i().post(`${this.rootUrl}documentation/new_object_upload/`,n,a).then((e=>`/private/${e.data[0].document_key_id}`)).catch((e=>{this.$store.dispatch("newToast",{header:"Failed to upload image",message:`Sorry, could not upload image. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))}}}}}]);
\ No newline at end of file
diff --git a/NearBeach/static/NearBeach/31.min.js.gz b/NearBeach/static/NearBeach/31.min.js.gz
new file mode 100644
index 0000000000000000000000000000000000000000..9120ff07f39144f05a33775afdcc2fc57447cb2c
GIT binary patch
literal 4161
zcmV-H5Wepl7D@n|1vwdSdJ&qPBUkjG
zx6LLh-4{!4xn=AM@J#uNiWK`Rif{}z0;*kvUfjZle`)J
z0C016H~1+pMFLHr43VpFRqhjwFA38{rdm2u=t;W;TYf^8Wqdg4z7EJOXDK$WieglW
z>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0,0 +1 @@
+"use strict";(self.webpackChunknearbeach=self.webpackChunknearbeach||[]).push([[8413],{8737:(e,t,o)=>{o.d(t,{Z:()=>F});var i=o(6252),n=o(3577);const d={class:"text-instructions"},s={key:0,class:"module-spacer"},a=[(0,i._)("div",{class:"alert alert-dark"}," Sorry - there are no documents or folders uploaded. ",-1)],l={key:1,class:"document--widget"},r=(0,i._)("p",{class:"text-instructions"},"Go to Parent Directory...",-1),c=["onClick"],u={class:"text-instructions"},m={key:0,class:"document--remove"},p=["href"],h={class:"text-instructions"},g={key:0,class:"document--remove"},b=(0,i._)("hr",null,null,-1),_={key:2,class:"btn-group save-changes"},y={key:0,class:"btn btn-primary dropdown-toggle",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},f={class:"dropdown-menu"};var D=o(3138),v=o(6542),k=o(5808),w=o(989);const I={name:"DocumentsModule",components:{Icon:v.JO},props:{overrideDestination:{type:String,default:""},overrideLocationId:{type:Number,default:0},readOnly:{type:Boolean,default:!1}},mixins:[k.Z],computed:{...(0,w.Se)({currentFolder:"getCurrentFolder",destination:"getDestination",documentFilteredList:"getDocumentFilteredList",documentObjectCount:"getDocumentObjectCount",folderFilteredList:"getFolderFilteredList",locationId:"getLocationId",userLevel:"getUserLevel",rootUrl:"getRootUrl"})},watch:{overrideLocationId(){this.getDocumentList(),this.getFolderList()}},methods:{addFolder(){const e=document.getElementById("cardInformationModalCloseButton");null!==e&&e.click(),new D.u_(document.getElementById("addFolderModal")).show()},addLink(){const e=document.getElementById("cardInformationModalCloseButton");null!==e&&e.click(),new D.u_(document.getElementById("addLinkModal")).show()},confirmFileDelete(e){this.$store.commit({type:"updateDocumentRemoveKey",documentRemoveKey:e});const t=document.getElementById("cardInformationModalCloseButton");null!==t&&t.click(),new D.u_(document.getElementById("confirmFileDeleteModal")).show()},confirmFolderDelete(e){this.$store.commit({type:"updateFolderRemoveId",folderRemoveId:e});const t=document.getElementById("cardInformationModalCloseButton");null!==t&&t.click(),new D.u_(document.getElementById("confirmFolderDeleteModal")).show()},getDestination(){return""!==this.overrideDestination?this.overrideDestination:this.destination},getDocumentList(){0!==this.getLocationId()&&this.axios.post(`${this.rootUrl}documentation/${this.getDestination()}/${this.getLocationId()}/list/files/`).then((e=>{this.$store.commit({type:"updateDocumentList",documentList:e.data})})).catch((e=>{this.$store.dispatch("newToast",{header:"Error getting Document List",message:`Can not retrieve document list. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))},getFolderList(){0!==this.getLocationId()&&this.axios.post(`${this.rootUrl}documentation/${this.getDestination()}/${this.getLocationId()}/list/folders/`).then((e=>{this.$store.commit({type:"updateFolderList",folderList:e.data})}))},getIcon(e){if(""!==e.document_key__document_url_location&&null!==e.document_key__document_url_location)return this.icons.linkOut;const t=e.document_key__document.split(".");switch(t[t.length-1]){case"jpg":case"png":case"bmp":return this.icons.imageIcon;case"doc":case"docx":return this.icons.microsoftWord;case"xls":case"xlsx":return this.icons.microsoftExcel;case"ppt":case"pptx":return this.icons.microsoftPowerpoint;case"pdf":return this.icons.documentPdf;default:return this.icons.documentText}},getLocationId(){return""!==this.overrideDestination?this.overrideLocationId:this.locationId},goToParentDirectory(){this.$store.dispatch("goToParentDirectory",{})},shortName:e=>e.length<=50?e:`${e.substring(0,47)}...`,updateCurrentFolder(e){this.$store.commit({type:"updateCurrentFolder",currentFolder:e})},uploadDocument(){const e=document.getElementById("cardInformationModalCloseButton");null!==e&&e.click(),new D.u_(document.getElementById("uploadDocumentModal")).show()}},mounted(){this.$nextTick((()=>{this.getDocumentList(),this.getFolderList()}))}},F=(0,o(3744).Z)(I,[["render",function(e,t,o,D,v,k){const w=(0,i.up)("Icon");return(0,i.wg)(),(0,i.iD)("div",null,[(0,i._)("h2",null,[(0,i.Wm)(w,{icon:e.icons.bxBriefcase},null,8,["icon"]),(0,i.Uk)(" Documents ")]),(0,i._)("p",d," The following is a folder structure of all documents uploaded to this "+(0,n.toDisplayString)(this.getDestination()),1),(0,i.kq)(" DOCUMENT FOLDER TREE "),0===parseInt(e.documentObjectCount)?((0,i.wg)(),(0,i.iD)("div",s,a)):((0,i.wg)(),(0,i.iD)("div",l,[(0,i.kq)(" GO TO PARENT DIRECTORY "),0!==this.currentFolder?((0,i.wg)(),(0,i.iD)("div",{key:0,onClick:t[0]||(t[0]=e=>k.goToParentDirectory()),class:"document--child"},[(0,i.Wm)(w,{icon:e.icons.arrowUp,width:"80px",height:"80px"},null,8,["icon"]),r])):(0,i.kq)("v-if",!0),(0,i.kq)(" RENDER THE FOLDERS "),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.folderFilteredList,(t=>((0,i.wg)(),(0,i.iD)("div",{key:t.pk,class:"document--child"},[(0,i._)("a",{href:"javascript:void(0)",onClick:e=>k.updateCurrentFolder(t.pk)},[(0,i.Wm)(w,{icon:e.icons.folderIcon,width:"80px",height:"80px"},null,8,["icon"]),(0,i._)("p",u,(0,n.toDisplayString)(k.shortName(t.fields.folder_description)),1)],8,c),(0,i.kq)(" REMOVE FOLDER "),e.userLevel>=2?((0,i.wg)(),(0,i.iD)("div",m,[(0,i.Wm)(w,{icon:e.icons.trashCan,onClick:e=>k.confirmFolderDelete(t.pk)},null,8,["icon","onClick"])])):(0,i.kq)("v-if",!0)])))),128)),(0,i.kq)(" RENDER THE FILES "),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.documentFilteredList,(t=>((0,i.wg)(),(0,i.iD)("div",{key:t.document_key_id,class:"document--child"},[(0,i._)("a",{href:`/private/${t.document_key_id}/`,rel:"noopener noreferrer",target:"_blank"},[(0,i.Wm)(w,{icon:k.getIcon(t),width:"80px",height:"80px"},null,8,["icon"]),(0,i._)("p",h,(0,n.toDisplayString)(k.shortName(t.document_key__document_description)),1)],8,p),(0,i.kq)(" REMOVE DOCUMENT "),e.userLevel>=2?((0,i.wg)(),(0,i.iD)("div",g,[(0,i.Wm)(w,{icon:e.icons.trashCan,onClick:e=>k.confirmFileDelete(t.document_key_id)},null,8,["icon","onClick"])])):(0,i.kq)("v-if",!0)])))),128))])),(0,i.kq)(" ADD DOCUMENTS AND FOLDER BUTTON "),b,!1===o.readOnly?((0,i.wg)(),(0,i.iD)("div",_,[e.userLevel>1?((0,i.wg)(),(0,i.iD)("button",y," New Document/File ")):(0,i.kq)("v-if",!0),(0,i._)("ul",f,[(0,i._)("li",null,[(0,i._)("a",{class:"dropdown-item",href:"javascript:void(0)",onClick:t[1]||(t[1]=(...e)=>k.uploadDocument&&k.uploadDocument(...e))}," Upload Document ")]),(0,i._)("li",null,[(0,i._)("a",{class:"dropdown-item",href:"javascript:void(0)",onClick:t[2]||(t[2]=(...e)=>k.addLink&&k.addLink(...e))}," Add Link ")]),(0,i._)("li",null,[(0,i._)("a",{class:"dropdown-item",href:"javascript:void(0)",onClick:t[3]||(t[3]=(...e)=>k.addFolder&&k.addFolder(...e))}," Add Folder ")])])])):(0,i.kq)("v-if",!0)])}]])},5007:(e,t,o)=>{o.d(t,{Z:()=>v});var i=o(6252),n=o(3577);const d={key:0,class:"module-spacer"},s={class:"alert alert-dark"},a={key:1,class:"note-history"},l={class:"note-history--profile"},r=["src"],c={class:"note-history--username"},u={class:"note-history--date"},m={key:0,class:"note-history--edit-button"},p=["onClick"],h=["onClick"],g={class:"note-history--note"};var b=o(7267),_=o(3138),y=o(989),f=o(431);const D={name:"ListNotes",components:{editor:b.Z},mixins:[f.Z],props:{destination:{type:String,default:""}},computed:{...(0,y.Se)({contentCss:"getContentCss",noteList:"getNoteList",rootUrl:"getRootUrl",staticUrl:"getStaticUrl",skin:"getSkin"})},methods:{deleteNote(e){if(this.$store.dispatch({type:"updateNoteId",noteId:e}),new _.u_(document.getElementById("confirmNoteDeleteModal")).show(),"card"===this.destination){const e=document.getElementById("cardInformationModalCloseButton");void 0!==e&&e.click()}},editNote(e){if(this.$store.dispatch({type:"updateNoteId",noteId:e}),new _.u_(document.getElementById("editNoteModal")).show(),"card"===this.destination){const e=document.getElementById("cardInformationModalCloseButton");void 0!==e&&e.click()}},profilePicture(e){return null!==e&&""!==e?`${this.rootUrl}private/${e}/`:`${this.staticUrl}NearBeach/images/placeholder/people_tax.svg`}}},v=(0,o(3744).Z)(D,[["render",function(e,t,o,b,_,y){const f=(0,i.up)("editor");return(0,i.wg)(),(0,i.iD)("div",null,[(0,i.kq)(" NOTE HISTORY "),0===e.noteList.length?((0,i.wg)(),(0,i.iD)("div",d,[(0,i._)("div",s," Sorry - but there are no notes for this "+(0,n.toDisplayString)(o.destination)+". ",1)])):((0,i.wg)(),(0,i.iD)("div",a,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.noteList,(t=>((0,i.wg)(),(0,i.iD)("div",{class:"note-history--row",key:t.object_note_id},[(0,i._)("div",l,[(0,i._)("img",{src:y.profilePicture(t.profile_picture),alt:"default profile",class:"note-history--profile-picture"},null,8,r),(0,i._)("div",c,(0,n.toDisplayString)(t.first_name)+" "+(0,n.toDisplayString)(t.last_name),1),(0,i._)("div",u,(0,n.toDisplayString)(e.getNiceDatetime(t.date_modified)),1),"true"===t.can_edit?((0,i.wg)(),(0,i.iD)("div",m,[(0,i._)("button",{type:"button",class:"btn btn-outline-secondary",onClick:e=>y.editNote(t.object_note_id)}," Edit Note ",8,p),(0,i._)("button",{type:"button",class:"btn btn-outline-danger",onClick:e=>y.deleteNote(t.object_note_id)}," Delete Note ",8,h)])):(0,i.kq)("v-if",!0)]),(0,i._)("div",g,[(0,i.Wm)(f,{init:{height:250,menubar:!1,plugins:["lists","image","codesample","table"],toolbar:[],skin:`${this.skin}`,content_css:`${this.contentCss}`},modelValue:t.object_note,"onUpdate:modelValue":e=>t.object_note=e,disabled:!0},null,8,["init","modelValue","onUpdate:modelValue"])])])))),128))]))])}]])},9401:(e,t,o)=>{o.d(t,{Z:()=>I});var i=o(6252),n=o(9963);const d={class:"modal fade",id:"addFolderModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},s={class:"modal-dialog modal-lg"},a={class:"modal-content"},l={class:"modal-header"},r=(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"addFolderCloseButton"},[(0,i._)("span",{"aria-hidden":"true"})],-1),c={class:"modal-body"},u={class:"row"},m=(0,i._)("div",{class:"col-md-4"},[(0,i._)("strong",null,"Creating a folder"),(0,i._)("p",{class:"text-instructions"},' Give the folder an appropriate name. When done, click on the "Save" button. It will be added to the current folder. ')],-1),p={class:"col-md-8"},h={class:"form-group"},g=(0,i._)("label",{for:"folder_description"},"Folder Name",-1),b={class:"modal-footer"},_=(0,i._)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1),y=["disabled"];var f=o(6542),D=(o(3138),o(989)),v=o(5808),k=o(1295);const w={name:"AddFolderWizard",components:{Icon:f.JO},props:{destination:{type:String,default:"/"},locationId:{type:Number,default:0}},mixins:[v.Z,k.Z],data:()=>({disableAddFolderButton:!0,folderDescriptionModel:""}),computed:{...(0,D.Se)({existingFolders:"getFolderFilteredList",currentFolder:"getCurrentFolder",rootUrl:"getRootUrl"})},methods:{addFolder(){const e=new FormData;e.set("folder_description",this.folderDescriptionModel),this.currentFolder>0&&e.set("parent_folder",this.currentFolder),this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/add_folder/`,e).then((e=>{this.$store.dispatch("appendFolderList",{folderList:e.data[0]}),this.folderDescriptionModel="",document.getElementById("addFolderCloseButton").click(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Failed to add folder",message:`Failed to add folder. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))}},updated(){const e=this.existingFolders.filter((e=>e.fields.folder_description===this.folderDescriptionModel));this.disableAddFolderButton=e.length>0||""===this.folderDescriptionModel||null===this.folderDescriptionModel}},I=(0,o(3744).Z)(w,[["render",function(e,t,o,f,D,v){const k=(0,i.up)("Icon");return(0,i.wg)(),(0,i.iD)("div",d,[(0,i._)("div",s,[(0,i._)("div",a,[(0,i._)("div",l,[(0,i._)("h2",null,[(0,i.Wm)(k,{icon:e.icons.userIcon},null,8,["icon"]),(0,i.Uk)(" Add Folder Wizard ")]),r]),(0,i._)("div",c,[(0,i._)("div",u,[m,(0,i._)("div",p,[(0,i._)("div",h,[g,(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=e=>D.folderDescriptionModel=e),class:"form-control",id:"folder_description",maxlength:"50"},null,512),[[n.vModelText,D.folderDescriptionModel]])])])])]),(0,i._)("div",b,[_,(0,i._)("button",{type:"button",class:"btn btn-primary",disabled:D.disableAddFolderButton,onClick:t[1]||(t[1]=(...e)=>v.addFolder&&v.addFolder(...e))}," Add Folder ",8,y)])])])])}]])},9601:(e,t,o)=>{o.d(t,{Z:()=>L});var i=o(6252),n=o(9963);const d={class:"modal fade",id:"addLinkModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},s={class:"modal-dialog modal-lg"},a={class:"modal-content"},l={class:"modal-header"},r=(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"addLinkCloseButton"},[(0,i._)("span",{"aria-hidden":"true"})],-1),c={class:"modal-body"},u={class:"row"},m=(0,i._)("div",{class:"col-md-4"},[(0,i._)("strong",null,"Add Link"),(0,i._)("p",{class:"text-instruction"}," Add hyperlinks to other documents and sources located in on the internet/cloud. ")],-1),p={class:"col-md-8"},h={class:"form-group"},g={for:"document_description"},b={key:0,class:"error"},_={class:"form-group"},y={for:"document_url_location"},f={class:"modal-footer"},D=(0,i._)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1),v=["disabled"];var k=o(6542),w=o(989),I=o(5808),F=o(5705),x=o(760),M=o(7939);o(3138),o(1295);const U={name:"AddLinkWizard",setup:()=>({v$:(0,F.ZP)()}),components:{Icon:k.JO,ValidationRendering:M.Z},props:{destination:{type:String,default:"/"},locationId:{type:Number,default:0}},mixins:[I.Z],data:()=>({linkModel:"",disableAddButton:!0,documentDescriptionModel:"",documentUrlLocationModel:"",duplicateDescription:!1}),validations:{documentDescriptionModel:{required:x.C1},documentUrlLocationModel:{required:x.C1,url:x.HQ}},computed:{...(0,w.Se)({currentFolder:"getCurrentFolder",excludeDocuments:"getDocumentFilteredList",rootUrl:"getRootUrl"})},methods:{addLink(){const e=new FormData;e.set("document_description",this.documentDescriptionModel),e.set("document_url_location",this.documentUrlLocationModel),this.currentFolder>0&&e.set("parent_folder",this.currentFolder),this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/add_link/`,e).then((e=>{this.$store.dispatch("appendDocumentList",{documentList:e.data[0]}),this.documentDescriptionModel="",this.documentUrlLocationModel="",document.getElementById("addLinkCloseButton").click(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Error Adding Link",message:`Sorry, could not add the link for you. Error - ${e}`,extra_classes:"bg-danger",delay:0})}))}},updated(){const e=this.excludeDocuments.filter((e=>e.document_key__document_description===this.documentDescriptionModel));this.duplicateDescription=e.length>0,this.v$.$touch(),this.disableAddButton=this.v$.$invalid||e.length>0}},L=(0,o(3744).Z)(U,[["render",function(e,t,o,k,w,I){const F=(0,i.up)("Icon"),x=(0,i.up)("validation-rendering");return(0,i.wg)(),(0,i.iD)("div",d,[(0,i._)("div",s,[(0,i._)("div",a,[(0,i._)("div",l,[(0,i._)("h2",null,[(0,i.Wm)(F,{icon:e.icons.userIcon},null,8,["icon"]),(0,i.Uk)(" Add Link Wizard ")]),r]),(0,i._)("div",c,[(0,i._)("div",u,[m,(0,i._)("div",p,[(0,i._)("div",h,[(0,i._)("label",g,[(0,i.Uk)(" Document Description "),(0,i.Wm)(x,{"error-list":k.v$.documentDescriptionModel.$errors},null,8,["error-list"]),w.duplicateDescription?((0,i.wg)(),(0,i.iD)("span",b," Sorry - but this is a duplicated description.")):(0,i.kq)("v-if",!0)]),(0,i.wy)((0,i._)("input",{id:"document_description","onUpdate:modelValue":t[0]||(t[0]=e=>w.documentDescriptionModel=e),class:"form-control",maxlength:"50",placeholder:"NearBeach Homepage"},null,512),[[n.vModelText,w.documentDescriptionModel]])]),(0,i._)("div",_,[(0,i._)("label",y,[(0,i.Uk)(" Document URL "),(0,i.Wm)(x,{"error-list":k.v$.documentUrlLocationModel.$errors},null,8,["error-list"])]),(0,i.wy)((0,i._)("input",{id:"document_url_location","onUpdate:modelValue":t[1]||(t[1]=e=>w.documentUrlLocationModel=e),class:"form-control",placeholder:"https://nearbeach.org"},null,512),[[n.vModelText,w.documentUrlLocationModel]])])])])]),(0,i._)("div",f,[D,(0,i._)("button",{type:"button",class:"btn btn-primary",onClick:t[2]||(t[2]=(...e)=>I.addLink&&I.addLink(...e)),disabled:w.disableAddButton}," Add Link ",8,v)])])])])}]])},5014:(e,t,o)=>{o.d(t,{Z:()=>m});var i=o(6252);const n={class:"modal fade",id:"confirmFileDeleteModal",tabindex:"-1","data-bs-backdrop":"static","data-bs-keyboard":"false","aria-labelledby":"confirmFileDelete","aria-hidden":"true"},d={class:"modal-dialog"},s={class:"modal-content"},a=(0,i._)("div",{class:"modal-header"},[(0,i._)("h5",{class:"modal-title",id:"confirmFileDelete"}," Please confirm File Deletion "),(0,i.kq)(" TASK INFORMATION "),(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"confirmFileDeleteButton"})],-1),l=(0,i._)("div",{class:"modal-body"}," Are you sure you want to delete the file? ",-1),r={class:"modal-footer"};var c=o(989);o(3138);const u={name:"ConfirmFileDelete",mixins:[o(1295).Z],computed:{...(0,c.Se)({destination:"getDestination",documentRemoveKey:"getDocumentRemoveKey",locationId:"getLocationId",rootUrl:"getRootUrl"})},methods:{deleteFile(){if(""===this.documentRemoveKey)return;const e=this.documentRemoveKey,t=new FormData;t.set("document_key",this.documentRemoveKey),this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/remove/`,t).then((()=>{this.$store.dispatch("removeDocument",{document_key:e}),this.closeModal()})).catch((e=>{this.$store.dispatch("newToast",{header:"Error removing file",message:`We could not remove your file. Error - ${e}`,extra_classes:"bg-danger",delay:0})})),this.closeModal()},closeModal(){this.$store.commit({type:"updateDocumentRemoveKey",documentRemoveKey:""}),document.getElementById("confirmFileDeleteButton").click(),this.reopenCardInformation()}}},m=(0,o(3744).Z)(u,[["render",function(e,t,o,c,u,m){return(0,i.wg)(),(0,i.iD)("div",n,[(0,i._)("div",d,[(0,i._)("div",s,[a,l,(0,i._)("div",r,[(0,i._)("button",{type:"button",class:"btn btn-secondary",onClick:t[0]||(t[0]=(...e)=>m.closeModal&&m.closeModal(...e))}," No "),(0,i._)("button",{type:"button",class:"btn btn-primary",onClick:t[1]||(t[1]=(...e)=>m.deleteFile&&m.deleteFile(...e))}," Yes ")])])])])}]])},3027:(e,t,o)=>{o.d(t,{Z:()=>f});var i=o(6252);const n={class:"modal fade",id:"newNoteModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},d={class:"modal-dialog modal-lg",role:"document"},s={class:"modal-content"},a={class:"modal-header"},l=(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"newNoteCloseButton"},[(0,i._)("span",{"aria-hidden":"true"})],-1),r={class:"modal-body"},c=(0,i._)("p",{class:"text-instructions"}," Use the text editor to type out your note. Click on the submit button to submit the note. ",-1),u={class:"modal-footer"},m=["disabled"],p=(0,i._)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1);var h=o(5808),g=o(6542),b=o(7267),_=o(989);const y={name:"NewHistoryNoteWizard",components:{editor:b.Z,Icon:g.JO},props:{destination:{type:String,default:""},locationId:{type:Number,default:0}},mixins:[h.Z],data:()=>({newNoteModel:""}),computed:{...(0,_.Se)({contentCss:"getContentCss",rootUrl:"getRootUrl",skin:"getSkin"})},methods:{submitNote(){this.$store.dispatch("newToast",{header:"Submitting new note",message:"Please wait. Submitting new note",extra_classes:"bg-warning text-dark",delay:0,unique_type:"submit_note"});const e=new FormData;e.set("destination",this.destination),e.set("location_id",`${this.locationId}`),e.set("note",this.newNoteModel);let t="add_notes";"organisation"===this.destination&&(t="organisation_add_notes"),this.axios.post(`${this.rootUrl}object_data/${this.destination}/${this.locationId}/${t}/`,e).then((e=>{this.$store.dispatch("newToast",{header:"New Note Submitted",message:"The new note submitted successfully.",extra_classes:"bg-success",unique_type:"submit_note"}),this.$store.commit({type:"addNote",newNote:e.data[0]}),this.newNoteModel="",document.getElementById("newNoteCloseButton").click()})).catch((e=>{this.$store.dispatch("newToast",{header:"Error Submitting Note",message:`Sorry, the note did not submit. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"submit_note"})}))}}},f=(0,o(3744).Z)(y,[["render",function(e,t,o,h,g,b){const _=(0,i.up)("Icon"),y=(0,i.up)("editor");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.kq)(" NEW HISTORY NOTE "),(0,i._)("div",n,[(0,i._)("div",d,[(0,i._)("div",s,[(0,i._)("div",a,[(0,i._)("h2",null,[(0,i.Wm)(_,{icon:e.icons.noteAdd},null,8,["icon"]),(0,i.Uk)(" New Note ")]),l]),(0,i._)("div",r,[c,(0,i.Wm)(y,{init:{height:300,menubar:!1,plugins:["lists","codesample","table"],toolbar:"undo redo | blocks | bold italic strikethrough underline backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | table image codesample",skin:`${this.skin}`,content_css:`${this.contentCss}`},modelValue:g.newNoteModel,"onUpdate:modelValue":t[0]||(t[0]=e=>g.newNoteModel=e)},null,8,["init","modelValue"])]),(0,i._)("div",u,[(0,i._)("button",{type:"button",class:"btn btn-primary",disabled:""==g.newNoteModel,onClick:t[1]||(t[1]=(...e)=>b.submitNote&&b.submitNote(...e))}," Submit Note ",8,m),p])])])])],2112)}]])},4657:(e,t,o)=>{o.d(t,{Z:()=>q});var i=o(6252),n=o(3577),d=o(9963);const s={class:"modal fade",id:"uploadDocumentModal","data-bs-backdrop":"static","data-bs-keyboard":"false",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},a={class:"modal-dialog modal-lg"},l={class:"modal-content"},r={class:"modal-header"},c=(0,i._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"uploadDocumentCloseButton"},[(0,i._)("span",{"aria-hidden":"true"})],-1),u={class:"modal-body"},m={class:"row"},p={class:"col-md-4"},h=(0,i._)("strong",null,"Uploading File",-1),g={class:"text-instructions"},b={key:0},_={key:1},y={key:2},f={class:"col-md-8"},D={key:0,class:"form-file"},v={class:"mb-3"},k={for:"document",class:"form-label"},w=(0,i._)("br",null,null,-1),I={key:0,class:"alert alert-warning"},F=["accept"],x={key:1,class:"form-group"},M={class:"form-group"},U=(0,i._)("label",{for:"documentDescription"},"Document Description",-1),L=(0,i._)("br",null,null,-1),C={class:"form-row"},$={key:2},E={key:0,class:"alert alert-warning"},N=(0,i._)("div",{class:"spinner-border text-primary",role:"status"},[(0,i._)("span",{class:"sr-only"},"Loading...")],-1),S=(0,i._)("div",{class:"alert alert-success"}," The document has been uploaded. The server is currently writing the file to disk. Please be patient - this modal will close automatically. Thank you ",-1),B={class:"modal-footer"},T=(0,i._)("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"modal"}," Close ",-1),Z=["disabled"];var R=o(6542),O=(o(3138),o(989)),W=o(5808),A=o(1295);const P={name:"UploadDocumentWizard",components:{Icon:R.JO},props:{overrideDestination:{type:String,default:""},overrideLocationId:{type:Number,default:0}},mixins:[W.Z,A.Z],data:()=>({disableUploadButton:!0,documentModel:[],documentDescriptionModel:"",uploadPercentage:"",maxUploadSize:0,maxUploadString:"No Upload Limit",maxUploadWarning:!1}),computed:{...(0,O.Se)({acceptedDocuments:"getAcceptedDocuments",currentFolder:"getCurrentFolder",destination:"getDestination",excludeDocuments:"getDocumentFilteredList",locationId:"getLocationId",staticUrl:"getStaticUrl",rootUrl:"getRootUrl"})},methods:{getDestination(){return""!==this.overrideDestination?this.overrideDestination:this.destination},getLocationId(){return""!==this.overrideDestination?this.overrideLocationId:this.locationId},handleFileUploads(e){e[0].size*(0!==this.maxUploadSize)>this.maxUploadSize?this.maxUploadWarning=!0:(this.maxUploadWarning=!1,this.documentModel=e[0],this.documentDescriptionModel=e[0].name)},resetForm(){this.documentModel="",this.documentDescriptionModel="",this.uploadPercentage=""},uploadFile(){const e=new FormData;e.set("document",this.documentModel,this.documentDescriptionModel),e.set("document_description",this.documentDescriptionModel),this.currentFolder>0&&e.set("parent_folder",this.currentFolder);const t={onUploadProgress:e=>{this.uploadPercentage=parseFloat(e.loaded)/parseFloat(e.total)}};this.axios.post(`${this.rootUrl}documentation/${this.getDestination()}/${this.getLocationId()}/upload/`,e,t).then((e=>{this.$store.dispatch("appendDocumentList",{documentList:e.data[0]}),document.getElementById("uploadDocumentCloseButton").click(),this.resetForm(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Failed to upload documentation",message:`Can not upload the documentation. ${e}`,extra_classes:"bg-danger",delay:0})}))}},watch:{maxUploadSize(){if(0===this.maxUploadSize)return"No Upload Limit";const e=Math.floor(Math.log(this.maxUploadSize)/Math.log(1024));this.maxUploadString=`Max Upload Size: ${parseFloat((this.maxUploadSize/Math.pow(1024,e)).toFixed(2))} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][e]}`}},updated(){const e=this.excludeDocuments.filter((e=>e.document_key__document_description===this.documentDescriptionModel));this.disableUploadButton=""===this.documentModel||0===this.documentDescriptionModel.length||e.length>0},mounted(){this.$nextTick((()=>{this.axios.post(`${this.rootUrl}documentation/get/max_upload/`).then((e=>{this.maxUploadSize=e.data.max_upload_size})).catch((()=>{this.$store.dispatch("newToast",{header:"Failed to get the max upload size",message:`Had an issue getting data from backend. ${this.maxUploadString}`,extra_classes:"bg-danger",delay:0})}))}))}},q=(0,o(3744).Z)(P,[["render",function(e,t,o,R,O,W){const A=(0,i.up)("Icon");return(0,i.wg)(),(0,i.iD)("div",s,[(0,i._)("div",a,[(0,i._)("div",l,[(0,i._)("div",r,[(0,i._)("h2",null,[(0,i.Wm)(A,{icon:e.icons.userIcon},null,8,["icon"]),(0,i.Uk)(" Upload Document Wizard ")]),c]),(0,i._)("div",u,[(0,i._)("div",m,[(0,i._)("div",p,[h,(0,i._)("p",g," You will be able to upload a file against this "+(0,n.toDisplayString)(W.getDestination)+". It will appear in the current folder. ",1),0===O.documentModel.length?((0,i.wg)(),(0,i.iD)("p",b,' 1. Please click on "Upload File" button to upload a file ')):""===O.uploadPercentage?((0,i.wg)(),(0,i.iD)("p",_,' 2. Please modify the document descript to be more human readable. Or click the "Reset" button to remove the uploaded file. ')):((0,i.wg)(),(0,i.iD)("p",y," 3. Document is currently uploading. Please be patient. "))]),(0,i._)("div",f,[0===O.documentModel.length?((0,i.wg)(),(0,i.iD)("div",D,[(0,i._)("div",v,[(0,i._)("label",k,[(0,i.Uk)(" Please upload a file"),w,(0,i.Uk)(" "+(0,n.toDisplayString)(O.maxUploadString)+" ",1),O.maxUploadWarning?((0,i.wg)(),(0,i.iD)("div",I," Sorry - file too large ")):(0,i.kq)("v-if",!0)]),(0,i._)("input",{type:"file",class:"form-control",id:"document",accept:e.acceptedDocuments,onChange:t[0]||(t[0]=e=>W.handleFileUploads(e.target.files))},null,40,F)])])):""==O.uploadPercentage?((0,i.wg)(),(0,i.iD)("div",x,[(0,i.kq)(" DOCUMENT DESCRIPTION "),(0,i._)("div",M,[U,(0,i.wy)((0,i._)("input",{id:"documentDescription","onUpdate:modelValue":t[1]||(t[1]=e=>O.documentDescriptionModel=e),type:"text",class:"form-control"},null,512),[[d.vModelText,O.documentDescriptionModel]])]),(0,i.kq)(" RESET FORM BUTTON "),L,(0,i._)("div",C,[(0,i._)("button",{onClick:t[2]||(t[2]=(...e)=>W.resetForm&&W.resetForm(...e)),class:"btn btn-warning"}," Reset Form ")])])):((0,i.wg)(),(0,i.iD)("div",$,[(0,i.kq)(" THE UPLOAD SPINNER "),parseFloat(O.uploadPercentage).toFixed(0)<1?((0,i.wg)(),(0,i.iD)("div",E,[(0,i.Uk)(" Uploading "+(0,n.toDisplayString)((100*parseFloat(O.uploadPercentage)).toFixed(2))+"% ",1),N])):((0,i.wg)(),(0,i.iD)(i.HY,{key:1},[(0,i.kq)(" THE FINAL WRITING "),S],2112))]))])])]),(0,i._)("div",B,[T,(0,i._)("button",{type:"button",class:"btn btn-primary",disabled:O.disableUploadButton,onClick:t[3]||(t[3]=(...e)=>W.uploadFile&&W.uploadFile(...e))}," Upload File ",8,Z)])])])])}]])},7939:(e,t,o)=>{o.d(t,{Z:()=>s});var i=o(6252),n=o(3577);const d={name:"ValidationRendering",props:{errorList:{type:Array,default:()=>[]}}},s=(0,o(3744).Z)(d,[["render",function(e,t,o,d,s,a){return(0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(o.errorList,(e=>((0,i.wg)(),(0,i.iD)("span",{class:"error",key:e.$uid},(0,n.toDisplayString)(e.$message),1)))),128)}]])},431:(e,t,o)=>{o.d(t,{Z:()=>n});var i=o(7126);const n={methods:{getNiceDatetime:e=>""===e||null==e?"":i.ou.fromISO(e).toLocaleString(i.ou.DATETIME_MED),getNiceDate:e=>""===e||null==e?"":i.ou.fromISO(e).toLocaleString(i.ou.DATE_MED_WITH_WEEKDAY),disableDate(e){const t=new Date;return t.setMilliseconds(0),t.setSeconds(0),t.setHours(0),e<=t.getTime()-36e5}}}},624:(e,t,o)=>{o.d(t,{Z:()=>n});var i=o(7449);const n={data:()=>({darkTheme:i.$}),methods:{getTheme:e=>"dark"===e?i.$:null}}},5808:(e,t,o)=>{o.d(t,{Z:()=>U});var i=o(3985),n=o(5555),d=o(1826),s=o(6443),a=o(1327),l=o(8521),r=o(1056),c=o(4324),u=o(9672),m=o(9867),p=o(1239),h=o(5004),g=o(1321),b=o(1216),_=o(5550),y=o(7702),f=o(7903),D=o(2606),v=o(3843),k=o(2393),w=o(3360),I=o(9714),F=o(1323),x=o(2610),M=o(5968);const U={data:()=>({icons:{arrowUp:i.Z,bugIcon:n.Z,bxBriefcase:d.Z,cardChecklist:s.Z,clipboardIcon:a.Z,documentPdf:l.Z,documentText:r.Z,folderIcon:c.Z,groupPresentation:u.Z,imageIcon:m.Z,infoCircle:p.Z,linkIcon:h.Z,linkIcon2:g.Z,linkOut:b.Z,mailIcon:_.Z,microsoftExcel:y.Z,microsoftPowerpoint:f.Z,microsoftWord:D.Z,noteAdd:v.Z,objectStorage:k.Z,passwordIcon:w.Z,trashCan:I.Z,userIcon:F.Z,usersIcon:x.Z,xCircle:M.Z}})}},1295:(e,t,o)=>{o.d(t,{Z:()=>n});var i=o(3138);const n={methods:{reopenCardInformation(){let e=document.getElementById("cardInformationModal");null!==e&&(e=new i.u_(e),e.show()),setTimeout((()=>{const e=document.getElementsByClassName("modal-backdrop fade show");e.length>1&&e[0].remove()}),200)}}}}}]);
\ No newline at end of file
diff --git a/NearBeach/static/NearBeach/8413.min.js.gz b/NearBeach/static/NearBeach/8413.min.js.gz
new file mode 100644
index 0000000000000000000000000000000000000000..2e09f25026d20e7718100b462e7f5f2e2e3a0f43
GIT binary patch
literal 6665
zcmV+k8usNI)pYhWYXEqx`
zB?Y>LPC#y@|Kou5$PGi4wv19BOT`tud>fU2$x?)-hO6b*qX(ntV%
zaQS;v&AH0EJYL9@BkWvh+?3K1bk0>ly!Zb9(gt9FML1@gATN>B#q`rI7KhIS&WI2bn>b9bLAdv5p+?NYbe-rT8J7$Ki
zZ4yds%-?2{4X36V*LO9HgEJk>6|7ccUyx9#`D^$^pMri7KDGBZ7O?2!_W-oqsL20x9Sji^
zC)yB;1U5f{9b)5y|MFFCRs7|EUAgXF*h@57)TiCPV`auKMCO`vNWTg2vXnpt=G2sL
z*;FqSiUUFMkBrGcsH`kqf#z
z&CVLQbqXkr9RgiEGQG7AI7c5pX#8D~MjjuU%DJ+jTtamtE9%7*qDM7(Bn#>u0`zRa
z>!a41-l$S~!({SMQGli&b9C(k@4YkO{x`TRAJgXNHbg>_k5_0FeMd{-6&Vtpcx9^;
zs+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wZsT_H#jV#iUy#O5X1Wn8B0N^|EQ1)
zF0)-xejITMeEe6j(&+}DOM0R6c$09Faj5l?#|zibp3F_SMOT6rNJq1lxO1?Vulsoq
z+~B14hC`#B)F2%)zC<@ktsY5`@*efcptGmdwCZzy)9ZBbU~Xy5HM2A1qS(QzJ%UCr_nrd?;E^OAVu5oJ?3p
zDFrSuwRRtvPhSuKV5wXE-f?TeXJuj9ofk=9zs_aFTvMtDcS(tE?W)pBqpM3qmdi@v
z7OpEzwGFlYQigMf^J$I%rMWi)@h-aY?KBpJ!h!2c-7vS@)&n;yS)tsq;VWdWESZnH
zQ^~#H7Nu!MnET^+FmE5RH~ED*wR(@MDUL)>i^6CIH`;0V2wF#y1;6{hG}uL*xCTZ@
zalBFAS0}z%I`!C2CCj*-OXTrk_9e9pn)Ev9AnF3QaTyBil!F7SldFgka~jkx`4P(P
zq|UnWjs`wLc}^3D%bJBcj}a>q_8s1
z-I4Ub*zwNSNe(_vDf;J5%!>NB;1-;sY*9W1@$Syi953hW3ZIsZBq(7KB59JbqO#%Q
z-LX}fZCQ1=n2>Xp{l@C;qKF8Cw)=|9FAD*+wqv_1LOj1)BuEoF3oyVx?71=o2WMB$
TkeyC+7aB6S{i.d(t,{Z:()=>D});var o=i(6252),s=i(3577);const a=(0,o._)("h2",null,"Public Links",-1),n=(0,o._)("p",{class:"text-instructions"}," The following will be public links you can send to clients. The links will contain certain information of the current object. i.e. it's status and description. Becareful who you send the links too! ",-1),l={key:0,class:"alert alert-info"},d={key:1,class:"alert alert-info"},r={key:2,class:"table table-striped"},c=(0,o._)("td",null,"Public Link",-1),u=(0,o._)("td",{style:{"text-align":"center",width:"100px"}},"Is Active",-1),h={key:0,style:{width:"10px"}},b=["onClick"],p={style:{"text-align":"center"}},g=["checked","data-public-link-id"],m={key:0},_={class:"remove-link"},k={key:3,class:"row submit-row"},y={class:"col-md-12"};var f=i(989),v=i(6542),w=i(5808);const $={name:"ListPublicLinks",props:{isReadOnly:{type:Boolean,default:!1},overrideDestination:{type:String,default:""},overrideLocationId:{type:Number,default:0}},data:()=>({isFetchingData:!0,publicLinkResults:[]}),watch:{overrideLocationId(){this.getPublicLinks()}},components:{Icon:v.JO},computed:{...(0,f.Se)({destination:"getDestination",locationId:"getLocationId",rootUrl:"getRootUrl",userLevel:"getUserLevel"})},mixins:[w.Z],methods:{async copyPublicLink(e){const t=`${window.location.origin}${this.rootUrl}public/${this.getDestination()}/${this.getLocationId()}/${e}/`;try{await navigator.clipboard.writeText(t),this.$store.dispatch("newToast",{header:"Public Link Copied",message:"Public Link has successfully copied to the clipboard",extra_classes:"bg-success"})}catch(e){this.$store.dispatch("newToast",{header:"Can not copy public link",message:"Sorry, we failed to copy the public link",extra_classes:"bg-danger",delay:0})}},createPublicLink(){this.$store.dispatch("newToast",{header:"Creating New Toast",message:"Please wait whilst we create the toast",extra_classes:"bg-warning text-dark",delay:0,unique_type:"create_public_link"}),this.axios.post(`${this.rootUrl}public_data/${this.getDestination()}/${this.getLocationId()}/create/`).then((e=>{this.$store.dispatch("newToast",{header:"Successful new Public Link",message:"We have been able to create a new public link",extra_classes:"bg-success",unique_type:"create_public_link"}),this.publicLinkResults=e.data})).catch((e=>{this.$store.dispatch("newToast",{header:"Can not create new public link",message:`Sorry, we failed to create the new public link. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"create_public_link"})}))},deletePublicLink(e){const t=new FormData;t.set("public_link_id",e),this.$store.dispatch("newToast",{header:"Deleting Public Link",message:"Deleting Public Link",extra_classes:"bg-warning text-dark",delay:0,unique_type:"public_link_delete"}),this.axios.post(`${this.rootUrl}public_data/${this.getDestination()}/${this.getLocationId()}/delete/`,t).then((()=>{this.publicLinkResults=this.publicLinkResults.filter((t=>t.public_link_id!==e)),this.$store.dispatch("newToast",{header:"Successfully Deleted Public Link",message:"Successfully Deleted Public Link",extra_classes:"bg-success",unique_type:"public_link_delete"})})).catch((e=>{this.$store.dispatch("newToast",{header:"Error Deleting Public Link",message:`Error - could not delete link. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"public_link_delete"})}))},formatUrl(e){if(""===e||void 0===e)return"Data error!";const t=e.slice(0,7);return`${window.location.origin}${this.rootUrl}public/${this.getDestination()}/${this.getLocationId()}/${t}...`},getDestination(){return""!==this.overrideDestination?this.overrideDestination:this.destination},getLocationId(){return""!==this.overrideDestination?this.overrideLocationId:this.locationId},getPublicLinks(){0!==this.getLocationId()&&this.axios(`${this.rootUrl}public_data/${this.getDestination()}/${this.getLocationId()}/get_links/`).then((e=>{this.publicLinkResults=e.data,this.isFetchingData=!1})).catch((e=>{this.$store.dispatch("newToast",{header:"Error fetching Public Links",message:`We had an issue fetching the public links for this object. Error -> ${e}`,extra_classes:"bg-danger",delay:0})}))},updateIsActive(e){const t=e.target.dataset.publicLinkId;this.$store.dispatch("newToast",{header:"Updating Active Status for Private Link",message:"Please wait - we are updating the status",extra_classes:"bg-warning text-dark",delay:0,unique_type:`is_active-${t}`});let i="False";e.target.checked&&(i="True");const o=new FormData;o.set("public_link_id",t),o.set("public_link_is_active",i),this.axios.post(`${this.rootUrl}public_data/${this.destination}/${this.locationId}/update_link/`,o).then((()=>{this.$store.dispatch("newToast",{header:"Successfully Updated",message:"We have updated the is active status for the link",extra_classes:"bg-success",unique_type:`is_active-${t}`})})).catch((e=>{this.$store.dispatch("newToast",{header:"Error Updating Active Status for Private Link",message:`We are sorry, something went wrong. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:`is_active-${t}`})}))}},mounted(){this.$nextTick((()=>{this.getPublicLinks()}))}},D=(0,i(3744).Z)($,[["render",function(e,t,i,f,v,w){const $=(0,o.up)("Icon");return(0,o.wg)(),(0,o.iD)(o.HY,null,[a,n,v.isFetchingData?((0,o.wg)(),(0,o.iD)("div",l,"Currently loading data...")):(0,o.kq)("v-if",!0),!1===v.isFetchingData&&0===v.publicLinkResults.length?((0,o.wg)(),(0,o.iD)("div",d," Sorry. There are no public links setup for this object. ")):((0,o.wg)(),(0,o.iD)("table",r,[(0,o._)("thead",null,[(0,o._)("tr",null,[c,u,e.userLevel>1?((0,o.wg)(),(0,o.iD)("td",h)):(0,o.kq)("v-if",!0)])]),(0,o._)("tbody",null,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(v.publicLinkResults,(i=>((0,o.wg)(),(0,o.iD)("tr",{key:i.public_link_id},[(0,o._)("td",null,[(0,o._)("button",{type:"button",class:"btn btn-link",onClick:e=>w.copyPublicLink(i.public_link_id)},(0,s.toDisplayString)(w.formatUrl(i.public_link_id)),9,b)]),(0,o._)("td",p,[(0,o._)("input",{class:"form-check-input",type:"checkbox",checked:i.public_link_is_active,"data-public-link-id":i.public_link_id,onChange:t[0]||(t[0]=(...e)=>w.updateIsActive&&w.updateIsActive(...e))},null,40,g)]),e.userLevel>1?((0,o.wg)(),(0,o.iD)("td",m,[(0,o._)("span",_,[(0,o.Wm)($,{icon:e.icons.trashCan,onClick:e=>w.deletePublicLink(i.public_link_id)},null,8,["icon","onClick"])])])):(0,o.kq)("v-if",!0)])))),128))])])),!1===i.isReadOnly&&e.userLevel>1?((0,o.wg)(),(0,o.iD)("div",k,[(0,o._)("div",y,[(0,o._)("button",{class:"btn btn-primary save-changes",onClick:t[1]||(t[1]=(...e)=>w.createPublicLink&&w.createPublicLink(...e))}," Create Public Link ")])])):(0,o.kq)("v-if",!0)],64)}]])},6505:(e,t,i)=>{i.d(t,{Z:()=>h});var o=i(6252);const s={class:"modal fade",id:"confirmFolderDeleteModal",tabindex:"-1","data-bs-backdrop":"static","data-bs-keyboard":"false","aria-labelledby":"confirmFolderDelete","aria-hidden":"true"},a={class:"modal-dialog"},n={class:"modal-content"},l=(0,o._)("div",{class:"modal-header"},[(0,o._)("h5",{class:"modal-title",id:"confirmFolderDelete"}," Please confirm Folder Deletion "),(0,o.kq)(" TASK INFORMATION "),(0,o._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"confirmFolderDeleteButton"})],-1),d=(0,o._)("div",{class:"modal-body"}," Are you sure you want to delete the folder? All files under this folder will be deleted also. ",-1),r={class:"modal-footer"};var c=i(989);i(3138);const u={name:"ConfirmFolderDelete",mixins:[i(1295).Z],computed:{...(0,c.Se)({destination:"getDestination",folderRemoveId:"getFolderRemoveId",locationId:"getLocationId",rootUrl:"getRootUrl"})},methods:{deleteFolder(){if(""===this.folderRemoveId)return;const e=this.folderRemoveId,t=new FormData;t.set("folder_id",this.folderRemoveId),this.axios.post(`${this.rootUrl}documentation/${this.destination}/${this.locationId}/remove_folder/`,t).then((()=>{this.$store.dispatch("removeFolder",{folder_id:e}),this.closeModal()})).catch((e=>{this.$store.dispatch("newToast",{header:"Error removing folder",message:`We could not remove your folder. Error - ${e}`,extra_classes:"bg-danger",delay:0})})),this.closeModal()},closeModal(){this.$store.commit({type:"updateFolderRemoveId",documentRemoveKey:""}),document.getElementById("confirmFolderDeleteButton").click(),this.reopenCardInformation()}}},h=(0,i(3744).Z)(u,[["render",function(e,t,i,c,u,h){return(0,o.wg)(),(0,o.iD)("div",s,[(0,o._)("div",a,[(0,o._)("div",n,[l,d,(0,o._)("div",r,[(0,o._)("button",{type:"button",class:"btn btn-secondary",onClick:t[0]||(t[0]=(...e)=>h.closeModal&&h.closeModal(...e))}," No "),(0,o._)("button",{type:"button",class:"btn btn-primary",onClick:t[1]||(t[1]=(...e)=>h.deleteFolder&&h.deleteFolder(...e))}," Yes ")])])])])}]])},9159:(e,t,i)=>{i.d(t,{Z:()=>b});var o=i(6252);const s={class:"modal fade",id:"confirmNoteDeleteModal",tabindex:"-1","data-bs-backdrop":"static","data-bs-keyboard":"false","aria-labelledby":"confirmLinkDelete","aria-hidden":"true"},a={class:"modal-dialog"},n={class:"modal-content"},l=(0,o._)("div",{class:"modal-header"},[(0,o._)("h5",{class:"modal-title",id:"confirmNoteDelete"}," Please confirm Note Deletion "),(0,o._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"confirmNoteDeleteButton"})],-1),d=(0,o._)("div",{class:"modal-body"}," Are you sure you want to delete the note? ",-1),r={class:"modal-footer"};var c=i(989),u=(i(3138),i(1295));const h={name:"ConfirmNoteDelete",props:{},computed:{...(0,c.Se)({destination:"getDestination",noteId:"getSingleNoteId",rootUrl:"getRootUrl"})},mixins:[u.Z],methods:{deleteNote(){this.$store.dispatch("newToast",{header:"Deleting Note",message:"Currently deleting note",extra_classes:"bg-warning text-dark",delay:0,unique_type:"delete_note"});let e=`${this.rootUrl}note/delete/${this.noteId}/`;this.destination&&(e=`${this.rootUrl}note/organisation/delete/${this.noteId}/`),this.axios.post(e).then((()=>{this.$store.dispatch("newToast",{header:"Note is deleted",message:"Successfully Deleted Note",extra_classes:"bg-success",unique_type:"delete_note"}),this.$store.commit({type:"removeNote",noteId:this.noteId}),this.closeModal(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Failed to Delete Note",message:`Sorry, we failed to delete the note. Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"delete_note"})}))},closeModal(){document.getElementById("confirmNoteDeleteButton").click(),this.reopenCardInformation()}}},b=(0,i(3744).Z)(h,[["render",function(e,t,i,c,u,h){return(0,o.wg)(),(0,o.iD)("div",s,[(0,o._)("div",a,[(0,o._)("div",n,[l,d,(0,o._)("div",r,[(0,o._)("button",{type:"button",class:"btn btn-secondary",onClick:t[0]||(t[0]=(...e)=>h.closeModal&&h.closeModal(...e))}," No "),(0,o._)("button",{type:"button",class:"btn btn-primary",onClick:t[1]||(t[1]=(...e)=>h.deleteNote&&h.deleteNote(...e))}," Yes ")])])])])}]])},8576:(e,t,i)=>{i.d(t,{Z:()=>y});var o=i(6252);const s={class:"modal fade",id:"editNoteModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},a={class:"modal-dialog modal-lg",role:"document"},n={class:"modal-content"},l={class:"modal-header"},d=(0,o._)("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close",id:"editNoteCloseButton"},[(0,o._)("span",{"aria-hidden":"true"})],-1),r={class:"modal-body"},c=(0,o._)("p",{class:"text-instructions"},' Use the text editor to edit your note. Click on the "Update" button to submit the changes. ',-1),u={class:"modal-footer"},h=["disabled"];var b=i(5808),p=i(1295),g=i(6542),m=i(7267),_=i(989);i(3138);const k={name:"EditHistoryNoteWizard",components:{editor:m.Z,Icon:g.JO},mixins:[b.Z,p.Z],data:()=>({noteModel:""}),computed:{...(0,_.Se)({description:"getSingleNoteDescription",destination:"getDestination",contentCss:"getContentCss",noteDescription:"getSingleNoteDescription",noteId:"getSingleNoteId",rootUrl:"getRootUrl",skin:"getSkin"})},watch:{noteDescription(){this.noteModel=this.noteDescription}},methods:{closeModal(){document.getElementById("editNoteCloseButton").click(),this.reopenCardInformation()},updateNote(){const e=new FormData;e.set("object_note_id",`${this.noteId}`),e.set("object_note",this.noteModel),this.$store.dispatch("newToast",{header:"Updating Note",message:"Please wait - updating your note",extra_classes:"bg-warning text-dark",delay:0,unique_type:"save_note"});let t=`${this.rootUrl}note/update/${this.noteId}/`;"organisation"===this.destination&&(t=`${this.rootUrl}note/organisation/update/${this.noteId}/`),this.axios.post(t,e).then((()=>{this.$store.dispatch("newToast",{header:"Updated Note",message:"The note updated successfully.",extra_classes:"bg-success",unique_type:"save_note"}),this.$store.dispatch({type:"editSingleNote",noteId:this.noteId,noteDescription:this.noteModel}),document.getElementById("editNoteCloseButton").click(),this.reopenCardInformation()})).catch((e=>{this.$store.dispatch("newToast",{header:"Failed Updating Note",message:`Failed to update note - Error -> ${e}`,extra_classes:"bg-danger",delay:0,unique_type:"save_note"})}))}}},y=(0,i(3744).Z)(k,[["render",function(e,t,i,b,p,g){const m=(0,o.up)("Icon"),_=(0,o.up)("editor");return(0,o.wg)(),(0,o.iD)(o.HY,null,[(0,o.kq)(" EDIT HISTORY NOTE "),(0,o._)("div",s,[(0,o._)("div",a,[(0,o._)("div",n,[(0,o._)("div",l,[(0,o._)("h2",null,[(0,o.Wm)(m,{icon:e.icons.noteAdd},null,8,["icon"]),(0,o.Uk)(" Edit Note ")]),d]),(0,o._)("div",r,[c,(0,o.Wm)(_,{init:{height:300,menubar:!1,plugins:["lists","codesample","table"],toolbar:"undo redo | blocks | bold italic strikethrough underline backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | table image codesample",skin:`${this.skin}`,content_css:`${this.contentCss}`},modelValue:p.noteModel,"onUpdate:modelValue":t[0]||(t[0]=e=>p.noteModel=e)},null,8,["init","modelValue"])]),(0,o._)("div",u,[(0,o._)("button",{type:"button",class:"btn btn-primary",disabled:""==p.noteModel,onClick:t[1]||(t[1]=(...e)=>g.updateNote&&g.updateNote(...e))}," Update Note ",8,h),(0,o._)("button",{type:"button",class:"btn btn-secondary",onClick:t[2]||(t[2]=(...e)=>g.closeModal&&g.closeModal(...e))}," Close ")])])])])],2112)}]])}}]);
\ No newline at end of file
diff --git a/NearBeach/static/NearBeach/9906.min.js.gz b/NearBeach/static/NearBeach/9906.min.js.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b205d4f8ffd5947812ce55c096e538d5e5b9b21c
GIT binary patch
literal 3369
zcmV+^4c77-9rQ5A
zk+beo|Ld1n)s>ULZ){giI@Z1n+=LA1J81X8hqHZEE5;-*d%%i!*R-5TEyf@J|Cgp=
zk?al)NN@;rX#^O7-S_VMKi2$_jz`+{@y@!`{>#j$tlVlraR4+RIYum~Qm_fGfMyvw
z-8;G?{6J0slFE0LjST`zJ#b~za03Mmw=jy;&d
z?n-jg^XGY#f0pI>54GM!dn@h9vK$}kbREUwpeQ=~bsS?$)qVewKL&ZDoLVze<^L+S
zK+C{%!KSttHIFHoLGWW@6CyoD9GDi)C(5ol@Z4bu8O3gQUWzb6FMtJ;gA7C|!8anj
zE!bcy+*)NMST$9Ylyn?CZ`JS(VnCyZhJxn|>9MSZ2c-ZAH=2Hg-QIc!g(=$==DPPK
z;0Xs@24;BguL#kIFH>=5+p8e=}-z%rA6^&yd1@%j!b{8bc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Mx86^G~7`_iBt$
literal 0
HcmV?d00001
diff --git a/NearBeach/static/NearBeach/NearBeach.min.js b/NearBeach/static/NearBeach/NearBeach.min.js
index 3a64b7595..4be9fbc2d 100644
--- a/NearBeach/static/NearBeach/NearBeach.min.js
+++ b/NearBeach/static/NearBeach/NearBeach.min.js
@@ -1,2 +1,2 @@
/*! For license information please see NearBeach.min.js.LICENSE.txt */
-(()=>{"use strict";var t,e,r={6795:(t,e,r)=>{r.d(e,{A:()=>o});const o=function(t){for(var e,r=0,o=0,n=t.length;n>=4;++o,n-=4)e=1540483477*(65535&(e=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+(59797*(e>>>16)<<16),r=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(n){case 3:r^=(255&t.charCodeAt(o+2))<<16;case 2:r^=(255&t.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(o)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}},8764:(t,e,r)=>{r.r(e),r.d(e,{BASE_TRANSITION:()=>l,BindingTypes:()=>wo,CAMELIZE:()=>R,CAPITALIZE:()=>L,CREATE_BLOCK:()=>d,CREATE_COMMENT:()=>u,CREATE_ELEMENT_BLOCK:()=>p,CREATE_ELEMENT_VNODE:()=>b,CREATE_SLOTS:()=>E,CREATE_STATIC:()=>g,CREATE_TEXT:()=>f,CREATE_VNODE:()=>m,CompilerDeprecationTypes:()=>Et,ConstantTypes:()=>W,DOMDirectiveTransforms:()=>qo,DOMErrorCodes:()=>Fo,DOMErrorMessages:()=>zo,DOMNodeTransforms:()=>Xo,ElementTypes:()=>q,ErrorCodes:()=>Lt,FRAGMENT:()=>n,GUARD_REACTIVE_PROPS:()=>N,IS_MEMO_SAME:()=>$,IS_REF:()=>B,KEEP_ALIVE:()=>s,MERGE_PROPS:()=>A,NORMALIZE_CLASS:()=>T,NORMALIZE_PROPS:()=>O,NORMALIZE_STYLE:()=>C,Namespaces:()=>G,NodeTypes:()=>X,OPEN_BLOCK:()=>c,POP_SCOPE_ID:()=>D,PUSH_SCOPE_ID:()=>M,RENDER_LIST:()=>_,RENDER_SLOT:()=>k,RESOLVE_COMPONENT:()=>h,RESOLVE_DIRECTIVE:()=>x,RESOLVE_DYNAMIC_COMPONENT:()=>v,RESOLVE_FILTER:()=>y,SET_BLOCK_TRACKING:()=>j,SUSPENSE:()=>a,TELEPORT:()=>i,TO_DISPLAY_STRING:()=>S,TO_HANDLERS:()=>I,TO_HANDLER_KEY:()=>P,TRANSITION:()=>Io,TRANSITION_GROUP:()=>Ro,TS_NODE_TYPES:()=>Gt,UNREF:()=>z,V_MODEL_CHECKBOX:()=>Eo,V_MODEL_DYNAMIC:()=>To,V_MODEL_RADIO:()=>ko,V_MODEL_SELECT:()=>Ao,V_MODEL_TEXT:()=>So,V_ON_WITH_KEYS:()=>Oo,V_ON_WITH_MODIFIERS:()=>Co,V_SHOW:()=>No,WITH_CTX:()=>F,WITH_DIRECTIVES:()=>w,WITH_MEMO:()=>U,advancePositionWithClone:()=>oe,advancePositionWithMutation:()=>ne,assert:()=>ie,baseCompile:()=>yo,baseParse:()=>rr,buildDirectiveArgs:()=>Qr,buildProps:()=>Kr,buildSlots:()=>$r,checkCompatEnabled:()=>Ct,compile:()=>Wo,convertToBlock:()=>gt,createArrayExpression:()=>Q,createAssignmentExpression:()=>pt,createBlockStatement:()=>lt,createCacheExpression:()=>st,createCallExpression:()=>nt,createCompilerError:()=>Rt,createCompoundExpression:()=>ot,createConditionalExpression:()=>at,createDOMCompilerError:()=>Do,createForLoopParams:()=>Dr,createFunctionExpression:()=>it,createIfStatement:()=>dt,createInterpolation:()=>rt,createObjectExpression:()=>Z,createObjectProperty:()=>tt,createReturnStatement:()=>bt,createRoot:()=>Y,createSequenceExpression:()=>mt,createSimpleExpression:()=>et,createStructuralDirectiveTransform:()=>fr,createTemplateLiteral:()=>ct,createTransformContext:()=>mr,createVNodeCall:()=>J,errorMessages:()=>Pt,extractIdentifiers:()=>Ut,findDir:()=>ae,findProp:()=>se,forAliasRE:()=>we,generate:()=>vr,generateCodeFrame:()=>o.generateCodeFrame,getBaseTransformPreset:()=>xo,getConstantType:()=>ar,getMemoedVNodeCall:()=>ye,getVNodeBlockHelper:()=>ft,getVNodeHelper:()=>ut,hasDynamicKeyVBind:()=>ce,hasScopeRef:()=>xe,helperNameMap:()=>V,injectProp:()=>ge,isCoreComponent:()=>Wt,isFunctionType:()=>$t,isInDestructureAssignment:()=>Dt,isInNewExpression:()=>Ft,isMemberExpression:()=>re,isMemberExpressionBrowser:()=>te,isMemberExpressionNode:()=>ee,isReferencedIdentifier:()=>Mt,isSimpleIdentifier:()=>Yt,isSlotOutlet:()=>be,isStaticArgOf:()=>le,isStaticExp:()=>qt,isStaticProperty:()=>Vt,isStaticPropertyKey:()=>Ht,isTemplateNode:()=>me,isText:()=>de,isVSlot:()=>pe,locStub:()=>K,noopDirectiveTransform:()=>_o,parse:()=>Ko,parserOptions:()=>Po,processExpression:()=>Tr,processFor:()=>jr,processIf:()=>Nr,processSlotOutlet:()=>eo,registerRuntimeHelpers:()=>H,resolveComponentType:()=>Wr,stringifyExpression:()=>Cr,toValidAssetId:()=>ve,trackSlotScopes:()=>zr,trackVForSlotScopes:()=>Br,transform:()=>br,transformBind:()=>no,transformElement:()=>qr,transformExpression:()=>Ar,transformModel:()=>co,transformOn:()=>oo,transformStyle:()=>jo,traverseNode:()=>ur,unwrapTSNode:()=>Xt,walkBlockDeclarations:()=>Bt,walkFunctionParams:()=>zt,walkIdentifiers:()=>jt,warnDeprecation:()=>Ot});var o=r(33);const n=Symbol(""),i=Symbol(""),a=Symbol(""),s=Symbol(""),l=Symbol(""),c=Symbol(""),d=Symbol(""),p=Symbol(""),m=Symbol(""),b=Symbol(""),u=Symbol(""),f=Symbol(""),g=Symbol(""),h=Symbol(""),v=Symbol(""),x=Symbol(""),y=Symbol(""),w=Symbol(""),_=Symbol(""),k=Symbol(""),E=Symbol(""),S=Symbol(""),A=Symbol(""),T=Symbol(""),C=Symbol(""),O=Symbol(""),N=Symbol(""),I=Symbol(""),R=Symbol(""),L=Symbol(""),P=Symbol(""),j=Symbol(""),M=Symbol(""),D=Symbol(""),F=Symbol(""),z=Symbol(""),B=Symbol(""),U=Symbol(""),$=Symbol(""),V={[n]:"Fragment",[i]:"Teleport",[a]:"Suspense",[s]:"KeepAlive",[l]:"BaseTransition",[c]:"openBlock",[d]:"createBlock",[p]:"createElementBlock",[m]:"createVNode",[b]:"createElementVNode",[u]:"createCommentVNode",[f]:"createTextVNode",[g]:"createStaticVNode",[h]:"resolveComponent",[v]:"resolveDynamicComponent",[x]:"resolveDirective",[y]:"resolveFilter",[w]:"withDirectives",[_]:"renderList",[k]:"renderSlot",[E]:"createSlots",[S]:"toDisplayString",[A]:"mergeProps",[T]:"normalizeClass",[C]:"normalizeStyle",[O]:"normalizeProps",[N]:"guardReactiveProps",[I]:"toHandlers",[R]:"camelize",[L]:"capitalize",[P]:"toHandlerKey",[j]:"setBlockTracking",[M]:"pushScopeId",[D]:"popScopeId",[F]:"withCtx",[z]:"unref",[B]:"isRef",[U]:"withMemo",[$]:"isMemoSame"};function H(t){Object.getOwnPropertySymbols(t).forEach((e=>{V[e]=t[e]}))}const G={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},X={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},q={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},W={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_HOIST:2,2:"CAN_HOIST",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},K={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Y(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:K}}function J(t,e,r,o,n,i,a,s=!1,l=!1,d=!1,p=K){return t&&(s?(t.helper(c),t.helper(ft(t.inSSR,d))):t.helper(ut(t.inSSR,d)),a&&t.helper(w)),{type:13,tag:e,props:r,children:o,patchFlag:n,dynamicProps:i,directives:a,isBlock:s,disableTracking:l,isComponent:d,loc:p}}function Q(t,e=K){return{type:17,loc:e,elements:t}}function Z(t,e=K){return{type:15,loc:e,properties:t}}function tt(t,e){return{type:16,loc:K,key:(0,o.isString)(t)?et(t,!0):t,value:e}}function et(t,e=!1,r=K,o=0){return{type:4,loc:r,content:t,isStatic:e,constType:e?3:o}}function rt(t,e){return{type:5,loc:e,content:(0,o.isString)(t)?et(t,!1,e):t}}function ot(t,e=K){return{type:8,loc:e,children:t}}function nt(t,e=[],r=K){return{type:14,loc:r,callee:t,arguments:e}}function it(t,e=void 0,r=!1,o=!1,n=K){return{type:18,params:t,returns:e,newline:r,isSlot:o,loc:n}}function at(t,e,r,o=!0){return{type:19,test:t,consequent:e,alternate:r,newline:o,loc:K}}function st(t,e,r=!1){return{type:20,index:t,value:e,isVNode:r,loc:K}}function lt(t){return{type:21,body:t,loc:K}}function ct(t){return{type:22,elements:t,loc:K}}function dt(t,e,r){return{type:23,test:t,consequent:e,alternate:r,loc:K}}function pt(t,e){return{type:24,left:t,right:e,loc:K}}function mt(t){return{type:25,expressions:t,loc:K}}function bt(t){return{type:26,returns:t,loc:K}}function ut(t,e){return t||e?m:b}function ft(t,e){return t||e?d:p}function gt(t,{helper:e,removeHelper:r,inSSR:o}){t.isBlock||(t.isBlock=!0,r(ut(o,t.isComponent)),e(c),e(ft(o,t.isComponent)))}const ht=new Uint8Array([123,123]),vt=new Uint8Array([125,125]);function xt(t){return t>=97&&t<=122||t>=65&&t<=90}function yt(t){return 32===t||10===t||9===t||12===t||13===t}function wt(t){return 47===t||62===t||yt(t)}function _t(t){const e=new Uint8Array(t.length);for(let r=0;r`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${t}.sync\` should be changed to \`v-model:${t}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:" with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function At(t,{compatConfig:e}){const r=e&&e[t];return"MODE"===t?r||3:r}function Tt(t,e){const r=At("MODE",e),o=At(t,e);return 3===r?!0===o:!1!==o}function Ct(t,e,r,...o){return Tt(t,e)}function Ot(t,e,r,...o){if("suppress-warning"===At(t,e))return;const{message:n,link:i}=St[t],a=`(deprecation ${t}) ${"function"==typeof n?n(...o):n}${i?`\n Details: ${i}`:""}`,s=new SyntaxError(a);s.code=t,r&&(s.loc=r),e.onWarn(s)}function Nt(t){throw t}function It(t){}function Rt(t,e,r,o){const n=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${t}`));return n.code=t,n.loc=e,n}const Lt={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},Pt={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:" key should be placed on the tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on outlet.",37:"Mixed v-slot usage on both the component and nested . When there are multiple named slots, all slots should use syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:" expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function jt(t,e,r=!1,o=[],n=Object.create(null)){}function Mt(t,e,r){return!1}function Dt(t,e){if(t&&("ObjectProperty"===t.type||"ArrayPattern"===t.type)){let t=e.length;for(;t--;){const r=e[t];if("AssignmentExpression"===r.type)return!0;if("ObjectProperty"!==r.type&&!r.type.endsWith("Pattern"))break}}return!1}function Ft(t){let e=t.length;for(;e--;){const r=t[e];if("NewExpression"===r.type)return!0;if("MemberExpression"!==r.type)break}return!1}function zt(t,e){for(const r of t.params)for(const t of Ut(r))e(t)}function Bt(t,e){for(const r of t.body)if("VariableDeclaration"===r.type){if(r.declare)continue;for(const t of r.declarations)for(const r of Ut(t.id))e(r)}else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;e(r.id)}else if("ForOfStatement"===r.type||"ForInStatement"===r.type||"ForStatement"===r.type){const t="ForStatement"===r.type?r.init:r.left;if(t&&"VariableDeclaration"===t.type)for(const r of t.declarations)for(const t of Ut(r.id))e(t)}}function Ut(t,e=[]){switch(t.type){case"Identifier":e.push(t);break;case"MemberExpression":let r=t;for(;"MemberExpression"===r.type;)r=r.object;e.push(r);break;case"ObjectPattern":for(const r of t.properties)"RestElement"===r.type?Ut(r.argument,e):Ut(r.value,e);break;case"ArrayPattern":t.elements.forEach((t=>{t&&Ut(t,e)}));break;case"RestElement":Ut(t.argument,e);break;case"AssignmentPattern":Ut(t.left,e)}return e}const $t=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),Vt=t=>t&&("ObjectProperty"===t.type||"ObjectMethod"===t.type)&&!t.computed,Ht=(t,e)=>Vt(e)&&e.key===t,Gt=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Xt(t){return Gt.includes(t.type)?Xt(t.expression):t}const qt=t=>4===t.type&&t.isStatic;function Wt(t){switch(t){case"Teleport":case"teleport":return i;case"Suspense":case"suspense":return a;case"KeepAlive":case"keep-alive":return s;case"BaseTransition":case"base-transition":return l}}const Kt=/^\d|[^\$\w]/,Yt=t=>!Kt.test(t),Jt=/[A-Za-z_$\xA0-\uFFFF]/,Qt=/[\.\?\w$\xA0-\uFFFF]/,Zt=/\s+[.[]\s*|\s*[.[]\s+/g,te=t=>{t=t.trim().replace(Zt,(t=>t.trim()));let e=0,r=[],o=0,n=0,i=null;for(let a=0;a!(7!==t.type||"bind"!==t.name||t.arg&&4===t.arg.type&&t.arg.isStatic)))}function de(t){return 5===t.type||2===t.type}function pe(t){return 7===t.type&&"slot"===t.name}function me(t){return 1===t.type&&3===t.tagType}function be(t){return 1===t.type&&2===t.tagType}const ue=new Set([O,N]);function fe(t,e=[]){if(t&&!(0,o.isString)(t)&&14===t.type){const r=t.callee;if(!(0,o.isString)(r)&&ue.has(r))return fe(t.arguments[0],e.concat(t))}return[t,e]}function ge(t,e,r){let n,i,a=13===t.type?t.props:t.arguments[2],s=[];if(a&&!(0,o.isString)(a)&&14===a.type){const t=fe(a);a=t[0],s=t[1],i=s[s.length-1]}if(null==a||(0,o.isString)(a))n=Z([e]);else if(14===a.type){const t=a.arguments[0];(0,o.isString)(t)||15!==t.type?a.callee===I?n=nt(r.helper(A),[Z([e]),a]):a.arguments.unshift(Z([e])):he(e,t)||t.properties.unshift(e),!n&&(n=a)}else 15===a.type?(he(e,a)||a.properties.unshift(e),n=a):(n=nt(r.helper(A),[Z([e]),a]),i&&i.callee===N&&(i=s[s.length-2]));13===t.type?i?i.arguments[0]=n:t.props=n:i?i.arguments[0]=n:t.arguments[2]=n}function he(t,e){let r=!1;if(4===t.key.type){const o=t.key.content;r=e.properties.some((t=>4===t.key.type&&t.key.content===o))}return r}function ve(t,e){return`_${e}_${t.replace(/[^\w]/g,((e,r)=>"-"===e?"_":t.charCodeAt(r).toString()))}`}function xe(t,e){if(!t||0===Object.keys(e).length)return!1;switch(t.type){case 1:for(let r=0;rxe(t,e)));case 11:return!!xe(t.source,e)||t.children.some((t=>xe(t,e)));case 9:return t.branches.some((t=>xe(t,e)));case 10:return!!xe(t.condition,e)||t.children.some((t=>xe(t,e)));case 4:return!t.isStatic&&Yt(t.content)&&!!e[t.content];case 8:return t.children.some((t=>(0,o.isObject)(t)&&xe(t,e)));case 5:case 12:return xe(t.content,e);default:return!1}}function ye(t){return 14===t.type&&t.callee===U?t.arguments[1].returns:t}const we=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,_e={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:o.NO,isPreTag:o.NO,isCustomElement:o.NO,onError:Nt,onWarn:It,comments:!1,prefixIdentifiers:!1};let ke=_e,Ee=null,Se="",Ae=null,Te=null,Ce="",Oe=-1,Ne=-1,Ie=0,Re=!1,Le=null;const Pe=[],je=new class{constructor(t,e){this.stack=t,this.cbs=e,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=ht,this.delimiterClose=vt,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=ht,this.delimiterClose=vt}getPos(t){let e=1,r=t+1;for(let o=this.newlines.length-1;o>=0;o--){const n=this.newlines[o];if(t>n){e=o+2,r=t-n;break}}return{column:r,line:e,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){60===t?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||t!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const t=this.index+1-this.delimiterOpen.length;t>this.sectionStart&&this.cbs.ontext(this.sectionStart,t),this.state=3,this.sectionStart=t}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const e=this.sequenceIndex===this.currentSequence.length;if(e?wt(t):(32|t)===this.currentSequence[this.sequenceIndex]){if(!e)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(62===t||yt(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart=t||(28===this.state?this.currentSequence===kt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){}}(Pe,{onerr:er,ontext(t,e){Be(Fe(t,e),t,e)},ontextentity(t,e,r){Be(t,e,r)},oninterpolation(t,e){if(Re)return Be(Fe(t,e),t,e);let r=t+je.delimiterOpen.length,o=e-je.delimiterClose.length;for(;yt(Se.charCodeAt(r));)r++;for(;yt(Se.charCodeAt(o-1));)o--;let n=Fe(r,o);n.includes("&")&&(n=ke.decodeEntities(n,!1)),Ye({type:5,content:tr(n,!1,Je(r,o)),loc:Je(t,e)})},onopentagname(t,e){const r=Fe(t,e);Ae={type:1,tag:r,ns:ke.getNamespace(r,Pe[0],ke.ns),tagType:0,props:[],children:[],loc:Je(t-1,e),codegenNode:void 0}},onopentagend(t){ze(t)},onclosetag(t,e){const r=Fe(t,e);if(!ke.isVoidTag(r)){let o=!1;for(let t=0;t0&&er(24,Pe[0].loc.start.offset);for(let r=0;r<=t;r++)Ue(Pe.shift(),e,r(7===t.type?t.rawName:t.name)===r))&&er(2,e)},onattribend(t,e){if(Ae&&Te){if(Qe(Te.loc,e),0!==t)if(Ce.includes("&")&&(Ce=ke.decodeEntities(Ce,!0)),6===Te.type)"class"===Te.name&&(Ce=Ke(Ce).trim()),1!==t||Ce||er(13,e),Te.value={type:2,content:Ce,loc:1===t?Je(Oe,Ne):Je(Oe-1,Ne+1)},je.inSFCRoot&&"template"===Ae.tag&&"lang"===Te.name&&Ce&&"html"!==Ce&&je.enterRCDATA(_t("{const n=e.start.offset+r;return tr(t,!1,Je(n,n+t.length),0,o?1:0)},s={source:a(i.trim(),r.indexOf(i,n.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=n.trim().replace(De,"").trim();const c=n.indexOf(l),d=l.match(Me);if(d){l=l.replace(Me,"").trim();const t=d[1].trim();let e;if(t&&(e=r.indexOf(t,c+l.length),s.key=a(t,e,!0)),d[2]){const o=d[2].trim();o&&(s.index=a(o,r.indexOf(o,s.key?e+t.length:c+l.length),!0))}}return l&&(s.value=a(l,c,!0)),s}(Te.exp));let e=-1;"bind"===Te.name&&(e=Te.modifiers.indexOf("sync"))>-1&&Ct("COMPILER_V_BIND_SYNC",ke,Te.loc,Te.rawName)&&(Te.name="model",Te.modifiers.splice(e,1))}7===Te.type&&"pre"===Te.name||Ae.props.push(Te)}Ce="",Oe=Ne=-1},oncomment(t,e){ke.comments&&Ye({type:3,content:Fe(t,e),loc:Je(t-4,e+3)})},onend(){const t=Se.length;for(let e=0;e64&&o<91||Wt(t)||(null==(r=ke.isBuiltInComponent)?void 0:r.call(ke,t))||ke.isNativeTag&&!ke.isNativeTag(t))return!0;for(let t=0;t6===t.type&&"inline-template"===t.name));r&&Ct("COMPILER_INLINE_TEMPLATE",ke,r.loc)&&t.children.length&&(r.value={type:2,content:Fe(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:r.loc})}}function $e(t,e){let r=t;for(;Se.charCodeAt(r)!==e&&r>=0;)r--;return r}const Ve=new Set(["if","else","else-if","for","slot"]);function He({tag:t,props:e}){if("template"===t)for(let t=0;t0){if(t>=2){o.codegenNode.patchFlag="-1",o.codegenNode=e.hoist(o.codegenNode),a++;continue}}else{const t=o.codegenNode;if(13===t.type){const r=pr(t);if((!r||512===r||1===r)&&cr(o,e)>=2){const r=dr(o);r&&(t.props=e.hoist(r))}t.dynamicProps&&(t.dynamicProps=e.hoist(t.dynamicProps))}}}if(1===o.type){const t=1===o.tagType;t&&e.scopes.vSlot++,ir(o,e),t&&e.scopes.vSlot--}else if(11===o.type)ir(o,e,1===o.children.length);else if(9===o.type)for(let t=0;t1)for(let n=0;n`_${V[S.helper(t)]}`,replaceNode(t){S.parent.children[S.childIndex]=S.currentNode=t},removeNode(t){const e=S.parent.children,r=t?e.indexOf(t):S.currentNode?S.childIndex:-1;t&&t!==S.currentNode?S.childIndex>r&&(S.childIndex--,S.onNodeRemoved()):(S.currentNode=null,S.onNodeRemoved()),S.parent.children.splice(r,1)},onNodeRemoved:o.NOOP,addIdentifiers(t){},removeIdentifiers(t){},hoist(t){(0,o.isString)(t)&&(t=et(t)),S.hoists.push(t);const e=et(`_hoisted_${S.hoists.length}`,!1,t.loc,2);return e.hoisted=t,e},cache:(t,e=!1)=>st(S.cached++,t,e)};return S.filters=new Set,S}function br(t,e){const r=mr(t,e);ur(t,r),e.hoistStatic&&or(t,r),e.ssr||function(t,e){const{helper:r}=e,{children:i}=t;if(1===i.length){const r=i[0];if(nr(t,r)&&r.codegenNode){const o=r.codegenNode;13===o.type&>(o,e),t.codegenNode=o}else t.codegenNode=r}else if(i.length>1){let i=64;o.PatchFlagNames[64],t.codegenNode=J(e,r(n),void 0,t.children,i+"",void 0,void 0,!0,void 0,!1)}}(t,r),t.helpers=new Set([...r.helpers.keys()]),t.components=[...r.components],t.directives=[...r.directives],t.imports=r.imports,t.hoists=r.hoists,t.temps=r.temps,t.cached=r.cached,t.transformed=!0,t.filters=[...r.filters]}function ur(t,e){e.currentNode=t;const{nodeTransforms:r}=e,n=[];for(let i=0;i{r--};for(;re===t:e=>t.test(e);return(t,o)=>{if(1===t.type){const{props:n}=t;if(3===t.tagType&&n.some(pe))return;const i=[];for(let a=0;a`${V[t]}: _${V[t]}`;function vr(t,e={}){const r=function(t,{mode:e="function",prefixIdentifiers:r="module"===e,sourceMap:o=!1,filename:n="template.vue.html",scopeId:i=null,optimizeImports:a=!1,runtimeGlobalName:s="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:d=!1,isTS:p=!1,inSSR:m=!1}){const b={mode:e,prefixIdentifiers:r,sourceMap:o,filename:n,scopeId:i,optimizeImports:a,runtimeGlobalName:s,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:d,isTS:p,inSSR:m,source:t.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:t=>`_${V[t]}`,push(t,e=-2,r){b.code+=t},indent(){u(++b.indentLevel)},deindent(t=!1){t?--b.indentLevel:u(--b.indentLevel)},newline(){u(b.indentLevel)}};function u(t){b.push("\n"+" ".repeat(t),0)}return b}(t,e);e.onContextCreated&&e.onContextCreated(r);const{mode:o,push:n,prefixIdentifiers:i,indent:a,deindent:s,newline:l,scopeId:c,ssr:d}=r,p=Array.from(t.helpers),h=p.length>0,v=!i&&"module"!==o;if(function(t,e){const{ssr:r,prefixIdentifiers:o,push:n,newline:i,runtimeModuleName:a,runtimeGlobalName:s,ssrRuntimeModuleName:l}=e,c=s,d=Array.from(t.helpers);d.length>0&&(n(`const _Vue = ${c}\n`,-1),t.hoists.length)&&n(`const { ${[m,b,u,f,g].filter((t=>d.includes(t))).map(hr).join(", ")} } = _Vue\n`,-1),function(t,e){if(!t.length)return;e.pure=!0;const{push:r,newline:o,helper:n,scopeId:i,mode:a}=e;o();for(let n=0;n0)&&l()),t.directives.length&&(xr(t.directives,"directive",r),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),xr(t.filters,"filter",r),l()),t.temps>0){n("let ");for(let e=0;e0?", ":""}_temp${e}`)}return(t.components.length||t.directives.length||t.temps)&&(n("\n",0),l()),d||n("return "),t.codegenNode?_r(t.codegenNode,r):n("null"),v&&(s(),n("}")),s(),n("}"),{ast:t,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function xr(t,e,{helper:r,push:o,newline:n,isTS:i}){const a=r("filter"===e?y:"component"===e?h:x);for(let r=0;r3||!1;e.push("["),r&&e.indent(),wr(t,e,r),r&&e.deindent(),e.push("]")}function wr(t,e,r=!1,n=!0){const{push:i,newline:a}=e;for(let s=0;st||"null"))}([i,a,s,l,d]),e),r(")"),m&&r(")"),p&&(r(", "),_r(p,e),r(")"))}(t,e);break;case 14:!function(t,e){const{push:r,helper:n,pure:i}=e,a=(0,o.isString)(t.callee)?t.callee:n(t.callee);i&&r(gr),r(a+"(",-2,t),wr(t.arguments,e),r(")")}(t,e);break;case 15:!function(t,e){const{push:r,indent:o,deindent:n,newline:i}=e,{properties:a}=t;if(!a.length)return void r("{}",-2,t);const s=a.length>1||!1;r(s?"{":"{ "),s&&o();for(let t=0;t "),(c||l)&&(r("{"),n()),s?(c&&r("return "),(0,o.isArray)(s)?yr(s,e):_r(s,e)):l&&_r(l,e),(c||l)&&(i(),r("}")),d&&(t.isNonScopedSlot&&r(", undefined, true"),r(")"))}(t,e);break;case 19:!function(t,e){const{test:r,consequent:o,alternate:n,newline:i}=t,{push:a,indent:s,deindent:l,newline:c}=e;if(4===r.type){const t=!Yt(r.content);t&&a("("),kr(r,e),t&&a(")")}else a("("),_r(r,e),a(")");i&&s(),e.indentLevel++,i||a(" "),a("? "),_r(o,e),e.indentLevel--,i&&c(),i||a(" "),a(": ");const d=19===n.type;d||e.indentLevel++,_r(n,e),d||e.indentLevel--,i&&l(!0)}(t,e);break;case 20:!function(t,e){const{push:r,helper:o,indent:n,deindent:i,newline:a}=e;r(`_cache[${t.index}] || (`),t.isVNode&&(n(),r(`${o(j)}(-1),`),a()),r(`_cache[${t.index}] = `),_r(t.value,e),t.isVNode&&(r(","),a(),r(`${o(j)}(1),`),a(),r(`_cache[${t.index}]`),i()),r(")")}(t,e);break;case 21:wr(t.body,e,!0,!1)}}function kr(t,e){const{content:r,isStatic:o}=t;e.push(o?JSON.stringify(r):r,-3,t)}function Er(t,e){for(let r=0;r{if(5===t.type)t.content=Tr(t.content,e);else if(1===t.type)for(let r=0;rNr(t,e,r,((t,e,o)=>{const n=r.parent.children;let i=n.indexOf(t),a=0;for(;i-- >=0;){const t=n[i];t&&9===t.type&&(a+=t.branches.length)}return()=>{if(o)t.codegenNode=Rr(e,a,r);else{const o=function(t){for(;;)if(19===t.type){if(19!==t.alternate.type)return t;t=t.alternate}else 20===t.type&&(t=t.value)}(t.codegenNode);o.alternate=Rr(e,a+t.branches.length-1,r)}}}))));function Nr(t,e,r,o){if(!("else"===e.name||e.exp&&e.exp.content.trim())){const o=e.exp?e.exp.loc:t.loc;r.onError(Rt(28,e.loc)),e.exp=et("true",!1,o)}if("if"===e.name){const n=Ir(t,e),i={type:9,loc:t.loc,branches:[n]};if(r.replaceNode(i),o)return o(i,n,!0)}else{const n=r.parent.children;let i=n.indexOf(t);for(;i-- >=-1;){const a=n[i];if(a&&3===a.type)r.removeNode(a);else{if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===e.name&&void 0===a.branches[a.branches.length-1].condition&&r.onError(Rt(30,t.loc)),r.removeNode();const n=Ir(t,e);a.branches.push(n);const i=o&&o(a,n,!1);ur(n,r),i&&i(),r.currentNode=null}else r.onError(Rt(30,t.loc));break}r.removeNode(a)}}}}function Ir(t,e){const r=3===t.tagType;return{type:10,loc:t.loc,condition:"else"===e.name?void 0:e.exp,children:r&&!ae(t,"for")?t.children:[t],userKey:se(t,"key"),isTemplateIf:r}}function Rr(t,e,r){return t.condition?at(t.condition,Lr(t,e,r),nt(r.helper(u),['""',"true"])):Lr(t,e,r)}function Lr(t,e,r){const{helper:i}=r,a=tt("key",et(`${e}`,!1,K,2)),{children:s}=t,l=s[0];if(1!==s.length||1!==l.type){if(1===s.length&&11===l.type){const t=l.codegenNode;return ge(t,a,r),t}{let e=64;return o.PatchFlagNames[64],J(r,i(n),Z([a]),s,e+"",void 0,void 0,!0,!1,!1,t.loc)}}{const t=l.codegenNode,e=ye(t);return 13===e.type&>(e,r),ge(e,a,r),t}}const Pr=fr("for",((t,e,r)=>{const{helper:o,removeHelper:i}=r;return jr(t,e,r,(e=>{const a=nt(o(_),[e.source]),s=me(t),l=ae(t,"memo"),d=se(t,"key"),p=d&&(6===d.type?et(d.value.content,!0):d.exp),m=d?tt("key",p):null,b=4===e.source.type&&e.source.constType>0,u=b?64:d?128:256;return e.codegenNode=J(r,o(n),void 0,a,u+"",void 0,void 0,!0,!b,!1,t.loc),()=>{let d;const{children:u}=e,f=1!==u.length||1!==u[0].type,g=be(t)?t:s&&1===t.children.length&&be(t.children[0])?t.children[0]:null;if(g?(d=g.codegenNode,s&&m&&ge(d,m,r)):f?d=J(r,o(n),m?Z([m]):void 0,t.children,"64",void 0,void 0,!0,void 0,!1):(d=u[0].codegenNode,s&&m&&ge(d,m,r),d.isBlock!==!b&&(d.isBlock?(i(c),i(ft(r.inSSR,d.isComponent))):i(ut(r.inSSR,d.isComponent))),d.isBlock=!b,d.isBlock?(o(c),o(ft(r.inSSR,d.isComponent))):o(ut(r.inSSR,d.isComponent))),l){const t=it(Dr(e.parseResult,[et("_cached")]));t.body=lt([ot(["const _memo = (",l.exp,")"]),ot(["if (_cached",...p?[" && _cached.key === ",p]:[],` && ${r.helperString($)}(_cached, _memo)) return _cached`]),ot(["const _item = ",d]),et("_item.memo = _memo"),et("return _item")]),a.arguments.push(t,et("_cache"),et(String(r.cached++)))}else a.arguments.push(it(Dr(e.parseResult),d,!0))}}))}));function jr(t,e,r,o){if(!e.exp)return void r.onError(Rt(31,e.loc));const n=e.forParseResult;if(!n)return void r.onError(Rt(32,e.loc));Mr(n);const{addIdentifiers:i,removeIdentifiers:a,scopes:s}=r,{source:l,value:c,key:d,index:p}=n,m={type:11,loc:e.loc,source:l,valueAlias:c,keyAlias:d,objectIndexAlias:p,parseResult:n,children:me(t)?t.children:[t]};r.replaceNode(m),s.vFor++;const b=o&&o(m);return()=>{s.vFor--,b&&b()}}function Mr(t,e){t.finalized||(t.finalized=!0)}function Dr({value:t,key:e,index:r},o=[]){return function(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map(((t,e)=>t||et("_".repeat(e+1),!1)))}([t,e,r,...o])}const Fr=et("undefined",!1),zr=(t,e)=>{if(1===t.type&&(1===t.tagType||3===t.tagType)){const r=ae(t,"slot");if(r)return r.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},Br=(t,e)=>{let r;if(me(t)&&t.props.some(pe)&&(r=ae(t,"for"))){const t=r.forParseResult;if(t){Mr(t);const{value:r,key:o,index:n}=t,{addIdentifiers:i,removeIdentifiers:a}=e;return r&&i(r),o&&i(o),n&&i(n),()=>{r&&a(r),o&&a(o),n&&a(n)}}}},Ur=(t,e,r,o)=>it(t,r,!1,!0,r.length?r[0].loc:o);function $r(t,e,r=Ur){e.helper(F);const{children:o,loc:n}=t,i=[],a=[];let s=e.scopes.vSlot>0||e.scopes.vFor>0;const l=ae(t,"slot",!0);if(l){const{arg:t,exp:e}=l;t&&!qt(t)&&(s=!0),i.push(tt(t||et("default",!0),r(e,void 0,o,n)))}let c=!1,d=!1;const p=[],m=new Set;let b=0;for(let t=0;t{const i=r(t,void 0,o,n);return e.compatConfig&&(i.isNonScopedSlot=!0),tt("default",i)};c?p.length&&p.some((t=>Gr(t)))&&(d?e.onError(Rt(39,p[0].loc)):i.push(t(void 0,p))):i.push(t(void 0,o))}const u=s?2:Hr(t.children)?3:1;let f=Z(i.concat(tt("_",et(u+"",!1))),n);return a.length&&(f=nt(e.helper(E),[f,Q(a)])),{slots:f,hasDynamicSlots:s}}function Vr(t,e,r){const o=[tt("name",t),tt("fn",e)];return null!=r&&o.push(tt("key",et(String(r),!0))),Z(o)}function Hr(t){for(let e=0;efunction(){if(1!==(t=e.currentNode).type||0!==t.tagType&&1!==t.tagType)return;const{tag:r,props:n}=t,l=1===t.tagType;let c=l?Wr(t,e):`"${r}"`;const d=(0,o.isObject)(c)&&c.callee===v;let p,m,b,u,f,g,h=0,x=d||c===i||c===a||!l&&("svg"===r||"foreignObject"===r);if(n.length>0){const r=Kr(t,e,void 0,l,d);p=r.props,h=r.patchFlag,f=r.dynamicPropNames;const o=r.directives;g=o&&o.length?Q(o.map((t=>Qr(t,e)))):void 0,r.shouldUseBlock&&(x=!0)}if(t.children.length>0)if(c===s&&(x=!0,h|=1024),l&&c!==i&&c!==s){const{slots:r,hasDynamicSlots:o}=$r(t,e);m=r,o&&(h|=1024)}else if(1===t.children.length&&c!==i){const r=t.children[0],o=r.type,n=5===o||8===o;n&&0===ar(r,e)&&(h|=1),m=n||2===o?r:t.children}else m=t.children;0!==h&&(b=String(h),f&&f.length&&(u=function(t){let e="[";for(let r=0,o=t.length;r0;let u=!1,f=0,g=!1,h=!1,v=!1,x=!1,y=!1,w=!1;const _=[],k=t=>{d.length&&(p.push(Z(Yr(d),l)),d=[]),t&&p.push(t)},E=({key:t,value:r})=>{if(qt(t)){const a=t.content,s=(0,o.isOn)(a);if(!s||n&&!i||"onclick"===a.toLowerCase()||"onUpdate:modelValue"===a||(0,o.isReservedProp)(a)||(x=!0),s&&(0,o.isReservedProp)(a)&&(w=!0),s&&14===r.type&&(r=r.arguments[0]),20===r.type||(4===r.type||8===r.type)&&ar(r,e)>0)return;"ref"===a?g=!0:"class"===a?h=!0:"style"===a?v=!0:"key"===a||_.includes(a)||_.push(a),!n||"class"!==a&&"style"!==a||_.includes(a)||_.push(a)}else y=!0};for(let i=0;i0&&d.push(tt(et("ref_for",!0),et("true")))),"is"===r&&(Zr(s)||n&&n.content.startsWith("vue:")||Tt("COMPILER_IS_ON_ELEMENT",e)))continue;d.push(tt(et(r,!0,o),et(n?n.content:"",i,n?n.loc:t)))}else{const{name:r,arg:i,exp:g,loc:h,modifiers:v}=c,x="bind"===r,w="on"===r;if("slot"===r){n||e.onError(Rt(40,h));continue}if("once"===r||"memo"===r)continue;if("is"===r||x&&le(i,"is")&&(Zr(s)||Tt("COMPILER_IS_ON_ELEMENT",e)))continue;if(w&&a)continue;if((x&&le(i,"key")||w&&b&&le(i,"vue:before-update"))&&(u=!0),x&&le(i,"ref")&&e.scopes.vFor>0&&d.push(tt(et("ref_for",!0),et("true"))),!i&&(x||w)){if(y=!0,g)if(x){if(k(),Tt("COMPILER_V_BIND_OBJECT_ORDER",e)){p.unshift(g);continue}p.push(g)}else k({type:14,loc:h,callee:e.helper(I),arguments:n?[g]:[g,"true"]});else e.onError(Rt(x?34:35,h));continue}x&&v.includes("prop")&&(f|=32);const _=e.directiveTransforms[r];if(_){const{props:r,needRuntime:n}=_(c,t,e);!a&&r.forEach(E),w&&i&&!qt(i)?k(Z(r,l)):d.push(...r),n&&(m.push(c),(0,o.isSymbol)(n)&&Xr.set(c,n))}else(0,o.isBuiltInDirective)(r)||(m.push(c),b&&(u=!0))}}let S;if(p.length?(k(),S=p.length>1?nt(e.helper(A),p,l):p[0]):d.length&&(S=Z(Yr(d),l)),y?f|=16:(h&&!n&&(f|=2),v&&!n&&(f|=4),_.length&&(f|=8),x&&(f|=32)),u||0!==f&&32!==f||!(g||w||m.length>0)||(f|=512),!e.inSSR&&S)switch(S.type){case 15:let t=-1,r=-1,o=!1;for(let e=0;ett(t,e))),n))}return Q(r,t.loc)}function Zr(t){return"component"===t||"Component"===t}const to=(t,e)=>{if(be(t)){const{children:r,loc:o}=t,{slotName:n,slotProps:i}=eo(t,e),a=[e.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let s=2;i&&(a[2]=i,s=3),r.length&&(a[3]=it([],r,!1,!1,o),s=4),e.scopeId&&!e.slotted&&(s=5),a.splice(s),t.codegenNode=nt(e.helper(k),a,o)}};function eo(t,e){let r,n='"default"';const i=[];for(let e=0;e0){const{props:o,directives:n}=Kr(t,e,i,!1,!1);r=o,n.length&&e.onError(Rt(36,n[0].loc))}return{slotName:n,slotProps:r}}const ro=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,oo=(t,e,r,n)=>{const{loc:i,modifiers:a,arg:s}=t;let l;if(t.exp||a.length||r.onError(Rt(35,i)),4===s.type)if(s.isStatic){let t=s.content;t.startsWith("vue:")&&(t=`vnode-${t.slice(4)}`),l=et(0!==e.tagType||t.startsWith("vnode")||!/[A-Z]/.test(t)?(0,o.toHandlerKey)((0,o.camelize)(t)):`on:${t}`,!0,s.loc)}else l=ot([`${r.helperString(P)}(`,s,")"]);else l=s,l.children.unshift(`${r.helperString(P)}(`),l.children.push(")");let c=t.exp;c&&!c.content.trim()&&(c=void 0);let d=r.cacheHandlers&&!c&&!r.inVOnce;if(c){const t=re(c.content),e=!(t||ro.test(c.content)),r=c.content.includes(";");(e||d&&t)&&(c=ot([`${e?"$event":"(...args)"} => ${r?"{":"("}`,c,r?"}":")"]))}let p={props:[tt(l,c||et("() => {}",!1,i))]};return n&&(p=n(p)),d&&(p.props[0].value=r.cache(p.props[0].value)),p.props.forEach((t=>t.key.isHandlerKey=!0)),p},no=(t,e,r)=>{const{modifiers:n,loc:i}=t,a=t.arg;let{exp:s}=t;if(s&&4===s.type&&!s.content.trim()&&(s=void 0),!s){if(4!==a.type||!a.isStatic)return r.onError(Rt(52,a.loc)),{props:[tt(a,et("",!0,i))]};const e=(0,o.camelize)(a.content);s=t.exp=et(e,!1,a.loc)}return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),n.includes("camel")&&(4===a.type?a.isStatic?a.content=(0,o.camelize)(a.content):a.content=`${r.helperString(R)}(${a.content})`:(a.children.unshift(`${r.helperString(R)}(`),a.children.push(")"))),r.inSSR||(n.includes("prop")&&io(a,"."),n.includes("attr")&&io(a,"^")),{props:[tt(a,s)]}},io=(t,e)=>{4===t.type?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},ao=(t,e)=>{if(0===t.type||1===t.type||11===t.type||10===t.type)return()=>{const r=t.children;let o,n=!1;for(let t=0;t7===t.type&&!e.directiveTransforms[t.name]))||"template"===t.tag)))for(let t=0;t{if(1===t.type&&ae(t,"once",!0)){if(so.has(t)||e.inVOnce||e.inSSR)return;return so.add(t),e.inVOnce=!0,e.helper(j),()=>{e.inVOnce=!1;const t=e.currentNode;t.codegenNode&&(t.codegenNode=e.cache(t.codegenNode,!0))}}},co=(t,e,r)=>{const{exp:n,arg:i}=t;if(!n)return r.onError(Rt(41,t.loc)),po();const a=n.loc.source,s=4===n.type?n.content:a,l=r.bindingMetadata[a];if("props"===l||"props-aliased"===l)return r.onError(Rt(44,n.loc)),po();if(!s.trim()||!re(s))return r.onError(Rt(42,n.loc)),po();const c=i||et("modelValue",!0),d=i?qt(i)?`onUpdate:${(0,o.camelize)(i.content)}`:ot(['"onUpdate:" + ',i]):"onUpdate:modelValue";let p;p=ot([(r.isTS?"($event: any)":"$event")+" => ((",n,") = $event)"]);const m=[tt(c,t.exp),tt(d,p)];if(t.modifiers.length&&1===e.tagType){const e=t.modifiers.map((t=>(Yt(t)?t:JSON.stringify(t))+": true")).join(", "),r=i?qt(i)?`${i.content}Modifiers`:ot([i,' + "Modifiers"']):"modelModifiers";m.push(tt(r,et(`{ ${e} }`,!1,t.loc,2)))}return po(m)};function po(t=[]){return{props:t}}const mo=/[\w).+\-_$\]]/,bo=(t,e)=>{Tt("COMPILER_FILTERS",e)&&(5===t.type&&uo(t.content,e),1===t.type&&t.props.forEach((t=>{7===t.type&&"for"!==t.name&&t.exp&&uo(t.exp,e)})))};function uo(t,e){if(4===t.type)fo(t,e);else for(let r=0;r=0&&(t=r.charAt(e)," "===t);e--);t&&mo.test(t)||(d=!0)}}else void 0===a?(u=i+1,a=r.slice(0,i).trim()):g();function g(){f.push(r.slice(u,i).trim()),u=i+1}if(void 0===a?a=r.slice(0,i).trim():0!==u&&g(),f.length){for(i=0;i{if(1===t.type){const r=ae(t,"memo");if(!r||ho.has(t))return;return ho.add(t),()=>{const o=t.codegenNode||e.currentNode.codegenNode;o&&13===o.type&&(1!==t.tagType&>(o,e),t.codegenNode=nt(e.helper(U),[r.exp,it(void 0,o),"_cache",String(e.cached++)]))}}};function xo(t){return[[lo,Or,vo,Pr,bo,to,qr,zr,ao],{on:oo,bind:no,model:co}]}function yo(t,e={}){const r=e.onError||Nt,n="module"===e.mode;!0===e.prefixIdentifiers?r(Rt(47)):n&&r(Rt(48)),e.cacheHandlers&&r(Rt(49)),e.scopeId&&!n&&r(Rt(50));const i=(0,o.extend)({},e,{prefixIdentifiers:!1}),a=(0,o.isString)(t)?rr(t,i):t,[s,l]=xo();return br(a,(0,o.extend)({},i,{nodeTransforms:[...s,...e.nodeTransforms||[]],directiveTransforms:(0,o.extend)({},l,e.directiveTransforms||{})})),vr(a,i)}const wo={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},_o=()=>({props:[]}),ko=Symbol(""),Eo=Symbol(""),So=Symbol(""),Ao=Symbol(""),To=Symbol(""),Co=Symbol(""),Oo=Symbol(""),No=Symbol(""),Io=Symbol(""),Ro=Symbol("");let Lo;H({[ko]:"vModelRadio",[Eo]:"vModelCheckbox",[So]:"vModelText",[Ao]:"vModelSelect",[To]:"vModelDynamic",[Co]:"withModifiers",[Oo]:"withKeys",[No]:"vShow",[Io]:"Transition",[Ro]:"TransitionGroup"});const Po={parseMode:"html",isVoidTag:o.isVoidTag,isNativeTag:t=>(0,o.isHTMLTag)(t)||(0,o.isSVGTag)(t)||(0,o.isMathMLTag)(t),isPreTag:t=>"pre"===t,decodeEntities:function(t,e=!1){return Lo||(Lo=document.createElement("div")),e?(Lo.innerHTML=``,Lo.children[0].getAttribute("foo")):(Lo.innerHTML=t,Lo.textContent)},isBuiltInComponent:t=>"Transition"===t||"transition"===t?Io:"TransitionGroup"===t||"transition-group"===t?Ro:void 0,getNamespace(t,e,r){let o=e?e.ns:r;if(e&&2===o)if("annotation-xml"===e.tag){if("svg"===t)return 1;e.props.some((t=>6===t.type&&"encoding"===t.name&&null!=t.value&&("text/html"===t.value.content||"application/xhtml+xml"===t.value.content)))&&(o=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&"mglyph"!==t&&"malignmark"!==t&&(o=0);else e&&1===o&&("foreignObject"!==e.tag&&"desc"!==e.tag&&"title"!==e.tag||(o=0));if(0===o){if("svg"===t)return 1;if("math"===t)return 2}return o}},jo=t=>{1===t.type&&t.props.forEach(((e,r)=>{6===e.type&&"style"===e.name&&e.value&&(t.props[r]={type:7,name:"bind",arg:et("style",!0,e.loc),exp:Mo(e.value.content,e.loc),modifiers:[],loc:e.loc})}))},Mo=(t,e)=>{const r=(0,o.parseStringStyle)(t);return et(JSON.stringify(r),!1,e,3)};function Do(t,e){return Rt(t,e)}const Fo={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},zo={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on , |