From 4567b3f2f2138f322a17bf68ed402274befc2056 Mon Sep 17 00:00:00 2001 From: Luke Date: Wed, 20 Oct 2021 20:56:05 +1100 Subject: [PATCH] FIX SECURITY ISSUE - user details were sending HASHED password to front end. --- NearBeach/static/NearBeach/NearBeach.min.js | 2 +- .../static/NearBeach/NearBeach.min.js.gz | Bin 267630 -> 267634 bytes NearBeach/tests/test_object_data.py | 56 ++++++++++++++++++ NearBeach/views/object_data_views.py | 26 +++++++- .../modules/wizards/AddUserWizard.vue | 17 ++---- 5 files changed, 87 insertions(+), 14 deletions(-) create mode 100644 NearBeach/tests/test_object_data.py diff --git a/NearBeach/static/NearBeach/NearBeach.min.js b/NearBeach/static/NearBeach/NearBeach.min.js index 7bc7a3aac..344a8ff02 100644 --- a/NearBeach/static/NearBeach/NearBeach.min.js +++ b/NearBeach/static/NearBeach/NearBeach.min.js @@ -28,4 +28,4 @@ function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else * @author owenm * @license MIT */ -function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){return(o=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function l(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function y(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function w(t,e,n,r){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&_(t,e):_(t,e))||r&&t===n)return t;if(t===n)break}while(t=y(t))}return null}var x,k=/\s+/g;function C(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(k," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(k," ")}}function M(t,e,n){var r=t&&t.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in r||-1!==e.indexOf("webkit")||(e="-webkit-"+e),r[e]=n+("string"==typeof n?"":"px")}}function S(t,e){var n="";if("string"==typeof t)n=t;else do{var r=M(t,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function T(t,e,n){if(t){var r=t.getElementsByTagName(e),i=0,o=r.length;if(n)for(;i=o:i<=o))return r;if(r===E())break;r=$(r,!1)}return!1}function I(t,e,n){for(var r=0,i=0,o=t.children;i2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=s(n,["evt"]);W.pluginEvent.bind(zt)(t,e,a({dragEl:Z,parentEl:X,ghostEl:J,rootEl:Q,nextEl:tt,lastDownEl:et,cloneEl:nt,cloneHidden:rt,dragStarted:vt,putSortable:ct,activeSortable:zt.active,originalEvent:r,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st,hideGhostForTarget:At,unhideGhostForTarget:Rt,cloneNowHidden:function(){rt=!0},cloneNowShown:function(){rt=!1},dispatchSortableEvent:function(t){K({sortable:e,name:t,originalEvent:r})}},i))};function K(t){G(a({putSortable:ct,cloneEl:nt,targetEl:Z,rootEl:Q,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st},t))}var Z,X,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ct,dt,ut,pt,mt,ft,ht,vt,gt,bt,_t,yt,wt=!1,xt=!1,kt=[],Ct=!1,Mt=!1,St=[],Tt=!1,Et=[],jt="undefined"!=typeof document,Ot=f,It=u||d?"cssFloat":"float",Lt=jt&&!h&&!f&&"draggable"in document.createElement("div"),Dt=function(){if(jt){if(d)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Nt=function(t,e){var n=M(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=I(t,0,e),o=I(t,1,e),a=i&&M(i),s=o&&M(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+j(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+j(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var d="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==d?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[It]||o&&"none"===n[It]&&l+c>r)?"vertical":"horizontal"},$t=function(t){function e(t,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},i=t.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},At=function(){!Dt&&J&&M(J,"display","none")},Rt=function(){!Dt&&J&&M(J,"display","")};jt&&document.addEventListener("click",(function(t){if(xt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),xt=!1,!1}),!0);var Pt=function(t){if(Z){t=t.touches?t.touches[0]:t;var e=(i=t.clientX,o=t.clientY,kt.some((function(t){if(!L(t)){var e=j(t),n=t[U].options.emptyInsertThreshold,r=i>=e.left-n&&i<=e.right+n,s=o>=e.top-n&&o<=e.bottom+n;return n&&r&&s?a=t:void 0}})),a);if(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[U]._onDragOver(n)}}var i,o,a},qt=function(t){Z&&Z.parentNode[U]._isOutsideThisEl(t.target)};function zt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[U]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Nt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==zt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in W.initializePlugins(this,t,n),n)!(r in e)&&(e[r]=n[r]);for(var i in $t(e),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&Lt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?g(t,"pointerdown",this._onTapStart):(g(t,"mousedown",this._onTapStart),g(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(g(t,"dragover",this),g(t,"dragenter",this)),kt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,B())}function Ft(t,e,n,r,i,o,a,s){var l,c,p=t[U],m=p.options.onMove;return!window.CustomEvent||d||u?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=r,l.related=i||e,l.relatedRect=o||j(e),l.willInsertAfter=s,l.originalEvent=a,t.dispatchEvent(l),m&&(c=m.call(p,l,a)),c}function Ut(t){t.draggable=!1}function Bt(){Tt=!1}function Vt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function Ht(t){return setTimeout(t,0)}function Wt(t){return clearTimeout(t)}zt.prototype={constructor:zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(gt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,Z):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,r=this.options,i=r.preventOnFilter,o=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=r.filter;if(function(t){Et.length=0;var e=t.getElementsByTagName("input"),n=e.length;for(;n--;){var r=e[n];r.checked&&Et.push(r)}}(n),!Z&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||r.disabled||l.isContentEditable||(s=w(s,r.draggable,n,!1))&&s.animated||et===s)){if(it=D(s),at=D(s,r.draggable),"function"==typeof c){if(c.call(this,t,s,this))return K({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Y("filter",e,{evt:t}),void(i&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=w(l,r.trim(),n,!1))return K({sortable:e,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Y("filter",e,{evt:t}),!0}))))return void(i&&t.cancelable&&t.preventDefault());r.handle&&!w(l,r.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!Z&&n.parentNode===o){var l=j(n);if(Q=o,X=(Z=n).parentNode,tt=Z.nextSibling,et=n,lt=a.group,zt.dragged=Z,dt={target:Z,clientX:(e||t).clientX,clientY:(e||t).clientY},ft=dt.clientX-l.left,ht=dt.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,Z.style["will-change"]="all",r=function(){Y("delayEnded",i,{evt:t}),zt.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!p&&i.nativeDraggable&&(Z.draggable=!0),i._triggerDragStart(t,e),K({sortable:i,name:"choose",originalEvent:t}),C(Z,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){T(Z,t.trim(),Ut)})),g(s,"dragover",Pt),g(s,"mousemove",Pt),g(s,"touchmove",Pt),g(s,"mouseup",i._onDrop),g(s,"touchend",i._onDrop),g(s,"touchcancel",i._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Z.draggable=!0),Y("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(u||d))r();else{if(zt.eventCanceled)return void this._onDrop();g(s,"mouseup",i._disableDelayedDrag),g(s,"touchend",i._disableDelayedDrag),g(s,"touchcancel",i._disableDelayedDrag),g(s,"mousemove",i._delayedDragTouchMoveHandler),g(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&g(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Z&&Ut(Z),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._disableDelayedDrag),b(t,"touchend",this._disableDelayedDrag),b(t,"touchcancel",this._disableDelayedDrag),b(t,"mousemove",this._delayedDragTouchMoveHandler),b(t,"touchmove",this._delayedDragTouchMoveHandler),b(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?g(document,"pointermove",this._onTouchMove):g(document,e?"touchmove":"mousemove",this._onTouchMove):(g(Z,"dragend",this),g(Q,"dragstart",this._onDragStart));try{document.selection?Ht((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(wt=!1,Q&&Z){Y("dragStarted",this,{evt:e}),this.nativeDraggable&&g(document,"dragover",qt);var n=this.options;!t&&C(Z,n.dragClass,!1),C(Z,n.ghostClass,!0),zt.active=this,t&&this._appendGhost(),K({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(ut){this._lastX=ut.clientX,this._lastY=ut.clientY,At();for(var t=document.elementFromPoint(ut.clientX,ut.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(ut.clientX,ut.clientY))!==e;)e=t;if(Z.parentNode[U]._isOutsideThisEl(t),e)do{if(e[U]){if(e[U]._onDragOver({clientX:ut.clientX,clientY:ut.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Rt()}},_onTouchMove:function(t){if(dt){var e=this.options,n=e.fallbackTolerance,r=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=J&&S(J,!0),a=J&&o&&o.a,s=J&&o&&o.d,l=Ot&&yt&&N(yt),c=(i.clientX-dt.clientX+r.x)/(a||1)+(l?l[0]-St[0]:0)/(a||1),d=(i.clientY-dt.clientY+r.y)/(s||1)+(l?l[1]-St[1]:0)/(s||1);if(!zt.active&&!wt){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))r.right+10||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+10}(t,i,this)&&!v.animated){if(v===Z)return q(!1);if(v&&o===t.target&&(s=v),s&&(n=j(s)),!1!==Ft(Q,o,Z,e,s,n,t,!!s))return R(),o.appendChild(Z),X=o,z(),q(!0)}else if(s.parentNode===o){n=j(s);var g,b,_,y=Z.parentNode!==o,x=!function(t,e,n){var r=n?t.left:t.top,i=n?t.right:t.bottom,o=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,l=n?e.width:e.height;return r===a||i===s||r+o/2===a+l/2}(Z.animated&&Z.toRect||e,s.animated&&s.toRect||n,i),k=i?"top":"left",S=O(s,"top","top")||O(Z,"top","top"),T=S?S.scrollTop:void 0;if(gt!==s&&(b=n[k],Ct=!1,Mt=!x&&l.invertSwap||y),0!==(g=function(t,e,n,r,i,o,a,s){var l=r?t.clientY:t.clientX,c=r?n.height:n.width,d=r?n.top:n.left,u=r?n.bottom:n.right,p=!1;if(!a)if(s&&_td+c*o/2:lu-_t)return-bt}else if(l>d+c*(1-i)/2&&lu-c*o/2))return l>d+c/2?1:-1;return 0}(t,s,n,i,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Mt,gt===s))){var E=D(Z);do{E-=g,_=X.children[E]}while(_&&("none"===M(_,"display")||_===J))}if(0===g||_===s)return q(!1);gt=s,bt=g;var I=s.nextElementSibling,N=!1,$=Ft(Q,o,Z,e,s,n,t,N=1===g);if(!1!==$)return 1!==$&&-1!==$||(N=1===$),Tt=!0,setTimeout(Bt,30),R(),N&&!I?o.appendChild(Z):s.parentNode.insertBefore(Z,N?I:s),S&&P(S,0,T-S.scrollTop),X=Z.parentNode,void 0===b||Mt||(_t=Math.abs(b-j(s)[k])),z(),q(!0)}if(o.contains(Z))return q(!1)}return!1}function A(l,c){Y(l,f,a({evt:t,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:e,targetRect:n,canSort:p,fromSortable:m,target:s,completed:q,onMove:function(n,r){return Ft(Q,o,Z,e,n,j(n),t,r)},changed:z},c))}function R(){A("dragOverAnimationCapture"),f.captureAnimationState(),f!==m&&m.captureAnimationState()}function q(e){return A("dragOverCompleted",{insertion:e}),e&&(u?d._hideClone():d._showClone(f),f!==m&&(C(Z,ct?ct.options.ghostClass:d.options.ghostClass,!1),C(Z,l.ghostClass,!0)),ct!==f&&f!==zt.active?ct=f:f===zt.active&&ct&&(ct=null),m===f&&(f._ignoreWhileAnimating=s),f.animateAll((function(){A("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(s===Z&&!Z.animated||s===o&&!s.animated)&&(gt=null),l.dragoverBubble||t.rootEl||s===document||(Z.parentNode[U]._isOutsideThisEl(t.target),!e&&Pt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),h=!0}function z(){ot=D(Z),st=D(Z,l.draggable),K({sortable:f,name:"change",toEl:o,newIndex:ot,newDraggableIndex:st,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",Pt),b(document,"mousemove",Pt),b(document,"touchmove",Pt)},_offUpEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._onDrop),b(t,"touchend",this._onDrop),b(t,"pointerup",this._onDrop),b(t,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;ot=D(Z),st=D(Z,n.draggable),Y("drop",this,{evt:t}),X=Z&&Z.parentNode,ot=D(Z),st=D(Z,n.draggable),zt.eventCanceled||(wt=!1,Mt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Wt(this.cloneId),Wt(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),m&&M(document.body,"user-select",""),M(Z,"transform",""),t&&(vt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(Q===X||ct&&"clone"!==ct.lastPutMode)&&nt&&nt.parentNode&&nt.parentNode.removeChild(nt),Z&&(this.nativeDraggable&&b(Z,"dragend",this),Ut(Z),Z.style["will-change"]="",vt&&!wt&&C(Z,ct?ct.options.ghostClass:this.options.ghostClass,!1),C(Z,this.options.chosenClass,!1),K({sortable:this,name:"unchoose",toEl:X,newIndex:null,newDraggableIndex:null,originalEvent:t}),Q!==X?(ot>=0&&(K({rootEl:X,name:"add",toEl:X,fromEl:Q,originalEvent:t}),K({sortable:this,name:"remove",toEl:X,originalEvent:t}),K({rootEl:X,name:"sort",toEl:X,fromEl:Q,originalEvent:t}),K({sortable:this,name:"sort",toEl:X,originalEvent:t})),ct&&ct.save()):ot!==it&&ot>=0&&(K({sortable:this,name:"update",toEl:X,originalEvent:t}),K({sortable:this,name:"sort",toEl:X,originalEvent:t})),zt.active&&(null!=ot&&-1!==ot||(ot=it,st=at),K({sortable:this,name:"end",toEl:X,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Y("nulling",this),Q=Z=X=J=tt=nt=et=rt=dt=ut=vt=ot=st=it=at=gt=bt=ct=lt=zt.dragged=zt.ghost=zt.clone=zt.active=null,Et.forEach((function(t){t.checked=!0})),Et.length=pt=mt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Z&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,r=0,i=n.length,o=this.options;r1&&(fe.forEach((function(t){r.addAnimationState({target:t,rect:ge?j(t):i}),F(t),t.fromRect=i,e.removeAnimationState(t)})),ge=!1,function(t,e){fe.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,r=t.insertion,i=t.activeSortable,o=t.parentEl,a=t.putSortable,s=this.options;if(r){if(n&&i._hideClone(),ve=!1,s.animation&&fe.length>1&&(ge||!n&&!i.options.sort&&!a)){var l=j(ue,!1,!0,!0);fe.forEach((function(t){t!==ue&&(z(t,l),o.appendChild(t))})),ge=!0}if(!n)if(ge||we(),fe.length>1){var c=me;i._showClone(e),i.options.animation&&!me&&c&&he.forEach((function(t){i.addAnimationState({target:t,rect:pe}),t.fromRect=pe,t.thisAnimationDuration=null}))}else i._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,r=t.activeSortable;if(fe.forEach((function(t){t.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){pe=o({},e);var i=S(ue,!0);pe.top-=i.f,pe.left-=i.e}},dragOverAnimationComplete:function(){ge&&(ge=!1,we())},drop:function(t){var e=t.originalEvent,n=t.rootEl,r=t.parentEl,i=t.sortable,o=t.dispatchSortableEvent,a=t.oldIndex,s=t.putSortable,l=s||this.sortable;if(e){var c=this.options,d=r.children;if(!be)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),C(ue,c.selectedClass,!~fe.indexOf(ue)),~fe.indexOf(ue))fe.splice(fe.indexOf(ue),1),ce=null,G({sortable:i,rootEl:n,name:"deselect",targetEl:ue,originalEvt:e});else{if(fe.push(ue),G({sortable:i,rootEl:n,name:"select",targetEl:ue,originalEvt:e}),e.shiftKey&&ce&&i.el.contains(ce)){var u,p,m=D(ce),f=D(ue);if(~m&&~f&&m!==f)for(f>m?(p=m,u=f):(p=f,u=m+1);p1){var h=j(ue),v=D(ue,":not(."+this.options.selectedClass+")");if(!ve&&c.animation&&(ue.thisAnimationDuration=null),l.captureAnimationState(),!ve&&(c.animation&&(ue.fromRect=h,fe.forEach((function(t){if(t.thisAnimationDuration=null,t!==ue){var e=ge?j(t):h;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),we(),fe.forEach((function(t){d[v]?r.insertBefore(t,d[v]):r.appendChild(t),v++})),a===D(ue))){var g=!1;fe.forEach((function(t){t.sortableIndex===D(t)||(g=!0)})),g&&o("update")}fe.forEach((function(t){F(t)})),l.animateAll()}de=l}(n===r||s&&"clone"!==s.lastPutMode)&&he.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=be=!1,he.length=0},destroyGlobal:function(){this._deselectMultiDrag(),b(document,"pointerup",this._deselectMultiDrag),b(document,"mouseup",this._deselectMultiDrag),b(document,"touchend",this._deselectMultiDrag),b(document,"keydown",this._checkKeyDown),b(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==be&&be||de!==this.sortable||t&&w(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;fe.length;){var e=fe[0];C(e,this.options.selectedClass,!1),fe.shift(),G({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[U];e&&e.options.multiDrag&&!~fe.indexOf(t)&&(de&&de!==e&&(de.multiDrag._deselectMultiDrag(),de=e),C(t,e.options.selectedClass,!0),fe.push(t))},deselect:function(t){var e=t.parentNode[U],n=fe.indexOf(t);e&&e.options.multiDrag&&~n&&(C(t,e.options.selectedClass,!1),fe.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return fe.forEach((function(r){var i;e.push({multiDragElement:r,index:r.sortableIndex}),i=ge&&r!==ue?-1:ge?D(r,":not(."+t.options.selectedClass+")"):D(r),n.push({multiDragElement:r,index:i})})),{items:l(fe),clones:[].concat(he),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function ye(t,e){he.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}function we(){fe.forEach((function(t){t!==ue&&t.parentNode&&t.parentNode.removeChild(t)}))}zt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):this.options.supportPointer?g(document,"pointermove",this._handleFallbackAutoScroll):e.touches?g(document,"touchmove",this._handleFallbackAutoScroll):g(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),ne(),ee(),clearTimeout(x),x=void 0},nulling:function(){Xt=Yt=Gt=te=Jt=Kt=Zt=null,Qt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,r=(t.touches?t.touches[0]:t).clientX,i=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(r,i);if(Xt=t,e||u||d||m){ie(t,this.options,o,e);var a=$(o,!0);!te||Jt&&r===Kt&&i===Zt||(Jt&&ne(),Jt=setInterval((function(){var o=$(document.elementFromPoint(r,i),!0);o!==a&&(a=o,ee()),ie(t,n.options,o,e)}),10),Kt=r,Zt=i)}else{if(!this.options.bubbleScroll||$(o,!0)===E())return void ee();ie(t,this.options,$(o,!1),!1)}}},o(t,{pluginName:"scroll",initializeByDefault:!0})}),zt.mount(se,ae),e.default=zt},function(t,e){},function(t,e,n){var r=n(47),i=n(194);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);t.exports=i.locals||{}},function(t,e,n){(e=n(48)(!1)).push([t.i,'.vue-form-wizard .wizard-btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857;border-radius:4px}.vue-form-wizard .wizard-btn.disabled,.vue-form-wizard .wizard-btn[disabled],fieldset[disabled] .vue-form-wizard .wizard-btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.vue-form-wizard *{-webkit-box-sizing:border-box;box-sizing:border-box}.vue-form-wizard a{text-decoration:none}.vue-form-wizard .wizard-nav{margin-bottom:0;padding-left:0;list-style:none}.vue-form-wizard .wizard-nav>li{position:relative;display:block}.vue-form-wizard .wizard-nav>li>a{position:relative;display:block;padding:10px 15px}.vue-form-wizard .wizard-nav>li>a:focus,.vue-form-wizard .wizard-nav>li>a:hover{text-decoration:none;background-color:#eee}.vue-form-wizard .wizard-nav>li.disabled>a{color:#777}.vue-form-wizard .wizard-nav>li.disabled>a:focus,.vue-form-wizard .wizard-nav>li.disabled>a:hover{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.vue-form-wizard .wizard-progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.vue-form-wizard .navbar .navbar-nav>li>a.wizard-btn,.vue-form-wizard .wizard-btn{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:2px;background-color:transparent;font-size:14px;font-weight:600;padding:6px 12px;min-width:140px}.vue-form-wizard .navbar .navbar-nav>li>a.wizard-btn:focus,.vue-form-wizard .navbar .navbar-nav>li>a.wizard-btn:hover,.vue-form-wizard .wizard-btn:focus,.vue-form-wizard .wizard-btn:hover{outline:0!important}.vue-form-wizard .wizard-nav-pills{margin-top:0;position:relative;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.vue-form-wizard .wizard-nav-pills a,.vue-form-wizard .wizard-nav-pills li{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-positive:1;flex-grow:1}.vue-form-wizard .wizard-nav-pills>li>a,.vue-form-wizard .wizard-nav-pills a{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-form-wizard .wizard-nav-pills>li>a{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0;margin:0 auto;color:rgba(0,0,0,.2);position:relative;top:3px}.vue-form-wizard .wizard-nav-pills>li>a:focus,.vue-form-wizard .wizard-nav-pills>li>a:hover{background-color:transparent;color:rgba(0,0,0,.2);outline:0!important}.vue-form-wizard .wizard-nav-pills>li>a.disabled{pointer-events:none;cursor:default}.vue-form-wizard .wizard-nav-pills>li.active>a,.vue-form-wizard .wizard-nav-pills>li.active>a:focus,.vue-form-wizard .wizard-nav-pills>li.active>a:hover{background-color:transparent;-webkit-transition:font-size .2s linear;transition:font-size .2s linear}.vue-form-wizard .wizard-nav-pills>li.active>a .wizard-icon,.vue-form-wizard .wizard-nav-pills>li.active>a:focus .wizard-icon,.vue-form-wizard .wizard-nav-pills>li.active>a:hover .wizard-icon{color:#fff;font-size:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .2s linear;transition:all .2s linear}.vue-form-wizard{padding-bottom:20px}.vue-form-wizard .is_error{border-color:#c84513!important}.vue-form-wizard .is_error .icon-container{background:#c84513!important}.vue-form-wizard.xs .wizard-icon-circle{width:40px;height:40px;font-size:16px}.vue-form-wizard.xs .wizard-icon-circle.tab_shape{height:25px}.vue-form-wizard.xs .wizard-nav-pills>li.active>a .wizard-icon{font-size:16px}.vue-form-wizard.xs .wizard-navigation .wizard-progress-with-circle{position:relative;top:25px;height:4px}.vue-form-wizard.sm .wizard-icon-circle{width:50px;height:50px;font-size:20px}.vue-form-wizard.sm .wizard-icon-circle.tab_shape{height:30px}.vue-form-wizard.sm .wizard-nav-pills>li.active>a .wizard-icon{font-size:20px}.vue-form-wizard.sm .wizard-navigation .wizard-progress-with-circle{position:relative;top:30px;height:4px}.vue-form-wizard.md .wizard-icon-circle{width:70px;height:70px;font-size:24px}.vue-form-wizard.md .wizard-icon-circle.tab_shape{height:40px}.vue-form-wizard.md .wizard-nav-pills>li.active>a .wizard-icon{font-size:24px}.vue-form-wizard.md .wizard-navigation .wizard-progress-with-circle{position:relative;top:40px;height:4px}.vue-form-wizard.lg .wizard-icon-circle{width:90px;height:90px;font-size:28px}.vue-form-wizard.lg .wizard-icon-circle.tab_shape{height:50px}.vue-form-wizard.lg .wizard-nav-pills>li.active>a .wizard-icon{font-size:28px}.vue-form-wizard.lg .wizard-navigation .wizard-progress-with-circle{position:relative;top:50px;height:4px}.vue-form-wizard .wizard-icon-circle{font-size:18px;border:3px solid #f3f2ee;border-radius:50%;font-weight:600;width:70px;height:70px;background-color:#fff;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center}.vue-form-wizard .wizard-icon-circle.square_shape{border-radius:0}.vue-form-wizard .wizard-icon-circle.tab_shape{width:100%;min-width:100px;height:40px;border:none;background-color:#f3f2ee;border-radius:0}.vue-form-wizard .wizard-icon-circle .wizard-icon-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1;border-radius:40%}.vue-form-wizard .wizard-icon-circle .wizard-icon-container.square_shape,.vue-form-wizard .wizard-icon-circle .wizard-icon-container.tab_shape{border-radius:0}.vue-form-wizard .wizard-icon-circle .wizard-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vue-form-wizard .wizard-tab-content{min-height:100px;padding:30px 20px 10px}.vue-form-wizard .wizard-header{padding:15px;position:relative;border-radius:3px 3px 0 0;text-align:center}.vue-form-wizard .wizard-title{color:#252422;font-weight:300;margin:0;text-align:center}.vue-form-wizard .category{font-size:14px;font-weight:400;color:#9a9a9a;margin-bottom:0;text-align:center}.vue-form-wizard .wizard-navigation .wizard-progress-with-circle{position:relative;top:40px;height:4px}.vue-form-wizard .wizard-navigation .wizard-progress-with-circle .wizard-progress-bar{-webkit-box-shadow:none;box-shadow:none;-webkit-transition:width .3s ease;transition:width .3s ease}.vue-form-wizard .clearfix:after{content:"";clear:both;display:table}.vue-form-wizard .wizard-card-footer{padding:0 20px}.vue-form-wizard .wizard-card-footer .wizard-footer-left{float:left}.vue-form-wizard .wizard-card-footer .wizard-footer-right{float:right}@media screen and (max-width:350px){.vue-form-wizard .wizard-card-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vue-form-wizard .wizard-card-footer .wizard-footer-left,.vue-form-wizard .wizard-card-footer .wizard-footer-right{float:none;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vue-form-wizard .wizard-card-footer .wizard-footer-right button{margin-top:10px}}.vue-form-wizard.vertical .wizard-card-footer{display:block}.vue-form-wizard.vertical .wizard-nav-pills{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vue-form-wizard.vertical .wizard-navigation{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.vue-form-wizard.vertical .wizard-card-footer{padding-top:30px}',""]),t.exports=e},function(t,e,n){"use strict";function r(t){return null==t}function i(t){return null!=t}function o(t,e){return e.tag===t.tag&&e.key===t.key}function a(t){var e=t.tag;t.vm=new e({data:t.args})}function s(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}function l(t,e,n){for(;e<=n;++e)a(t[e])}function c(t,e,n){for(;e<=n;++e){var r=t[e];i(r)&&(r.vm.$destroy(),r.vm=null)}}function d(t,e){t!==e&&(e.vm=t.vm,function(t){for(var e=Object.keys(t.args),n=0;nh?l(e,f,b):f>b&&c(t,m,h)}(t,e):i(e)?l(e,0,e.length-1):i(t)&&c(t,0,t.length-1)},e.h=function(t,e,n){return{tag:t,key:e,args:n}}},function(t,e,n){var r=n(47),i=n(197);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);t.exports=i.locals||{}},function(t,e,n){(e=n(48)(!1)).push([t.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-fade-enter-active,\n.vdatetime-fade-leave-active {\n transition: opacity .4s;\n}\n\n.vdatetime-fade-enter,\n.vdatetime-fade-leave-to {\n opacity: 0;\n}\n\n.vdatetime-overlay {\n z-index: 999;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: rgba(0, 0, 0, .5);\n transition: opacity .5s;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-popup {\n box-sizing: border-box;\n z-index: 1000;\n position: fixed;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n width: 340px;\n max-width: calc(100% - 30px);\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .3);\n color: #444;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;\n line-height: 1.18;\n background: #fff;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0)\n}\n\n.vdatetime-popup * {\n box-sizing: border-box\n}\n\n.vdatetime-popup__header {\n padding: 18px 30px;\n background: #3f51b5;\n color: #fff;\n font-size: 32px;\n}\n\n.vdatetime-popup__title {\n margin-bottom: 8px;\n font-size: 21px;\n font-weight: 300;\n}\n\n.vdatetime-popup__year {\n font-weight: 300;\n font-size: 14px;\n opacity: 0.7;\n cursor: pointer;\n transition: opacity .3s\n}\n\n.vdatetime-popup__year:hover {\n opacity: 1\n}\n\n.vdatetime-popup__date {\n line-height: 1;\n cursor: pointer;\n}\n\n.vdatetime-popup__actions {\n padding: 0 20px 10px 30px;\n text-align: right;\n}\n\n.vdatetime-popup__actions__button {\n display: inline-block;\n border: none;\n padding: 10px 20px;\n background: transparent;\n font-size: 16px;\n color: #3f51b5;\n cursor: pointer;\n transition: color .3s\n}\n\n.vdatetime-popup__actions__button:hover {\n color: #444\n}\n.vdatetime-calendar__navigation--previous:hover svg path, .vdatetime-calendar__navigation--next:hover svg path {\n stroke: #888;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-calendar__navigation,\n.vdatetime-calendar__navigation * {\n box-sizing: border-box;\n}\n\n.vdatetime-calendar__navigation {\n position: relative;\n margin: 15px 0;\n padding: 0 30px;\n width: 100%;\n}\n\n.vdatetime-calendar__navigation--previous,\n.vdatetime-calendar__navigation--next {\n position: absolute;\n top: 0;\n padding: 0 5px;\n width: 18px;\n cursor: pointer\n}\n\n.vdatetime-calendar__navigation--previous svg, .vdatetime-calendar__navigation--next svg {\n width: 8px;\n height: 13px;\n}\n\n.vdatetime-calendar__navigation--previous svg path, .vdatetime-calendar__navigation--next svg path {\n transition: stroke .3s;\n}\n\n.vdatetime-calendar__navigation--previous {\n left: 25px;\n}\n\n.vdatetime-calendar__navigation--next {\n right: 25px;\n -webkit-transform: scaleX(-1);\n transform: scaleX(-1);\n}\n\n.vdatetime-calendar__current--month {\n text-align: center;\n text-transform: capitalize;\n}\n\n.vdatetime-calendar__month {\n padding: 0 20px;\n transition: height .2s;\n}\n\n.vdatetime-calendar__month__weekday,\n.vdatetime-calendar__month__day {\n display: inline-block;\n width: 14.28571%;\n line-height: 36px;\n text-align: center;\n font-size: 15px;\n font-weight: 300;\n cursor: pointer\n}\n\n.vdatetime-calendar__month__weekday > span, .vdatetime-calendar__month__day > span {\n display: block;\n width: 100%;\n position: relative;\n height: 0;\n padding: 0 0 100%;\n overflow: hidden;\n}\n\n.vdatetime-calendar__month__weekday > span > span, .vdatetime-calendar__month__day > span > span {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border: 0;\n border-radius: 50%;\n transition: background-color .3s, color .3s;\n}\n\n.vdatetime-calendar__month__weekday {\n font-weight: bold;\n}\n\n.vdatetime-calendar__month__day:hover > span > span {\n background: #eee;\n}\n\n.vdatetime-calendar__month__day--selected {\n}\n\n.vdatetime-calendar__month__day--selected > span > span,\n .vdatetime-calendar__month__day--selected:hover > span > span {\n color: #fff;\n background: #3f51b5;\n}\n\n.vdatetime-calendar__month__day--disabled {\n opacity: 0.4;\n cursor: default\n}\n\n.vdatetime-calendar__month__day--disabled:hover > span > span {\n color: inherit;\n background: transparent;\n}\n.vdatetime-time-picker__list::-webkit-scrollbar-thumb {\n background: #ccc\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-time-picker__list::-webkit-scrollbar-track {\n background: #efefef\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-time-picker * {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-time-picker {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-time-picker::after {\n content: \'\';\n display: table;\n clear: both\n}\n\n.vdatetime-time-picker__list {\n float: left;\n width: 50%;\n height: 305px;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch\n}\n\n.vdatetime-time-picker__list::-webkit-scrollbar {\n width: 3px\n}\n\n.vdatetime-time-picker__with-suffix .vdatetime-time-picker__list {\n width: 33.3%;\n}\n\n.vdatetime-time-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n transition: font-size .3s;\n}\n\n.vdatetime-time-picker__item:hover {\n font-size: 32px;\n}\n\n.vdatetime-time-picker__item--selected {\n color: #3f51b5;\n font-size: 32px;\n}\n\n.vdatetime-time-picker__item--disabled {\n opacity: 0.4;\n cursor: default;\n font-size: 20px !important;\n}\n.vdatetime-year-picker__list::-webkit-scrollbar-thumb {\n background: #ccc\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-year-picker__list::-webkit-scrollbar-track {\n background: #efefef\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-year-picker * {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-year-picker {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-year-picker::after {\n content: \'\';\n display: table;\n clear: both\n}\n\n.vdatetime-year-picker__list {\n float: left;\n width: 100%;\n height: 305px;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch\n}\n\n.vdatetime-year-picker__list::-webkit-scrollbar {\n width: 3px\n}\n\n.vdatetime-year-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n transition: font-size .3s;\n}\n\n.vdatetime-year-picker__item:hover {\n font-size: 32px;\n}\n\n.vdatetime-year-picker__item--selected {\n color: #3f51b5;\n font-size: 32px;\n}\n\n.vdatetime-year-picker__item--disabled {\n opacity: 0.4;\n cursor: default\n}\n\n.vdatetime-year-picker__item--disabled:hover {\n color: inherit;\n background: transparent\n}\n.vdatetime-month-picker__list::-webkit-scrollbar-thumb {\n background: #ccc\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-month-picker__list::-webkit-scrollbar-track {\n background: #efefef\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-month-picker * {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-month-picker {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-month-picker::after {\n content: \'\';\n display: table;\n clear: both\n}\n\n.vdatetime-month-picker__list {\n float: left;\n width: 100%;\n height: 305px;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch\n}\n\n.vdatetime-month-picker__list::-webkit-scrollbar {\n width: 3px\n}\n\n.vdatetime-month-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n transition: font-size .3s;\n}\n\n.vdatetime-month-picker__item:hover {\n font-size: 32px;\n}\n\n.vdatetime-month-picker__item--selected {\n color: #3f51b5;\n font-size: 32px;\n}\n\n.vdatetime-month-picker__item--disabled {\n opacity: 0.4;\n cursor: default\n}\n\n.vdatetime-month-picker__item--disabled:hover {\n color: inherit;\n background: transparent\n}\n',""]),t.exports=e},,,,,,,function(t,e,n){"use strict";n.r(e);var r=n(2),i=n.n(r),o=n(46);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce((function(t,e){var n=e.split(".").slice(-1)[0];if(t[n])throw new Error("The key `".concat(n,"` is already in use."));return t[n]=e,t}),{})}function c(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r',width:24,height:24},g=n(106),b=n.n(g),_={body:'',width:24,height:24},y=n(107),w=n.n(y),x=n(108),k=n.n(x),C={body:'',width:32,height:32},M={body:'',width:24,height:24},S={body:'',width:24,height:24},T=n(109),E=n.n(T),j={body:'',width:24,height:24},O={body:'',width:16,height:16},I=n(110),L=n.n(I),D=n(111),N=n.n(D),$={body:'',width:24,height:24},A={body:'',width:24,height:24},R={body:'',width:24,height:24},P={body:'',width:24,height:24},q={body:'',width:24,height:24},z=n(112),F=n.n(z),U=n(113),B=n.n(U),V={body:'',width:32,height:32},H=n(114),W=n.n(H),G=n(115),Y=n.n(G),K={body:'',width:24,height:24},Z={data:()=>({icons:{arrowUp:v,bugIcon:b.a,bxBriefcase:_,cardChecklist:w.a,clipboardIcon:k.a,documentPdf:C,documentText:M,folderIcon:S,groupPresentation:E.a,imageIcon:j,infoCircle:O,linkIcon:L.a,linkIcon2:N.a,linkOut:$,mailIcon:A,microsoftExcel:R,microsoftPowerpoint:P,microsoftWord:q,noteAdd:F.a,objectStorage:B.a,passwordIcon:V,userIcon:W.a,usersIcon:Y.a,xCircle:K}})};const X=n(3);function J(t,e,n,r,i,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(t,e){return l.call(e),d(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}var Q=J({name:"BugsModule",props:["destination","locationId"],mixins:[h,Z],data:()=>({bugList:[]}),methods:{addNewBug:function(){new f.a(document.getElementById("addBugModal")).show()},appendBugList:function(t){this.bugList.push(t[0].fields)},getBugHyperLink:function(t){return"Bugzilla"==t.bug_client__list_of_bug_client__bug_client_name?`${t.bug_client__bug_client_url}/show_bug.cgi?id=${t.bug_code}`:"javascript:void(0)"},getBugList:function(){"requirement_item"!==this.destination&&X.post(`/object_data/${this.destination}/${this.locationId}/bug_list/`).then(t=>{this.bugList=[],t.data.forEach(t=>{this.bugList.push(t)})}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){this.getBugList()}},m,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Bug Description")]),this._v(" "),e("td",[this._v("Status")])])])}],!1,null,"dee4f3f4",null);Q.options.__file="src/js/components/modules/sub_modules/BugsModule.vue";var tt=Q.exports,et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Customers")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Below are a list of customers who are stakeholders to this "+t._s(t.destination)+".\n ")]),t._v(" "),0==t.customerResults.length?n("div",[t._m(0)]):n("div",[n("customers-list-module",{attrs:{"customer-results":t.customerResults}})],1),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.addNewCustomer}},[t._v("\n Add Customer\n ")])])]),t._v(" "),n("add-customer-wizard",{attrs:{"location-id":t.locationId,destination:t.destination,"exclude-customers":t.customerResults},on:{update_customer_results:function(e){return t.updateCustomerResults(e)}}})],1)};et._withStripped=!0;const nt=n(3);var rt=J({name:"CustomersModule",props:["destination","locationId"],mixins:[h,Z],data:()=>({customerResults:[]}),methods:{addNewCustomer:function(){new f.a(document.getElementById("addCustomerModal")).show()},loadCustomerResults:function(){nt.post(`/object_data/${this.destination}/${this.locationId}/customer_list/`).then(t=>{this.customerResults=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateCustomerResults:function(t){this.customerResults=t}},mounted(){this.loadCustomerResults()}},et,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"customers-module-spacer"},[e("div",{staticClass:"alert alert-dark"},[this._v("\n Sorry - there are no customers. Please add them by clicking on the button below\n ")])])}],!1,null,"fc846c14",null);rt.options.__file="src/js/components/modules/sub_modules/CustomersModule.vue";var it=rt.exports,ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.bxBriefcase}}),t._v(" Documents")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following is a folder structure of all documents uploaded to this "+t._s(t.destination)+"\n ")]),t._v(" "),t.documentList.length+t.folderList.length==0?n("div",{staticClass:"module-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("Sorry - there are no documents or folders uploaded.")])]):n("div",{staticClass:"document-widget"},[null!=this.currentFolder?n("div",{staticClass:"document-child",on:{click:function(e){return t.goToParentDirectory()}}},[n("IconifyIcon",{attrs:{icon:t.icons.arrowUp,width:"80px",height:"80px"}}),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Go to Parent Directory...\n ")])],1):t._e(),t._v(" "),t._l(t.folderFilteredList,(function(e){return n("div",{key:e.pk,staticClass:"document-child",on:{click:function(n){return t.updateCurrentFolder(e.pk)}}},[n("IconifyIcon",{attrs:{icon:t.icons.folderIcon,width:"80px",height:"80px"}}),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n "+t._s(t.shortName(e.fields.folder_description))+"\n ")])],1)})),t._v(" "),t._l(t.documentFilteredList,(function(e){return n("div",{key:e.document_key_id,staticClass:"document-child"},[n("a",{attrs:{href:"/private/"+e.document_key_id+"/",rel:"noopener noreferrer",target:"_blank"}},[n("IconifyIcon",{attrs:{icon:t.getIcon(e),width:"80px",height:"80px"}}),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n "+t._s(t.shortName(e.document_key__document_description))+"\n ")])],1)])}))],2),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"btn-group save-changes"},[n("button",{staticClass:"btn btn-primary dropdown-toggle",attrs:{type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"}},[t._v("\n New Document/File\n ")]),t._v(" "),n("ul",{staticClass:"dropdown-menu"},[n("li",[n("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0)"},on:{click:t.uploadDocument}},[t._v("\n Upload Document\n ")])]),t._v(" "),n("li",[n("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0)"},on:{click:t.addLink}},[t._v("\n Add Link\n ")])]),t._v(" "),n("li",[n("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0)"},on:{click:t.addFolder}},[t._v("\n Add Folder\n ")])])])]),t._v(" "),n("add-folder-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"current-folder":t.currentFolder,"existing-folders":t.folderFilteredList},on:{update_folder_list:function(e){return t.updateFolderList(e)}}}),t._v(" "),n("add-link-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"current-folder":t.currentFolder,"exclude-documents":t.documentFilteredList},on:{update_document_list:function(e){return t.updateDocumentList(e)}}}),t._v(" "),n("upload-document-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"current-folder":t.currentFolder,"exclude-documents":t.documentFilteredList},on:{update_document_list:function(e){return t.updateDocumentList(e)}}})],1)};ot._withStripped=!0;const at=n(3);var st=J({name:"DocumentsModule",props:["destination","locationId"],data:()=>({currentFolder:null,documentList:[],documentFilteredList:[],folderList:[],folderFilteredList:[]}),mixins:[Z],methods:{addFolder:function(){new f.a(document.getElementById("addFolderModal")).show()},addLink:function(){new f.a(document.getElementById("addLinkModal")).show()},getDocumentList:function(){at.post(`/documentation/${this.destination}/${this.locationId}/list/files/`).then(t=>{this.documentList=t.data,this.updateDocumentFilteredList()})},getFolderList:function(){at.post(`/documentation/${this.destination}/${this.locationId}/list/folders/`).then(t=>{this.folderList=t.data,this.updateFolderFilteredList()})},getIcon:function(t){if(""!=t.document_key__document_url_location&&null!==t.document_key__document_url_location)return this.icons.linkOut;var e=t.document_key__document.split(".");switch(e[e.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}},goToParentDirectory:function(){var t=this.folderList.filter(t=>t.pk==this.currentFolder)[0];this.updateCurrentFolder(t.fields.parent_folder)},shortName:function(t){return t.length<=50?t:t.substring(0,47)+"..."},updateCurrentFolder:function(t){this.currentFolder=t,this.updateDocumentFilteredList(),this.updateFolderFilteredList()},updateDocumentList:function(t){this.documentList.push(t[0]),this.updateDocumentFilteredList()},updateDocumentFilteredList:function(){this.documentFilteredList=this.documentList.filter(t=>t.folder==this.currentFolder)},updateFolderList:function(t){this.folderList.push(t[0]),this.updateFolderFilteredList()},updateFolderFilteredList:function(){this.folderFilteredList=this.folderList.filter(t=>t.fields.parent_folder==this.currentFolder)},uploadDocument:function(){new f.a(document.getElementById("uploadDocumentModal")).show()}},mounted(){this.getDocumentList(),this.getFolderList()}},ot,[],!1,null,"3a4a4099",null);st.options.__file="src/js/components/modules/sub_modules/DocumentsModule.vue";var lt=st.exports,ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Stakeholder Organisation\n "),!t.$v.stakeholderModel.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please search for a Stakeholder.")]):t._e()]),t._v(" "),n("v-select",{staticClass:"get-stakeholders",attrs:{options:t.stakeholderFixList,label:"organisation_name"},on:{search:t.fetchOptions},model:{value:t.stakeholderModel,callback:function(e){t.stakeholderModel=e},expression:"stakeholderModel"}})],1)])])};ct._withStripped=!0;var dt=n(1),ut={methods:{searchTrigger:function(t){""!=t.searchTimeout&&clearTimeout(t.searchTimeout),void 0===t.search?this.searchUndefined(t):this.searchDefined(t)},searchDefined:function(t){t.search.length>=3&&(t.searchTimeout=setTimeout(t.return_function,500,t.search,t.loading))},searchUndefined:function(t){t.searchTimeout=setTimeout(t.return_function,500)}}};const pt=n(3);var mt=J({name:"GetStakeholders",components:{axios:pt,bootstrap:f.default},mixins:[ut],props:["isDirty"],data:()=>({searchTimeout:"",stakeholderFixList:[],stakeholderModel:""}),validations:{stakeholderModel:{required:dt.required}},methods:{fetchOptions:function(t,e){this.searchTrigger({return_function:this.getOrganisationData,searchTimeout:this.searchTimeout,search:t,loading:e})},getOrganisationData:function(t,e){const n=new FormData;n.set("search",t),pt.post("/search/organisation/data/",n).then(t=>{this.stakeholderFixList=[],t.data.forEach(t=>{var e={value:t.pk,organisation_name:t.fields.organisation_name,organisation_website:t.fields.organisation_website,organisation_email:t.fields.organisation_email,organisation_profile_picture:t.fields.organisation_profile_picture};this.stakeholderFixList.push(e)})}).catch((function(t){document.getElementById("errorModalContent").innerHTML="Search Organisation Issue:
"+t,new f.default.Modal(document.getElementById("errorModal"),{keyboard:!1}).show(),document.getElementById("loader").style.display="none"}))}},watch:{stakeholderModel:function(){this.$emit("update_stakeholder_model",this.stakeholderModel)}},mounted(){this.getOrganisationData("","")}},ct,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Stakeholder Organisation")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please search for your stakeholder's organisation in the dropdown box. Once found, please select.\n ")])])}],!1,null,"3254ff31",null);mt.options.__file="src/js/components/organisations/GetStakeholders.vue";var ft=mt.exports,ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("h2",[t._v("Group Permissions")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Add or remove groups from this "+t._s(t.destination)+". Adding a group will allow users\n from that group to access this "+t._s(t.destination)+".\n ")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n If you do not add one of your own group(s), you will only get readonly access.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Group List\n "),!t.$v.groupModel.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please select at least one group.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.groupFixResults,label:"group",multiple:""},model:{value:t.groupModel,callback:function(e){t.groupModel=e},expression:"groupModel"}})],1)])};ht._withStripped=!0;var vt=J({name:"GroupPermissions",components:{},props:{destination:String,groupResults:Array,isDirty:Boolean,userGroupResults:{type:Array,default:()=>[]}},watch:{groupModel:function(){this.$emit("update_group_model",this.groupModel)}},data:()=>({groupFixResults:[],groupModel:[]}),validations:{groupModel:{required:dt.required}},mounted(){this.groupResults.forEach(t=>{var e={value:t.pk,group:t.fields.group_name};this.groupFixResults.push(e)}),this.groupModel=this.userGroupResults.map(t=>({group:t.group__group_name,value:t.group_id}))}},ht,[],!1,null,"2d989908",null);vt.options.__file="src/js/components/permissions/GroupPermissions.vue";var gt=vt.exports,bt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.groupPresentation}}),t._v(" Groups")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following list are all the Groups connected to this "+t._s(t.destination)+". Users will have to be included\n in these groups to be added to this "+t._s(t.destination)+"\n ")]),t._v(" "),n("table",{staticClass:"table group-and-user-table"},[t._m(0),t._v(" "),n("tbody",t._l(t.groupList,(function(e){return n("tr",[n("td",[t._v(t._s(e.fields.group_name))])])})),0)]),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewGroup}},[t._v("Add Group to "+t._s(t.destination))])])]),t._v(" "),n("hr"),t._v(" "),n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Users")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are a list of users who are connected to this "+t._s(t.destination)+". Please note - users have to be\n a part of the groups list above.\n ")]),t._v(" "),0==t.userList.length?n("div",{staticClass:"alert alert-dark"},[t._v("\n Sorry - there are no current users active.\n ")]):n("div",{staticClass:"user-card-layouts"},t._l(t.userList,(function(e){return n("div",{staticClass:"user-card"},[n("img",{staticClass:"default-user-profile",attrs:{src:"/static/NearBeach/images/placeholder/people_tax.svg",alt:"default profile"}}),t._v(" "),n("div",{staticClass:"user-details"},[n("strong",[t._v(t._s(e.first_name)+" "+t._s(e.last_name))]),n("br"),t._v("\n "+t._s(e.username)+"\n "),n("div",{staticClass:"spacer"}),t._v("\n "+t._s(e.email)+"\n ")])])})),0),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewUser}},[t._v("Add User to "+t._s(t.destination))])])]),t._v(" "),n("add-group-wizard",{attrs:{destination:t.destination,"location-id":t.locationId},on:{update_group_list:function(e){return t.updateGroupList(e)}}}),t._v(" "),n("add-user-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"refresh-user-list":t.refreshUserListBoolean},on:{update_user_list:function(e){return t.updateUserList(e)},reset_refresh_user_list:function(e){return t.resetRefreshUserList(e)}}})],1)};bt._withStripped=!0;const _t=n(3);var yt=J({name:"GroupsAndUsersModule",props:["destination","locationId"],mixins:[h,Z],data:()=>({groupList:[],refreshUserListBoolean:!1,userList:[]}),methods:{addNewGroup:function(){new f.a(document.getElementById("addGroupModal")).show()},addNewUser:function(){new f.a(document.getElementById("addUserModal")).show()},getGroupList:function(){_t.post(`/object_data/${this.destination}/${this.locationId}/group_list/`).then(t=>{this.groupList=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},getUserList:function(){_t.post(`/object_data/${this.destination}/${this.locationId}/user_list/`).then(t=>{this.userList=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},resetRefreshUserList:function(){this.refreshUserListBoolean=!1},updateGroupList:function(t){this.groupList=t,this.refreshUserListBoolean=!0},updateUserList:function(t){this.userList=t}},mounted(){this.getGroupList(),this.getUserList()}},bt,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Group Name")])])])}],!1,null,"0f5e1aac",null);yt.options.__file="src/js/components/modules/sub_modules/GroupsAndUsersModule.vue";var wt=yt.exports,xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("ul",{staticClass:"nav nav-tabs",attrs:{id:"misc_module_tabs",role:"tablist"}},["requirement_item"!=t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link active",attrs:{id:"group-and-user-tab","data-bs-toggle":"tab","data-bs-target":"#group-and-users",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Groups and Users")])]):t._e(),t._v(" "),"requirement"==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"requirement-item-tab","data-bs-toggle":"tab","data-bs-target":"#requirement-items",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Requirement Item")])]):t._e(),t._v(" "),"requirement"==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"requirement-link-tab","data-bs-toggle":"tab","data-bs-target":"#requirement-links",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Requirement Links")])]):t._e(),t._v(" "),"requirement_item"==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"requirement-item-link-tab","data-bs-toggle":"tab","data-bs-target":"#requirement-item-links",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Links")])]):t._e(),t._v(" "),t._m(0),t._v(" "),"requirement"!==t.destination&&"requirement_item"!==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"object-link-tabs","data-bs-toggle":"tab","data-bs-target":"#object-links",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Linked Objects")])]):t._e(),t._v(" "),"requirement_item"!==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"customer-tab","data-bs-toggle":"tab","data-bs-target":"#customers",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Customers")])]):t._e(),t._v(" "),["project","task","requirement"].includes(t.destination)?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"bug-tab","data-bs-toggle":"tab","data-bs-target":"#bugs",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Bugs")])]):t._e(),t._v(" "),t._m(1),t._v(" "),t._m(2)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"tab-content",attrs:{id:"misc_module_content"}},["requirement_item"!==t.destination?n("div",{staticClass:"tab-pane fade show active",attrs:{id:"group-and-users",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("groups-and-users-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1):t._e(),t._v(" "),"requirement"==t.destination?n("div",{staticClass:"tab-pane fade",attrs:{id:"requirement-items",role:"tabpanel","aria-labelledby":"home-tab"}},[n("requirement-items-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1):t._e(),t._v(" "),"requirement"==t.destination?n("div",{staticClass:"tab-pane fade",attrs:{id:"requirement-links",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("requirement-links-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1):"requirement_item"==t.destination?n("div",{staticClass:"tab-pane fade",attrs:{id:"requirement-item-links",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("requirement-item-links-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1):t._e(),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"documents",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("documents-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"object-links",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("object-links",{attrs:{destination:t.destination,"location-id":t.locationId}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"customers",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("customers-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"bugs",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("bugs-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"misc",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("misc-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"notes",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("notes-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1)])])])};xt._withStripped=!0;var kt=J({name:"ParentModules",props:{destination:String,locationId:Number,rootUrl:{type:String,default:"/"},staticUrl:{type:String,default:"/"}},data:()=>({}),methods:{},mounted(){this.$store.commit({type:"updateDestination",destination:this.destination,locationId:this.locationId}),this.$store.commit({type:"updateUrl",rootUrl:this.rootUrl,staticUrl:this.staticUrl})}},xt,[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"documents-tab","data-bs-toggle":"tab","data-bs-target":"#documents",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[this._v("Documents")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"misc-tab","data-bs-toggle":"tab","data-bs-target":"#misc",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[this._v("Misc")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"notes-tab","data-bs-toggle":"tab","data-bs-target":"#notes",type:"button",role:"tab","aria-controls":"home","aria-select":"false"}},[this._v("Notes")])])}],!1,null,"d819f14e",null);kt.options.__file="src/js/components/modules/ParentModules.vue";var Ct=kt.exports,Mt=function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("list-tags-module",{attrs:{destination:this.destination,"location-id":this.locationId}})],1)};Mt._withStripped=!0;const St=n(3);var Tt=J({name:"MiscModule",components:{},props:["destination","locationId"],mixins:[h,Z],data:()=>({noteHistoryResults:[]}),methods:{createNewNote:function(){new f.a(document.getElementById("newNoteModal")).show()},getNoteHistoryResults:function(){St.post(`/object_data/${this.destination}/${this.locationId}/note_list/`).then(t=>{this.noteHistoryResults=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateNoteHistoryResults:function(t){this.noteHistoryResults.push(t[0])}},mounted(){this.getNoteHistoryResults()}},Mt,[],!1,null,"24f97633",null);Tt.options.__file="src/js/components/modules/sub_modules/MiscModule.vue";var Et=Tt.exports,jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addBugModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-xl"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.usersIcon}}),t._v(" Add Bugs Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Adding Bugs")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Select which bug client you want to search data from. Then use keywords or bug id to\n search for the required bugs. Once the search results appear, select those appropriate\n bugs that you want to link to the "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Bug Client")]),t._v(" "),n("v-select",{attrs:{options:t.bugClientList,label:"bug_client_name",option:"bug_client_id"},model:{value:t.bugClientModel,callback:function(e){t.bugClientModel=e},expression:"bugClientModel"}})],1),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search Keywords")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control",attrs:{type:"text",disabled:""==t.bugClientModel,maxlength:"50"},domProps:{value:t.searchModel},on:{keydown:t.startSearchTimer,input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),t.searchOn?n("div",{staticClass:"no-search"},[n("strong",[t._v("Currently Searching for Bugs")]),n("br"),t._v(" "),n("img",{attrs:{src:"/static/NearBeach/images/placeholder/online_connection.svg",alt:"Placeholder Search Image"}})]):0==t.bugResults.length?n("div",{staticClass:"no-search"},[n("strong",[t._v("No Search Results Sorry")]),n("br"),t._v(" "),n("img",{attrs:{src:"/static/NearBeach/images/placeholder/road_to_knowledge.svg",alt:"Placeholder Search Image"}})]):n("div",{attrs:{id:"bug_results_div"}},[n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.bugResults,(function(e){return n("tr",[n("td",{attrs:{id:"bug_no_"+e.id}},[n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(n){return t.submitBug(e.id)}}},[t._v("\n Add Bug\n ")])]),t._v(" "),n("td",[t._v("\n "+t._s(e.summary)+"\n "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Assigned to: "+t._s(e.assigned_to))]),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Bug No. "+t._s(e.id)+" | Priority. "+t._s(e.priority))])]),t._v(" "),n("td",[t._v(t._s(e.status))])])})),0)])])])])]),t._v(" "),t._m(2)])])])};jt._withStripped=!0;const Ot=n(3);var It=J({name:"AddBugWizard",props:["destination","locationId"],mixins:[h,Z],data:()=>({bugClientModel:"",bugClientList:[],bugResults:[],searchModel:"",searchOn:!1,searchTimer:""}),methods:{loadBugClientList:function(){Ot.post("/object_data/bug_client_list/").then(t=>{this.bugClientList=[],t.data.forEach(t=>{this.bugClientList.push({bug_client_id:t.pk,bug_client_name:t.fields.bug_client_name})})})},startSearchTimer:function(){""!=this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout(()=>{this.startSearch()},700)},startSearch:function(){if(""===this.searchModel)return;this.searchOn=!0;const t=new FormData;t.set("bug_client_id",this.bugClientModel.bug_client_id),t.set("search",this.searchModel),Ot.post(`/object_data/${this.destination}/${this.locationId}/query_bug_client/`,t).then(t=>{this.bugResults=t.data,this.searchOn=!1}).catch(t=>{this.showErrorModal(t,this.destination)})},submitBug:function(t){var e=document.getElementById("bug_no_"+t);e.innerHTML="Adding Bug";var n=this.bugResults.filter(e=>e.id==t);const r=new FormData;r.set("bug_client",this.bugClientModel.bug_client_id),r.set("bug_id",t),r.set("bug_description",n[0].summary),r.set("bug_status",n[0].status),Ot.post(`/object_data/${this.destination}/${this.locationId}/add_bug/`,r).then(t=>{this.$emit("append_bug_list",t.data),e.innerHTML="Done"}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){this.loadBugClientList()}},jt,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addBugsCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td"),this._v(" "),e("td",[this._v("Bug Description")]),this._v(" "),e("td",[this._v("Bug Status")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[this._v("Close")])])}],!1,null,"12f8b90e",null);It.options.__file="src/js/components/modules/wizards/AddBugWizard.vue";var Lt=It.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addCustomerModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.usersIcon}}),t._v(" Add Customers Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[t.customerFixList.length>0?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Select Customer")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Search for a customer who has not been added to this "+t._s(t.destination)+". If the search is\n blank there are either no customers that match that search, or all customer have already\n been added to the "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("v-select",{attrs:{options:t.customerFixList,label:"customerName"},model:{value:t.customerModel,callback:function(e){t.customerModel=e},expression:"customerModel"}})],1)]):n("div",{staticClass:"row"},[t._m(1),t._v(" "),t._m(2)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",diabled:""==t.customerModel},on:{click:t.addCustomer}},[t._v("\n Save changes\n ")])])])])])};Dt._withStripped=!0;const Nt=n(3);var $t=J({name:"AddCustomerWizard",props:["destination","locationId","excludeCustomers"],mixins:[h,Z],data:()=>({customerModel:"",customerList:[],customerFixList:[]}),methods:{addCustomer:function(){const t=new FormData;t.set("customer",this.customerModel.value),Nt.post(`/object_data/${this.destination}/${this.locationId}/add_customer/`,t).then(t=>{this.$emit("update_customer_results",t.data),this.customerModel="",document.getElementById("addCustomerCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})},getCustomerList:function(){Nt.post(`/object_data/${this.destination}/${this.locationId}/customer_list_all/`).then(t=>{this.customerList=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateCustomerFixList:function(){if(0!=this.customerList.length){var t=[];this.excludeCustomers.forEach(e=>{t.push(e.pk)}),this.customerFixList=[],this.customerList.forEach(e=>{t.includes(e.pk)||this.customerFixList.push({value:e.pk,customerName:`${e.fields.customer_first_name} ${e.fields.customer_last_name}`})})}}},mounted(){this.getCustomerList()},watch:{excludeCustomers:function(){this.updateCustomerFixList()}}},Dt,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addCustomerCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6"},[e("strong",[this._v("Sorry - no results")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n This could be because\n "),e("ul",[e("li",[this._v("There are no more customers left to add")]),this._v(" "),e("li",[this._v("There are no customers for this organisation")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6 no-search"},[e("img",{attrs:{src:"/static/NearBeach/images/placeholder/questions.svg",alt:"Sorry - there are no results"}})])}],!1,null,"70989242",null);$t.options.__file="src/js/components/modules/wizards/AddCustomerWizard.vue";var At=$t.exports,Rt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addFolderModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Add Folder Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"folder_description"}},[t._v("Folder Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.folderDescriptionModel,expression:"folderDescriptionModel"}],staticClass:"form-control",attrs:{type:"text",id:"folder_description",maxlength:"50"},domProps:{value:t.folderDescriptionModel},on:{input:function(e){e.target.composing||(t.folderDescriptionModel=e.target.value)}}})])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableAddFolderButton},on:{click:t.addFolder}},[t._v("\n Add Folder\n ")])])])])])};Rt._withStripped=!0;const Pt=n(3);var qt=J({name:"AddFolderWizard",props:["currentFolder","destination","existingFolders","locationId"],mixins:[h,Z],data:()=>({disableAddFolderButton:!0,folderDescriptionModel:""}),methods:{addFolder:function(){const t=new FormData;t.set("folder_description",this.folderDescriptionModel),null!==this.currentFolder&&""!=this.currentFolder&&t.set("parent_folder",this.currentFolder),Pt.post(`/documentation/${this.destination}/${this.locationId}/add_folder/`,t).then(t=>{this.$emit("update_folder_list",t.data),this.folderDescriptionModel="",document.getElementById("addFolderCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})}},updated(){var t=this.existingFolders.filter(t=>t.fields.folder_description==this.folderDescriptionModel);this.disableAddFolderButton=t.length>0||""==this.folderDescriptionModel}},Rt,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addFolderCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Creating a folder")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Give the folder an appropriate name. When done, click on the "Save" button. It will be\n added to the current folder.\n ')])])}],!1,null,"0b928222",null);qt.options.__file="src/js/components/modules/wizards/AddFolderWizard.vue";var zt=qt.exports,Ft=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addGroupModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.groupPresentation}}),t._v(" Add Group Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[t.groupFixList.length>0?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Add Groups")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Use the following multiple select to select which groups you want to add to this\n "+t._s(t.destination)+".\n ")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please note: A user's group has to be added to the "+t._s(t.destination)+" before the user\n can be added.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("v-select",{attrs:{options:t.groupFixList,multiple:""},model:{value:t.groupModel,callback:function(e){t.groupModel=e},expression:"groupModel"}})],1)]):n("div",{staticClass:"row"},[t._m(1),t._v(" "),t._m(2)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.groupModel.length},on:{click:t.addGroup}},[t._v("Add Group(s)")])])])])])};Ft._withStripped=!0;const Ut=n(3);var Bt=J({name:"AddGroupWizard",props:["destination","locationId"],mixins:[h,Z],data:()=>({groupFixList:[],groupModel:[]}),methods:{addGroup:function(){const t=new FormData;this.groupModel.forEach(e=>{t.append("group_list",e.value)}),Ut.post(`/object_data/${this.destination}/${this.locationId}/add_group/`,t).then(t=>{this.$emit("update_group_list",t.data),document.getElementById("addGroupCloseButton").click(),this.getGroupList()}).catch(t=>{this.showErrorModal(t,this.destination)})},getGroupList:function(){Ut.post(`/object_data/${this.destination}/${this.locationId}/group_list_all/`).then(t=>{this.groupFixList=[],t.data.forEach(t=>{var e={value:t.pk,label:t.fields.group_name};this.groupFixList.push(e)})}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){this.getGroupList()}},Ft,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addGroupCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6"},[e("strong",[this._v("Sorry - no results")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n This could be because\n "),e("ul",[e("li",[this._v("There are no more groups left to add")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6 no-search"},[e("img",{attrs:{src:"/static/NearBeach/images/placeholder/questions.svg",alt:"Sorry - there are no results"}})])}],!1,null,"3c5e7944",null);Bt.options.__file="src/js/components/modules/wizards/AddGroupWizard.vue";var Vt=Bt.exports,Ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addLinkModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Add Link Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"document_url_location"}},[t._v("\n Document URL\n "),!t.$v.documentUrlLocationModel.required&&t.$v.documentUrlLocationModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a URL.")]):t._e(),t._v(" "),!t.$v.documentUrlLocationModel.url&&t.$v.documentUrlLocationModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a proper URL.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.documentUrlLocationModel,expression:"documentUrlLocationModel"}],staticClass:"form-control",attrs:{id:"document_url_location"},domProps:{value:t.documentUrlLocationModel},on:{input:function(e){e.target.composing||(t.documentUrlLocationModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"document_description"}},[t._v("\n Document Description\n "),!t.$v.documentDescriptionModel.required&&t.$v.documentDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a description of the link.")]):t._e(),t._v(" "),t.duplicateDescription?n("span",{staticClass:"error"},[t._v(" Sorry - but this is a duplicated description.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.documentDescriptionModel,expression:"documentDescriptionModel"}],staticClass:"form-control",attrs:{id:"document_description",maxlength:"50"},domProps:{value:t.documentDescriptionModel},on:{input:function(e){e.target.composing||(t.documentDescriptionModel=e.target.value)}}})])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableAddButton},on:{click:t.addLink}},[t._v("\n Add Link\n ")])])])])])};Ht._withStripped=!0;const Wt=n(3);var Gt=J({name:"AddLinkWizard",props:["currentFolder","destination","excludeDocuments","locationId"],mixins:[h,Z],data:()=>({linkModel:"",disableAddButton:!0,documentDescriptionModel:"",documentUrlLocationModel:"",duplicateDescription:!1}),validations:{documentDescriptionModel:{required:dt.required},documentUrlLocationModel:{required:dt.required,url:dt.url}},methods:{addLink:function(){const t=new FormData;t.set("document_description",this.documentDescriptionModel),t.set("document_url_location",this.documentUrlLocationModel),null!==this.currentFolder&&""!=this.currentFolder&&t.set("parent_folder",this.currentFolder),Wt.post(`/documentation/${this.destination}/${this.locationId}/add_link/`,t).then(t=>{this.$emit("update_document_list",t.data),this.documentDescriptionModel="",this.documentUrlLocationModel="",document.getElementById("addLinkCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})}},updated(){var t=this.excludeDocuments.filter(t=>t.document_key__document_description==this.documentDescriptionModel);this.duplicateDescription=t.length>0,this.$v.$touch(),this.disableAddButton=this.$v.$invalid||t.length>0}},Ht,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addLinkCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Add Link")]),this._v(" "),e("p",{staticClass:"text-instruction"},[this._v("\n Add hyperlinks to other documents and sources located in on the internet/cloud.\n ")])])}],!1,null,"0cea12fb",null);Gt.options.__file="src/js/components/modules/wizards/AddLinkWizard.vue";var Yt=Gt.exports,Kt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addUserModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Add User Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[t.userFixList.length>0?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Add Users")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Use the following multiple select to select which users you want to add to this\n "+t._s(t.destination)+".\n ")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please note: A user's group has to be added to the "+t._s(t.destination)+" before the user\n can be added.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("v-select",{attrs:{options:t.userFixList,multiple:""},model:{value:t.userModel,callback:function(e){t.userModel=e},expression:"userModel"}})],1)]):n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("strong",[t._v("Sorry - no results")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n This could be because\n "),n("ul",[n("li",[t._v("There are no more users left to add")]),t._v(" "),n("li",[t._v("\n The user you are after is in a group not current added to this "+t._s(t.destination)+"\n ")])])])]),t._v(" "),t._m(1)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.userModel.length},on:{click:t.addUser}},[t._v("Add User(s)")])])])])])};Kt._withStripped=!0;const Zt=n(3);var Xt=J({name:"AddUserWizard",props:["destination","locationId","refreshUserList"],mixins:[h,Z],data:()=>({userFixList:[],userModel:[]}),methods:{addUser:function(){const t=new FormData;this.userModel.forEach(e=>{t.append("user_list",e.value)}),Zt.post(`/object_data/${this.destination}/${this.locationId}/add_user/`,t).then(t=>{this.$emit("update_user_list",t.data),document.getElementById("addUserCloseButton").click(),this.userModel=[],this.getUserList()}).catch(t=>{this.showErrorModal(t,this.destination)})},getUserList:function(){Zt.post(`/object_data/${this.destination}/${this.locationId}/user_list_all/`).then(t=>{this.userFixList=[],t.data.forEach(t=>{var e={value:t.pk,label:`${t.fields.username}: ${t.fields.first_name} ${t.fields.last_name}`};this.userFixList.push(e)})})}},watch:{refreshUserList:function(){this.refreshUserList&&this.getUserList(),this.$emit("reset_refresh_user_list")}},mounted(){this.getUserList()}},Kt,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addUserCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6 no-search"},[e("img",{attrs:{src:"/static/NearBeach/images/placeholder/questions.svg",alt:"Sorry - there are no results"}})])}],!1,null,"1bd67d8c",null);Xt.options.__file="src/js/components/modules/wizards/AddUserWizard.vue";var Jt=Xt.exports,Qt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Customer")]),t._v(" "),n("hr"),t._v(" "),n("new-customer-form",{attrs:{"organisation-name":t.organisationName,"title-list":t.titleList,"flag-validation-check":t.flagValidationCheck},on:{update_customer_data:function(e){return t.updateCustomerData(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group col-sm-8"},[n("label",[t._v("Organisation:")]),t._v(" "),n("v-select",{staticClass:"get-stakeholders",attrs:{options:t.organisationFixList,label:"organisation_name"},on:{search:t.fetchOptions},model:{value:t.organisationModel,callback:function(e){t.organisationModel=e},expression:"organisationModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewCustomer}},[t._v("Submit Customer")])])])],1)])};Qt._withStripped=!0;const te=n(3);var ee=J({name:"NewCustomer",props:{organisationName:String,rootUrl:{type:String,default:"/"},titleList:Array},mixins:[ut],data:()=>({customerEmailModel:"",customerFirstNameModel:"",customerLastNameModel:"",flagValidationCheck:!1,organisationFixList:[],organisationModel:{},titleModel:[]}),validations:{customerEmailModel:{required:dt.required,email:dt.email},customerFirstNameModel:{required:dt.required},customerLastNameModel:{required:dt.required},titleModel:{required:dt.required}},methods:{fetchOptions:function(t,e){this.searchTrigger({return_function:this.getOrganisationData,searchTimeout:this.searchTimeout,search:t,loading:e})},getOrganisationData:function(t,e){const n=new FormData;n.set("search",t),te.post(this.rootUrl+"search/organisation/data/",n).then(t=>{this.organisationFixList=[],t.data.forEach(t=>{var e={value:t.pk,organisation_name:t.fields.organisation_name,organisation_website:t.fields.organisation_website,organisation_email:t.fields.organisation_email,organisation_profile_picture:t.fields.organisation_profile_picture};this.organisationFixList.push(e)});var e=this.organisationFixList.filter(t=>t.organisation_name==this.organisationName);e.length>0&&(this.organisationModel=e[0])}).catch((function(t){document.getElementById("errorModalContent").innerHTML="Search Organisation Issue:
"+t,new f.a(document.getElementById("errorModal"),{keyboard:!1}).show(),document.getElementById("loader").style.display="none"}))},submitNewCustomer:function(){if(this.flagValidationCheck=!0,setTimeout(()=>{this.flagValidationCheck=!1},100),this.$v.$touch(),this.$v.$invalid)return document.getElementById("errorModalContent").innerHTML="FORM ISSUE: Sorry, but can you please fill out the form completely.",void new f.a(document.getElementById("errorModal")).show();const t=new FormData;t.set("customer_title",this.titleModel.value),t.set("customer_first_name",this.customerFirstNameModel),t.set("customer_last_name",this.customerLastNameModel),t.set("customer_email",this.customerEmailModel),0!=Object.keys(this.organisationModel).length&&t.set("organisation",this.organisationModel.value),te.post(this.rootUrl+"new_customer/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{})},updateCustomerData:function(t){this[t.field]=t.value}},mounted(){this.getOrganisationData("","")}},Qt,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Customer Organisation")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n This field is optional. If this customer does not have any organisations attached, it will\n treat this customer as a freelancer.\n ")])])}],!1,null,"186767c8",null);ee.options.__file="src/js/components/customers/NewCustomer.vue";var ne=ee.exports,re=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Organisation")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_organisation_name"}},[t._v("\n Organisation Name:\n "),!t.$v.organisationNameModel.required&&t.$v.organisationNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationNameModel,expression:"organisationNameModel"}],staticClass:"form-control",attrs:{id:"id_organisation_name",name:"organisation_name",type:"text"},domProps:{value:t.organisationNameModel},on:{input:function(e){e.target.composing||(t.organisationNameModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"form-group col-md-6"},[n("label",{attrs:{for:"id_organisation_website"}},[t._v("\n Organisation Website:\n "),!t.$v.organisationWebsiteModel.required&&t.$v.organisationWebsiteModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.organisationWebsiteModel.url&&t.$v.organisationWebsiteModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format at URL\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationWebsiteModel,expression:"organisationWebsiteModel"}],staticClass:"form-control",attrs:{id:"id_organisation_website",name:"organisation_website",type:"url"},domProps:{value:t.organisationWebsiteModel},on:{input:function(e){e.target.composing||(t.organisationWebsiteModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group col-md-6"},[n("label",{attrs:{for:"id_organisation_email"}},[t._v("\n Organisation Email:\n "),!t.$v.organisationEmailModel.required&&t.$v.organisationEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.organisationEmailModel.email&&t.$v.organisationEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format as Email\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationEmailModel,expression:"organisationEmailModel"}],staticClass:"form-control",attrs:{id:"id_organisation_email",name:"organisation_email",type:"email"},domProps:{value:t.organisationEmailModel},on:{input:function(e){e.target.composing||(t.organisationEmailModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),0==t.duplicateOrganisations.length?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.addOrganisation}},[t._v("\n Add Organisation\n ")])])]):t._e(),t._v(" "),t.duplicateOrganisations.length>0?n("h2",[t._v("\n Potential Duplication\n ")]):t._e(),t._v(" "),t.duplicateOrganisations.length>0?n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("list-organisations",{attrs:{"organisation-results":t.duplicateOrganisations,"root-url":t.rootUrl}})],1)]):t._e(),t._v(" "),t.duplicateOrganisations.length>0?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.uploadOrganisationData}},[t._v("\n Submit Organisation\n ")])])]):t._e()])])};re._withStripped=!0;var ie={methods:{closeLoadingModal:function(){var t=new f.a(document.getElementById("loadingModal"));document.getElementById("loadingModalContent").innerHTML="UPDATED SUCCESSFULLY",setTimeout(()=>{t.hide()},1e3)},showLoadingModal:function(t){new f.a(document.getElementById("loadingModal")).show(),document.getElementById("loadingModalContent").innerHTML=`Updating your ${t} details`}}};const oe=n(3);var ae=J({name:"NewOrganisation",props:{rootUrl:{type:String,default:"/"}},mixins:[h,ie],data:()=>({duplicateOrganisations:[],organisationNameModel:"",organisationWebsiteModel:"",organisationEmailModel:""}),watch:{organisationNameModel:function(){this.duplicateOrganisations=[]},organisationWebsiteModel:function(){this.duplicateOrganisations=[]},organisationEmailModel:function(){this.duplicateOrganisations=[]}},methods:{addOrganisation:function(){this.$v.$touch(),this.$v.$invalid?this.showValidationErrorModal():oe.post(this.rootUrl+"organisation_duplicates/",this.dataToSend()).then(t=>{0==t.data.length&&this.uploadOrganisationData(),this.duplicateOrganisations=t.data}).catch(t=>{this.showErrorModal(t,"organisation","")})},dataToSend:function(){const t=new FormData;return t.set("organisation_name",this.organisationNameModel),t.set("organisation_website",this.organisationWebsiteModel),t.set("organisation_email",this.organisationEmailModel),t},uploadOrganisationData:function(){oe.post("save/",this.dataToSend()).then(t=>{window.location.href=t.data}).catch(t=>{})}},validations:{organisationNameModel:{required:dt.required,maxLength:Object(dt.maxLength)(255)},organisationWebsiteModel:{required:dt.required,url:dt.url},organisationEmailModel:{required:dt.required,email:dt.email}}},re,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out all the required fields. Please only use a generic email for the organisation\n email field. e.g. support@companyxyz.com\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please Read")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n The server has found potential duplications. Please review the following Organisations. If you\n would like to create the organisation, please scroll to the bottom of the page and hit "Submit\n Organisation". If the organisation you are looking for is already created. Click\n on the name and you will be taken to the Organisation\'s Information page.\n ')]),this._v(" "),e("strong",[this._v("Alternatively")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n You can also change the information above and resubmit.\n ")])])}],!1,null,"1cb0b048",null);ae.options.__file="src/js/components/organisations/NewOrganisation.vue";var se=ae.exports,le=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Requirement")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_requirement_title"}},[t._v("Requirement Title:\n "),!t.$v.requirementTitleModel.required&&t.$v.requirementTitleModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.requirementTitleModel,expression:"requirementTitleModel"}],staticClass:"form-control",attrs:{id:"id_requirement_title",name:"requirement_title",type:"text",required:"true",maxlength:"255"},domProps:{value:t.requirementTitleModel},on:{input:function(e){e.target.composing||(t.requirementTitleModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Requirement Scope:\n "),!t.$v.requirementScopeModel.required&&t.$v.requirementScopeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a scope.")]):t._e(),t._v(" "),t.$v.requirementScopeModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.requirementScopeModel,callback:function(e){t.requirementScopeModel=e},expression:"requirementScopeModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("get-stakeholders",{attrs:{"is-dirty":t.$v.stakeholderModel.$dirty},on:{update_stakeholder_model:function(e){return t.updateStakeholderModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Status\n "),!t.$v.statusModel.required&&t.$v.statusModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a status.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.statusFixList,label:"status"},model:{value:t.statusModel,callback:function(e){t.statusModel=e},expression:"statusModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Type\n "),!t.$v.typeModel.required&&t.$v.typeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.typeFixList,label:"type"},model:{value:t.typeModel,callback:function(e){t.typeModel=e},expression:"typeModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"requirement","user-group-results":t.userGroupResults,"is-dirty":t.$v.groupModel.$dirty},on:{update_group_model:function(e){return t.updateGroupModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewRequirement}},[t._v("Create new Requirement")])])])],1)])};le._withStripped=!0;const ce=n(3);var de=J({name:"NewRequirement",components:{axios:ce},props:{groupResults:Array,staticUrl:{type:String,default:"/"},statusList:Array,typeList:Array,userGroupResults:{type:Array,default:()=>[]}},data:()=>({groupModel:"",requirementScopeModel:"",requirementTitleModel:"",stakeholderModel:"",statusFixList:[],statusModel:"",typeFixList:[],typeModel:""}),validations:{groupModel:{required:dt.required},requirementScopeModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},requirementTitleModel:{required:dt.required},stakeholderModel:{required:dt.required},statusModel:{required:dt.required},typeModel:{required:dt.required}},methods:{submitNewRequirement:function(){if(this.$v.$touch(),this.$v.$invalid)return document.getElementById("errorModalContent").innerHTML="FORM ISSUE: Sorry, but can you please fill out the form completely.",void new f.a(document.getElementById("errorModal")).show();const t=new FormData;t.set("requirement_title",this.requirementTitleModel),t.set("requirement_scope",this.requirementScopeModel),t.set("organisation",this.stakeholderModel.value),t.set("requirement_status",this.statusModel.value),t.set("requirement_type",this.typeModel.value),this.groupModel.forEach((e,n)=>{t.append("group_list",e.value)}),ce.post("save/",t).then(t=>{window.location.href=t.data}).catch(t=>{document.getElementById("errorModalContent").innerHTML="HTML ISSUE: We could not save the new requirement
"+t,new f.a(document.getElementById("errorModal")).show(),loader_elem.style.transform="translateY(-100vh)"})},updateGroupModel:function(t){this.groupModel=t},updateStakeholderModel:function(t){this.stakeholderModel=t}},mounted(){this.statusList.forEach(t=>{var e={value:t.pk,status:t.fields.requirement_status};this.statusFixList.push(e)}),this.typeList.forEach(t=>{var e={value:t.pk,type:t.fields.requirement_type};this.typeFixList.push(e)})}},le,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Place a basic bird's eye view of the requirement description here. You will be able to break\n the requirement down into smaller components called 'Items' on the next page.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Set the Requirement Status and Type here.")])])}],!1,null,"2f36f1f4",null);de.options.__file="src/js/components/requirements/NewRequirement.vue";var ue=de.exports,pe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newNoteModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg",attrs:{role:"document"}},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.noteAdd}}),t._v(" New Note")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",{staticClass:"text-instructions"},[t._v("\n Use the text editor to type out your note. Click on the submit button to submit the note.\n ")]),t._v(" "),n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.newNoteModel,callback:function(e){t.newNoteModel=e},expression:"newNoteModel"}})],1),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:""==t.newNoteModel},on:{click:t.submitNote}},[t._v("\n Submit Note\n ")]),t._v(" "),n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")])])])])])};pe._withStripped=!0;const me=n(3);var fe=J({name:"NewHistoryNoteWizard",props:["locationId","destination"],mixins:[h,Z],data:()=>({newNoteModel:""}),methods:{submitNote:function(){const t=new FormData;t.set("destination",this.destination),t.set("location_id",this.locationId),t.set("note",this.newNoteModel),me.post(`/object_data/${this.destination}/${this.locationId}/add_notes/`,t).then(t=>{this.$emit("update_note_history_results",t.data),document.getElementById("newNoteCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})}}},pe,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"newNoteCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"5b9840e8",null);fe.options.__file="src/js/components/modules/wizards/NewHistoryNoteWizard.vue";var he=fe.exports,ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newItemModal",tabindex:"-1","aria-labelledby":"requirementItemModal","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.clipboardIcon}}),t._v(" New Requirement Item Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",{attrs:{for:"id_requirement_item_title"}},[t._v("Requirement Item Title:\n "),t.$v.requirementItemTitleModel.required?t._e():n("span",{staticClass:"error"},[t._v(" Please suppy a title.")])]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.requirementItemTitleModel,expression:"requirementItemTitleModel"}],staticClass:"form-control",attrs:{id:"id_requirement_item_title",name:"requirement_item_title",type:"text",required:"true",maxlength:"255"},domProps:{value:t.requirementItemTitleModel},on:{input:function(e){e.target.composing||(t.requirementItemTitleModel=e.target.value)}}}),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Requirement Item Scope:\n "),!t.$v.requirementItemScopeModel.required&&t.$v.requirementItemScopeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a scope.")]):t._e(),t._v(" "),t.$v.requirementItemScopeModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.requirementItemScopeModel,callback:function(e){t.requirementItemScopeModel=e},expression:"requirementItemScopeModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Status\n "),!t.$v.statusItemModel.required&&t.$v.statusItemModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a status.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.statusItemFixList,label:"status"},model:{value:t.statusItemModel,callback:function(e){t.statusItemModel=e},expression:"statusItemModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Type\n "),!t.$v.typeItemModel.required&&t.$v.typeItemModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.typeItemFixList,label:"type"},model:{value:t.typeItemModel,callback:function(e){t.typeItemModel=e},expression:"typeItemModel"}})],1)])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.saveItem}},[t._v("Save Requirement Item")])])])])])};ve._withStripped=!0;const ge=n(3);var be=J({name:"NewRequirementItemWizard",props:["itemStatusList","itemTypeList","locationId"],mixins:[h,Z],data:()=>({requirementItemScopeModel:"",requirementItemTitleModel:"",statusItemFixList:[],statusItemModel:"",typeItemFixList:[],typeItemModel:""}),validations:{requirementItemScopeModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},requirementItemTitleModel:{required:dt.required},statusItemModel:{required:dt.required},typeItemModel:{required:dt.required}},methods:{saveItem:function(){if(this.$v.$touch(),this.$v.$invalid)return;const t=new FormData;t.set("requirement_item_title",this.requirementItemTitleModel),t.set("requirement_item_scope",this.requirementItemScopeModel),t.set("requirement_item_status",this.statusItemModel.value),t.set("requirement_item_type",this.typeItemModel.value),ge.post(`/new_requirement_item/save/${this.locationId}/`,t).then(t=>{this.requirementItemScopeModel="",this.requirementItemTitleModel="",this.statusItemModel="",this.typeItemModel="",this.$emit("new_item_added",t.data),document.getElementById("requirementItemCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})}},watch:{itemStatusList:function(){this.itemStatusList.forEach(t=>{var e={value:t.pk,status:t.fields.requirement_item_status};this.statusItemFixList.push(e)})},itemTypeList:function(){this.itemTypeList.forEach(t=>{var e={value:t.pk,type:t.fields.requirement_item_type};this.typeItemFixList.push(e)})}}},ve,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"requirementItemCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Place in a detailed description of this requirement item. This particular item can be\n then connected to Project or Tasks.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Set the Requirement Status and Type here.")])])}],!1,null,"1a90b55c",null);be.options.__file="src/js/components/modules/wizards/NewRequirementItemWizard.vue";var _e=be.exports,ye=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newRequirementLinkModal",tabindex:"-1","aria-labelledby":"requirementLinkModal","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" New Requirement Link Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching?n("div",{staticClass:"alert alert-success"},[t._v("\n Searching for "+t._s(t.objectModel)+"s\n ")]):n("v-select",{staticClass:"object-selection",attrs:{options:t.objectSelection},model:{value:t.objectModel,callback:function(e){t.objectModel=e},expression:"objectModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching||null==t.objectModel?n("div",{attrs:{id:"link_wizard_results"}},[n("img",{attrs:{src:"/static/NearBeach/images/placeholder/search.svg",alt:"Searching..."}})]):t._e(),t._v(" "),0==t.objectResults.length&&null!=t.objectModel?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - there are no results.\n ")]):t._e(),t._v(" "),!t.isSearching&&t.objectResults.length>0&&null!=t.objectModel?n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",[t._v(t._s(t.objectModel)+" Description")]),t._v(" "),n("td",[t._v("Status")])])]),t._v(" "),"Project"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_project_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_project_"+e.pk}},[t._v("\n "+t._s(e.fields.project_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Project "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.project_status))])])})),0):t._e(),t._v(" "),"Task"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_task_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_task_"+e.pk}},[t._v("\n "+t._s(e.fields.task_short_description)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Task "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.task_status))])])})),0):t._e(),t._v(" "),"Opportunity"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_opportunity_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_opportunity_"+e.pk}},[t._v("\n "+t._s(e.fields.opportunity_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Opportunity "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.opportunity_success_probability)+"%")])])})),0):t._e()]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.linkModel.length},on:{click:t.saveLinks}},[t._v("Save changes")])])])])])};ye._withStripped=!0;const we=n(3);var xe=J({name:"NewRequirementLinkWizard",props:["destination","locationId"],mixins:[h,Z],data:()=>({isSearching:!1,objectModel:null,objectResults:[],objectSelection:["Project","Task"],linkModel:[]}),methods:{saveLinks:function(){const t=new FormData;this.linkModel.forEach(e=>{t.append(""+this.objectModel.toLowerCase(),e)}),we.post(`/${this.destination}_information/${this.locationId}/add_link/`,t).then(t=>{this.$emit("update_module",{}),document.getElementById("requirementLinkCloseButton").click()})}},watch:{objectModel:function(){this.linkModel=[],null!==this.objectModel?(this.isSearching=!0,we.post(`/object_data/${this.destination}/${this.locationId}/${this.objectModel.toLowerCase()}/link_list/`).then(t=>{this.objectResults=t.data,this.isSearching=!1}).catch(t=>{this.showErrorModal(t,this.destination)})):this.isSearching=!1},linkModel:function(){}}},ye,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"requirementLinkCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Object Selector")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please select which object you would like to link to this requirement.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Select Links")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please select which of the objects you want to connect to this requirement.\n ")])])}],!1,null,"c80394fa",null);xe.options.__file="src/js/components/modules/wizards/NewRequirementLinkWizard.vue";var ke=xe.exports,Ce=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Requirement Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_requirement_title"}},[t._v("Requirement Title:\n "),t.$v.requirementTitleModel.required?t._e():n("span",{staticClass:"error"},[t._v(" Please suppy a title.")])]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.requirementTitleModel,expression:"requirementTitleModel"}],staticClass:"form-control",attrs:{id:"id_requirement_title",name:"requirement_title",type:"text",required:"true",maxlength:"255"},domProps:{value:t.requirementTitleModel},on:{input:function(e){e.target.composing||(t.requirementTitleModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Requirement Scope:\n "),t.$v.requirementScopeModel.required?t._e():n("span",{staticClass:"error"},[t._v(" Please supply a scope.")]),t._v(" "),t.$v.requirementScopeModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:"/static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,disabled:t.isReadOnly,skin:!1},model:{value:t.requirementScopeModel,callback:function(e){t.requirementScopeModel=e},expression:"requirementScopeModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("stakeholder-information",{attrs:{"organisation-results":t.organisationResults,"default-stakeholder-image":t.defaultStakeholderImage}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[t.statusModel.status_closed?n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"alert alert-info"},[t._v("\n Please note - this requirement is closed.\n ")])]):n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Status\n "),!t.$v.statusModel.required&&t.$v.statusModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a status.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.statusFixList,clearable:!1,label:"status"},model:{value:t.statusModel,callback:function(e){t.statusModel=e},expression:"statusModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-6"},[t.statusModel.status_closed?n("div",{staticClass:"alert alert-danger"},[t._v("\n Please note - saving the requirement with this status will \n close the requirement.\n ")]):t._e()])])]),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Type\n "),!t.$v.typeModel.required&&t.$v.typeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.typeFixList,disabled:t.isReadOnly,clearable:!1,label:"type"},model:{value:t.typeModel,callback:function(e){t.typeModel=e},expression:"typeModel"}})],1)])])])]),t._v(" "),n("hr"),t._v(" "),t.userLevel>1?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateRequirement}},[t._v("Update Requirement")])])]):t._e()],1)])};Ce._withStripped=!0;const Me=n(3);var Se=J({name:"RequirementInformation",components:{},props:["defaultStakeholderImage","organisationResults","requirementResults","statusList","typeList","userLevel"],mixins:[h,ie],data:()=>({isReadOnly:!1,requirementScopeModel:"",requirementTitleModel:"",stakeholderModel:"",statusFixList:[],statusModel:"",typeFixList:[],typeModel:""}),validations:{requirementScopeModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},requirementTitleModel:{required:dt.required},statusModel:{required:dt.required},typeModel:{required:dt.required}},methods:{updateRequirement:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();this.showLoadingModal("Requirement");const t=new FormData;t.set("requirement_title",this.requirementTitleModel),t.set("requirement_scope",this.requirementScopeModel),t.set("requirement_status",this.statusModel.value),t.set("requirement_type",this.typeModel.value),Me.post("save/",t).then(t=>{this.closeLoadingModal(),this.statusModel.status_closed&&window.location.reload()}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){var t=this.requirementResults[0].fields;this.requirementScopeModel=t.requirement_scope,this.requirementTitleModel=t.requirement_title,this.statusFixList=this.statusList.map(t=>({value:t.pk,status:t.fields.requirement_status,status_closed:t.fields.requirement_status_is_closed})),this.typeList.forEach(t=>{var e={value:t.pk,type:t.fields.requirement_type};this.typeFixList.push(e)}),this.statusModel=this.statusFixList.filter(e=>e.value==t.requirement_status)[0],this.typeModel=this.typeFixList.filter(e=>e.value==t.requirement_type)[0],(this.statusModel.status_closed||1===this.userLevel)&&(this.isReadOnly=!0)}},Ce,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Place a basic bird's eye view of the requirement description here. You will be able to break\n the requirement down into smaller components called 'Items' below in the 'Requirement Item'\n section.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Set the Requirement Status and Type here.")])])}],!1,null,"577bbb6c",null);Se.options.__file="src/js/components/requirements/RequirementInformation.vue";var Te=Se.exports,Ee=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkIcon2}}),t._v(" Requirement Item Links")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are links for the Items to other projects/tasks.\n ")]),t._v(" "),0==t.itemLinkResults.length?n("div",[n("div",{staticClass:"alert alert-dark"},[t._v("\n Sorry - there are no Item Links. Please navigate to the Item you wish to add a link too.\n ")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.itemLinkResults,(function(e){return n("tr",{key:e.pk},[n("td",{domProps:{innerHTML:t._s(t.extractObjectDescription(e))}}),t._v(" "),n("td",[t._v(t._s(t.extractObjectStatus(e)))])])})),0)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.newRequirementItemLink}},[t._v("Create new Link")])])]),t._v(" "),n("new-requirement-link-wizard",{attrs:{"location-id":t.locationId,destination:t.destination},on:{update_module:t.updateModel}})],1)};Ee._withStripped=!0;const je=n(3);var Oe=J({name:"RequirementItemLinksModule",props:{destination:String,locationId:Number},mixins:[Z],data:()=>({itemLinkResults:[]}),methods:{extractObjectDescription:function(t){var e="ERROR",n="ERROR",r="/",i="";return null!==t.opportunity_id?(e=t.opportunity_id__opportunity_name,n="Opportunity "+t.opportunity_id,r="/opportunity_information/"+t.opportunity_id):null!==t.project_id?(e=t.project_id__project_name,n="Project "+t.project_id,r="/project_information/"+t.project_id):null!==t.quote_id?(e=t.quote_id__quote_title,n="Quote "+t.quote_id,r="/quote_information/"+t.quote_id):null!==t.task_id&&(e=t.task_id__task_short_description,n="Task "+t.task_id,r="/task_information/"+t.task_id),null!==t.requirement_id&&(i=``,n=`${n} / Item ${t.requirement_id}`),`\n \n

\n ${e}\n

\n
\n ${i}\n \n
\n `},extractObjectStatus:function(t){var e="ERROR";return null!==t.opportunity_id?e=t.opportunity_id__opportunity_stage_id__opportunity_stage_description:null!==t.project_id?e=t.project_id__project_status:null!==t.quote_id?e=t.quote_id__quote_title:null!==t.task_id&&(e=t.task_id__task_status),e},updateLinkResults:function(){je.post("data/links/").then(t=>{this.itemLinkResults=t.data})},newRequirementItemLink:function(){new f.a(document.getElementById("newRequirementLinkModal")).show()},updateModel:function(){}},mounted(){this.updateLinkResults()}},Ee,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Object Description")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])}],!1,null,"78110c2c",null);Oe.options.__file="src/js/components/modules/sub_modules/RequirementItemLinksModule.vue";var Ie=Oe.exports,Le=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.clipboardIcon}}),t._v(" Requirement Items")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Requirements should be broken down into smaller compoenents called Requirement Items.\n ")]),t._v(" "),0==t.itemResults.length?n("div",{staticClass:"requirement-item-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("Sorry - there are no Items for this requirement.")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.itemResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/requirement_item_information/"+e.pk+"/"}},[n("p",[t._v("\n "+t._s(e.fields.requirement_item_title)+"\n ")]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Item No. "+t._s(e.pk)+" - "+t._s(t.getType(e.fields.requirement_item_type))+"\n ")])])]),t._v(" "),n("td",[t._v(t._s(t.getStatus(e.fields.requirement_item_status)))])])})),0)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.createNewItem}},[t._v("Create new Requirement Item")])])]),t._v(" "),n("new-requirement-item-wizard",{attrs:{"item-status-list":t.itemStatusList,"item-type-list":t.itemTypeList,"location-id":t.locationId},on:{new_item_added:function(e){return t.new_item_added(e)}}})],1)};Le._withStripped=!0;const De=n(3);var Ne=J({name:"RequirementItemsModule",props:["locationId"],mixins:[Z],components:{axios:De},data:()=>({itemResults:[],itemStatusList:[],itemTypeList:[]}),methods:{createNewItem:function(){new f.a(document.getElementById("newItemModal")).show()},getStatus:function(t){var e=this.itemStatusList.filter(e=>e.pk==t);return 0==e.length?"Unknown Status":e[0].fields.requirement_item_status},getType:function(t){var e=this.itemTypeList.filter(e=>e.pk==t);return 0==e.length?"Unknown Type":e[0].fields.requirement_item_type},new_item_added:function(t){this.itemResults=t},updateItemResults:function(){De.post("data/items/").then(t=>{this.itemResults=[],t.data.forEach(t=>{this.itemResults.push(t)})})},updateStatusList:function(){De.post("data/item_status/").then(t=>{this.itemStatusList=[],t.data.forEach(t=>{this.itemStatusList.push(t)})})},updateTypeList:function(){De.post("data/item_type/").then(t=>{this.itemTypeList=[],t.data.forEach(t=>{this.itemTypeList.push(t)})})}},mounted(){this.updateStatusList(),this.updateTypeList(),this.updateItemResults()}},Le,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Requirement Item")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])}],!1,null,"5c14de78",null);Ne.options.__file="src/js/components/modules/sub_modules/RequirementItemsModule.vue";var $e=Ne.exports,Ae=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkIcon}}),t._v(" Requirement Links")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are links to other projects/tasks. You can link a Requirement to these other objects to\n symbolise a connection between the two.\n ")]),t._v(" "),0===t.linkResults.length?n("div",{staticClass:"requirement-item-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("Sorry - there are no Links for this requirement.")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.linkResults,(function(e){return n("tr",[n("td",{domProps:{innerHTML:t._s(t.extractObjectDescription(e))}}),t._v(" "),n("td",[t._v(t._s(t.extractObjectStatus(e)))])])})),0)])]),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.newRequirementLink}},[t._v("Create new Link")])])]),t._v(" "),n("hr"),t._v(" "),n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkIcon2}}),t._v(" Requirement Item Links")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are links for the Items to other projects/tasks.\n ")]),t._v(" "),0==t.itemLinkResults.length?n("div",[n("div",{staticClass:"alert alert-dark"},[t._v("\n Sorry - there are no Item Links. Please navigate to the Item you wish to add a link too.\n ")])]):n("div",[n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.itemLinkResults,(function(e){return n("tr",[n("td",{domProps:{innerHTML:t._s(t.extractObjectDescription(e))}}),t._v(" "),n("td",[t._v(t._s(t.extractObjectStatus(e)))])])})),0)])]),t._v(" "),n("new-requirement-link-wizard",{attrs:{"location-id":t.locationId,destination:"requirement"},on:{update_module:t.updateModel}})],1)};Ae._withStripped=!0;const Re=n(3);var Pe=J({name:"RequirementLinksModule",props:["activateLazyLoading","destination","locationId"],mixins:[Z],data:()=>({linkResults:[],itemLinkResults:[],linkModel:[]}),methods:{extractObjectDescription:function(t){var e="ERROR",n="ERROR",r="/",i="";return null!==t.opportunity_id?(e=t.opportunity_id__opportunity_name,n="Opportunity "+t.opportunity_id,r="/opportunity_information/"+t.opportunity_id):null!==t.project_id?(e=t.project_id__project_name,n="Project "+t.project_id,r="/project_information/"+t.project_id):null!==t.quote_id?(e=t.quote_id__quote_title,n="Quote "+t.quote_id,r="/quote_information/"+t.quote_id):null!==t.task_id&&(e=t.task_id__task_short_description,n="Task "+t.task_id,r="/task_information/"+t.task_id),null!==t.requirement_id&&(i=``,n=`${n} / Item ${t.requirement_id}`),`\n \n

\n ${e}\n

\n
\n ${i}\n \n
\n `},extractObjectStatus:function(t){var e="ERROR";return null!==t.opportunity_id?e=t.opportunity_id__opportunity_stage_id__opportunity_stage_description:null!==t.project_id?e=t.project_id__project_status:null!==t.quote_id?e=t.quote_id__quote_title:null!==t.task_id&&(e=t.task_id__task_status),e},newRequirementLink:function(){new f.a(document.getElementById("newRequirementLinkModal")).show()},updateItemLinkResults:function(){Re.post("data/item_links/").then(t=>{this.itemLinkResults=t.data})},updateLinkResults:function(){Re.post("data/links/").then(t=>{this.linkResults=t.data})},updateModel:function(){this.updateLinkResults(),this.updateItemLinkResults()}},mounted(){this.updateModel()}},Ae,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Object Description")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Object Description")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])}],!1,null,"7e38157d",null);Pe.options.__file="src/js/components/modules/sub_modules/RequirementLinksModule.vue";var qe=Pe.exports,ze=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"uploadDocumentModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Upload Document Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Uploading File")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n You will be able to upload a file against this "+t._s(t.destination)+". It will appear in the\n current folder.\n ")]),t._v(" "),0==t.documentModel.length?n("p",[t._v('\n 1. Please click on "Upload File" button to upload a file\n ')]):""==t.uploadPercentage?n("p",[t._v('\n 2. Please modify the document descript to be more human readable. Or click the "Reset"\n button to remove the uploaded file.\n ')]):n("p",[t._v("\n 3. Document is currently uploading. Please be patient.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[0==t.documentModel.length?n("div",{staticClass:"form-file"},[n("div",{staticClass:"mb-3"},[n("label",{staticClass:"form-label",attrs:{for:"document"}},[t._v("\n Please upload a file"),n("br"),t._v("\n "+t._s(t.maxUploadString)+"\n "),t.maxUploadWarning?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - file too large\n ")]):t._e()]),t._v(" "),n("input",{staticClass:"form-control",attrs:{type:"file",id:"document",accept:t.acceptedDocuments},on:{change:function(e){return t.handleFileUploads(e.target.files)}}})])]):""==t.uploadPercentage?n("div",{staticClass:"form-group"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"documentDescription"}},[t._v("Document Description")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.documentDescriptionModel,expression:"documentDescriptionModel"}],staticClass:"form-control",attrs:{id:"documentDescription",type:"text"},domProps:{value:t.documentDescriptionModel},on:{input:function(e){e.target.composing||(t.documentDescriptionModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-row"},[n("button",{staticClass:"btn btn-warning",on:{click:t.resetForm}},[t._v("\n Reset Form\n ")])])]):n("div",[parseFloat(t.uploadPercentage).toFixed(0)<1?n("div",{staticClass:"alert alert-warning"},[t._v("\n Uploading "+t._s((100*parseFloat(t.uploadPercentage)).toFixed(2))+"%\n "),t._m(1)]):n("div",{staticClass:"alert alert-success"},[t._v("\n The document has been uploaded. The server is currently writing the file to disk.\n Please be patient - this modal will close automatically. Thank you\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableUploadButton},on:{click:t.uploadFile}},[t._v("\n Upload File\n ")])])])])])};ze._withStripped=!0;const Fe=n(3);var Ue=J({name:"UploadDocumentWizard",props:{acceptedDocuments:{type:String,default:"image/*,text/*,.pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"},currentFolder:String,destination:String,excludeDocuments:{type:Array,default:[]},locationId:Number},mixins:[h,Z],data:()=>({disableUploadButton:!0,documentModel:[],documentDescriptionModel:"",uploadPercentage:"",maxUploadSize:0,maxUploadString:"No Upload Limit",maxUploadWarning:!1}),methods:{handleFileUploads:function(t){t[0].size*(0!=this.maxUploadSize)>this.maxUploadSize?this.maxUploadWarning=!0:(this.maxUploadWarning=!1,this.documentModel=t[0],this.documentDescriptionModel=t[0].name)},resetForm:function(){this.documentModel="",this.documentDescriptionModel="",this.uploadPercentage=""},uploadFile:function(){const t=new FormData;t.set("document",this.documentModel,this.documentDescriptionModel),t.set("document_description",this.documentDescriptionModel),""!=this.currentFolder&&null!==this.currentFolder&&t.set("parent_folder",this.currentFolder);const e={onUploadProgress:t=>{this.uploadPercentage=parseFloat(t.loaded)/parseFloat(t.total)}};Fe.post(`/documentation/${this.destination}/${this.locationId}/upload/`,t,e).then(t=>{this.$emit("update_document_list",t.data),document.getElementById("uploadDocumentCloseButton").click(),this.resetForm()}).catch(t=>{this.showErrorModal(t,this.destination)})}},watch:{maxUploadSize:function(){if(0===this.maxUploadSize)return"No Upload Limit";const t=Math.floor(Math.log(this.maxUploadSize)/Math.log(1024));this.maxUploadString=`Max Upload Size: ${parseFloat((this.maxUploadSize/Math.pow(1024,t)).toFixed(2))} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][t]}`}},updated(){var t=this.excludeDocuments.filter(t=>t.document_key__document_description==this.documentDescriptionModel);this.disableUploadButton=""==this.documentModel||0==this.documentDescriptionModel.length||t.length>0},mounted(){Fe.post("/documentation/get/max_upload/").then(t=>{this.maxUploadSize=t.data.max_upload_size}).catch(t=>{this.showErrorModal(t,this.destination)})}},ze,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"uploadDocumentCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}],!1,null,"4cebf53c",null);Ue.options.__file="src/js/components/modules/wizards/UploadDocumentWizard.vue";var Be=Ue.exports,Ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Requirement Item Information")]),t._v(" "),n("br"),t._v(" "),n("a",{attrs:{href:"/requirement_information/"+t.requirementItemResults[0].fields.requirement+"/"}},[t._v("\n Go Back to requirement\n ")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"requirement_item_title"}},[t._v("\n Requirement Item Title:\n "),t.$v.requirementItemTitleModel.required?t._e():n("span",{staticClass:"error"},[t._v("\n Please suppy a title.\n ")])]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.requirementItemTitleModel,expression:"requirementItemTitleModel"}],staticClass:"form-control",attrs:{id:"requirement_item_title",type:"text",required:"true",maxlength:"255"},domProps:{value:t.requirementItemTitleModel},on:{input:function(e){e.target.composing||(t.requirementItemTitleModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Item Scope:\n "),t.$v.requirementItemScopeModel.required?t._e():n("span",{staticClass:"error"},[t._v(" Please supply a scope.")]),t._v(" "),t.$v.requirementItemScopeModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:"/static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.requirementItemScopeModel,callback:function(e){t.requirementItemScopeModel=e},expression:"requirementItemScopeModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8 organisation-details"},[n("img",{staticClass:"organisation-image",attrs:{src:t.getStakeholderImage,alt:"Stakeholder Logo"}}),t._v(" "),n("div",{staticClass:"organisation-name"},[t._v("\n "+t._s(t.stakeholderModel.organisation_name)+"\n ")]),t._v(" "),n("div",{staticClass:"organisation-link"},[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" Website:\n "),n("a",{attrs:{href:t.stakeholderModel.organisation_website,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.stakeholderModel.organisation_website)+"\n ")])],1),t._v(" "),n("div",{staticClass:"organisation-email"},[n("IconifyIcon",{attrs:{icon:t.icons.mailIcon}}),t._v(" Email:\n "),n("a",{attrs:{href:"mailto:"+t.stakeholderModel.organisation_email}},[t._v("\n "+t._s(t.stakeholderModel.organisation_email)+"\n ")])],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Status\n "),!t.$v.statusModel.required&&t.$v.statusModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a status.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.statusFixList,label:"status"},model:{value:t.statusModel,callback:function(e){t.statusModel=e},expression:"statusModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Type\n "),!t.$v.typeModel.required&&t.$v.typeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.typeFixList,label:"type"},model:{value:t.typeModel,callback:function(e){t.typeModel=e},expression:"typeModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateRequirementItem}},[t._v("Update Requirement")])])])])])};Ve._withStripped=!0;const He=n(3);var We=J({name:"RequirementItemInformation.vue",props:["requirementItemResults","organisationResults","defaultStakeholderImage","statusList","typeList"],mixins:[Z],data:()=>({requirementItemScopeModel:"",requirementItemTitleModel:"",stakeholderModel:"",statusFixList:[],statusModel:"",typeFixList:[],typeModel:""}),validations:{requirementItemScopeModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},requirementItemTitleModel:{required:dt.required},statusModel:{required:dt.required},typeModel:{required:dt.required}},computed:{getStakeholderImage:function(){return""==this.stakeholderModel.organisation_profile_picture?this.defaultStakeholderImage:this.stakeholderModel.organisation_profile_picture}},methods:{updateRequirementItem:function(){if(this.$v.$touch(),this.$v.$invalid)return document.getElementById("errorModalContent").innerHTML="FORM ISSUE: Sorry, but can you please fill out the form completely.",void new f.a(document.getElementById("errorModal")).show();var t=new f.a(document.getElementById("loadingModal"));t.show(),document.getElementById("loadingModalContent").innerHTML="Updating your Requirement Item details";const e=new FormData;e.set("requirement_item_title",this.requirementItemTitleModel),e.set("requirement_item_scope",this.requirementItemScopeModel),e.set("requirement_item_status",this.statusModel.value),e.set("requirement_item_type",this.typeModel.value),He.post("save/",e).then(e=>{document.getElementById("loadingModalContent").innerHTML="UPDATED SUCCESSFULLY",setTimeout(()=>{t.hide()},1e3)}).catch(e=>{t.hide(),document.getElementById("errorModalContent").innerHTML="HTML ISSUE: We could not save the new requirement item
"+e,new f.a(document.getElementById("errorModal")).show()})}},mounted(){var t=this.requirementItemResults[0].fields;this.requirementItemScopeModel=t.requirement_item_scope,this.requirementItemTitleModel=t.requirement_item_title,this.stakeholderModel=this.organisationResults[0].fields,this.statusList.forEach(t=>{var e={value:t.pk,status:t.fields.requirement_item_status};this.statusFixList.push(e)}),this.typeList.forEach(t=>{var e={value:t.pk,type:t.fields.requirement_item_type};this.typeFixList.push(e)}),this.statusModel=this.statusFixList.filter(e=>e.value==t.requirement_item_status)[0],this.typeModel=this.typeFixList.filter(e=>e.value==t.requirement_item_type)[0]}},Ve,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Requirement Items should be detailed. They should only focus on one small section of the\n requirement.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Stakeholder")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Set the Requirement Status and Type here.")])])}],!1,null,"a5797c66",null);We.options.__file="src/js/components/requirement_items/RequirementItemInformation.vue";var Ge=We.exports,Ye=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.organisationResults,(function(e){return n("div",{key:e.id,staticClass:"row"},[n("div",{staticClass:"organisation-details"},[""==e.fields.organisation_profile_picture?n("img",{staticClass:"organisation-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/product_tour.svg",alt:"Stakeholder Logo"}}):n("img",{staticClass:"organisation-image",attrs:{src:e.fields.organisation_profile_picture,alt:"Stakeholder Logo"}}),t._v(" "),n("div",{staticClass:"organisation-name"},[n("a",{attrs:{href:t.rootUrl+"organisation_information/"+e.pk+"/"}},[t._v("\n "+t._s(e.fields.organisation_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"organisation-link"},[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" Website:\n "),n("a",{attrs:{href:e.fields.organisation_website,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(e.fields.organisation_website)+"\n ")])],1),t._v(" "),n("div",{staticClass:"organisation-email"},[n("IconifyIcon",{attrs:{icon:t.icons.mailIcon}}),t._v(" Email:\n "),n("a",{attrs:{href:"mailto:"+e.fields.organisation_email}},[t._v("\n "+t._s(e.fields.organisation_email)+"\n ")])],1)])])})),0)};Ye._withStripped=!0;var Ke=J({name:"ListOrganisations",props:{organisationResults:Array,rootUrl:{type:String,default:"/"},staticUrl:{type:String,default:"/"}},mixins:[Z],methods:{}},Ye,[],!1,null,"08a112ee",null);Ke.options.__file="src/js/components/organisations/ListOrganisations.vue";var Ze=Ke.exports,Xe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Organisations")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-organisation",attrs:{type:"text"},domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),n("list-organisations",{attrs:{"organisation-results":t.localOrganisationResults,"root-url":t.rootUrl,"static-url":t.staticUrl}}),t._v(" "),0==t.localOrganisationResults.length?n("div",{staticClass:"alert alert-warning"},[t._v("There are no organisations with the search parameters used. Please try again.")]):t._e()],1)])};Xe._withStripped=!0;const Je=n(3);var Qe=J({name:"SearchOrganisations",props:{organisationResults:Array,staticUrl:{type:String,default:"/"},rootUrl:{type:String,default:"/"}},mixins:[ut],data(){return{localOrganisationResults:this.organisationResults,searchModel:"",searchTimeout:""}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),Je.post("/search/organisation/data/",t).then(t=>{this.localOrganisationResults=t.data}).catch(t=>{})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},Xe,[],!1,null,"1f5ddbb6",null);Qe.options.__file="src/js/components/search/SearchOrganisations.vue";var tn=Qe.exports,en=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Tags")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Tags")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Use the search bar to help you find any tags.\n ")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Click on the icon "),n("IconifyIcon",{attrs:{icon:t.icons.infoCircle}}),t._v("\n to edit the tag.\n ")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v('\n To add in any new tags - please click on the "New Tag" button.\n ')])]),t._v(" "),n("div",{staticClass:"col-md-8 tag-list"},t._l(t.localTagResults,(function(e){return n("div",{key:e.pk,staticClass:"single-tag",style:"background-color: "+e.fields.tag_colour+";",on:{dblclick:function(n){return t.editTag(e.pk)}}},[t._v("\n "+t._s(e.fields.tag_name)+"\n "),n("span",{on:{click:function(n){return t.editTag(e.pk)}}},[n("IconifyIcon",{attrs:{icon:t.icons.infoCircle}})],1)])})),0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addTag}},[t._v("Add Tag")])])])]),t._v(" "),n("edit-tag-modal",{attrs:{"existing-tags":t.localTagResults,"tag-colour":t.singleTagColour,"tag-id":t.singleTagId,"tag-name":t.singleTagName},on:{new_tag:t.newTag,delete_tag:function(e){return t.deleteTag(e)},update_tags:t.updateTags}})],1)])};en._withStripped=!0;var nn=J({name:"SearchTags",props:{tagResults:{type:Array,default:()=>[]}},data(){return{singleTagColour:"",singleTagId:0,singleTagName:"",localTagResults:this.tagResults}},mixins:[Z],methods:{addTag:function(){this.singleTagName="default tag",this.singleTagId=0,this.singleTagColour="#37cbd2",new f.a(document.getElementById("editTagModal")).show()},deleteTag:function(t){this.localTagResults=this.localTagResults.filter(e=>e.pk!==t.tag_id)},editTag:function(t){let e=this.localTagResults.filter(e=>e.pk==t)[0];this.singleTagName=e.fields.tag_name,this.singleTagId=t,this.singleTagColour=e.fields.tag_colour,new f.a(document.getElementById("editTagModal")).show()},newTag:function(t){this.localTagResults.push(t[0])},updateTags:function(t){let e=this.localTagResults.findIndex(e=>e.pk===t.tag_id);this.localTagResults[e].fields.tag_name=t.tag_name,this.localTagResults[e].fields.tag_colour=t.tag_colour}}},en,[],!1,null,null,null);nn.options.__file="src/js/components/search/SearchTags.vue";var rn=nn.exports,on=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Organisation Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),t._m(1),t._v(" "),n("div",{staticClass:"col-md-5"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_organisation_name"}},[t._v("\n Organisation Name\n "),!t.$v.organisationNameModel.required&&t.$v.organisationNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationNameModel,expression:"organisationNameModel"}],staticClass:"form-control",attrs:{id:"id_organisation_name",type:"text"},domProps:{value:t.organisationNameModel},on:{input:function(e){e.target.composing||(t.organisationNameModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_organisation_website"}},[t._v("\n Organisation Website\n "),!t.$v.organisationWebsiteModel.required&&t.$v.organisationWebsiteModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.organisationWebsiteModel.url&&t.$v.organisationWebsiteModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format at URL\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationWebsiteModel,expression:"organisationWebsiteModel"}],staticClass:"form-control",attrs:{id:"id_organisation_website",type:"text"},domProps:{value:t.organisationWebsiteModel},on:{input:function(e){e.target.composing||(t.organisationWebsiteModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_organisation_email"}},[t._v("\n Organisation Email\n "),!t.$v.organisationEmailModel.required&&t.$v.organisationEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.organisationEmailModel.email&&t.$v.organisationEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format as Email\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationEmailModel,expression:"organisationEmailModel"}],staticClass:"form-control",attrs:{id:"id_organisation_email",type:"text"},domProps:{value:t.organisationEmailModel},on:{input:function(e){e.target.composing||(t.organisationEmailModel=e.target.value)}}})])])]),t._v(" "),n("br"),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateOrganisation}},[t._v("Update Organisation")])])])])])};on._withStripped=!0;const an=n(3);var sn=J({name:"OrganisationInformation",props:{organisationResults:Array},mixins:[h,ie],data(){return{organisationNameModel:this.organisationResults[0].fields.organisation_name,organisationEmailModel:this.organisationResults[0].fields.organisation_email,organisationWebsiteModel:this.organisationResults[0].fields.organisation_website}},validations:{organisationNameModel:{required:dt.required,maxLength:Object(dt.maxLength)(255)},organisationWebsiteModel:{required:dt.required,url:dt.url},organisationEmailModel:{required:dt.required,email:dt.email}},methods:{updateOrganisation:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("organisation_name",this.organisationNameModel),t.set("organisation_email",this.organisationEmailModel),t.set("organisation_website",this.organisationWebsiteModel),this.showLoadingModal("Organisation"),an.post(`/organisation_information/${this.organisationResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"organisation",this.organisationResults[0].pk)})}}},on,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please Note")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please only use generic information for both the website and email. Do not use any personal\n details - you can create contacts in the section below.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-3"},[e("img",{staticClass:"organisation-profile-image",attrs:{src:"/static/NearBeach/images/placeholder/product_tour.svg",alt:"No Profile Picture"}}),this._v(" "),e("br"),this._v(" "),e("button",{staticClass:"btn btn-primary"},[this._v("Update Profile...")])])}],!1,null,"3a69a0c0",null);sn.options.__file="src/js/components/organisations/OrganisationInformation.vue";var ln=sn.exports,cn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[t._m(0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"tab-content",attrs:{id:"misc_module_content"}},[n("div",{staticClass:"tab-pane fade",attrs:{id:"organisation-contacts",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Contacts")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Below are a list of contacts who are connected to this organisation.\n ")]),t._v(" "),n("customers-list-module",{attrs:{"customer-results":t.customerResults}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.addNewContact}},[t._v("\n Add Contact\n ")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"document-uploads",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("documents-module",{attrs:{destination:t.destination,"location-id":t.locationId}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"associated-objects",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("associated-objects",{attrs:{destination:t.destination,"location-id":t.locationId}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"misc-modules",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("misc-module",{attrs:{destination:t.destination,"location-id":t.locationId}})],1)])]),t._v(" "),n("new-customer-modal",{attrs:{"organisation-id":t.locationId,"title-list":t.titleList}})],1)};cn._withStripped=!0;var dn=J({name:"OrganisationModules",props:{customerResults:Array,destination:String,locationId:Number,titleList:Array},mixins:[Z],methods:{addNewContact:function(){new f.a(document.getElementById("addCustomerModal")).show()}}},cn,[function(){var t=this.$createElement,e=this._self._c||t;return e("ul",{staticClass:"nav nav-tabs",attrs:{id:"misc_module_tabs",role:"tablist"}},[e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"organisation-contacts-tab","data-bs-toggle":"tab","data-bs-target":"#organisation-contacts",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("\n Organisation Contacts\n ")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"document-uploads-tab","data-bs-toggle":"tab","data-bs-target":"#document-uploads",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("\n Document Uploads\n ")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"associated-objects-tab","data-bs-toggle":"tab","data-bs-target":"#associated-objects",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("\n Associated Objects\n ")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"misc-modules-tab","data-bs-toggle":"tab","data-bs-target":"#misc-modules",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("Misc\n ")])])])}],!1,null,"ce8eeb0a",null);dn.options.__file="src/js/components/organisations/OrganisationModules.vue";var un=dn.exports,pn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"customer-modules"},t._l(t.customerResults,(function(e){return n("div",{staticClass:"card card-customer"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"single-customer-card"},[n("img",{attrs:{src:t.getCustomerImage(e),alt:"default profile picture"}}),t._v(" "),n("div",{staticClass:"customer-card-name"},[t._v("\n "+t._s(e.fields.customer_first_name)+" "+t._s(e.fields.customer_last_name)+"\n ")]),t._v(" "),n("div",{staticClass:"customer-card-email"},[n("IconifyIcon",{attrs:{icon:t.icons.email}}),t._v("\n "+t._s(e.fields.customer_email)+"\n ")],1)])])])})),0)};pn._withStripped=!0;var mn=J({name:"CustomersListModule",props:["customerResults"],mixins:[Z],data:()=>({defaultCustomerImage:"/static/NearBeach/images/placeholder/people_tax.svg"}),methods:{getCustomerImage:function(t){return""==t.fields.customer_profile_picture?this.defaultCustomerImage:t.fields.customer_profile_picture}}},pn,[],!1,null,"8c283f98",null);mn.options.__file="src/js/components/modules/sub_modules/CustomersListModule.vue";var fn=mn.exports,hn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.objectStorage}}),t._v(" Associated Objects")],1),t._v(" "),t.projectResults.length+t.taskResults.length>0?n("hr"):t._e(),t._v(" "),t.projectResults.length>0?n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.projectResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/project_information/"+e.project_id+"/"}},[n("p",[t._v(t._s(e.project_name))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Project "+t._s(e.project_id)+" -\n End Date:\n "+t._s(t.getFriendlyDate(e.project_end_date))+"\n ")])])]),t._v(" "),n("td",[t._v(t._s(e.project_status))])])})),0)])])]):t._e(),t._v(" "),t.projectResults.length>0?n("hr"):t._e(),t._v(" "),t.requirementResults.length>0?n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("table",{staticClass:"table"},[t._m(3),t._v(" "),n("tbody",t._l(t.requirementResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/requirement_information/"+e.requirement_id+"/"}},[n("p",[t._v(t._s(e.requirement_title))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Requirement "+t._s(e.requirement_id)+"\n ")])])])])})),0)])])]):t._e(),t._v(" "),t.projectResults.length>0?n("hr"):t._e(),t._v(" "),t.taskResults.length>0?n("div",{staticClass:"row"},[t._m(4),t._v(" "),n("div",{staticClass:"col-md-8"},[n("table",{staticClass:"table"},[t._m(5),t._v(" "),n("tbody",t._l(t.taskResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/task_information/"+e.task_id+"/"}},[n("p",[t._v(t._s(e.task_short_description))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Task "+t._s(e.task_id)+" -\n End Date:\n "+t._s(t.getFriendlyDate(e.task_end_date))+"\n ")])])]),t._v(" "),n("td",[t._v(t._s(e.task_status))])])})),0)])])]):t._e(),t._v(" "),t.projectResults.length+t.taskResults.length===0?n("div",{staticClass:"spacer"}):t._e(),t._v(" "),t.projectResults.length+t.taskResults.length===0?n("div",{staticClass:"alert alert-info"},[t._v('\n There are currently no Objects associated with this Organisation. You can create some new objects by\n click on the "New Objects" menu item.\n ')]):t._e()])};hn._withStripped=!0;const vn=n(3);var gn=J({name:"AssociatedObjects",props:["destination","locationId"],mixins:[Z],data:()=>({opportunityResults:[],projectResults:[],requirementResults:[],taskResults:[]}),methods:{getAssociatedObjectResults:function(){vn.post(`/object_data/${this.destination}/${this.locationId}/associated_objects/`).then(t=>{this.opportunityResults=t.data.opportunity,this.projectResults=t.data.project,this.requirementResults=t.data.requirement,this.taskResults=t.data.task}).catch(t=>{})},getFriendlyDate:function(t){return new Date(t).toLocaleString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"})}},mounted(){this.getAssociatedObjectResults()}},hn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Project")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The following are current OPEN projects associated with the organisation.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Project Information")]),this._v(" "),e("td",[this._v("Status")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Requirement")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The following are current OPEN requirements associated with the organisation.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Requirement Information")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Task")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The following are current OPEN tasks associated with the organisation.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Task Information")]),this._v(" "),e("td",[this._v("Status")])])])}],!1,null,"5019fa43",null);gn.options.__file="src/js/components/modules/sub_modules/AssociatedObjects.vue";var bn=gn.exports,_n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"form-group col-sm-3"},[n("label",[t._v("\n Title:\n "),!t.$v.titleModel.required&&t.$v.titleModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.titleFixList,label:"title"},model:{value:t.titleModel,callback:function(e){t.titleModel=e},expression:"titleModel"}})],1),t._v(" "),n("div",{staticClass:"form-group col-sm-4"},[n("label",[t._v("\n First Name:\n "),!t.$v.customerFirstNameModel.required&&t.$v.customerFirstNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerFirstNameModel,expression:"customerFirstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerFirstNameModel},on:{input:function(e){e.target.composing||(t.customerFirstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group col-sm-5"},[n("label",[t._v("\n Last Name:\n "),!t.$v.customerLastNameModel.required&&t.$v.customerLastNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerLastNameModel,expression:"customerLastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerLastNameModel},on:{input:function(e){e.target.composing||(t.customerLastNameModel=e.target.value)}}})])]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group col-sm-8"},[n("label",[t._v("\n Email:\n "),!t.$v.customerEmailModel.required&&t.$v.customerEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.customerEmailModel.email&&t.$v.customerEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format as Email\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerEmailModel,expression:"customerEmailModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerEmailModel},on:{input:function(e){e.target.composing||(t.customerEmailModel=e.target.value)}}})]),t._v(" "),n("br")])])};_n._withStripped=!0;n(3);var yn=J({name:"NewCustomerForm",props:["flagValidationCheck","organisationName","titleList"],data:()=>({customerEmailModel:"",customerFirstNameModel:"",customerLastNameModel:"",organisationModel:{},searchTimeout:"",titleFixList:[],titleModel:[]}),validations:{customerEmailModel:{required:dt.required,email:dt.email},customerFirstNameModel:{required:dt.required},customerLastNameModel:{required:dt.required},organisationModel:{required:dt.required},titleModel:{required:dt.required}},methods:{},watch:{customerEmailModel:function(){this.$emit("update_customer_data",{field:"customerEmailModel",value:this.customerEmailModel})},customerFirstNameModel:function(){this.$emit("update_customer_data",{field:"customerFirstNameModel",value:this.customerFirstNameModel})},customerLastNameModel:function(){this.$emit("update_customer_data",{field:"customerLastNameModel",value:this.customerLastNameModel})},flagValidationCheck:function(){this.flagValidationCheck&&this.$v.$touch()},titleModel:function(){this.$emit("update_customer_data",{field:"titleModel",value:this.titleModel})}},mounted(){this.titleList.forEach(t=>{this.titleFixList.push({value:t.pk,title:t.fields.title})})}},_n,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("New Customer")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out the following details.\n ")]),this._v(" "),e("strong",[this._v("Please Note:")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Customers do not go through a duplication process. Please search for the potential customer\n first before adding them into NearBeach.\n ")])])}],!1,null,"ecd082a8",null);yn.options.__file="src/js/components/customers/NewCustomerForm.vue";var wn=yn.exports,xn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addCustomerModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-xl"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Add Customer Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("new-customer-form",{attrs:{"title-list":t.titleList,"flag-validation-check":t.flagValidationCheck},on:{update_customer_data:function(e){return t.updateCustomerData(e)}}})],1),t._v(" "),n("div",{staticClass:"modal-footer"},[n("a",{staticClass:"btn btn-primary",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewCustomer}},[t._v("Add Contact")]),t._v(" "),n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")])])])])])};xn._withStripped=!0;const kn=n(3);var Cn=J({name:"NewCustomerModal",props:["organisationId","titleList"],mixins:[Z],data:()=>({customerEmailModel:"",customerFirstNameModel:"",customerLastNameModel:"",flagValidationCheck:!1,organisationModel:{},titleModel:[]}),validations:{customerEmailModel:{required:dt.required,email:dt.email},customerFirstNameModel:{required:dt.required},customerLastNameModel:{required:dt.required},titleModel:{required:dt.required}},methods:{submitNewCustomer:function(){if(this.flagValidationCheck=!0,setTimeout(()=>{this.flagValidationCheck=!1},100),this.$v.$touch(),this.$v.$invalid)return document.getElementById("errorModalContent").innerHTML="FORM ISSUE: Sorry, but can you please fill out the form completely.",void new f.a(document.getElementById("errorModal")).show();const t=new FormData;t.set("customer_title",this.titleModel.value),t.set("customer_first_name",this.customerFirstNameModel),t.set("customer_last_name",this.customerLastNameModel),t.set("customer_email",this.customerEmailModel),t.set("organisation",this.organisationId),kn.post("/new_customer/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{})},updateCustomerData:function(t){this[t.field]=t.value}}},xn,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addCustomerCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"7d129116",null);Cn.options.__file="src/js/components/customers/NewCustomerModal.vue";var Mn=Cn.exports,Sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Customers")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-organisation",attrs:{type:"text"},domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),n("list-customers",{attrs:{"customer-results":t.localCustomerResults,"root-url":t.rootUrl,"static-url":t.staticUrl}}),t._v(" "),0==t.localCustomerResults.length?n("div",{staticClass:"alert alert-warning"},[t._v("There are no customers with the search parameters used. Please try again.")]):t._e()],1)])};Sn._withStripped=!0;const Tn=n(3);var En=J({name:"SearchCustomers",props:{customerResults:Array,staticUrl:{type:String,default:"/"},rootUrl:{type:String,root:"/"}},mixins:[ut],data(){return{localCustomerResults:this.customerResults,searchModel:"",searchTimeout:""}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),Tn.post(this.rootUrl+"search/customer/data/",t).then(t=>{this.localCustomerResults=t.data}).catch(t=>{})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},Sn,[],!1,null,"01876c9c",null);En.options.__file="src/js/components/search/SearchCustomers.vue";var jn=En.exports,On=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.customerResults,(function(e){return n("div",{staticClass:"row"},[n("div",{staticClass:"organisation-details"},[""==e.fields.customer_profile_picture?n("img",{staticClass:"organisation-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/product_tour.svg",alt:"Stakeholder Logo"}}):n("img",{staticClass:"organisation-image",attrs:{src:e.fields.customer_profile_picture,alt:"Stakeholder Logo"}}),t._v(" "),n("div",{staticClass:"organisation-name"},[n("a",{attrs:{href:t.rootUrl+"customer_information/"+e.pk+"/"}},[t._v("\n "+t._s(e.fields.customer_first_name)+" "+t._s(e.fields.customer_last_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"organisation-email"},[n("IconifyIcon",{attrs:{icon:t.icons.mailIcon}}),t._v(" Email:\n "),n("a",{attrs:{href:"mailto:"+e.fields.customer_email}},[t._v("\n "+t._s(e.fields.customer_email)+"\n ")])],1)])])})),0)};On._withStripped=!0;var In=J({name:"ListCustomers",props:{customerResults:Array,staticUrl:{type:String,default:"/"},rootUrl:{type:String,default:"/"}},mixins:[Z],methods:{}},On,[],!1,null,"2b1d5681",null);In.options.__file="src/js/components/customers/ListCustomers.vue";var Ln=In.exports,Dn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Customer Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[t._m(1),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"form-group col-sm-3"},[n("label",[t._v("\n Title:\n "),!t.$v.customerTitleModel.required&&t.$v.customerTitleModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.titleFixList,label:"title"},model:{value:t.customerTitleModel,callback:function(e){t.customerTitleModel=e},expression:"customerTitleModel"}})],1),t._v(" "),n("div",{staticClass:"form-group col-sm-4"},[n("label",[t._v("\n First Name:\n "),!t.$v.customerFirstNameModel.required&&t.$v.customerFirstNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerFirstNameModel,expression:"customerFirstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerFirstNameModel},on:{input:function(e){e.target.composing||(t.customerFirstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group col-sm-5"},[n("label",[t._v("\n Last Name:\n "),!t.$v.customerLastNameModel.required&&t.$v.customerLastNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerLastNameModel,expression:"customerLastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerLastNameModel},on:{input:function(e){e.target.composing||(t.customerLastNameModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),t.organisationResults.length>0?n("stakeholder-information",{attrs:{"organisation-results":t.organisationResults,"default-stakeholder-image":t.defaultStakeholderImage}}):t._e(),t._v(" "),n("br"),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateCustomer}},[t._v("Update Customer")])])])],1)])};Dn._withStripped=!0;const Nn=n(3);var $n=J({name:"CustomerInformation",props:{customerResults:Array,defaultStakeholderImage:String,organisationResults:Array,titleList:Array},data(){return{customerEmailModel:this.customerResults[0].fields.customer_email,customerFirstNameModel:this.customerResults[0].fields.customer_first_name,customerLastNameModel:this.customerResults[0].fields.customer_last_name,customerTitleModel:this.customerResults[0].fields.customer_title,titleFixList:[]}},mixins:[h,ie],validations:{customerEmailModel:{required:dt.required,email:dt.email},customerFirstNameModel:{required:dt.required},customerLastNameModel:{required:dt.required},organisationModel:{required:dt.required},customerTitleModel:{required:dt.required}},methods:{updateCustomer:function(){const t=new FormData;t.set("customer_email",this.customerEmailModel),t.set("customer_first_name",this.customerFirstNameModel),t.set("customer_last_name",this.customerLastNameModel),t.set("customer_title",this.customerTitleModel.value),this.showLoadingModal("Customer Information"),Nn.post(`/customer_information/${this.customerResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"customer",this.customerResults[0].pk)})}},mounted(){this.titleList.forEach(t=>{this.titleFixList.push({value:t.pk,title:t.fields.title}),t.pk==this.customerTitleModel&&(this.customerTitleModel={value:t.pk,title:t.fields.title})})}},Dn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please Note")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out the following details. If the customer is not assigned an organisation,\n NearBeach will treat this customer as a freelancer.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row customer-profile-image"},[e("img",{staticClass:"customer-profile-image",attrs:{src:"/static/NearBeach/images/placeholder/product_tour.svg",alt:"No Profile Picture"}}),this._v(" "),e("br"),this._v(" "),e("button",{staticClass:"btn btn-primary"},[this._v("Update Profile...")])])}],!1,null,"4dac8698",null);$n.options.__file="src/js/components/customers/CustomerInformation.vue";var An=$n.exports,Rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-row"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-organisation",attrs:{type:"text"},domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.includeClosedObjectsModel,expression:"includeClosedObjectsModel"}],attrs:{type:"checkbox",id:"inlcudeClosedObjects"},domProps:{checked:Array.isArray(t.includeClosedObjectsModel)?t._i(t.includeClosedObjectsModel,null)>-1:t.includeClosedObjectsModel},on:{change:function(e){var n=t.includeClosedObjectsModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.includeClosedObjectsModel=n.concat([null])):o>-1&&(t.includeClosedObjectsModel=n.slice(0,o).concat(n.slice(o+1)))}else t.includeClosedObjectsModel=i}}}),t._v(" "),n("label",{attrs:{for:"inlcudeClosedObjects"}},[t._v(" Include Closed Objects")])])])])]),t._v(" "),n("br"),t._v(" "),t.localSearchResults.request_for_change.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.request_for_change,"import-variables":t.requestForChangeVariables,destination:"rfc"}}):t._e(),t._v(" "),t.localSearchResults.requirement.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.requirement,"import-variables":t.requirementVariables,destination:"requirement"}}):t._e(),t._v(" "),t.localSearchResults.project.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.project,"import-variables":t.projectVariables,destination:"project"}}):t._e(),t._v(" "),t.localSearchResults.task.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.task,"import-variables":t.taskVariables,destination:"task"}}):t._e(),t._v(" "),t.localSearchResults.kanban.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.kanban,"import-variables":t.kanbanVariables,destination:"kanban"}}):t._e(),t._v(" "),t.localSearchResults.requirement.length+t.localSearchResults.project.length+t.localSearchResults.task.length+t.localSearchResults.request_for_change==0?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - but there are no results for this search term. Please try searching for a different search term.\n ")]):t._e()],1)};Rn._withStripped=!0;const Pn=n(3);var qn=J({name:"SearchObjects",props:{includeClosed:{Boolean:Boolean},rootUrl:{type:String,default:"/"},searchInput:{String:String,required:!1},searchResults:{Array:Array,required:!0}},mixins:[ut],data(){return{includeClosedObjectsModel:this.includeClosed,kanbanVariables:{header:"Kanban",prefix:"Kb",id:"kanban_board_id",title:"kanban_board_name",status:"kanban_board_status"},localSearchResults:this.searchResults,projectVariables:{header:"Projects",prefix:"Pro",id:"project_id",title:"project_name",status:"project_status"},requestForChangeVariables:{header:"Request for Change",prefix:"Rfc",id:"rfc_id",title:"rfc_title",status:"rfc_status"},requirementVariables:{header:"Requirements",prefix:"Req",id:"requirement_id",title:"requirement_title",status:"requirement_status__requirement_status"},searchModel:this.searchInput,searchTimeout:"",taskVariables:{header:"Tasks",prefix:"Task",id:"task_id",title:"task_short_description",status:"task_status"}}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),t.set("include_closed",this.includeClosedObjectsModel),Pn.post(this.rootUrl+"search/data/",t).then(t=>{this.localSearchResults=t.data}).catch(t=>{})}},watch:{includeClosedObjectsModel:function(){""!=this.searchTimeout&&clearTimeout(this.searchTimeout),this.getSearchResults()},searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}},mounted(){null==this.includeClosed&&(this.includeClosedObjectsModel=!1)}},Rn,[],!1,null,"6f24af9e",null);qn.options.__file="src/js/components/search/SearchObjects.vue";var zn=qn.exports,Fn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card search-card"},[n("div",{staticClass:"card-body"},[n("h2",[t._v(t._s(t.importVariables.header)+" Search Results")]),t._v(" "),n("hr"),t._v(" "),n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",{attrs:{width:"75%"}},[t._v(t._s(t.importVariables.header))]),t._v(" "),n("td",{attrs:{width:"25%"}},[t._v("Status")])])]),t._v(" "),n("tbody",t._l(t.searchResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/"+t.destination+"_information/"+e[t.importVariables.id]+"/"}},[n("p",[t._v(t._s(e[t.importVariables.title]))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n "+t._s(t.importVariables.prefix)+t._s(e[t.importVariables.id])+"\n ")])])]),t._v(" "),n("td",[t._v("\n "+t._s(e[t.importVariables.status])+"\n ")])])})),0)])])])};Fn._withStripped=!0;var Un=J({name:"ListSearchResults",props:{destination:String,importVariables:Object,searchResults:Array}},Fn,[],!1,null,"2d188e95",null);Un.options.__file="src/js/components/search/ListSearchResults.vue";var Bn=Un.exports,Vn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Project Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("Project Name\n "),!t.$v.projectNameModel.required&&t.$v.projectNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.projectNameModel,expression:"projectNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.projectNameModel},on:{input:function(e){e.target.composing||(t.projectNameModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Project Description:\n "),!t.$v.projectDescriptionModel.required&&t.$v.projectDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.projectDescriptionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:"/static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.projectDescriptionModel,callback:function(e){t.projectDescriptionModel=e},expression:"projectDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"col-md-4"},[n("v-select",{attrs:{options:t.statusOptions},model:{value:t.projectStatusModel,callback:function(e){t.projectStatusModel=e},expression:"projectStatusModel"}})],1),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"col-md-4"},["Closed"===t.projectStatusModel?n("div",{staticClass:"alert alert-danger"},[t._v("\n Saving the project with this status will close the project.\n ")]):t._e()]),t._v(" "),t.isReadOnly?n("div",{staticClass:"col-md-4"},["Closed"===t.projectStatusModel?n("div",{staticClass:"alert alert-info"},[t._v("\n Project has been closed.\n ")]):t._e()]):t._e()]),t._v(" "),n("hr"),t._v(" "),n("stakeholder-information",{attrs:{"organisation-results":t.organisationResults,"default-stakeholder-image":t.defaultStakeholderImage}}),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"project","is-dirty-end":t.$v.projectEndDateModel.$dirty||t.$v.projectStartDateModel.$dirty,"end-date-model":t.projectEndDateModel,"start-date-model":t.projectStartDateModel},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),t.userLevel>=2&&!t.isReadOnly?n("hr"):t._e(),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[t.userLevel>=3?n("a",{staticClass:"btn btn-danger",attrs:{href:"javascript:void(0)"},on:{click:t.closeProject}},[t._v("Close Project")]):t._e(),t._v(" "),t.userLevel>=2?n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateProject}},[t._v("Update Project")]):t._e()])])],1)])};Vn._withStripped=!0;var Hn=n(19);const Wn=n(3);var Gn=J({name:"ProjectInformation",props:{defaultStakeholderImage:String,organisationResults:Array,projectResults:Array,userLevel:{type:Number,default:1}},mixins:[h,ie],data(){return{isReadOnly:!1,projectDescriptionModel:this.projectResults[0].fields.project_description,projectEndDateModel:Hn.DateTime.fromISO(this.projectResults[0].fields.project_end_date),projectNameModel:this.projectResults[0].fields.project_name,projectStartDateModel:Hn.DateTime.fromISO(this.projectResults[0].fields.project_start_date),projectStatusModel:this.projectResults[0].fields.project_status,statusOptions:["Backlog","Blocked","In Progress","Test/Review"]}},validations:{projectDescriptionModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},projectEndDateModel:{required:dt.required},projectNameModel:{required:dt.required},projectStartDateModel:{required:dt.required}},methods:{closeProject:function(){this.projectStatusModel="Closed",this.updateProject()},updateDates:function(t){this.projectEndDateModel=t.end_date,this.projectStartDateModel=t.start_date},updateProject:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("project_description",this.projectDescriptionModel),t.set("project_end_date",this.projectEndDateModel),t.set("project_name",this.projectNameModel),t.set("project_start_date",this.projectStartDateModel),t.set("project_status",this.projectStatusModel),this.showLoadingModal("Project"),Wn.post(`/project_information/${this.projectResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal(),"Closed"===this.projectStatusModel&&window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){this.userLevel>=3&&this.statusOptions.push("Closed"),this.isReadOnly="Closed"===this.projectResults[0].fields.project_status}},Vn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Edit the project information and then click the "Update Project" button at the bottom of the\n page\n ')])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Project Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please update the project's task to reflect it's current status. Then click on the \"Update\n Project\" button to save the change.\n ")])])}],!1,null,"d5eb53a8",null);Gn.options.__file="src/js/components/projects/ProjectInformation.vue";var Yn=Gn.exports,Kn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Project")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("Project Name\n "),!t.$v.projectNameModel.required&&t.$v.projectNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.projectNameModel,expression:"projectNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.projectNameModel},on:{input:function(e){e.target.composing||(t.projectNameModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Project Description:\n "),!t.$v.projectDescriptionModel.required&&t.$v.projectDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.projectDescriptionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:t.staticUrl+"NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.projectDescriptionModel,callback:function(e){t.projectDescriptionModel=e},expression:"projectDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("get-stakeholders",{attrs:{"is-dirty":t.$v.stakeholderModel.$dirty},on:{update_stakeholder_model:function(e){return t.updateStakeholderModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"project","is-dirty-end":t.$v.projectEndDateModel.$dirty||t.$v.projectStartDateModel.$dirty},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"project","user-group-results":t.userGroupResults,"is-dirty":t.$v.groupModel.$dirty},on:{update_group_model:function(e){return t.updateGroupModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewProject}},[t._v("Create new Project")])])])],1)])};Kn._withStripped=!0;const Zn=n(3);var Xn=J({name:"NewProject",props:{groupResults:Array,rootUrl:{type:String,default:"/"},staticUrl:{type:String,default:"/"},userGroupResults:{type:Array,default:()=>[]}},mixins:[h],data:()=>({groupModel:{},projectDescriptionModel:"",projectEndDateModel:"",projectNameModel:"",projectStartDateModel:"",stakeholderModel:{}}),validations:{groupModel:{required:dt.required},projectDescriptionModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},projectEndDateModel:{required:dt.required},projectNameModel:{required:dt.required},projectStartDateModel:{required:dt.required},stakeholderModel:{required:dt.required}},methods:{submitNewProject:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("project_name",this.projectNameModel),t.set("project_description",this.projectDescriptionModel),t.set("organisation",this.stakeholderModel.value),t.set("project_start_date",this.projectStartDateModel),t.set("project_end_date",this.projectEndDateModel),this.groupModel.forEach((e,n)=>{t.append("group_list",e.value)}),Zn.post(this.rootUrl+"new_project/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateDates:function(t){this.projectStartDateModel=t.start_date,this.projectEndDateModel=t.end_date},updateGroupModel:function(t){this.groupModel=t},updateStakeholderModel:function(t){this.stakeholderModel=t}},mounted(){}},Kn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n To create a new project, fill out the form and submit at the bottom of the page.\n ")])])}],!1,null,"660cc132",null);Xn.options.__file="src/js/components/projects/NewProject.vue";var Jn=Xn.exports,Qn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Task Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("Task Short Description:\n "),!t.$v.taskShortDescriptionModel.required&&t.$v.taskShortDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.taskShortDescriptionModel,expression:"taskShortDescriptionModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.taskShortDescriptionModel},on:{input:function(e){e.target.composing||(t.taskShortDescriptionModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Task Long Description:\n "),!t.$v.taskDescriptionModel.required&&t.$v.taskDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.taskDescriptionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:"/static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.taskDescriptionModel,callback:function(e){t.taskDescriptionModel=e},expression:"taskDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"col-md-4"},[n("v-select",{attrs:{options:t.statusOptions},model:{value:t.taskStatusModel,callback:function(e){t.taskStatusModel=e},expression:"taskStatusModel"}})],1),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"col-md-4"},["Closed"===t.taskStatusModel?n("div",{staticClass:"alert alert-danger"},[t._v("\n Saving the task with this status will close the task.\n ")]):t._e()]),t._v(" "),t.isReadOnly?n("div",{staticClass:"col-md-4"},["Closed"===t.taskStatusModel?n("div",{staticClass:"alert alert-info"},[t._v("\n Project has been closed.\n ")]):t._e()]):t._e()]),t._v(" "),n("hr"),t._v(" "),n("stakeholder-information",{attrs:{"organisation-results":t.organisationResults,"default-stakeholder-image":t.defaultStakeholderImage}}),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"task","is-dirty-end":t.$v.taskEndDateModel.$dirty||t.$v.taskStartDateModel.$dirty,"start-date-model":t.taskStartDateModel,"end-date-model":t.taskEndDateModel},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),t.userLevel>=2&&!t.isReadOnly?n("hr"):t._e(),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[t.userLevel>=3?n("a",{staticClass:"btn btn-danger",attrs:{href:"javascript:void(0)"},on:{click:t.closeTask}},[t._v("Close Task")]):t._e(),t._v(" "),t.userLevel>=2?n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateTask}},[t._v("Update Task")]):t._e()])])],1)])};Qn._withStripped=!0;const tr=n(3);var er=J({name:"TaskInformation",props:{defaultStakeholderImage:String,groupResults:Array,stakeholderModel:Array,taskResults:Array,organisationResults:Array,userLevel:{type:Number,default:1}},data(){return{isReadOnly:!1,statusOptions:["Backlog","Blocked","In Progress","Test/Review"],taskDescriptionModel:this.taskResults[0].fields.task_long_description,taskEndDateModel:Hn.DateTime.fromISO(this.taskResults[0].fields.task_end_date),taskShortDescriptionModel:this.taskResults[0].fields.task_short_description,taskStartDateModel:Hn.DateTime.fromISO(this.taskResults[0].fields.task_start_date),taskStatusModel:this.taskResults[0].fields.task_status}},mixins:[h,ie],validations:{taskDescriptionModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},taskEndDateModel:{required:dt.required},taskShortDescriptionModel:{required:dt.required},taskStartDateModel:{required:dt.required}},methods:{closeTask:function(){this.taskStatusModel="Closed",this.updateTask()},updateTask:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();this.showLoadingModal("task");const t=new FormData;t.set("task_long_description",this.taskDescriptionModel),t.set("task_end_date",this.taskEndDateModel),t.set("task_short_description",this.taskShortDescriptionModel),t.set("task_start_date",this.taskStartDateModel),t.set("task_status",this.taskStatusModel),tr.post(`/task_information/${this.taskResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal(),"Closed"===this.taskStatusModel&&window.location.reload("Closed"===this.taskStatusModel)}).catch(t=>{this.showErrorModal(t,this.destination)})},updateDates:function(t){this.taskEndDateModel=t.end_date,this.taskStartDateModel=t.start_date},updateGroupModel:function(t){this.groupModel=t},updateStakeholderModel:function(t){this.stakeholderModel=t}},mounted(){this.userLevel>=3&&this.statusOptions.push("Closed"),this.isReadOnly="Closed"===this.taskResults[0].fields.task_status}},Qn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n To create a new task, fill out the form and submit at the bottom of the page.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Task Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please update the task's status to reflect it's current status. Then click on the \"Update\n Task\" button to save the change.\n ")])])}],!1,null,"2cad45ca",null);er.options.__file="src/js/components/tasks/TaskInformation.vue";var nr=er.exports,rr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Task")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("Task Short Description:\n "),!t.$v.taskShortDescriptionModel.required&&t.$v.taskShortDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.taskShortDescriptionModel,expression:"taskShortDescriptionModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.taskShortDescriptionModel},on:{input:function(e){e.target.composing||(t.taskShortDescriptionModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Task Long Description:\n "),!t.$v.taskDescriptionModel.required&&t.$v.taskDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.taskDescriptionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.taskDescriptionModel,callback:function(e){t.taskDescriptionModel=e},expression:"taskDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("get-stakeholders",{attrs:{"is-dirty":t.$v.stakeholderModel.$dirty},on:{update_stakeholder_model:function(e){return t.updateStakeholderModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"task","is-dirty-end":t.$v.taskEndDateModel.$dirty||t.$v.taskStartDateModel.$dirty},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"task","user-group-results":t.userGroupResults,"is-dirty":t.$v.groupModel.$dirty},on:{update_group_model:function(e){return t.updateGroupModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewTask}},[t._v("Create new Task")])])])],1)])};rr._withStripped=!0;const ir=n(3);var or=J({name:"NewTask",props:{groupResults:Array,userGroupResults:{type:Array,default:()=>[]}},data:()=>({groupModel:{},stakeholderModel:"",staticUrl:{type:String,default:"/"},taskDescriptionModel:"",taskEndDateModel:"",taskShortDescriptionModel:"",taskStartDateModel:""}),mixins:[h],validations:{groupModel:{required:dt.required},stakeholderModel:{required:dt.required},taskDescriptionModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},taskEndDateModel:{required:dt.required},taskShortDescriptionModel:{required:dt.required},taskStartDateModel:{required:dt.required}},methods:{submitNewTask:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("organisation",this.stakeholderModel.value),t.set("task_long_description",this.taskDescriptionModel),t.set("task_end_date",this.taskEndDateModel),t.set("task_short_description",this.taskShortDescriptionModel),t.set("task_start_date",this.taskStartDateModel),this.groupModel.forEach((e,n)=>{t.append("group_list",e.value)}),ir.post("save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateDates:function(t){this.taskEndDateModel=t.end_date,this.taskStartDateModel=t.start_date},updateGroupModel:function(t){this.groupModel=t},updateStakeholderModel:function(t){this.stakeholderModel=t}}},rr,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n To create a new task, fill out the form and submit at the bottom of the page.\n ")])])}],!1,null,"37f1f2a8",null);or.options.__file="src/js/components/tasks/NewTask.vue";var ar=or.exports,sr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Between Dates")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Choose the start and end date of the "+t._s(t.destination)+". Please note the end date can not be earlier than\n the start date. They can be equal.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v(t._s(t.destination)+" Start Date:\n "),!t.$v.localStartDateModel.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please select a date.")]):t._e()]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.localStartDateModel,callback:function(e){t.localStartDateModel=e},expression:"localStartDateModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v(t._s(t.destination)+" End Date:\n "),!t.$v.localEndDateModel.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please select a date.")]):t._e()]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.localEndDateModel,callback:function(e){t.localEndDateModel=e},expression:"localEndDateModel"}})],1)])])};sr._withStripped=!0;var lr=J({name:"BetweenDates",props:{destination:String,endDateModel:{type:[Object,String],default(){var t=Hn.DateTime.local();return t=t.plus({days:28})}},isDirty:Boolean,startDateModel:{type:[Object,String],default:()=>Hn.DateTime.local()}},validations:{localEndDateModel:{required:dt.required},localStartDateModel:{required:dt.required}},data:()=>({localEndDateModel:"",localStartDateModel:""}),methods:{emitDates:function(){this.$emit("update_dates",{start_date:this.localStartDateModel,end_date:this.localEndDateModel})}},watch:{localEndDateModel:function(){var t=Hn.DateTime.local(this.localEndDateModel),e=Hn.DateTime.local(this.localStartDateModel);t.toMillis()-e.toMillis()<0&&(this.localEndDateModel=this.localStartDateModel()),this.emitDates()},localStartDateModel:function(){var t=Hn.DateTime.local(this.localEndDateModel),e=Hn.DateTime.local(this.localStartDateModel);t.toMillis()-e.toMillis()<0&&(this.localStartDateModel=this.localEndDateModel()),this.emitDates()}},mounted(){this.localEndDateModel=this.endDateModel.toISO(),this.localStartDateModel=this.startDateModel.toISO()}},sr,[],!1,null,"1bf47cf3",null);lr.options.__file="src/js/components/dates/BetweenDates.vue";var cr=lr.exports,dr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8 organisation-details"},[n("img",{staticClass:"organisation-image",attrs:{src:t.getStakeholderImage,alt:"Stakeholder Logo"}}),t._v(" "),n("div",{staticClass:"organisation-name"},[n("a",{attrs:{href:"/organisation_information/"+t.organisationResults[0].pk+"/"}},[t._v("\n "+t._s(t.stakeholderModel.organisation_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"organisation-link"},[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" Website:\n "),n("a",{attrs:{href:t.stakeholderModel.organisation_website,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.stakeholderModel.organisation_website)+"\n ")])],1),t._v(" "),n("div",{staticClass:"organisation-email"},[n("IconifyIcon",{attrs:{icon:t.icons.mailIcon}}),t._v(" Email:\n "),n("a",{attrs:{href:"mailto:"+t.stakeholderModel.organisation_email}},[t._v("\n "+t._s(t.stakeholderModel.organisation_email)+"\n ")])],1)])])};dr._withStripped=!0;var ur=J({name:"StakeholderInformation",props:{defaultStakeholderImage:String,organisationResults:Array},data(){return{stakeholderModel:this.organisationResults[0].fields}},mixins:[Z],computed:{getStakeholderImage:function(){return""===this.stakeholderModel.organisation_profile_picture?this.defaultStakeholderImage:this.stakeholderModel.organisation_profile_picture}},methods:{}},dr,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Stakeholder")])])}],!1,null,"664c2a68",null);ur.options.__file="src/js/components/organisations/StakeholderInformation.vue";var pr=ur.exports,mr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Kanban")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Kanban Board Name\n "),!t.$v.kanbanBoardNameModel.required&&t.$v.kanbanBoardNameModel.$dirty?n("span",{staticClass:"error"},[t._v("\n Please suppy a title.\n ")]):t._e(),t._v(" "),t.uniqueKanbanBoardName?t._e():n("span",{staticClass:"error"},[t._v(" Please supply a unique name")]),t._v(" "),t.checkingKanbanBoardName?n("span",{staticClass:"error"},[t._v(" Checking kanban name...")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.kanbanBoardNameModel,expression:"kanbanBoardNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.kanbanBoardNameModel},on:{input:function(e){e.target.composing||(t.kanbanBoardNameModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("kanban-property-order",{attrs:{"property-name":"Columns","property-list":t.columnModel,source:"columnModel","is-dirty":t.$v.columnModel.$dirty},on:{update_property_list:function(e){return t.updatePropertyList(e)}}})],1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("kanban-property-order",{attrs:{"property-name":"Levels","property-list":t.levelModel,source:"levelModel","is-dirty":t.$v.columnModel.$dirty},on:{update_property_list:function(e){return t.updatePropertyList(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"kanban_board","user-group-results":t.userGroupResults,"is-dirty":t.$v.groupModel.$dirty},on:{update_group_model:function(e){return t.updateGroupModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.addNewKanban}},[t._v("\n Add Kanban\n ")])])])],1)])};mr._withStripped=!0;const fr=n(3);var hr=J({name:"NewKanban",props:{groupResults:Array,rootUrl:{type:String,default:"/"},userGroupResults:{type:Array,default:()=>[]}},mixins:[h,ut],data:()=>({checkingKanbanBoardName:!1,columnModel:[{id:0,title:"Backlog"},{id:1,title:"Blocked"},{id:2,title:"In Progress"},{id:4,title:"Review and QA"},{id:5,title:"Completed"}],groupModel:[],kanbanBoardNameModel:"",levelModel:[{id:0,title:"Sprint 1"},{id:1,title:"Sprint 2"}],searchTimeout:"",uniqueKanbanBoardName:!0}),validations:{columnModel:{required:dt.required},groupModel:{required:dt.required},kanbanBoardNameModel:{required:dt.required},levelModel:{required:dt.required}},watch:{kanbanBoardNameModel:function(){this.checkingKanbanBoardName=!0,this.searchTrigger({return_function:this.checkKanbanBoardName,searchTimeout:this.searchTimeout,search:this.kanbanBoardNameModel,loading:null})}},methods:{addNewKanban:function(){if(this.$v.$touch(),this.$v.$invalid||!this.uniqueKanbanBoardName||this.checkingKanbanBoardName)return void this.showValidationErrorModal();const t=new FormData;t.set("kanban_board_name",this.kanbanBoardNameModel),this.columnModel.forEach(e=>{t.append("column_title",e.title)}),this.levelModel.forEach(e=>{t.append("level_title",e.title)}),this.groupModel.forEach(e=>{t.append("group_list",e.value)}),fr.post(this.rootUrl+"new_kanban_save/",t).then(t=>{window.location.href=t.data}).catch(t=>{})},checkKanbanBoardName:function(){const t=new FormData;t.set("kanban_board_name",this.kanbanBoardNameModel),fr.post(this.rootUrl+"kanban_information/check_kanban_board_name/",t).then(t=>{this.uniqueKanbanBoardName=0==t.data.length,this.checkingKanbanBoardName=!1}).catch(t=>{})},updateGroupModel:function(t){this.groupModel=t},updatePropertyList:function(t){this[t.source]=t.data}}},mr,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please note")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Board names must be unique.\n\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Columns & Levels")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Drag the cards around to sort out the columns how you want them.\n ")])])}],!1,null,"44162f2b",null);hr.options.__file="src/js/components/kanban/NewKanban.vue";var vr=hr.exports,gr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("strong",[t._v(t._s(t.propertyName))]),t._v(" "),!t.$v.localPropertyList.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please create at least one "+t._s(t.propertyName)+".")]):t._e(),t._v(" "),n("br"),t._v(" "),n("draggable",{attrs:{"ghost-class":"ghost"},on:{change:t.sendPropertyListUp},model:{value:t.localPropertyList,callback:function(e){t.localPropertyList=e},expression:"localPropertyList"}},[n("transition-group",{attrs:{type:"transition",name:"flip-list"}},t._l(t.localPropertyList,(function(e){return n("div",{key:e.id,staticClass:"sortable",attrs:{id:e.id,"data-id":e.id,"data-title":e.title},on:{dblclick:function(e){return t.editItem(e)}}},[n("strong",{key:e.id,attrs:{id:e.id,"data-id":e.id,"data-title":e.title}},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),t.localPropertyList.length>1?n("span",{on:{click:function(n){return t.removeItem(e.id)}}},[n("IconifyIcon",{attrs:{icon:t.icons.xCircle}})],1):t._e()])})),0)],1),t._v(" "),n("hr"),t._v(" "),n("button",{staticClass:"btn btn-primary",on:{click:t.openModal}},[t._v("\n Add "+t._s(t.propertyName)+" Item\n ")]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"addItem"+t.propertyName,tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title",attrs:{id:"exampleModalLabel"}},[t._v("Add/Edit "+t._s(t.propertyName))]),t._v(" "),n("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addItemClose"+t.propertyName}})]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"form-group"},[n("label",[t._v(t._s(t.propertyName)+" Item Description")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.newPropertyItem,expression:"newPropertyItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newPropertyItem},on:{input:function(e){e.target.composing||(t.newPropertyItem=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[t._v("\n Save changes\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"deleteItem"+t.propertyName,tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[t._v("Delete "+t._s(t.propertyName))]),t._v(" "),n("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"deleteItemClose"+t.propertyName}})]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("v-select",{staticClass:"new-card-destination",staticStyle:{"z-index":"9999"},attrs:{label:"title",values:"id",options:t.newCardDestinationList},model:{value:t.destinationItemId,callback:function(e){t.destinationItemId=e},expression:"destinationItemId"}})],1),t._v(" "),n("br"),t._v(" "),t._m(1)]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:null==this.destinationItemId},on:{click:t.deleteItem}},[t._v("\n Delete "+t._s(t.propertyName)+"\n ")])])])])])],1)};gr._withStripped=!0;const br=n(3);var _r=J({name:"KanbanPropertyOrder",props:{isDirty:Boolean,isNewMode:{type:Boolean,default:!0},kanbanBoardId:{type:Number,default:0},propertyList:Array,propertyName:String,source:String},data(){return{deleteItemId:"",destinationItemId:"",localPropertyList:this.propertyList,newCardDestinationList:[],newPropertyItem:"",singleItemId:""}},mixins:[h,Z],validations:{localPropertyList:{required:dt.required}},watch:{propertyList:function(){this.localPropertyList=this.propertyList}},methods:{addItem:function(){""!=this.newPropertyItem&&(this.isNewMode?this.newModeAddItem():this.editModeAddItem(),this.sendPropertyListUp(),document.getElementById("addItemClose"+this.propertyName).click())},deleteItem:function(){const t=new FormData;t.set("delete_item_id",this.deleteItemId),t.set("destination_item_id",this.destinationItemId.id);const e=`/kanban_${this.propertyName.toLowerCase()}/${this.kanbanBoardId}/delete/`;br.post(e,t).then(t=>{this.localPropertyList=this.localPropertyList.filter(t=>t.id!=this.deleteItemId),this.$emit("update_property_list",{source:this.source,data:this.localPropertyList}),document.getElementById("deleteItemClose"+this.propertyName).click()}).catch(t=>{this.showErrorModal(t,"kanban item delete",this.kanbanBoardId)})},editItem:function(t){this.newPropertyItem=t.target.dataset.title,this.singleItemId=t.target.dataset.id,this.openModal()},editModeAddItem:async function(){const t=`kanban_${this.propertyName.toLowerCase()}_name`,e=`kanban_${this.propertyName.toLowerCase()}_sort_number`,n=this.singleItemId,r=new FormData;if(r.set(t,this.newPropertyItem),r.set(e,this.getMaxId()+1),""==n)var i=`/kanban_${this.propertyName.toLowerCase()}/${this.kanbanBoardId}/new/`;else i=`/kanban_${this.propertyName.toLowerCase()}/${this.singleItemId}/edit/`;await br.post(i,r).then(e=>{const r=e.data[0];""==n?this.localPropertyList.push({id:r.pk,title:r.fields[t]}):this.localPropertyList.forEach(t=>{t.id==this.singleItemId&&(t.title=this.newPropertyItem)}),this.singleItemId="",this.newPropertyItem=""}).catch(t=>{this.showErrorModal(t,"kanban board",this.kanbanBoardId)})},getMaxId:function(){const t=this.localPropertyList.map(t=>t.id);return t.sort((t,e)=>t-e)[t.length-1]},newModeAddItem:function(){""==this.singleItemId?this.localPropertyList.push({id:this.getMaxId()+1,title:this.newPropertyItem}):this.localPropertyList.forEach(t=>{t.id==this.singleItemId&&(t.title=this.newPropertyItem)}),this.singleItemId="",this.newPropertyItem=""},openModal:function(){new f.a(document.getElementById("addItem"+this.propertyName)).show()},removeItem:function(t){this.isNewMode?(this.localPropertyList=this.localPropertyList.filter(e=>e.id!=t),this.sendPropertyListUp()):(this.deleteItemId=t,this.newCardDestinationList=this.localPropertyList.filter(t=>t.id!=this.deleteItemId),this.destinationItemId=this.newCardDestinationList[0],new f.a(document.getElementById("deleteItem"+this.propertyName)).show())},sendPropertyListUp:function(){if(this.$emit("update_property_list",{source:this.source,data:this.localPropertyList}),!this.isNewMode){const t=`/kanban_${this.propertyName.toLowerCase()}/${this.kanbanBoardId}/resort/`,e=new FormData;this.localPropertyList.forEach((t,n)=>{e.append("item",t.id)}),br.post(t,e).then(t=>{}).catch(t=>{})}}}},gr,[function(){var t=this.$createElement,e=this._self._c||t;return e("label",[e("strong",[this._v("Destination for Cards")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"alert alert-warning"},[e("h4",[this._v("WARNING")]),this._v(" "),e("p",[this._v("This process can not be reversed. Deleting a {propertyName} will remove it.")]),this._v(" "),e("p",[this._v("\n All existing cards will be moved to the stated location you have provided.\n Any cards that have been archived or deleted, will still be associated with\n the removed card.\n ")])])}],!1,null,"e9150b94",null);_r.options.__file="src/js/components/kanban/KanbanPropertyOrder.vue";var yr=_r.exports,wr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"kanban-header"},[t._v(t._s(t.kanbanBoardResults[0].fields.kanban_board_name))]),t._v(" "),t.userLevel>=3?n("a",{staticClass:"kanban-edit-text",attrs:{href:"edit_board/"}},[t._v("\n Edit Kanban\n ")]):t._e(),t._v(" "),n("kanban-board",{attrs:{"column-results":t.columnResults,"kanban-board-results":t.kanbanBoardResults,"kanban-card-results":t.localKanbanCardResults,"level-results":t.levelResults,"new-card-info":t.newCardInfo},on:{double_clicked_card:function(e){return t.doubleClickedCard(e)}}}),t._v(" "),n("new-kanban-card",{attrs:{"kanban-card-results":t.kanbanCardResults,"column-results":t.columnResults,"level-results":t.levelResults,"kanban-board-results":t.kanbanBoardResults},on:{new_card:function(e){return t.newCard(e)}}}),t._v(" "),n("card-information",{attrs:{"card-information":t.cardInformation},on:{update_card:function(e){return t.updateCard(e)}}}),t._v(" "),n("new-kanban-link-wizard",{attrs:{"location-id":t.locationId,"column-results":t.columnResults,"level-results":t.levelResults},on:{new_card:function(e){return t.newCard(e)}}})],1)};wr._withStripped=!0;var xr=J({name:"KanbanInformation",props:{columnResults:Array,kanbanBoardResults:Array,kanbanCardResults:Array,levelResults:Array,locationId:Number,userLevel:Number},data(){return{cardInformation:{},localKanbanCardResults:this.kanbanCardResults,newCardInfo:[]}},methods:{doubleClickedCard:function(t){this.cardInformation=t},newCard:function(t){this.newCardInfo=t},updateCard:function(t){this.localKanbanCardResults.forEach(e=>{e.pk==t.kanban_card_id&&(e.fields.kanban_card_text=t.kanban_card_text,e.fields.kanban_column=t.kanban_column.value,e.fields.kanban_level=t.kanban_level.value)})}},mounted(){this.$store.commit({type:"updateLists",columnResults:this.columnResults,levelResults:this.levelResults})}},wr,[],!1,null,"62af6ca9",null);xr.options.__file="src/js/components/kanban/KanbanInformation.vue";var kr=xr.exports,Cr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("draggable",{staticClass:"list-group kanban-cell",attrs:{group:"tasks",list:t.masterList,id:"kanban_cell_"+t.levelId+"_"+t.columnId,"data-level":t.levelId,"data-column":t.columnId},on:{end:function(e){return t.onEnd(e)}}},[t._l(t.masterList,(function(e){return n("div",{key:e.pk,staticClass:"list-group-item",attrs:{id:e.pk,"data-sort-number":e.fields.kanban_card_sort_number,"data-card-id":e.pk},on:{dblclick:function(e){return t.doubleClickCard(e)}}},[n("b",[t._v("#"+t._s(e.pk))]),n("br"),t._v("\n "+t._s(e.fields.kanban_card_text)+"\n "),n("IconifyIcon",{staticClass:"kanban-card-info-icon",attrs:{icon:t.icons.infoCircle},on:{click:function(n){return t.singleClickCard(e.pk)},dblclick:function(n){return t.singleClickCard(e.pk)}}})],1)})),t._v(" "),n("div",{staticClass:"kanban-add-new-cards"},[n("a",{staticClass:"kanban-link btn btn-primary",attrs:{href:"javascript:void(0)"},on:{click:t.addNewKanbanCard}},[t._v("\n New Card\n ")]),t._v(" "),n("a",{staticClass:"kanban-link btn btn-warning",attrs:{href:"javascript:void(0)"},on:{click:t.addNewLink}},[t._v("\n Link Object\n ")]),t._v(" "),n("a",{staticClass:"kanban-link btn btn-danger",attrs:{href:"javascript:void(0)"},on:{click:t.archiveCards}},[t._v("\n Archive Cards\n ")])])],2)};Cr._withStripped=!0;const Mr=n(3);var Sr=J({name:"KanbanCard",props:{columnId:Number,levelId:Number,newCardInfo:Array},data:()=>({}),computed:{...Object(o.b)({allCards:"getCards"}),masterList:function(){let t=this.allCards.filter(t=>t.fields.kanban_column==this.columnId&&t.fields.kanban_level==this.levelId);return t=t.sort((t,e)=>t.fields.kanban_card_sort_number-e.fields.kanban_card_sort_number),t}},mixins:[Z],methods:{addNewKanbanCard:function(){var t;(t=document.getElementById("addKanbanCardModal")).dataset.kanbanLevel=this.levelId,t.dataset.kanbanColumn=this.columnId,(t=new f.a(t)).show()},addNewLink:function(){var t;(t=document.getElementById("newLinkModal")).dataset.kanbanLevel=this.levelId,t.dataset.kanbanColumn=this.columnId,(t=new f.a(t)).show()},archiveCards:function(){const t=new FormData;this.masterList.forEach(e=>{t.append("kanban_card_id",e.pk)}),Mr.post("/kanban_information/archive_kanban_cards/",t).then(t=>{document.location.reload(!0)}).catch(t=>{})},checkCardOrder:function(){if(0===this.masterList.length)return;const t=this.masterList.map(t=>t.fields.kanban_card_sort_number),e=Math.min.apply(null,t),n=Math.max.apply(null,t);0===e&&n===this.masterList.length-1||(document.getElementById("sort_error").style.display="flex",this.masterList.forEach((t,e)=>{const n=new FormData;n.set("new_card_column",this.columnId.toString()),n.set("new_card_level",this.levelId.toString()),n.set("new_card_sort_number",e.toString()),n.set("old_card_column",t.fields.kanban_column),n.set("old_card_level",t.fields.kanban_level),n.set("old_card_sort_number",t.fields.kanban_card_sort_number),n.set("card_id",t.pk),Mr.post(`/kanban_information/${t.pk}/move_card/`,n).then(n=>{this.$store.commit({type:"updateKanbanCard",card_id:t.pk,kanban_column:this.columnId,kanban_level:this.levelId,kanban_card_sort_number:e})})}),document.getElementById("sort_error").style.display="")},doubleClickCard:function(t){const e=this.masterList.filter(e=>e.pk==t.target.dataset.cardId)[0];this.sendDataUpstream(e)},dragDifferentColumn(t){let e=t.get("new_card_column"),n=t.get("new_card_level"),r=parseInt(t.get("new_card_sort_number")),i=t.get("old_card_column"),o=t.get("old_card_level"),a=parseInt(t.get("old_card_sort_number")),s=t.get("card_id"),l=[];return this.allCards.filter(t=>t.fields.kanban_column==e&&t.fields.kanban_level==n&&t.fields.kanban_card_sort_number>=r).forEach(t=>{l.push({card_id:t.pk,kanban_column:e,kanban_level:n,kanban_card_sort_number:t.fields.kanban_card_sort_number+1})}),this.allCards.filter(t=>t.fields.kanban_column==i&&t.fields.kanban_level==o&&t.fields.kanban_card_sort_number>=a).forEach(t=>{t.pk==s?l.push({card_id:t.pk,kanban_column:e,kanban_level:n,kanban_card_sort_number:r}):l.push({card_id:t.pk,kanban_column:i,kanban_level:o,kanban_card_sort_number:t.fields.kanban_card_sort_number-1})}),l},dragSameColumn(t){let e=parseInt(t.get("new_card_sort_number")),n=parseInt(t.get("old_card_sort_number")),r=parseInt(t.get("new_card_column")),i=parseInt(t.get("new_card_level")),o=parseInt(t.get("card_id")),a=1-2*(n=n)*e+(e=n)*n+(et.fields.kanban_column===r&&t.fields.kanban_level===i&&t.fields.kanban_card_sort_number>=l&&t.fields.kanban_card_sort_number<=s),d=[];return c.forEach(t=>{t.pk==o?d.push({card_id:t.pk,kanban_column:r,kanban_level:i,kanban_card_sort_number:e}):d.push({card_id:t.pk,kanban_column:r,kanban_level:i,kanban_card_sort_number:t.fields.kanban_card_sort_number+a})}),d},onEnd:function(t){var e=t.to,n=t.from,r=t.item.dataset.cardId;let i=e.dataset.column,o=e.dataset.level,a=t.newIndex,s=n.dataset.column,l=n.dataset.level,c=t.oldIndex;const d=new FormData;d.set("new_card_column",i),d.set("new_card_level",o),d.set("new_card_sort_number",a),d.set("old_card_column",s),d.set("old_card_level",l),d.set("old_card_sort_number",c),d.set("card_id",r),Mr.post(`/kanban_information/${r}/move_card/`,d).then(t=>{let e=[];e=i==s&&o==l?this.dragSameColumn(d):this.dragDifferentColumn(d),e.forEach(t=>{this.$store.commit({type:"updateKanbanCard",card_id:t.card_id,kanban_column:t.kanban_column,kanban_level:t.kanban_level,kanban_card_sort_number:t.kanban_card_sort_number})})}).catch(t=>{})},sendDataUpstream:function(t){this.$store.commit({type:"updateCard",cardId:t.pk,cardTitle:t.fields.kanban_card_text,cardDescription:t.fields.kanban_card_description,cardColumn:t.fields.kanban_column,cardLevel:t.fields.kanban_level});new f.a(document.getElementById("cardInformationModal")).show()},singleClickCard:function(t){const e=this.masterList.filter(e=>e.pk==t)[0];this.sendDataUpstream(e)}},watch:{newCardInfo:function(){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()}},Cr,[],!1,null,"6fbeb263",null);Sr.options.__file="src/js/components/kanban/KanbanCard.vue";var Tr=Sr.exports,Er=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"kanban-container",on:{scroll:t.scrollProcedure}},[n("div",{staticClass:"kanban-header-row"},t._l(t.columnResults,(function(e){return n("div",{key:e.pk,staticClass:"kanban-column-header"},[t._v("\n "+t._s(e.fields.kanban_column_name)+"\n ")])})),0),t._v(" "),n("div",{staticClass:"kanban-header-row kanban-sticky-row",staticStyle:{display:"none"}},t._l(t.columnResults,(function(e){return n("div",{key:e.pk,staticClass:"kanban-column-header"},[t._v("\n "+t._s(e.fields.kanban_column_name)+"\n ")])})),0),t._v(" "),t._l(t.levelResults,(function(e){return n("div",{key:e.pk},[n("div",{staticClass:"kanban-level-header"},[n("div",{staticClass:"kanban-level-div"},[t._v(t._s(e.fields.kanban_level_name))])]),t._v(" "),n("kanban-row",{attrs:{"level-id":e.pk,"new-card-info":t.newCardInfo},on:{double_clicked_card:function(e){return t.doubleClickedCard(e)}}})],1)}))],2)};Er._withStripped=!0;var jr=J({name:"KanbanBoard",props:{columnResults:Array,kanbanBoardResults:Array,kanbanCardResults:Array,levelResults:Array,newCardInfo:Array},mixins:[Z],data:()=>({}),created(){window.addEventListener("resize",this.resizeProcedure),window.addEventListener("scroll",this.scrollProcedure)},destroyed(){window.removeEventListener("resize",this.resizeProcedure),window.removeEventListener("scroll",this.scrollProcedure)},methods:{doubleClickedCard:function(t){this.$emit("double_clicked_card",t)},resizeProcedure:function(){const t=400*this.columnResults.length;let e=document.getElementsByClassName("kanban-container");if(e=e[0].clientWidth,t{e.style=`max-width: ${t}px;`})}else{let t=document.getElementsByClassName("kanban-level-div");Array.from(t).forEach(t=>{t.style="max-width: null;"})}},scrollProcedure:function(){var t=document.getElementsByClassName("kanban-sticky-row")[0],e=document.getElementsByClassName("kanban-container")[0];t.scrollLeft=e.scrollLeft;var n=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;t.style.display=n<90?"none":""}},mounted(){this.resizeProcedure(),this.$store.commit({type:"initPayload",kanbanCardResults:this.kanbanCardResults,levelResults:this.levelResults,columnResults:this.columnResults})}},Er,[],!1,null,"3995c923",null);jr.options.__file="src/js/components/kanban/KanbanBoard.vue";var Or=jr.exports,Ir=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"kanban-row"},t._l(t.columnResults,(function(e){return n("kanban-card",{key:e.pk,attrs:{"level-id":t.levelId,"column-id":e.pk,"new-card-info":t.newCardInfo},on:{double_clicked_card:function(e){return t.doubleClickedCard(e)}}})})),1)};Ir._withStripped=!0;var Lr=J({name:"KanbanRow",props:{levelId:Number,newCardInfo:Array},computed:{...Object(o.b)({columnResults:"getColumns"})},methods:{doubleClickedCard:function(t){this.$emit("double_clicked_card",t)}}},Ir,[],!1,null,"4b574152",null);Lr.options.__file="src/js/components/kanban/KanbanRow.vue";var Dr=Lr.exports,Nr=function(){var t=this.$createElement;this._self._c;return this._m(0)};Nr._withStripped=!0;var $r=function(t,e){return te?1:t>=e?0:NaN},Ar=function(t){var e;return 1===t.length&&(e=t,t=function(t,n){return $r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[o],n)>0?i=o:r=o+1}return r}}};var Rr=Ar($r),Pr=Rr.right,qr=(Rr.left,Pr);var zr=Array.prototype,Fr=(zr.slice,zr.map,function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r0)return[t];if((r=e0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s=0?(o>=Ur?10:o>=Br?5:o>=Vr?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Ur?10:o>=Br?5:o>=Vr?2:1)}function Gr(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Ur?i*=10:o>=Br?i*=5:o>=Vr&&(i*=2),e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function ai(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;oe?1:t>=e?0:NaN}var _i="http://www.w3.org/1999/xhtml",yi={svg:"http://www.w3.org/2000/svg",xhtml:_i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},wi=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),yi.hasOwnProperty(e)?{space:yi[e],local:t}:t};function xi(t){return function(){this.removeAttribute(t)}}function ki(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ci(t,e){return function(){this.setAttribute(t,e)}}function Mi(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Si(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Ti(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var Ei=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function ji(t){return function(){this.style.removeProperty(t)}}function Oi(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ii(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Li(t,e){return t.style.getPropertyValue(e)||Ei(t).getComputedStyle(t,null).getPropertyValue(e)}function Di(t){return function(){delete this[t]}}function Ni(t,e){return function(){this[t]=e}}function $i(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Ai(t){return t.trim().split(/^|\s+/)}function Ri(t){return t.classList||new Pi(t)}function Pi(t){this._node=t,this._names=Ai(t.getAttribute("class")||"")}function qi(t,e){for(var n=Ri(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Vi(){this.textContent=""}function Hi(t){return function(){this.textContent=t}}function Wi(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function Gi(){this.innerHTML=""}function Yi(t){return function(){this.innerHTML=t}}function Ki(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function Zi(){this.nextSibling&&this.parentNode.appendChild(this)}function Xi(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ji(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===_i&&e.documentElement.namespaceURI===_i?e.createElement(t):e.createElementNS(n,t)}}function Qi(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var to=function(t){var e=wi(t);return(e.local?Qi:Ji)(e)};function eo(){return null}function no(){var t=this.parentNode;t&&t.removeChild(this)}function ro(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function io(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var oo={},ao=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(oo={mouseenter:"mouseover",mouseleave:"mouseout"}));function so(t,e,n){return t=lo(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function lo(t,e,n){return function(r){var i=ao;ao=r;try{t.call(this,this.__data__,e,n)}finally{ao=i}}}function co(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function uo(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=w&&(w=y+1);!(_=g[w])&&++w=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=bi);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?ji:"function"==typeof e?Ii:Oi)(t,e,null==n?"":n)):Li(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Di:"function"==typeof e?$i:Ni)(t,e)):this.node()[t]},classed:function(t,e){var n=Ai(t+"");if(arguments.length<2){for(var r=Ri(this.node()),i=-1,o=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?qo(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?qo(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Eo.exec(t))?new Uo(e[1],e[2],e[3],1):(e=jo.exec(t))?new Uo(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Oo.exec(t))?qo(e[1],e[2],e[3],e[4]):(e=Io.exec(t))?qo(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Lo.exec(t))?Wo(e[1],e[2]/100,e[3]/100,1):(e=Do.exec(t))?Wo(e[1],e[2]/100,e[3]/100,e[4]):No.hasOwnProperty(t)?Po(No[t]):"transparent"===t?new Uo(NaN,NaN,NaN,0):null}function Po(t){return new Uo(t>>16&255,t>>8&255,255&t,1)}function qo(t,e,n,r){return r<=0&&(t=e=n=NaN),new Uo(t,e,n,r)}function zo(t){return t instanceof ko||(t=Ro(t)),t?new Uo((t=t.rgb()).r,t.g,t.b,t.opacity):new Uo}function Fo(t,e,n,r){return 1===arguments.length?zo(t):new Uo(t,e,n,null==r?1:r)}function Uo(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Bo(){return"#"+Ho(this.r)+Ho(this.g)+Ho(this.b)}function Vo(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Ho(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Wo(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Yo(t,e,n,r)}function Go(t){if(t instanceof Yo)return new Yo(t.h,t.s,t.l,t.opacity);if(t instanceof ko||(t=Ro(t)),!t)return new Yo;if(t instanceof Yo)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&l<1?0:a,new Yo(a,s,l,t.opacity)}function Yo(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Ko(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Zo(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}wo(ko,Ro,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:$o,formatHex:$o,formatHsl:function(){return Go(this).formatHsl()},formatRgb:Ao,toString:Ao}),wo(Uo,Fo,xo(ko,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Uo(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Uo(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Bo,formatHex:Bo,formatRgb:Vo,toString:Vo})),wo(Yo,(function(t,e,n,r){return 1===arguments.length?Go(t):new Yo(t,e,n,null==r?1:r)}),xo(ko,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Yo(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Yo(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Uo(Ko(t>=240?t-240:t+120,i,r),Ko(t,i,r),Ko(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Xo=function(t){return function(){return t}};function Jo(t,e){return function(n){return t+n*e}}function Qo(t){return 1==(t=+t)?ta:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Xo(isNaN(e)?n:e)}}function ta(t,e){var n=e-t;return n?Jo(t,n):Xo(isNaN(t)?e:t)}var ea=function t(e){var n=Qo(e);function r(t,e){var r=n((t=Fo(t)).r,(e=Fo(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=ta(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function na(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=ro&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:sa(n,r)})),o=da.lastIndex;return o=0&&e._call.call(null,t),e=e._next;--ha}()}finally{ha=0,function(){var t,e,n=ua,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:ua=e);pa=t,ja(r)}(),_a=0}}function Ea(){var t=wa.now(),e=t-ba;e>1e3&&(ya-=e,ba=t)}function ja(t){ha||(va&&(va=clearTimeout(va)),t-_a>24?(t<1/0&&(va=setTimeout(Ta,t-wa.now()-ya)),ga&&(ga=clearInterval(ga))):(ga||(ba=wa.now(),ga=setInterval(Ea,1e3)),ha=1,xa(Ta)))}Ma.prototype=Sa.prototype={constructor:Ma,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?ka():+n)+(null==e?0:+e),this._next||pa===this||(pa?pa._next=this:ua=this,pa=this),this._call=t,this._time=n,ja()},stop:function(){this._call&&(this._call=null,this._time=1/0,ja())}};var Oa=function(t,e,n){var r=new Ma;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r},Ia=li("start","end","cancel","interrupt"),La=[],Da=function(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(l){var c,d,u,p;if(1!==n.state)return s();for(c in i)if((p=i[c]).name===n.name){if(3===p.state)return Oa(o);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete i[c]):+c0)throw new Error("too late; already scheduled");return n}function $a(t,e){var n=Aa(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Aa(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var Ra,Pa,qa,za,Fa=function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}},Ua=180/Math.PI,Ba={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Va=function(t,e,n,r,i,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:sa(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,l),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:sa(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,l),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:sa(t,n)},{i:s-2,x:sa(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,n=-1,r=l.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?Na:$a;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var fs=_o.prototype.constructor;function hs(t){return function(){this.style.removeProperty(t)}}function vs(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function gs(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&vs(t,o,n)),r}return o._value=e,o}function bs(t){return function(e){this.textContent=t.call(this,e)}}function _s(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&bs(r)),e}return r._value=t,r}var ys=0;function ws(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function xs(){return++ys}var ks=_o.prototype;ws.prototype=function(t){return _o().transition(t)}.prototype={constructor:ws,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=di(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1e-6)if(Math.abs(d*s-l*c)>1e-6&&i){var p=n-o,m=r-a,f=s*s+l*l,h=p*p+m*m,v=Math.sqrt(f),g=Math.sqrt(u),b=i*Math.tan((js-Math.acos((f+u-h)/(2*v*g)))/2),_=b/g,y=b/v;Math.abs(_-1)>1e-6&&(this._+="L"+(t+_*c)+","+(e+_*d)),this._+="A"+i+","+i+",0,0,"+ +(d*p>c*m)+","+(this._x1=t+y*s)+","+(this._y1=e+y*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=t+a,c=e+s,d=1^o,u=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),n&&(u<0&&(u=u%Os+Os),u>Is?this._+="A"+n+","+n+",0,1,"+d+","+(t-a)+","+(e-s)+"A"+n+","+n+",0,1,"+d+","+(this._x1=l)+","+(this._y1=c):u>1e-6&&(this._+="A"+n+","+n+",0,"+ +(u>=js)+","+d+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};function Ns(){}function $s(t,e){var n=new Ns;if(t instanceof Ns)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i=(o=(h+g)/2))?h=o:g=o,(d=n>=(a=(v+b)/2))?v=a:b=a,i=m,!(m=m[u=d<<1|c]))return i[u]=f,t;if(s=+t._x.call(null,m.data),l=+t._y.call(null,m.data),e===s&&n===l)return f.next=m,i?i[u]=f:t._root=f,t;do{i=i?i[u]=new Array(4):t._root=new Array(4),(c=e>=(o=(h+g)/2))?h=o:g=o,(d=n>=(a=(v+b)/2))?v=a:b=a}while((u=d<<1|c)==(p=(l>=a)<<1|s>=o));return i[p]=m,i[u]=f,t}var Fs=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function Us(t){return t[0]}function Bs(t){return t[1]}function Vs(t,e,n){var r=new Hs(null==e?Us:e,null==n?Bs:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Hs(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Ws(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Gs=Vs.prototype=Hs.prototype;Gs.copy=function(){var t,e,n=new Hs(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Ws(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=Ws(e));return n},Gs.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return zs(this.cover(e,n),e,n,t)},Gs.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),s=new Array(o),l=1/0,c=1/0,d=-1/0,u=-1/0;for(n=0;nd&&(d=r),iu&&(u=i));if(l>d||c>u)return this;for(this.cover(l,c).cover(d,u),n=0;nt||t>=i||r>e||e>=o;)switch(s=(ep||(o=l.y0)>m||(a=l.x1)=g)<<1|t>=v)&&(l=f[f.length-1],f[f.length-1]=f[f.length-1-c],f[f.length-1-c]=l)}else{var b=t-+this._x.call(null,h.data),_=e-+this._y.call(null,h.data),y=b*b+_*_;if(y=(s=(f+v)/2))?f=s:v=s,(d=a>=(l=(h+g)/2))?h=l:g=l,e=m,!(m=m[u=d<<1|c]))return this;if(!m.length)break;(e[u+1&3]||e[u+2&3]||e[u+3&3])&&(n=e,p=u)}for(;m.data!==t;)if(r=m,!(m=m.next))return this;return(i=m.next)&&delete m.next,r?(i?r.next=i:delete r.next,this):e?(i?e[u]=i:delete e[u],(m=e[0]||e[1]||e[2]||e[3])&&m===(e[3]||e[2]||e[1]||e[0])&&!m.length&&(n?n[p]=m:this._root=m),this):(this._root=i,this)},Gs.removeAll=function(t){for(var e=0,n=t.length;e1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(Ys)),Zs=(function t(e){function n(){var t=Ks.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(Ys),function t(e){function n(t){return function(){for(var n=0,r=0;rr&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function dl(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i2?ul:dl,i=o=null,u}function u(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),s,l)))(t(c(e)))}return u.invert=function(n){return c(e((o||(o=r(s,a.map(t),sa)))(n)))},u.domain=function(t){return arguments.length?(a=Qs.call(t,ol),c===sl||(c=cl(a)),d()):a.slice()},u.range=function(t){return arguments.length?(s=tl.call(t),d()):s.slice()},u.rangeRound=function(t){return s=tl.call(t),l=il,d()},u.clamp=function(t){return arguments.length?(c=t?cl(a):sl,u):c!==sl},u.interpolate=function(t){return arguments.length?(l=t,d()):l},u.unknown=function(t){return arguments.length?(n=t,u):n},function(n,r){return t=n,e=r,d()}}function fl(t,e){return ml()(t,e)}var hl=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vl(t){if(!(e=hl.exec(t)))throw new Error("invalid format: "+t);var e;return new gl({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function gl(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}vl.prototype=gl.prototype,gl.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};function bl(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}var _l,yl,wl,xl,kl=function(t){return(t=bl(Math.abs(t)))?t[1]:NaN},Cl=function(t,e){var n=bl(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Ml={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Cl(100*t,e)},r:Cl,s:function(t,e){var n=bl(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(_l=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+bl(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Sl=function(t){return t},Tl=Array.prototype.map,El=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];yl=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Sl:(e=Tl.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(t.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Sl:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Tl.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",d=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=vl(t)).fill,n=t.align,u=t.sign,p=t.symbol,m=t.zero,f=t.width,h=t.comma,v=t.precision,g=t.trim,b=t.type;"n"===b?(h=!0,b="g"):Ml[b]||(void 0===v&&(v=12),g=!0,b="g"),(m||"0"===e&&"="===n)&&(m=!0,e="0",n="=");var _="$"===p?i:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",y="$"===p?o:/[%p]/.test(b)?l:"",w=Ml[b],x=/[defgprs%]/.test(b);function k(t){var i,o,l,p=_,k=y;if("c"===b)k=w(t)+k,t="";else{var C=(t=+t)<0||1/t<0;if(t=isNaN(t)?d:w(Math.abs(t),v),g&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),C&&0==+t&&"+"!==u&&(C=!1),p=(C?"("===u?u:c:"-"===u||"("===u?"":u)+p,k=("s"===b?El[8+_l/3]:"")+k+(C&&"("===u?")":""),x)for(i=-1,o=t.length;++i(l=t.charCodeAt(i))||l>57){k=(46===l?a+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}h&&!m&&(t=r(t,1/0));var M=p.length+t.length+k.length,S=M>1)+p+t+k+S.slice(M);break;default:t=S+p+t+k}return s(t)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return t+""},k}return{format:u,formatPrefix:function(t,e){var n=u(((t=vl(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(kl(e)/3))),i=Math.pow(10,-r),o=El[8+r/3];return function(t){return n(i*t)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),wl=yl.format,xl=yl.formatPrefix;var jl=function(t,e,n,r){var i,o=Gr(t,e,n);switch((r=vl(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(kl(e)/3)))-kl(Math.abs(t)))}(o,a))||(r.precision=i),xl(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,kl(e)-kl(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-kl(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return wl(r)};function Ol(t){var e=t.domain;return t.ticks=function(t){var n=e();return Hr(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return jl(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),o=0,a=i.length-1,s=i[o],l=i[a];return l0?r=Wr(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=Wr(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(l/r)*r,e(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(l*r)/r,e(i)),t},t}var Il=new Date,Ll=new Date;function Dl(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Il.setTime(+e),Ll.setTime(+r),t(Il),t(Ll),Math.floor(n(Il,Ll))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Nl=Dl((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Nl.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Dl((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var $l=Nl,Al=(Nl.range,Dl((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})));Al.range;function Rl(t){return Dl((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}var Pl=Rl(0),ql=Rl(1),zl=Rl(2),Fl=Rl(3),Ul=Rl(4),Bl=Rl(5),Vl=Rl(6),Hl=(Pl.range,ql.range,zl.range,Fl.range,Ul.range,Bl.range,Vl.range,Dl((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1}))),Wl=Hl,Gl=(Hl.range,Dl((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getHours()}))),Yl=(Gl.range,Dl((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,e){t.setTime(+t+6e4*e)}),(function(t,e){return(e-t)/6e4}),(function(t){return t.getMinutes()}))),Kl=(Yl.range,Dl((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+1e3*e)}),(function(t,e){return(e-t)/1e3}),(function(t){return t.getUTCSeconds()}))),Zl=(Kl.range,Dl((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t})));Zl.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Dl((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):Zl:null};Zl.range;function Xl(t){return Dl((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/6048e5}))}var Jl=Xl(0),Ql=Xl(1),tc=Xl(2),ec=Xl(3),nc=Xl(4),rc=Xl(5),ic=Xl(6),oc=(Jl.range,Ql.range,tc.range,ec.range,nc.range,rc.range,ic.range,Dl((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/864e5}),(function(t){return t.getUTCDate()-1}))),ac=oc,sc=(oc.range,Dl((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));sc.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Dl((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var lc=sc;sc.range;function cc(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function dc(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function uc(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var pc,mc={"-":"",_:" ",0:"0"},fc=/^\s*\d+/,hc=/^%/,vc=/[\\^$*+?|[\]().{}]/g;function gc(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function Ec(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function jc(t,e,n){var r=fc.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Oc(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ic(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Lc(t,e,n){var r=fc.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Dc(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Nc(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function $c(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Ac(t,e,n){var r=fc.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Rc(t,e,n){var r=fc.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Pc(t,e,n){var r=hc.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function qc(t,e,n){var r=fc.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function zc(t,e,n){var r=fc.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Fc(t,e){return gc(t.getDate(),e,2)}function Uc(t,e){return gc(t.getHours(),e,2)}function Bc(t,e){return gc(t.getHours()%12||12,e,2)}function Vc(t,e){return gc(1+Wl.count($l(t),t),e,3)}function Hc(t,e){return gc(t.getMilliseconds(),e,3)}function Wc(t,e){return Hc(t,e)+"000"}function Gc(t,e){return gc(t.getMonth()+1,e,2)}function Yc(t,e){return gc(t.getMinutes(),e,2)}function Kc(t,e){return gc(t.getSeconds(),e,2)}function Zc(t){var e=t.getDay();return 0===e?7:e}function Xc(t,e){return gc(Pl.count($l(t)-1,t),e,2)}function Jc(t){var e=t.getDay();return e>=4||0===e?Ul(t):Ul.ceil(t)}function Qc(t,e){return t=Jc(t),gc(Ul.count($l(t),t)+(4===$l(t).getDay()),e,2)}function td(t){return t.getDay()}function ed(t,e){return gc(ql.count($l(t)-1,t),e,2)}function nd(t,e){return gc(t.getFullYear()%100,e,2)}function rd(t,e){return gc((t=Jc(t)).getFullYear()%100,e,2)}function id(t,e){return gc(t.getFullYear()%1e4,e,4)}function od(t,e){var n=t.getDay();return gc((t=n>=4||0===n?Ul(t):Ul.ceil(t)).getFullYear()%1e4,e,4)}function ad(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+gc(e/60|0,"0",2)+gc(e%60,"0",2)}function sd(t,e){return gc(t.getUTCDate(),e,2)}function ld(t,e){return gc(t.getUTCHours(),e,2)}function cd(t,e){return gc(t.getUTCHours()%12||12,e,2)}function dd(t,e){return gc(1+ac.count(lc(t),t),e,3)}function ud(t,e){return gc(t.getUTCMilliseconds(),e,3)}function pd(t,e){return ud(t,e)+"000"}function md(t,e){return gc(t.getUTCMonth()+1,e,2)}function fd(t,e){return gc(t.getUTCMinutes(),e,2)}function hd(t,e){return gc(t.getUTCSeconds(),e,2)}function vd(t){var e=t.getUTCDay();return 0===e?7:e}function gd(t,e){return gc(Jl.count(lc(t)-1,t),e,2)}function bd(t){var e=t.getUTCDay();return e>=4||0===e?nc(t):nc.ceil(t)}function _d(t,e){return t=bd(t),gc(nc.count(lc(t),t)+(4===lc(t).getUTCDay()),e,2)}function yd(t){return t.getUTCDay()}function wd(t,e){return gc(Ql.count(lc(t)-1,t),e,2)}function xd(t,e){return gc(t.getUTCFullYear()%100,e,2)}function kd(t,e){return gc((t=bd(t)).getUTCFullYear()%100,e,2)}function Cd(t,e){return gc(t.getUTCFullYear()%1e4,e,4)}function Md(t,e){var n=t.getUTCDay();return gc((t=n>=4||0===n?nc(t):nc.ceil(t)).getUTCFullYear()%1e4,e,4)}function Sd(){return"+0000"}function Td(){return"%"}function Ed(t){return+t}function jd(t){return Math.floor(+t/1e3)}!function(t){pc=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,c=_c(i),d=yc(i),u=_c(o),p=yc(o),m=_c(a),f=yc(a),h=_c(s),v=yc(s),g=_c(l),b=yc(l),_={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Fc,e:Fc,f:Wc,g:rd,G:od,H:Uc,I:Bc,j:Vc,L:Hc,m:Gc,M:Yc,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ed,s:jd,S:Kc,u:Zc,U:Xc,V:Qc,w:td,W:ed,x:null,X:null,y:nd,Y:id,Z:ad,"%":Td},y={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:sd,e:sd,f:pd,g:kd,G:Md,H:ld,I:cd,j:dd,L:ud,m:md,M:fd,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ed,s:jd,S:hd,u:vd,U:gd,V:_d,w:yd,W:wd,x:null,X:null,y:xd,Y:Cd,Z:Sd,"%":Td},w={a:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.w=f[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=b[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.m=v[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return C(t,e,n,r)},d:Ic,e:Ic,f:Rc,g:Tc,G:Sc,H:Dc,I:Dc,j:Lc,L:Ac,m:Oc,M:Nc,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=d[r[0].toLowerCase()],n+r[0].length):-1},q:jc,Q:qc,s:zc,S:$c,u:xc,U:kc,V:Cc,w:wc,W:Mc,x:function(t,e,r){return C(t,n,e,r)},X:function(t,e,n){return C(t,r,e,n)},y:Tc,Y:Sc,Z:Ec,"%":Pc};function x(t,e){return function(n){var r,i,o,a=[],s=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=dc(uc(o.y,0,1))).getUTCDay(),r=i>4||0===i?Ql.ceil(r):Ql(r),r=ac.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=cc(uc(o.y,0,1))).getDay(),r=i>4||0===i?ql.ceil(r):ql(r),r=Wl.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?dc(uc(o.y,0,1)).getUTCDay():cc(uc(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,dc(o)):cc(o)}}function C(t,e,n,r){for(var i,o,a=0,s=e.length,l=n.length;a=l)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in mc?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return _.x=x(n,_),_.X=x(r,_),_.c=x(e,_),y.x=x(n,y),y.X=x(r,y),y.c=x(e,y),{format:function(t){var e=x(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",y);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}(t),pc.format,pc.parse,pc.utcFormat,pc.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Od=Dl((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),Id=(Od.range,Dl((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getUTCHours()}))),Ld=(Id.range,Dl((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+6e4*e)}),(function(t,e){return(e-t)/6e4}),(function(t){return t.getUTCMinutes()})));Ld.range;var Dd=function(t){for(var e=t.length/6|0,n=new Array(e),r=0;r0)){if(o/=p,p<0){if(o0){if(o>u)return;o>d&&(d=o)}if(o=r-l,p||!(o<0)){if(o/=p,p<0){if(o>u)return;o>d&&(d=o)}else if(p>0){if(o0)){if(o/=m,m<0){if(o0){if(o>u)return;o>d&&(d=o)}if(o=i-c,m||!(o<0)){if(o/=m,m<0){if(o>u)return;o>d&&(d=o)}else if(m>0){if(o0||u<1)||(d>0&&(t[0]=[l+d*p,c+d*m]),u<1&&(t[1]=[l+u*p,c+u*m]),!0)}}}}}function Vd(t,e,n,r,i){var o=t[1];if(o)return!0;var a,s,l=t[0],c=t.left,d=t.right,u=c[0],p=c[1],m=d[0],f=d[1],h=(u+m)/2,v=(p+f)/2;if(f===p){if(h=r)return;if(u>m){if(l){if(l[1]>=i)return}else l=[h,n];o=[h,i]}else{if(l){if(l[1]1)if(u>m){if(l){if(l[1]>=i)return}else l=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(l){if(l[1]=r)return}else l=[e,a*e+s];o=[r,a*r+s]}else{if(l){if(l[0]=-pu)){var m=l*l+c*c,f=d*d+u*u,h=(u*m-c*f)/p,v=(l*f-d*m)/p,g=Kd.pop()||new Zd;g.arc=t,g.site=i,g.x=h+a,g.y=(g.cy=v+s)+Math.sqrt(h*h+v*v),t.circle=g;for(var b=null,_=cu._;_;)if(g.y<_.y||g.y===_.y&&g.x<=_.x){if(!_.L){b=_.P;break}_=_.L}else{if(!_.R){b=_;break}_=_.R}cu.insert(b,g),b||(Yd=g)}}}}function Jd(t){var e=t.circle;e&&(e.P||(Yd=e.N),cu.remove(e),Kd.push(e),$d(e),t.circle=null)}var Qd=[];function tu(){$d(this),this.edge=this.site=this.circle=null}function eu(t){var e=Qd.pop()||new tu;return e.site=t,e}function nu(t){Jd(t),su.remove(t),Qd.push(t),$d(t)}function ru(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],o=t.P,a=t.N,s=[t];nu(t);for(var l=o;l.circle&&Math.abs(n-l.circle.x)uu)s=s.L;else{if(!((i=o-au(s,a))>uu)){r>-uu?(e=s.P,n=s):i>-uu?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}!function(t){lu[t.index]={site:t,halfedges:[]}}(t);var l=eu(t);if(su.insert(e,l),e||n){if(e===n)return Jd(e),n=eu(e.site),su.insert(l,n),l.edge=n.edge=zd(e.site,l.site),Xd(e),void Xd(n);if(n){Jd(e),Jd(n);var c=e.site,d=c[0],u=c[1],p=t[0]-d,m=t[1]-u,f=n.site,h=f[0]-d,v=f[1]-u,g=2*(p*v-m*h),b=p*p+m*m,_=h*h+v*v,y=[(v*b-m*_)/g+d,(p*_-h*b)/g+u];Ud(n.edge,c,f,y),l.edge=zd(c,t,null,y),n.edge=zd(t,f,null,y),Xd(e),Xd(n)}else l.edge=zd(e.site,l.site)}}function ou(t,e){var n=t.site,r=n[0],i=n[1],o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;var s=(n=a.site)[0],l=n[1],c=l-e;if(!c)return s;var d=s-r,u=1/o-1/c,p=d/c;return u?(-p+Math.sqrt(p*p-2*u*(d*d/(-2*c)-l+c/2+i-o/2)))/u+r:(r+s)/2}function au(t,e){var n=t.N;if(n)return ou(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var su,lu,cu,du,uu=1e-6,pu=1e-12;function mu(t,e){return e[1]-t[1]||e[0]-t[0]}function fu(t,e){var n,r,i,o=t.sort(mu).pop();for(du=[],lu=new Array(t.length),su=new qd,cu=new qd;;)if(i=Yd,o&&(!i||o[1]uu||Math.abs(i[0][1]-i[1][1])>uu)||delete du[o]}(a,s,l,c),function(t,e,n,r){var i,o,a,s,l,c,d,u,p,m,f,h,v=lu.length,g=!0;for(i=0;iuu||Math.abs(h-p)>uu)&&(l.splice(s,0,du.push(Fd(a,m,Math.abs(f-t)uu?[t,Math.abs(u-t)uu?[Math.abs(p-r)uu?[n,Math.abs(u-n)uu?[Math.abs(p-e)=s)return null;var l=t-i.site[0],c=e-i.site[1],d=l*l+c*c;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(n){var r=o.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var l=t-s[0],c=e-s[1],u=l*l+c*c;u({bugResults:[]}),mixins:[h],methods:{getBugData:function(){vu.post(this.rootUrl+"dashboard/get/bug_list/").then(t=>{this.bugResults=t.data,this.renderGraph()}).catch(t=>{this.showErrorModal(t,"Dashboard Unassigned Objects")})},renderGraph:function(){var t=10,e=30,n=20,r=50,i=460-r-e,o=400-t-n,a=document.getElementById("active_bug_graph");a.innerHTML="";var s,l=yo(a).append("svg").attr("width",i+r+e).attr("height",o+t+n).attr("class","graph_body").append("g").attr("id","active_bug_d3").attr("transform","translate("+r+","+t+")"),c=rl().rangeRound([0,i],.15).paddingInner(.2).paddingOuter(.2),d=function t(){var e=fl(sl,sl);return e.copy=function(){return pl(e,t())},Xs.apply(e,arguments),Ol(e)}().range([o,0]),u=ei(3,s).scale(c),p=function(t){return ei(4,t)}().scale(d).ticks(10);nl(Dd);l.selectAll("#active_bug_d3").data(this.bugResults).enter().append("rect").attr("x",t=>1).attr("y",t=>d(t.bug_status__count)).attr("height",t=>50).attr("width","50"),l.append("g").attr("class","x-axis").attr("transform","translate(0,"+o+")").call(u),l.append("g").attr("class","y-axis").call(p).append("text").attr("transform","rotate(-90)").attr("y",6).attr("dy",".71em").style("text-anchor","end").text("Count")}},mounted(){this.getBugData()}},Nr,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("h2",[this._v("Active Bugs")]),this._v(" "),e("hr"),this._v(" "),e("div",{attrs:{id:"active_bug_graph"}})])])}],!1,null,"6bd9ef65",null);gu.options.__file="src/js/components/dashboard/DashboardBugList.vue";var bu=gu.exports,_u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addKanbanCardModal",tabindex:"-1","aria-labelledby":"addKanbanCardModalLabel","aria-hidden":"true","data-kanban-level":t.levelResults[0].pk,"data-kanban-column":t.columnResults[0].pk}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.cardChecklist}}),t._v(" Add Kanban Card Wizard")],1),t._v(" "),n("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addKanbanCardCloseButton"}})]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Kanban Card Text")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.kanbanCardTextModel,expression:"kanbanCardTextModel"}],staticClass:"form-control",domProps:{value:t.kanbanCardTextModel},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.addKanbanCard.apply(null,arguments)},input:function(e){e.target.composing||(t.kanbanCardTextModel=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.kanbanCardDescriptionModel,callback:function(e){t.kanbanCardDescriptionModel=e},expression:"kanbanCardDescriptionModel"}})],1)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableAddButton},on:{click:t.addKanbanCard}},[t._v("\n Add Link\n ")])])])])])};_u._withStripped=!0;const yu=n(3);var wu=J({name:"NewKanbanCard",props:{columnResults:Array,kanbanCardResults:Array,levelResults:Array,kanbanBoardResults:Array},mixins:[Z],data:()=>({disableAddButton:!0,kanbanCardDescriptionModel:"",kanbanCardTextModel:""}),methods:{addKanbanCard:function(){var t=document.getElementById("addKanbanCardModal");const e=new FormData;e.set("kanban_card_text",this.kanbanCardTextModel),e.set("kanban_card_description",this.kanbanCardDescriptionModel),e.set("kanban_level",t.dataset.kanbanLevel),e.set("kanban_column",t.dataset.kanbanColumn),yu.post(`/kanban_information/${this.kanbanBoardResults[0].pk}/new_card/`,e).then(t=>{this.$emit("new_card",t.data),this.kanbanCardTextModel="",this.kanbanCardDescriptionModel="",document.getElementById("addKanbanCardCloseButton").click()}).catch(t=>{})}},watch:{kanbanCardTextModel:function(){this.disableAddButton=!1,0==this.kanbanCardTextModel.length&&(this.disableAddButton=!0),this.kanbanCardResults.filter(t=>t.fields.kanban_card_text==this.kanbanCardTextModel).length>0&&(this.disableAddButton=!0),0!=this.columnResults.length&&0!=this.levelResults.length||(this.disableAddButton=!0)}}},_u,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please note")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The card names can not be the same as something that already exists on the board.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Card Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Fill out a detailed description for the card, then click on the "Update Card" button\n to update the card.\n ')])])}],!1,null,"3f38c59c",null);wu.options.__file="src/js/components/modules/wizards/NewKanbanCard.vue";var xu=wu.exports,ku=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"cardInformationModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.usersIcon}}),t._v(" Card Information")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[t._m(1),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"tab-content",attrs:{id:"myTabContent"}},[n("div",{staticClass:"tab-pane fade show active",attrs:{id:"card_details",role:"tabpanel","aria-labelledby":"details-tab"}},[n("card-details",{on:{update_card:t.updateCard}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"card_description",role:"tabpanel","aria-labelledby":"description-tab"}},[n("card-description",{on:{update_card:t.updateCard}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"card_notes",role:"tabpanel","aria-labelledby":"notes-tab"}},[n("card-notes")],1)])])])])])};ku._withStripped=!0;const Cu=n(3);var Mu=J({name:"CardInformation",mixins:[Z],data:()=>({cardId:"",cardDescriptionModel:"",cardNoteModel:"",cardTitleModel:"",noteHistoryResults:[]}),methods:{updateCard:function(){const t=this.$store.getters.getAllCardData,e=new FormData;e.set("kanban_card_text",t.cardTitle),e.set("kanban_card_description",t.cardDescription),e.set("kanban_level",t.cardLevel.value),e.set("kanban_column",t.cardColumn.value),e.set("kanban_card_id",t.cardId),Cu.post("/kanban_information/update_card/",e).then(e=>{this.$emit("update_card",{kanban_card_id:t.cardId,kanban_card_text:t.cardTitle,kanban_column:t.cardColumn,kanban_level:t.cardLevel}),document.getElementById("cardInformationModalCloseButton").click()}).catch(t=>{})}}},ku,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"cardInformationModalCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("ul",{staticClass:"nav nav-tabs",attrs:{id:"card_information_tabs",role:"tablist"}},[e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link active",attrs:{id:"details-tab","data-bs-toggle":"tab","data-bs-target":"#card_details",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("Details")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"description-tab","data-bs-toggle":"tab","data-bs-target":"#card_description",type:"button",role:"tab","aria-controls":"profile","aria-selected":"false"}},[this._v("Description")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"notes-tab","data-bs-toggle":"tab","data-bs-target":"#card_notes",type:"button",role:"tab","aria-controls":"contact","aria-selected":"false"}},[this._v("Notes")])])])}],!1,null,"bc4b6c14",null);Mu.options.__file="src/js/components/card_information/CardInformation.vue";var Su=Mu.exports,Tu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Card Title")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.cardTitle,expression:"cardTitle"}],staticClass:"form-control",domProps:{value:t.cardTitle},on:{input:function(e){e.target.composing||(t.cardTitle=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12 mt-4"},[n("label",[t._v("Card Column")]),t._v(" "),n("v-select",{attrs:{options:t.listColumns,label:"column",clearable:!1},model:{value:t.cardColumn,callback:function(e){t.cardColumn=e},expression:"cardColumn"}})],1),t._v(" "),n("div",{staticClass:"col-md-12 mt-4"},[n("label",[t._v("Card Level")]),t._v(" "),n("v-select",{attrs:{options:t.listLevels,label:"level",clearable:!1},model:{value:t.cardLevel,callback:function(e){t.cardLevel=e},expression:"cardLevel"}})],1)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-secondary",on:{click:t.closeModal}},[t._v("\n Close Modal\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.updateCard}},[t._v("\n Update Card\n ")])])])])};Tu._withStripped=!0;n(3);var Eu=J({name:"CardDetails",props:{},data:()=>({tempModel:""}),computed:{...p(["cardId","cardTitle","cardColumn","cardLevel","listColumns","listLevels"])},methods:{closeModal:function(){document.getElementById("cardInformationModalCloseButton").click()},updateCard:function(){this.$store.commit({type:"updateKanbanCard",card_id:this.cardId,kanban_card_text:this.cardTitle,kanban_column:this.cardColumn,kanban_level:this.cardLevel}),this.$emit("update_card")}}},Tu,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Card Title")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Write an appropriate name for the kanban card. To update click on the "Update" button.\n ')])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Card Location")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Select the appropriate location for this card.\n ")])])}],!1,null,null,null);Eu.options.__file="src/js/components/card_information/CardDetails.vue";var ju=Eu.exports,Ou=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.cardDescription,callback:function(e){t.cardDescription=e},expression:"cardDescription"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-secondary",on:{click:t.closeModal}},[t._v("\n Close Modal\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.updateCard}},[t._v("\n Update Card\n ")])])])])};Ou._withStripped=!0;n(3);var Iu=J({name:"CardDescription",props:{},data:()=>({}),computed:{...p(["cardDescription"])},methods:{closeModal:function(){document.getElementById("cardInformationModalCloseButton").click()},updateCard:function(){this.$emit("update_card")}}},Ou,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Card Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Fill out a detailed description for the card, then click on the "Update Card" button\n to update the card.\n ')])])}],!1,null,null,null);Iu.options.__file="src/js/components/card_information/CardDescription.vue";var Lu=Iu.exports,Du=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Note Box")]),t._v(" "),n("editor",{attrs:{init:{height:250,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.cardNoteModel,callback:function(e){t.cardNoteModel=e},expression:"cardNoteModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-secondary",on:{click:t.closeModal}},[t._v("\n Close Modal\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary save-changes",attrs:{disabled:""===t.cardNoteModel},on:{click:t.addNote}},[t._v("\n Add Note\n ")])])]),t._v(" "),n("hr"),t._v(" "),n("list-notes",{attrs:{"note-history-results":t.getCardNotes(),destination:"card"}})],1)};Du._withStripped=!0;const Nu=n(3);var $u=J({name:"CardNotes",props:{},data:()=>({...Object(o.b)(["getCardNotes"]),cardNoteModel:""}),methods:{addNote:function(){const t=new FormData;t.set("note",this.cardNoteModel),Nu.post(`/object_data/kanban_card/${this.$store.state.card.cardId}/add_notes/`,t).then(t=>{this.$store.commit({type:"appendNote",newNote:t.data[0]}),this.cardNoteModel=""}).catch(t=>{})},closeModal:function(){document.getElementById("cardInformationModalCloseButton").click()}}},Du,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Notes")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n To add a note - type your note in the Note Box and hit the "Submit Note"\n button.\n ')])])}],!1,null,null,null);$u.options.__file="src/js/components/card_information/CardNotes.vue";var Au=$u.exports,Ru=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[0==t.noteHistoryResults.length?n("div",{staticClass:"module-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("\n Sorry - but there are no notes for this "+t._s(t.destination)+".\n ")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.noteHistoryResults,(function(e){return n("tr",[n("td",[n("div",{domProps:{innerHTML:t._s(e.fields.object_note.substr(0,400))}}),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n "+t._s(e.fields.date_created)+"\n ")])])])})),0)])])])};Ru._withStripped=!0;var Pu=J({name:"ListNotes",props:{destination:String,noteHistoryResults:{type:Array,default:function(){return[]}}}},Ru,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Note")])])])}],!1,null,"343c6058",null);Pu.options.__file="src/js/components/modules/sub_modules/ListNotes.vue";var qu=Pu.exports,zu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newLinkModal",tabindex:"-1","aria-labelledby":"kanbanLinkModal","aria-hidden":"true","data-kanban-level":t.levelResults[0].pk,"data-kanban-column":t.columnResults[0].pk}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" New Kanban Link Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching?n("div",{staticClass:"alert alert-success"},[t._v("\n Searching for "+t._s(t.objectModel)+"s\n ")]):n("v-select",{staticClass:"object-selection",attrs:{options:t.objectSelection},model:{value:t.objectModel,callback:function(e){t.objectModel=e},expression:"objectModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching||null==t.objectModel?n("div",{attrs:{id:"link_wizard_results"}},[n("img",{attrs:{src:"/static/NearBeach/images/placeholder/search.svg",alt:"Searching..."}})]):t._e(),t._v(" "),0==t.objectResults.length&&null!=t.objectModel?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - there are no results.\n ")]):t._e(),t._v(" "),!t.isSearching&&t.objectResults.length>0&&null!=t.objectModel?n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",[t._v(t._s(t.objectModel)+" Description")]),t._v(" "),n("td",[t._v("Status")])])]),t._v(" "),"Project"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"radio",name:"link-option",id:"radio_project_"+e.pk},domProps:{value:e.pk,checked:t._q(t.linkModel,e.pk)},on:{change:function(n){t.linkModel=e.pk}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"radio_project_"+e.pk}},[t._v("\n "+t._s(e.fields.project_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Project "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.project_status))])])})),0):t._e(),t._v(" "),"Requirement"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"radio",name:"link-option",id:"radio_requirement_"+e.pk},domProps:{value:e.pk,checked:t._q(t.linkModel,e.pk)},on:{change:function(n){t.linkModel=e.pk}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"radio_task_"+e.pk}},[t._v("\n "+t._s(e.fields.requirement_title)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Requirement "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.requirement_status))])])})),0):t._e(),t._v(" "),"Task"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"radio",id:"radio_task_"+e.pk},domProps:{value:e.pk,checked:t._q(t.linkModel,e.pk)},on:{change:function(n){t.linkModel=e.pk}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"radio_task_"+e.pk}},[t._v("\n "+t._s(e.fields.task_short_description)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Task "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.task_status))])])})),0):t._e()]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.linkModel.length},on:{click:t.saveLinks}},[t._v("Save changes")])])])])])};zu._withStripped=!0;const Fu=n(3);var Uu=J({name:"NewKanbanLinkWizard",props:{columnResults:Array,levelResults:Array,locationId:Number},mixins:[h,Z],data:()=>({isSearching:!1,objectModel:null,objectResults:[],objectSelection:["Project","Requirement","Task"],linkModel:[]}),methods:{saveLinks:function(){const t=new FormData;var e=document.getElementById("newLinkModal");t.set(""+this.objectModel.toLowerCase(),this.linkModel),t.set("kanban_level",e.dataset.kanbanLevel),t.set("kanban_column",e.dataset.kanbanColumn),Fu.post(`/kanban_information/${this.locationId}/${this.objectModel.toLowerCase()}/add_link/`,t).then(t=>{this.$emit("new_card",t.data),this.objectModel=null,document.getElementById("requirementLinkCloseButton").click()})}},watch:{objectModel:function(){this.linkModel=[],null!==this.objectModel?(this.isSearching=!0,Fu.post(`/kanban_information/${this.locationId}/${this.objectModel}/link_list/`).then(t=>{this.objectResults=t.data,this.isSearching=!1}).catch(t=>{this.showErrorModal(t,"kanban")})):this.isSearching=!1},linkModel:function(){}}},zu,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"requirementLinkCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Object Selector")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please select which object you would like to link to this requirement.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Select Links")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please select which of the objects you want to connect to this requirement.\n ")])])}],!1,null,"49b27f11",null);Uu.options.__file="src/js/components/modules/wizards/NewKanbanLinkWizard.vue";var Bu=Uu.exports,Vu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("My Current Objects")]),t._v(" "),n("hr"),t._v(" "),t.isLoaded?t._e():n("div",{staticClass:"alert alert-dark"},[t._v("\n Still obtaining your assigned jobs.\n ")]),t._v(" "),t.objectResults.requirement.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.requirement,"import-variables":t.requirementVariables,destination:"requirement","root-url":t.rootUrl}}):t._e(),t._v(" "),t.objectResults.project.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.project,"import-variables":t.projectVariables,destination:"project","root-url":t.rootUrl}}):t._e(),t._v(" "),t.objectResults.task.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.task,"import-variables":t.taskVariables,destination:"task","root-url":t.rootUrl}}):t._e(),t._v(" "),0===t.countObjects&&t.isLoaded?n("div",{staticClass:"alert alert-primary"},[t._v("\n It looks like no one has assigned you any tasks.\n ")]):t._e()],1)])};Vu._withStripped=!0;const Hu=n(3);var Wu=J({name:"DashboardMyObjects",props:{rootUrl:{type:String,default:"/"}},data:()=>({isLoaded:!1,objectResults:{requirement:[],project:[],task:[]},projectVariables:{header:"Projects",prefix:"Pro",id:"project_id",title:"project_name",status:"project_status"},requirementVariables:{header:"Your Requirements",prefix:"Req",id:"requirement_id",title:"requirement_title",status:"requirement_status__requirement_status"},taskVariables:{header:"Tasks",prefix:"Task",id:"task_id",title:"task_short_description",status:"task_status"}}),mixins:[h],methods:{getMyObjects:function(){Hu.post(this.rootUrl+"dashboard/get/my_objects/").then(t=>{this.objectResults=t.data,this.isLoaded=!0}).catch(t=>{this.showErrorModal(t,"Dashboard My Objects")})}},computed:{countObjects:function(){return this.objectResults.requirement.length+this.objectResults.project.length+this.objectResults.task.length}},mounted(){this.getMyObjects()}},Vu,[],!1,null,null,null);Wu.options.__file="src/js/components/dashboard/DashboardMyObjects.vue";var Gu=Wu.exports,Yu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",{attrs:{width:"75%"}},[t._v(t._s(t.importVariables.header))]),t._v(" "),n("td",{attrs:{width:"25%"}},[t._v("Status")])])]),t._v(" "),n("tbody",t._l(t.searchResults,(function(e){return n("tr",{key:e.pk},[n("td",[n("a",{attrs:{href:""+t.rootUrl+t.destination+"_information/"+e[t.importVariables.id]+"/"}},[n("p",[t._v(t._s(e[t.importVariables.title]))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n "+t._s(t.importVariables.prefix)+t._s(e[t.importVariables.id])+"\n ")])])]),t._v(" "),n("td",[t._v("\n "+t._s(e[t.importVariables.status])+"\n ")])])})),0)])};Yu._withStripped=!0;var Ku=J({name:"RenderObjectTable",props:{destination:String,importVariables:Object,rootUrl:{type:String,default:"/"},searchResults:Array},data:()=>({}),methods:{}},Yu,[],!1,null,null,null);Ku.options.__file="src/js/components/render/RenderObjectTable.vue";var Zu=Ku.exports,Xu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" "+t._s(t.destination)+" Links")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are links to other objects like projects/tasks/requirements. You can link a "+t._s(t.destination)+"\n to these other objects to symbolise a connection between the two.\n ")]),t._v(" "),0==t.linkResults.length?n("div",{staticClass:"requirement-item-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("Sorry - there are no Links for this requirement.")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.linkResults,(function(e){return n("tr",[n("td",{domProps:{innerHTML:t._s(t.extractObjectDescription(e))}}),t._v(" "),n("td",[t._v(t._s(t.extractObjectStatus(e)))])])})),0)])]),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.newLink}},[t._v("Create new Link")])])]),t._v(" "),n("hr"),t._v(" "),n("new-link-wizard",{attrs:{destination:t.destination,"location-id":t.locationId},on:{update_link_results:t.updateLinkResults}})],1)};Xu._withStripped=!0;const Ju=n(3);var Qu=J({name:"ObjectLinks",props:{destination:String,locationId:Number},mixins:[Z],data:()=>({linkResults:[]}),methods:{extractObjectDescription:function(t){var e="",n="",r="",i="";return null!==t.project_id&&"project"!==this.destination?(e=t.project_id__project_name,n=t.project_id,r="Project "+t.project_id,i="/project_information/"):null!==t.requirement_id?(e=t.requirement_id__requirement_title,n=t.requirement_id,r="Requirement "+t.requirement_id,i="/requirement_information/"):null!==t.requirement_item_id?(e=t.requirement_item_id__requirement_item_title,n=t.requirement_item_id,r="Requirement Item "+t.requirement_item_id,i="/requirement_item_information/"):null!==t.task_id&&"task"!==this.destination&&(e=t.task_id__task_short_description,n=t.task_id,r="Task "+t.task_id,i="/task_information/"),`

${e}

${r}

`},extractObjectStatus:function(t){var e="";return null!==t.project_id&&"project"!==this.destination?e=t.project_id__project_status:null!==t.requirement_id?e=t.requirement_id__requirement_status__requirement_status:null!==t.requirement_item_id?e=t.requirement_item_id__requirement_item_status__requirement_item_status:null!==t.task_id&&"task"!==this.destination&&(e=t.task_id__task_status),""+e},newLink:function(){new f.a(document.getElementById("newLinkModal")).show()},updateLinkResults:function(){Ju.post(`/object_data/${this.destination}/${this.locationId}/object_link_list/`).then(t=>{this.linkResults=t.data.filter(t=>parseInt(0+t.project_id)+parseInt(0+t.requirement_id)+parseInt(0+t.requirement_item_id)+parseInt(0+t.task_id)>this.locationId)})}},mounted(){this.updateLinkResults()}},Xu,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Object Description")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])}],!1,null,"1d1226e2",null);Qu.options.__file="src/js/components/modules/sub_modules/ObjectLinks.vue";var tp=Qu.exports,ep=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newLinkModal",tabindex:"-1","aria-labelledby":"linkModal","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" New "+t._s(t.destination)+" Link Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Object Selector")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please select which object you would like to link to this "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching?n("div",{staticClass:"alert alert-success"},[t._v("\n Searching for "+t._s(t.objectModel)+"s\n ")]):n("v-select",{staticClass:"object-selection",attrs:{options:t.objectSelection},model:{value:t.objectModel,callback:function(e){t.objectModel=e},expression:"objectModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Select Links")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please select which of the objects you want to connect to this "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching||null==t.objectModel?n("div",{attrs:{id:"link_wizard_results"}},[n("img",{attrs:{src:"/static/NearBeach/images/placeholder/search.svg",alt:"Searching..."}})]):t._e(),t._v(" "),0==t.objectResults.length&&null!=t.objectModel?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - there are no results.\n ")]):t._e(),t._v(" "),!t.isSearching&&t.objectResults.length>0&&null!=t.objectModel?n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",[t._v(t._s(t.objectModel)+" Description")]),t._v(" "),n("td",[t._v("Status")])])]),t._v(" "),"Project"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_project_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_project_"+e.pk}},[t._v("\n "+t._s(e.fields.project_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Project "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.project_status))])])})),0):t._e(),t._v(" "),"Task"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_task_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_task_"+e.pk}},[t._v("\n "+t._s(e.fields.task_short_description)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Task "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.task_status))])])})),0):t._e(),t._v(" "),"Requirement"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_requirement_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_requirement_"+e.pk}},[t._v("\n "+t._s(e.fields.requirement_title)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Requirement "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.requirement_status))])])})),0):t._e(),t._v(" "),"Requirement_Item"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_requirement_item_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_requirement_item_"+e.pk}},[t._v("\n "+t._s(e.fields.requirement_item_title)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Requirement Item "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.requirement_item_status))])])})),0):t._e()]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.linkModel.length},on:{click:t.saveLinks}},[t._v("Save changes")])])])])])};ep._withStripped=!0;const np=n(3);var rp=J({name:"NewLinkWizard",props:{destination:String,locationId:Number},mixins:[h,Z],data:()=>({isSearching:!1,objectModel:null,objectResults:[],objectSelection:["Project","Requirement","Requirement_Item","Task"],linkModel:[]}),methods:{saveLinks:function(){const t=new FormData;this.linkModel.forEach(e=>{t.append(""+this.objectModel.toLowerCase(),e)}),np.post(`/object_data/${this.destination}/${this.locationId}/add_link/`,t).then(t=>{this.$emit("update_link_results",{}),document.getElementById("linkCloseButton").click()})}},watch:{objectModel:function(){this.linkModel=[],null!==this.objectModel?(this.isSearching=!0,np.post(`/object_data/${this.destination}/${this.locationId}/${this.objectModel.toLowerCase()}/link_list/`).then(t=>{this.objectResults=t.data,this.isSearching=!1}).catch(t=>{this.showErrorModal(t,this.destination)})):this.isSearching=!1}}},ep,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"linkCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"9b35cc8c",null);rp.options.__file="src/js/components/modules/wizards/NewLinkWizard.vue";var ip=rp.exports,op=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Request for Change")]),t._v(" "),n("hr"),t._v(" "),n("form-wizard",{attrs:{title:"",subtitle:""},on:{"on-complete":t.onComplete,"on-change":t.onChange}},[n("tab-content",{attrs:{title:"Description","before-change":t.beforeChange}},[n("rfc-description",{attrs:{"static-url":t.staticUrl},on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Details","before-change":t.beforeChange}},[n("rfc-details",{attrs:{"group-results":t.groupResults,"user-group-results":t.userGroupResults,"user-results":t.userResults},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Risk","before-change":t.beforeChange}},[n("rfc-risk",{on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Implementation Plan","before-change":t.beforeChange}},[n("rfc-implementation-plan",{on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Backout Plan","before-change":t.beforeChange}},[n("rfc-backout-plan",{on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Test Plan","before-change":t.beforeChange}},[n("rfc-test-plan",{on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1)],1)],1)])};op._withStripped=!0;var ap=n(64);const sp=n(3);var lp=J({name:"NewRequestForChange",props:{groupResults:Array,rootUrl:{type:String,default:"/"},statusUrl:{type:String,default:"/"},userGroupResults:{type:Array,default:()=>[]},userResults:Array},components:{FormWizard:ap.FormWizard,TabContent:ap.TabContent},mixins:[h],data:()=>({currentTab:0,rfcData:{groupModel:[],rfcBackoutPlan:"",rfcChangeLeadModel:{},rfcImpactModel:{},rfcImplementationEndModel:"",rfcImplementationPlanModel:"",rfcImplementationStartModel:"",rfcPriorityModel:{},rfcReleaseModel:"",rfcRiskModel:{},rfcRiskSummaryModel:"",rfcSummaryModel:"",rfcTestPlanModel:"",rfcTitleModel:"",rfcTypeModel:{},rfcVersionModel:""},validationData:{tab_0:!1,tab_1:!1,tab_2:!1,tab_3:!1,tab_4:!1,tab_5:!1}}),methods:{beforeChange:function(){return this.validationData["tab_"+this.currentTab]},onChange:function(t,e){this.currentTab=e,window.scrollTo(0,60)},onComplete:function(){const t=new FormData,e=this.rfcData;t.set("rfc_title",e.rfcTitleModel),t.set("rfc_summary",e.rfcSummaryModel),t.set("rfc_type",e.rfcTypeModel.value),t.set("rfc_implementation_start_date",e.rfcImplementationStartModel),t.set("rfc_implementation_end_date",e.rfcImplementationEndModel),t.set("rfc_implementation_release_date",e.rfcReleaseModel),t.set("rfc_version_number",e.rfcVersionModel),t.set("rfc_lead",e.rfcChangeLeadModel.value),t.set("rfc_priority",e.rfcPriorityModel.value),t.set("rfc_risk",e.rfcRiskModel.value),t.set("rfc_impact",e.rfcImpactModel.value),t.set("rfc_risk_and_impact_analysis",e.rfcRiskSummaryModel),t.set("rfc_implementation_plan",e.rfcImplementationPlanModel),t.set("rfc_backout_plan",e.rfcBackoutPlan),t.set("rfc_test_plan",e.rfcTestPlanModel),e.groupModel.forEach((e,n)=>{t.append("group_list",e.value)}),sp.post(this.rootUrl+"new_request_for_change/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,"request_for_change","")})},updateValidation:function(t){this.validationData[t.tab]=t.value},updateValues:function(t){this.rfcData[t.modelName]=t.modelValue}}},op,[],!1,null,"8b4b5646",null);lp.options.__file="src/js/components/request_for_change/NewRequestForChange.vue";var cp=lp.exports,dp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("label",[t._v("Backout Plan:\n "),!t.$v.rfcBackoutPlanModel.required&&t.$v.rfcBackoutPlanModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcBackoutPlanModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcBackoutPlanModel,callback:function(e){t.rfcBackoutPlanModel=e},expression:"rfcBackoutPlanModel"}})],1)])};dp._withStripped=!0;var up=J({name:"RfcBackoutPlan",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}}},data:()=>({rfcBackoutPlanModel:""}),validations:{rfcBackoutPlanModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)}},methods:{updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_4",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcBackoutPlanModel:function(){this.updateValues("rfcBackoutPlan",this.rfcBackoutPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcBackoutPlanModel=this.rfcResults[0].fields.rfc_backout_plan)}},dp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Backout Plan")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please outline the backout plan that will be implemented, and when it will be implemented, when something\n goes wrong with the Request for Change.\n ")])])}],!1,null,"4b3a46a5",null);up.options.__file="src/js/components/request_for_change/tabs/RfcBackoutPlan.vue";var pp=up.exports,mp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Request for Change Type:\n "),!t.$v.rfcTypeModel.required&&t.$v.rfcTypeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcType},model:{value:t.rfcTypeModel,callback:function(e){t.rfcTypeModel=e},expression:"rfcTypeModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Version/Release Number\n "),t.$v.rfcVersionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.rfcVersionModel,expression:"rfcVersionModel"}],staticClass:"form-control",attrs:{type:"text",maxlength:"25"},domProps:{value:t.rfcVersionModel},on:{input:function(e){e.target.composing||(t.rfcVersionModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"row col-md-8"},[n("div",{staticClass:"col-md-12"},[t.checkDateValidation?n("span",{staticClass:"error"},[t._v(" Please select an appropriate date for ALL fields.")]):t._e()]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Implementation Start: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcImplementationStartModel,callback:function(e){t.rfcImplementationStartModel=e},expression:"rfcImplementationStartModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Implementation End: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcImplementationEndModel,callback:function(e){t.rfcImplementationEndModel=e},expression:"rfcImplementationEndModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Release Date: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcReleaseModel,callback:function(e){t.rfcReleaseModel=e},expression:"rfcReleaseModel"}})],1)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n LEAD:\n "),!t.$v.rfcChangeLeadModel.required&&t.$v.rfcChangeLeadModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Lead.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcChangeLeadFixList},on:{search:t.fetchOptions},model:{value:t.rfcChangeLeadModel,callback:function(e){t.rfcChangeLeadModel=e},expression:"rfcChangeLeadModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"request_for_change","is-dirty":t.$v.groupModel.$dirty,"user-group-results":t.userGroupResults},on:{update_group_model:function(e){return t.updateGroupModel(e)}}})],1)};mp._withStripped=!0;const fp=n(3);var hp=J({name:"RfcDetails",props:{groupResults:Array,userGroupResults:{type:Array,default:()=>[]},userResults:Array},mixins:[ut],data:()=>({groupModel:[],rfcChangeLeadFixList:[],rfcChangeLeadModel:"",rfcImplementationStartModel:"",rfcImplementationEndModel:"",rfcReleaseModel:"",rfcStatus:[{label:"Draft",value:1},{label:"Waiting for approval",value:2},{label:"Approved",value:3},{label:"Started",value:4},{label:"Finished",value:5},{label:"Rejected",value:6}],rfcType:[{label:"Emergency",value:4},{label:"High",value:3},{label:"Medium",value:2},{label:"Low",value:1}],rfcTypeModel:"",rfcVersionModel:"",searchTimeout:""}),validations:{groupModel:{required:dt.required},rfcChangeLeadModel:{required:dt.required},rfcImplementationStartModel:{required:dt.required},rfcImplementationEndModel:{required:dt.required},rfcReleaseModel:{required:dt.required},rfcTypeModel:{required:dt.required},rfcVersionModel:{maxLength:Object(dt.maxLength)(25)}},computed:{checkDateValidation:function(){const t=!this.$v.rfcImplementationStartModel.required&&this.$v.rfcImplementationStartModel.$dirty,e=!this.$v.rfcImplementationEndModel.required&&this.$v.rfcImplementationEndModel.$dirty,n=!this.$v.rfcReleaseModel.required&&this.$v.rfcReleaseModel.$dirty;return t||e||n}},methods:{fetchOptions:function(t,e){this.searchTrigger({return_function:this.getChangeLeadData,searchTimeout:this.searchTimeout,search:t,loading:e})},getChangeLeadData:function(t,e){const n=new FormData;n.set("search",t),fp.post("/object_data/lead_user_list/",n).then(t=>{this.rfcChangeLeadFixList=[],t.data.forEach(t=>{var e={value:t.pk,label:`${t.fields.username} - ${t.fields.first_name} ${t.fields.last_name}`};this.rfcChangeLeadFixList.push(e)})}).catch((function(t){document.getElementById("errorModalContent").innerHTML="Search Lead User Issue:
"+t,new bootstrap.Modal(document.getElementById("errorModal"),{keyboard:!1}).show(),document.getElementById("loader").style.display="none"}))},updateGroupModel:function(t){this.groupModel=t,this.updateValues("groupModel",t),this.updateValidation()},updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_1",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcChangeLeadModel:function(){this.updateValues("rfcChangeLeadModel",this.rfcChangeLeadModel),this.updateValidation()},rfcImplementationStartModel:function(){this.updateValues("rfcImplementationStartModel",this.rfcImplementationStartModel),this.updateValidation()},rfcImplementationEndModel:function(){this.updateValues("rfcImplementationEndModel",this.rfcImplementationEndModel),this.updateValidation()},rfcReleaseModel:function(){this.updateValues("rfcReleaseModel",this.rfcReleaseModel),this.updateValidation()},rfcStatus:function(){this.updateValues("rfcStatus",this.rfcStatus),this.updateValidation()},rfcType:function(){this.updateValues("rfcType",this.rfcType),this.updateValidation()},rfcTypeModel:function(){this.updateValues("rfcTypeModel",this.rfcTypeModel),this.updateValidation()},rfcVersionModel:function(){this.updateValues("rfcVersionModel",this.rfcVersionModel),this.updateValidation()}},mounted(){this.getChangeLeadData(),this.$v.$touch()}},mp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Type and Version")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please specify how urgent this RFC's status really is. Optionally you can also specify the version\n or release number.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Important Dates")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please supply the implementation start and end dates. Please also suply the release date of the\n change to the general consumer.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Change LEAD: ")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please supply the LEAD who will be leading this Request for Change.\n ")])])}],!1,null,"38d20597",null);hp.options.__file="src/js/components/request_for_change/tabs/RfcDetails.vue";var vp=hp.exports,gp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("label",[t._v("Implementation Plan:\n "),!t.$v.rfcImplementationPlanModel.required&&t.$v.rfcImplementationPlanModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcImplementationPlanModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcImplementationPlanModel,callback:function(e){t.rfcImplementationPlanModel=e},expression:"rfcImplementationPlanModel"}})],1)])};gp._withStripped=!0;var bp=J({name:"RfcImplementationPlan",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}}},data:()=>({rfcImplementationPlanModel:""}),validations:{rfcImplementationPlanModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)}},methods:{updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_3",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcImplementationPlanModel:function(){this.updateValues("rfcImplementationPlanModel",this.rfcImplementationPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcImplementationPlanModel=this.rfcResults[0].fields.rfc_implementation_plan)}},gp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Implementation Plan")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please outline your implementation plan for this request for change.\n ")])])}],!1,null,"420ae536",null);bp.options.__file="src/js/components/request_for_change/tabs/RfcImplementationPlan.vue";var _p=bp.exports,yp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("label",[t._v("\n Priority of Change\n "),!t.$v.rfcPriorityModel.required&&t.$v.rfcPriorityModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcPriority,disabled:t.isReadOnly},model:{value:t.rfcPriorityModel,callback:function(e){t.rfcPriorityModel=e},expression:"rfcPriorityModel"}})],1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("label",[t._v("\n Risk of Change\n "),!t.$v.rfcRiskModel.required&&t.$v.rfcRiskModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcRisk,disabled:t.isReadOnly},model:{value:t.rfcRiskModel,callback:function(e){t.rfcRiskModel=e},expression:"rfcRiskModel"}})],1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("label",[t._v("\n Impact of Change\n "),!t.$v.rfcImpactModel.required&&t.$v.rfcImpactModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcImpact,disabled:t.isReadOnly},model:{value:t.rfcImpactModel,callback:function(e){t.rfcImpactModel=e},expression:"rfcImpactModel"}})],1)]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Risk Association:\n "),!t.$v.rfcRiskSummaryModel.required&&t.$v.rfcRiskSummaryModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcRiskSummaryModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcRiskSummaryModel,callback:function(e){t.rfcRiskSummaryModel=e},expression:"rfcRiskSummaryModel"}})],1)])};yp._withStripped=!0;var wp=J({name:"RfcRisk",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}}},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:dt.required},rfcRiskModel:{required:dt.required},rfcRiskSummaryModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},rfcImpactModel:{required:dt.required}},methods:{updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_2",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcPriority:function(){this.updateValues("rfcPriority",this.rfcPriority),this.updateValidation()},rfcPriorityModel:function(){this.updateValues("rfcPriorityModel",this.rfcPriorityModel),this.updateValidation()},rfcRisk:function(){this.updateValues("rfcRisk",this.rfcRisk),this.updateValidation()},rfcRiskModel:function(){this.updateValues("rfcRiskModel",this.rfcRiskModel),this.updateValidation()},rfcRiskSummaryModel:function(){this.updateValues("rfcRiskSummaryModel",this.rfcRiskSummaryModel),this.updateValidation()},rfcImpact:function(){this.updateValues("rfcImpact",this.rfcImpact),this.updateValidation()},rfcImpactModel:function(){this.updateValues("rfcImpactModel",this.rfcImpactModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcPriorityModel=this.rfcPriority.filter(t=>t.value===this.rfcResults[0].fields.rfc_priority)[0],this.rfcRiskModel=this.rfcRisk.filter(t=>t.value===this.rfcResults[0].fields.rfc_risk)[0],this.rfcRiskSummaryModel=this.rfcResults[0].fields.rfc_risk_and_impact_analysis,this.rfcImpactModel=this.rfcImpact.filter(t=>t.value===this.rfcResults[0].fields.rfc_impact)[0]),this.$v.$touch()}},yp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Risk")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please outline all risks associated with this Request for Change. A detail list of all risks should be\n noted.\n ")])])}],!1,null,"2dd96d4a",null);wp.options.__file="src/js/components/request_for_change/tabs/RfcRisk.vue";var xp=wp.exports,kp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("label",[t._v("Test Plan:\n "),!t.$v.rfcTestPlanModel.required&&t.$v.rfcTestPlanModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcTestPlanModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcTestPlanModel,callback:function(e){t.rfcTestPlanModel=e},expression:"rfcTestPlanModel"}})],1)])};kp._withStripped=!0;var Cp=J({name:"RfcTestPlan",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}}},data:()=>({rfcTestPlanModel:""}),validations:{rfcTestPlanModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)}},methods:{updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_5",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcTestPlanModel:function(){this.updateValues("rfcTestPlanModel",this.rfcTestPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcTestPlanModel=this.rfcResults[0].fields.rfc_test_plan)}},kp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Test Plan")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Outline your test plan. How will you test the Request for Change once it has been implemented.\n ")])])}],!1,null,"29045dd6",null);Cp.options.__file="src/js/components/request_for_change/tabs/RfcTestPlan.vue";var Mp=Cp.exports,Sp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Request for Change Title:\n "),!t.$v.rfcTitleModel.required&&t.$v.rfcTitleModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.rfcTitleModel,expression:"rfcTitleModel"}],staticClass:"form-control",attrs:{type:"text",maxlength:"255"},domProps:{value:t.rfcTitleModel},on:{input:function(e){e.target.composing||(t.rfcTitleModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Request for Change Summary:\n "),!t.$v.rfcSummaryModel.required&&t.$v.rfcSummaryModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcSummaryModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcSummaryModel,callback:function(e){t.rfcSummaryModel=e},expression:"rfcSummaryModel"}})],1)])};Sp._withStripped=!0;var Tp=J({name:"RfcDescription",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}},staticUrl:{type:String,default:"/"}},data:()=>({rfcSummaryModel:"",rfcTitleModel:""}),validations:{rfcSummaryModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},rfcTitleModel:{required:dt.required,maxLength:Object(dt.maxLength)(250)}},methods:{updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcSummaryModel:function(){this.updateValues("rfcSummaryModel",this.rfcSummaryModel)},rfcTitleModel:function(){this.updateValues("rfcTitleModel",this.rfcTitleModel)}},updated(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_0",value:!this.$v.$invalid})},mounted(){this.rfcResults.length>0&&(this.rfcSummaryModel=this.rfcResults[0].fields.rfc_summary,this.rfcTitleModel=this.rfcResults[0].fields.rfc_title),this.$v.$touch()}},Sp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Place a detailed description here. This should cover what your Request For Change (RFC) will entail and\n why it should be implemented within the time frames specified below.\n ")])])}],!1,null,"401203d1",null);Tp.options.__file="src/js/components/request_for_change/tabs/RfcDescription.vue";var Ep=Tp.exports,jp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Request for Change")]),t._v(" "),n("hr"),t._v(" "),n("rfc-description",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_values:function(e){return t.updateValues(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Request for Change Type:\n "),!t.$v.rfcTypeModel.required&&t.$v.rfcTypeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcType,disabled:t.isReadOnly},model:{value:t.rfcTypeModel,callback:function(e){t.rfcTypeModel=e},expression:"rfcTypeModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Version/Release Number")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.rfcVersionModel,expression:"rfcVersionModel"}],staticClass:"form-control",attrs:{type:"text",maxlength:"25"},domProps:{value:t.rfcVersionModel},on:{input:function(e){e.target.composing||(t.rfcVersionModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"row col-md-8"},[n("div",{staticClass:"col-md-12"},[t.checkDateValidation?n("span",{staticClass:"error"},[t._v(" Please select an appropriate date for ALL fields.")]):t._e()]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Implementation Start: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcImplementationStartModel,callback:function(e){t.rfcImplementationStartModel=e},expression:"rfcImplementationStartModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Implementation End: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcImplementationEndModel,callback:function(e){t.rfcImplementationEndModel=e},expression:"rfcImplementationEndModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Release Date: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcReleaseModel,callback:function(e){t.rfcReleaseModel=e},expression:"rfcReleaseModel"}})],1)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-4"},[n("table",{staticClass:"table user-table-module"},[n("tbody",[n("tr",[t._m(3),t._v(" "),n("td",[n("strong",[t._v(t._s(t.rfcChangeLead[0].fields.username)+": ")]),t._v(t._s(t.rfcChangeLead[0].fields.first_name)+" "+t._s(t.rfcChangeLead[0].fields.last_name)+"\n "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"user-card-email"},[t._v("\n "+t._s(t.rfcChangeLead[0].fields.email)+"\n ")])])])])])])]),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-dark",attrs:{href:"javascript:void(0)"},on:{click:t.updateRFCStatus}},[t._v("Submit RFC for Approval")]),t._v(" "),n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateRFC}},[t._v("Update Request for Change")])])])],1)])};jp._withStripped=!0;const Op=n(3);var Ip=J({name:"RfcInformation",props:{groupLeaderCount:{type:Number,default:0},isReadOnly:{type:Boolean,default:!1},rfcChangeLead:Array,rfcResults:Array},mixins:[h,ie],data(){return{rfcChangeLeadFixList:[],rfcChangeLeadModel:"",rfcTitleModel:this.rfcResults[0].fields.rfc_title,rfcSummaryModel:this.rfcResults[0].fields.rfc_summary,rfcImplementationStartModel:this.rfcResults[0].fields.rfc_implementation_start_date,rfcImplementationEndModel:this.rfcResults[0].fields.rfc_implementation_end_date,rfcReleaseModel:this.rfcResults[0].fields.rfc_implementation_release_date,rfcStatus:[{label:"Draft",value:1},{label:"Waiting for approval",value:2},{label:"Approved",value:3},{label:"Started",value:4},{label:"Finished",value:5},{label:"Rejected",value:6}],rfcType:[{label:"Emergency",value:4},{label:"High",value:3},{label:"Medium",value:2},{label:"Low",value:1}],rfcTypeModel:"",rfcVersionModel:this.rfcResults[0].fields.rfc_version_number}},validations:{rfcTitleModel:{required:dt.required},rfcSummaryModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},rfcImplementationStartModel:{required:dt.required},rfcImplementationEndModel:{required:dt.required},rfcReleaseModel:{required:dt.required},rfcTypeModel:{required:dt.required},rfcVersionModel:{maxLength:Object(dt.maxLength)(25)}},computed:{checkDateValidation:function(){const t=!this.$v.rfcImplementationStartModel.required&&this.$v.rfcImplementationStartModel.$dirty,e=!this.$v.rfcImplementationEndModel.required&&this.$v.rfcImplementationEndModel.$dirty,n=!this.$v.rfcReleaseModel.required&&this.$v.rfcReleaseModel.$dirty;return t||e||n}},methods:{updateRFC:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("rfc_title",this.rfcTitleModel),t.set("rfc_summary",this.rfcSummaryModel),t.set("rfc_type",this.rfcTypeModel.value),t.set("rfc_version_number",this.rfcVersionModel),t.set("rfc_implementation_start_date",this.rfcImplementationStartModel),t.set("rfc_implementation_end_date",this.rfcImplementationEndModel),t.set("rfc_implementation_release_date",this.rfcReleaseModel),this.showLoadingModal("Project"),Op.post(`/rfc_information/${this.rfcResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,this.destination)})},updateRFCStatus:function(){const t=new FormData;t.set("rfc_status","2"),Op.post(`/rfc_information/${this.rfcResults[0].pk}/update_status/`,t).then(t=>{window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,"Request for Change",this.rfcResults[0].pk)})},updateValues:function(t){this._data[t.modelName]=t.modelValue}},mounted(){this.rfcTypeModel=this.rfcType.filter(t=>t.value==this.rfcResults[0].fields.rfc_type)[0]}},jp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Type and Version")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please specify how urgent this RFC's status really is. Optionally you can also specify the version\n or release number.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Important Dates")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please supply the implementation start and end dates. Please also suply the release date of the\n change to the general consumer.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Change LEAD: ")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please supply the LEAD who will be leading this Request for Change.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",[e("img",{staticClass:"default-user-profile",attrs:{src:"/static/NearBeach/images/placeholder/people_tax.svg",alt:"default profile"}})])}],!1,null,"7d37e2ba",null);Ip.options.__file="src/js/components/request_for_change/RfcInformation.vue";var Lp=Ip.exports,Dp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[t._m(0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"tab-content",attrs:{id:"misc_module_content"}},[n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-risk",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-risk",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}}),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateRisk}},[t._v("Update Risks")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-implementation",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-implementation-plan",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}}),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateImplementation}},[t._v("Update Implementation Plan")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-backout",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-backout-plan",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}}),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateBackoutPlan}},[t._v("Update Backout Plan")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-test",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-test-plan",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}}),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateTestPlan}},[t._v("Update Test Plan")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-run-sheet",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-run-sheet-list",{attrs:{"is-read-only":t.isReadOnly,"location-id":t.locationId,"user-list":t.userList,"rfc-id":t.rfcResults[0].pk,"rfc-status":t.rfcResults[0].fields.rfc_status},on:{update_values:function(e){return t.updateValues(e)}}})],1)])])])};Dp._withStripped=!0;const Np=n(3);var $p=J({name:"RfcModules",props:{locationId:Number,destination:String,isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:[]},userList:Array},mixins:[h,ie],data:()=>({rfcData:{rfcBackoutPlan:"",rfcImpactModel:{},rfcImplementationPlanModel:"",rfcPriorityModel:{},rfcRiskModel:{},rfcRiskSummaryModel:"",rfcTestPlanModel:"",rfcTypeModel:{}},validationData:{tab_2:!0,tab_3:!0,tab_4:!0,tab_5:!0}}),methods:{sendData:function(t,e){this.showLoadingModal("Project"),Np.post(e,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,this.destination)})},updateBackoutPlan:function(){if(!1===this.validationData.tab_4)return void this.showErrorModal("Please fill out all data","Backout Plan","");const t=new FormData;t.set("text_input",this.rfcData.rfcBackoutPlan),this.sendData(t,`/rfc_information/${this.rfcResults[0].pk}/save/backout/`)},updateImplementation:function(){if(!1===this.validationData.tab_3)return void this.showErrorModal("Please fill out all data","Implementation","");const t=new FormData;t.set("text_input",this.rfcData.rfcImplementationPlanModel),this.sendData(t,`/rfc_information/${this.rfcResults[0].pk}/save/implementation/`)},updateRisk:function(){if(!1===this.validationData.tab_2)return void this.showErrorModal("Please fill out all data","Risk","");const t=new FormData;t.set("priority_of_change",this.rfcData.rfcPriorityModel.value),t.set("risk_of_change",this.rfcData.rfcRiskModel.value),t.set("impact_of_change",this.rfcData.rfcImpactModel.value),t.set("text_input",this.rfcData.rfcRiskSummaryModel),this.sendData(t,`/rfc_information/${this.rfcResults[0].pk}/save/risk/`)},updateValidation:function(t){this.validationData[t.tab]=t.value},updateTestPlan:function(){if(!1===this.validationData.tab_5)return void this.showErrorModal("Please fill out all data","Test Plan","");const t=new FormData;t.set("text_input",this.rfcData.rfcTestPlanModel),this.sendData(t,`/rfc_information/${this.rfcResults[0].pk}/save/test/`)},updateValues:function(t){this.rfcData[t.modelName]=t.modelValue}}},Dp,[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"nav nav-tabs",attrs:{id:"misc_module_tabs",role:"tablist"}},[n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-risk-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-risk",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Risk")])]),t._v(" "),n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-implementation-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-implementation",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Implementation")])]),t._v(" "),n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-backout-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-backout",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Backout Plan")])]),t._v(" "),n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-test-plan-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-test",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Test Plan")])]),t._v(" "),n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-run-sheet-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-run-sheet",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Run Sheet")])])])}],!1,null,"e5424ad6",null);$p.options.__file="src/js/components/request_for_change/RfcModules.vue";var Ap=$p.exports,Rp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newRunItemModal",tabindex:"-1","aria-labelledby":"newRunItemModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Change Title:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeTitleModel,expression:"changeTitleModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.changeTitleModel},on:{input:function(e){e.target.composing||(t.changeTitleModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"Change Task"},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Change Task Description (Optional):")]),t._v(" "),n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.changeDescriptionModel,callback:function(e){t.changeDescriptionModel=e},expression:"changeDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Stakeholders:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeStakeholderModel,expression:"changeStakeholderModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.changeStakeholderModel},on:{input:function(e){e.target.composing||(t.changeStakeholderModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"btn-group",attrs:{role:"group","aria-label":"Basic checkbox toggle button group"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeIsDowntimeModel,expression:"changeIsDowntimeModel"}],staticClass:"btn-check",attrs:{type:"checkbox",id:"isDowntime",autocomplete:"off"},domProps:{checked:Array.isArray(t.changeIsDowntimeModel)?t._i(t.changeIsDowntimeModel,null)>-1:t.changeIsDowntimeModel},on:{change:function(e){var n=t.changeIsDowntimeModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.changeIsDowntimeModel=n.concat([null])):o>-1&&(t.changeIsDowntimeModel=n.slice(0,o).concat(n.slice(o+1)))}else t.changeIsDowntimeModel=i}}}),t._v(" "),n("label",{staticClass:"btn btn-outline-primary",attrs:{for:"isDowntime"}},[t._v(t._s(t.isDowntime()))])])])])],1),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.submitChangeTask(e)}}},[t._v("\n Add Change Task\n ")])])])])])};Rp._withStripped=!0;const Pp=n(3);var qp=J({name:"RfcNewRunItem",props:{locationId:Number},mixins:[h],data:()=>({changeDescriptionModel:"",changeEndDateModel:"",changeIsDowntimeModel:!1,changeStakeholderModel:"Stakeholder(s)",changeStartDateModel:"",changeTitleModel:""}),methods:{isDowntime:function(){return this.changeIsDowntimeModel?"Downtime Scheduled":"No Downtime"},submitChangeTask:function(t){t.preventDefault();var e=parseInt(this.changeEndDateModel)-parseInt(this.changeStartDateModel);const n=new FormData;n.set("request_for_change",this.locationId.toString()),n.set("change_task_title",this.changeTitleModel),n.set("change_task_description",this.changeDescriptionModel),n.set("change_task_start_date",this.changeStartDateModel),n.set("change_task_end_date",this.changeEndDateModel),n.set("change_task_seconds",e.toString()),n.set("change_task_required_by",this.changeStakeholderModel),n.set("is_downtime",this.changeIsDowntimeModel),Pp.post(`/rfc_information/${this.locationId}/new_change_task/`,n).then(t=>{this.$emit("update_change_task_list",t.data),this.changeDescriptionModel="",this.changeIsDowntimeModel=!1,this.changeStakeholderModel="Stakeholder(s)",this.changeTitleModel="",document.getElementById("newRunItemCloseButton").click()}).catch(t=>{this.showErrorModal(t,"Change Task")})},updateDates:function(t){this.changeStartDateModel=t.start_date,this.changeEndDateModel=t.end_date}}},Rp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h2",{staticClass:"modal-title",attrs:{id:"newRunItemModalLabel"}},[this._v("New Change Task")]),this._v(" "),e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"newRunItemCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Change Task Title")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please write a short title of the description for this task. i.e Backup of Database\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Write a detail description of this particular task.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Misc")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Please fill in the stakeholders for this particular change task. Default value will be\n "Stakeholders".\n ')]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n To state if there is downtime, please click the "No Downtime" to change it\'s statue.\n ')])])}],!1,null,"1057ced8",null);qp.options.__file="src/js/components/request_for_change/modules/RfcNewRunItem.vue";var zp=qp.exports,Fp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[t.changeTaskList.length>0?n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.changeTaskList,(function(e){return n("tr",[n("td",[n("div",[t._v("Start Time:")]),t._v(" "),n("div",{staticClass:"small-text"},[t._v(t._s(t.getNiceDate(e.fields.change_task_start_date)))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("div",[t._v("End Time:")]),t._v(" "),n("div",{staticClass:"small-text"},[t._v(t._s(t.getNiceDate(e.fields.change_task_end_date)))])]),t._v(" "),n("td",[n("a",{attrs:{href:"/change_task_information/"+e.pk+"/"}},[t._v(t._s(e.fields.change_task_title))])]),t._v(" "),n("td",[n("div",[t._v("Assigned User:")]),t._v(" "),n("div",{staticClass:"small-text"},[t._v(t._s(t.getUserName(e.fields.change_task_assigned_user)))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("div",[t._v("QA User:")]),t._v(" "),n("div",{staticClass:"small-text"},[t._v(t._s(t.getUserName(e.fields.change_task_qa_user)))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("div",[t._v("Status:")]),t._v(" "),4!==t.rfcStatus?n("div",{staticClass:"small-text"},[t._v("\n "+t._s(t.getStatus(e.fields.change_task_status))+"\n ")]):n("div",[3==e.fields.change_task_status?n("a",{staticClass:"btn btn-primary change-task-button",attrs:{href:"javascript:void(0)"},on:{click:function(n){return t.updateChangeTaskStatus(e.pk,4)}}},[t._v("Start Task")]):t._e(),t._v(" "),4==e.fields.change_task_status?n("a",{staticClass:"btn btn-warning change-task-button",attrs:{href:"javascript:void(0)"},on:{click:function(n){return t.updateChangeTaskStatus(e.pk,5)}}},[t._v("Finish Task")]):t._e(),t._v(" "),5==e.fields.change_task_status?n("a",{staticClass:"btn btn-success change-task-button",attrs:{href:"javascript:void(0)"}},[t._v("Successful")]):t._e(),t._v(" "),6==e.fields.change_task_status?n("a",{staticClass:"btn btn-danger change-task-button",attrs:{href:"javascript:void(0)"}},[t._v("Failed")]):t._e()])])])})),0)]):t._e(),t._v(" "),0==t.changeTaskList.length?n("div",{staticClass:"alert alert-primary"},[t._v("\n Currently there are no Change Tasks associated with this Request for Change. Please add some by clicking\n on the button below.\n ")]):t._e()]),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewChangeItem}},[t._v("New Change Item")])])]),t._v(" "),t.isCompleted?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-warning save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.closeRfc}},[t._v("Close Request for Change")])])]):t._e(),t._v(" "),t.isReadOnly?t._e():n("rfc-new-run-item",{attrs:{"location-id":t.locationId},on:{update_change_task_list:function(e){return t.updateChangeTaskList(e)}}})],1)};Fp._withStripped=!0;var Up={methods:{getNiceDate:function(t){return Hn.DateTime.fromISO(t).toLocaleString(Hn.DateTime.DATETIME_MED)}}};const Bp=n(3);var Vp=J({name:"RfcRunSheetList",props:{isReadOnly:{type:Boolean,default:!1},locationId:Number,rfcId:Number,rfcStatus:{type:Number,default:0},userList:Array},mixins:[h,Up],data:()=>({changeTaskList:[]}),computed:{isCompleted:function(){return 0===this.changeTaskList.filter(t=>{const e=t.fields.change_task_status;return 5!==e&&6!==e}).length&&(3===this.rfcStatus||4===this.rfcStatus)}},methods:{addNewChangeItem:function(){new f.a(document.getElementById("newRunItemModal")).show()},closeRfc:function(){const t=new FormData;t.set("rfc_status",5),Bp.post(`/rfc_information/${this.rfcId}/update_status/`,t).then(t=>{window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,"request_for_change")})},getRunSheetList:function(){Bp.post(`/rfc_information/${this.locationId}/change_task_list/`).then(t=>{this.changeTaskList=t.data}).catch(t=>{this.showErrorModal(t,"request_for_change")})},getStatus:function(t){switch(t){case 1:return"Draft";case 2:return"Waiting for approval";case 3:return"Waiting to start";case 4:return"Task Started";case 5:return"Task Finished";case 6:return"Task FAILED";default:return"---"}},getUserName:function(t){var e=this.userList.filter(e=>e.pk==t);return 0==e.length?"---":`${e[0].fields.username}: ${e[0].fields.first_name} ${e[0].fields.last_name}`},updateChangeTaskList:function(t){this.changeTaskList=t},updateChangeTaskStatus:function(t,e){const n=new FormData;n.set("change_task_status",e),Bp.post(`/change_task_update_status/${t}/`,n).then(n=>{this.changeTaskList=this.changeTaskList.map(n=>n.pk==t?(n.fields.change_task_status=e,n):n)}).catch(t=>{this.showErrorModal(t,"request_for_change")})}},mounted(){this.getRunSheetList()}},Fp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Run Sheet List")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The run sheet will specify specific tasks for each user to implement. Each run item can be specified to;\n "),e("ul",[e("li",[this._v("Block other run items")]),this._v(" "),e("li",[this._v("Block out downtime")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{staticStyle:{width:"20%"}},[this._v("Timings")]),this._v(" "),e("td",{staticStyle:{width:"55%"}},[this._v("Title")]),this._v(" "),e("td",{staticStyle:{width:"25%"}},[this._v("Assigned Users")])])])}],!1,null,"1039222c",null);Vp.options.__file="src/js/components/request_for_change/modules/RfcRunSheetList.vue";var Hp=Vp.exports,Wp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.rfcApprovalsList.length>0?n("div",{staticClass:"card rfc-approvals-card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Request for Changes Waiting for Approval")]),t._v(" "),n("hr"),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following Request for Changes, require you to action them. You can either approve or reject these\n Request for Changes.\n ")]),t._v(" "),n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.rfcApprovalsList,(function(e){return n("tr",{staticClass:"bg-white"},[n("td",[n("a",{attrs:{href:t.rootUrl+"rfc_readonly/"+e.pk+"/"}},[n("p",[t._v(t._s(e.fields.rfc_title))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("RFC"+t._s(e.pk))])])]),t._v(" "),n("td",[t._v(t._s(t.getNiceDate(e.fields.rfc_implementation_start_date)))])])})),0)])])]):t._e()};Wp._withStripped=!0;const Gp=n(3);var Yp=J({name:"DashboardRfcApprovals.vue",props:{rootUrl:{type:String,default:"/"}},data:()=>({rfcApprovalsList:[]}),mixins:[Up,h],methods:{getRfcApprovalsList:function(){Gp.post(this.rootUrl+"dashboard/get/rfc_approvals/").then(t=>{this.rfcApprovalsList=t.data}).catch(t=>{this.showErrorModal(t,"Dashboard","")})}},mounted(){this.getRfcApprovalsList()}},Wp,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Request for Change")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Implementation Date")])])])}],!1,null,"6e3b3604",null);Yp.options.__file="src/js/components/dashboard/DashboardRfcApprovals.vue";var Kp=Yp.exports,Zp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showApprovalButton?n("div",{staticClass:"card submit-rfc-card"},[n("div",{staticClass:"card-body"},[t._m(0),t._v(" "),n("div",{staticClass:"row submit-row rfc-submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary",attrs:{href:"javascript:void(0)"},on:{click:t.approveRfc}},[t._v("Approve RFC")]),t._v(" "),n("a",{staticClass:"btn btn-danger reject-rfc",attrs:{href:"javascript:void(0)"},on:{click:t.rejectRfc}},[t._v("REJECT RFC")])])])])]):t._e()};Zp._withStripped=!0;const Xp=n(3);var Jp=J({name:"RfcApprovalButtons",props:{rfcResults:Array,groupLeaderCount:Number},mixins:[h,ie],computed:{showApprovalButton:function(){return 2===this.rfcResults[0].fields.rfc_status&&this.groupLeaderCount>0}},methods:{approveRfc:function(){const t=new FormData;t.set("rfc_status","3"),this.sendStatus(t)},rejectRfc:function(){const t=new FormData;t.set("rfc_status","6"),this.sendStatus(t)},sendStatus:function(t){this.showLoadingModal("Request for Change"),Xp.post(`/rfc_information/${this.rfcResults[0].pk}/update_status/`,t).then(t=>{this.closeLoadingModal(),window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,this.destination)})}}},Zp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row"},[e("h2",[this._v("Approval Process")]),this._v(" "),e("hr"),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Please read the complete process for this Request for Change. If you decided to approve, please\n click on the "Approve RFC" button. If you reject this Request for Change, please click on the\n "Reject RFC" button.\n ')])])}],!1,null,"7005f7d4",null);Jp.options.__file="src/js/components/request_for_change/modules/RfcApprovalButtons.vue";var Qp=Jp.exports,tm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Groups")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-groups",domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),t.groupList.length>0?n("div",{staticClass:"list-group"},t._l(t.groupList,(function(e){return n("a",{staticClass:"list-group-item list-group-item-action",attrs:{href:"/group_information/"+e.pk+"/"}},[n("strong",[t._v(t._s(e.fields.group_name))]),t._v(" "),n("br"),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Parent Group: "+t._s(e.fields.parent_group)+"\n ")])])})),0):n("div",{staticClass:"alert alert-warning"},[t._v("Sorry, there are no groups.")]),t._v(" "),n("hr"),t._v(" "),t._m(0)])])};tm._withStripped=!0;const em=n(3);var nm=J({name:"SearchGroups",props:{groupResults:Array},mixins:[h,ut],data(){return{groupList:this.groupResults,searchModel:"",searchTimeout:""}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),em.post("/search/group/data/",t).then(t=>{this.groupList=t.data}).catch(t=>{this.showErrorModal(t,"Search Groups","")})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},tm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row submit-row"},[e("div",{staticClass:"col-md-12"},[e("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"/new_group/"}},[this._v("\n Add new Group\n ")])])])}],!1,null,"cf407972",null);nm.options.__file="src/js/components/search/SearchGroups.vue";var rm=nm.exports,im=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Permission Sets")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-groups",domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),t.permissionSetList.length>0?n("div",{staticClass:"list-group"},t._l(t.permissionSetList,(function(e){return n("a",{staticClass:"list-group-item list-group-item-action",attrs:{href:"/permission_set_information/"+e.pk+"/"}},[n("strong",[t._v(t._s(e.fields.permission_set_name))]),t._v(" "),n("br")])})),0):n("div",{staticClass:"alert alert-warning"},[t._v("Sorry, there are no permission sets.")]),t._v(" "),n("hr"),t._v(" "),t._m(0)])])};im._withStripped=!0;const om=n(3);var am=J({name:"SearchPermissionSets",props:{permissionSetResults:Array},mixins:[h,ut],data(){return{permissionSetList:this.permissionSetResults,searchModel:"",searchTimeout:""}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),om.post("/search/permission_set/data/",t).then(t=>{this.permissionSetList=t.data}).catch(t=>{this.showErrorModal(t,"Search Permission Set","")})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},im,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row submit-row"},[e("div",{staticClass:"col-md-12"},[e("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"/new_permission_set/"}},[this._v("\n Add new Permission Set\n ")])])])}],!1,null,"494bd99a",null);am.options.__file="src/js/components/search/SearchPermissionSets.vue";var sm=am.exports,lm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Groups")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-groups",domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),t.userList.length>0?n("div",{staticClass:"list-group"},t._l(t.userList,(function(e){return n("a",{staticClass:"list-group-item list-group-item-action",attrs:{href:"/user_information/"+e.pk+"/"}},[n("strong",[t._v("\n "+t._s(e.fields.username)+": "+t._s(e.fields.first_name)+" "+t._s(e.fields.last_name)+"\n ")]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v(t._s(e.fields.email))])])})),0):n("div",{staticClass:"alert alert-warning"},[t._v("Sorry, there are no groups.")]),t._v(" "),n("hr"),t._v(" "),t._m(0)])])};lm._withStripped=!0;const cm=n(3);var dm=J({name:"SearchUsers",props:{userResults:Array},mixins:[h,ut],data(){return{searchModel:"",searchTimeout:"",userList:this.userResults}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),cm.post("/search/user/data/",t).then(t=>{this.userList=t.data}).catch(t=>{this.showErrorModal(t,"Search Users","")})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},lm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row submit-row"},[e("div",{staticClass:"col-md-12"},[e("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"/new_user/"}},[this._v("\n Add new User\n ")])])])}],!1,null,"12cc9736",null);dm.options.__file="src/js/components/search/SearchUsers.vue";var um=dm.exports,pm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Group")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Group Name\n "),!t.$v.groupNameModel.required&&t.$v.groupNameModel.$dirty?n("span",{staticClass:"error"},[t._v("\n Please suppy a title.\n ")]):t._e(),t._v(" "),t.uniqueGroupName?t._e():n("span",{staticClass:"error"},[t._v(" Please supply a unique name")]),t._v(" "),t.checkingGroupName?n("span",{staticClass:"error"},[t._v(" Checking group name...")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.groupNameModel,expression:"groupNameModel"}],staticClass:"form-control",domProps:{value:t.groupNameModel},on:{input:function(e){e.target.composing||(t.groupNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("\n Parent Group (optional)\n ")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.groupResultsFixList,label:"group_name"},model:{value:t.parentGroupModel,callback:function(e){t.parentGroupModel=e},expression:"parentGroupModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewGroup}},[t._v("Create new Group")])])])])])};pm._withStripped=!0;const mm=n(3);var fm=J({name:"NewGroup",props:{groupResults:Array},data:()=>({checkingGroupName:!1,groupNameModel:"",groupResultsFixList:[],parentGroupModel:"",uniqueGroupName:!0}),mixins:[h,ut],validations:{groupNameModel:{required:dt.required}},watch:{groupNameModel:function(){this.checkingGroupName=!0,this.searchTrigger({return_function:this.checkGroupName,searchTimeout:this.searchTimeout})}},methods:{addNewGroup:function(){if(this.$v.$touch(),this.$v.$invalid||!this.uniqueGroupName)return void this.showValidationErrorModal();const t=new FormData;t.set("group_name",this.groupNameModel),void 0!==this.parentGroupModel.value&&t.set("parent_group",this.parentGroupModel.value),mm.post("/new_group/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,"New Group","")})},checkGroupName:function(){const t=new FormData;t.set("search",this.groupNameModel),mm.post("/group_information/check_group_name/",t).then(t=>{this.uniqueGroupName=0==t.data.length,this.checkingGroupName=!1}).catch(t=>{this.showErrorModal(t,"New Group","")})}},mounted(){this.groupResultsFixList=this.groupResults.map(t=>({group_name:t.fields.group_name,value:t.pk}))}},pm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Create a new group")]),this._v(" "),e("p",{staticClass:"text-instructional"},[this._v("\n Each group should contain a unique name. If the name already exists then we won't be able\n to create the group.\n ")])])}],!1,null,"4e45c1be",null);fm.options.__file="src/js/components/groups/NewGroup.vue";var hm=fm.exports,vm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Group Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Group Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.groupNameModel,expression:"groupNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.groupNameModel},on:{input:function(e){e.target.composing||(t.groupNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Parent Group")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.parentGroupFixList,label:"group_name"},model:{value:t.parentGroupModel,callback:function(e){t.parentGroupModel=e},expression:"parentGroupModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateGroup}},[t._v("Update Group")])])])])])};vm._withStripped=!0;const gm=n(3);var bm=J({name:"GroupInformation",props:{groupResults:Array,parentGroupResults:Array},data(){return{groupNameModel:this.groupResults[0].fields.group_name,parentGroupFixList:[],parentGroupModel:""}},mixins:[h,ie],methods:{updateGroup:function(){const t=new FormData;t.set("group_name",this.groupNameModel),void 0!==this.parentGroupModel.value&&t.set("parent_group",this.parentGroupModel.value),this.showLoadingModal("Group Information"),gm.post(`/group_information/${this.groupResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"group_information","")})}},mounted(){const t=this.parentGroupResults.map(t=>({group_name:t.fields.group_name,value:t.pk})),e=t.filter(t=>t.value===this.groupResults[0].fields.parent_group);this.parentGroupFixList=t,this.parentGroupModel="",e.length>0&&(this.parentGroupModel=e[0])}},vm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Group Information")]),this._v(" "),e("p",{staticClass:"text-instruction"},[this._v("\n Please edit the group information here. Please note - groups have to be unique!\n ")])])}],!1,null,"2187d7a8",null);bm.options.__file="src/js/components/groups/GroupInformation.vue";var _m=bm.exports,ym=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h2",[t._v("User List")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.uniqueListOfUsers,(function(e){return n("tr",[n("td",[t._v(t._s(e.first_name)+" "+t._s(e.last_name))]),t._v(" "),n("td",[t._v(t._s(t.getList(e.username,"group__group_name")))]),t._v(" "),n("td",[t._v(t._s(t.getList(e.username,"permission_set__permission_set_name")))])])})),0)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addUser}},[t._v("Add User")])])])]),t._v(" "),n("admin-add-user",{attrs:{destination:t.destination,"location-id":t.locationId}})],1)};ym._withStripped=!0;var wm=J({name:"UserList",props:{destination:String,locationId:Number,userListResults:Array},data:()=>({uniqueListOfUsers:[]}),methods:{addUser:function(){new f.a(document.getElementById("addUserModal")).show()},getList:function(t,e){const n=this.userListResults.filter(e=>e.username==t);return[...new Set(n.map(t=>t[e]))]},getUniqueListOfUsers:function(){const t=this.userListResults.map(t=>({username:t.username,first_name:t.username__first_name,last_name:t.username__last_name,email:t.email}));var e=[];t.forEach(t=>{0===e.filter(e=>e.username===t.username).length&&e.push(t)}),this.uniqueListOfUsers=e}},mounted(){this.getUniqueListOfUsers()}},ym,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("List of Users")]),this._v(" "),e("p",{attrs:{text:"text-instructions"}},[this._v('\n The following are a list of users associated to INSERT DESTINATION. To add a new user please\n click on the "Add User" at the bottom of the page.\n ')])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("User")]),this._v(" "),e("td",[this._v("Group List")]),this._v(" "),e("td",[this._v("Permission List")])])])}],!1,null,"e9580684",null);wm.options.__file="src/js/components/administration/UserList.vue";var xm=wm.exports,km=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addUserModal","data-bs-backdrop":"static","data-bs-keyboard":"false",tabindex:"-1","aria-labelledby":"addUserModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),n("div",{staticClass:"modal-body"},["user"!==t.destination?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Search Users")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please use the select to find the user you would like to add to this "+t._s(t.destination)+"\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Search User")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.userResults},model:{value:t.userModel,callback:function(e){t.userModel=e},expression:"userModel"}})],1)]):t._e(),t._v(" "),"user"!==t.destination?n("hr"):t._e(),t._v(" "),"group"!==t.destination?n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Search Groups")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.groupResults,multiple:""},model:{value:t.groupModel,callback:function(e){t.groupModel=e},expression:"groupModel"}})],1)]):t._e(),t._v(" "),"group"!==t.destination?n("hr"):t._e(),t._v(" "),"permission_set"!==t.destination?n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Search Permission Sets")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.permissionSetResults,multiple:""},model:{value:t.permissionSetModel,callback:function(e){t.permissionSetModel=e},expression:"permissionSetModel"}})],1)]):t._e()]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addUser}},[t._v("Add User")])])])])])};km._withStripped=!0;const Cm=n(3);var Mm=J({name:"AdminAddUser",props:{destination:String,locationId:Number},data:()=>({groupModel:[],groupResults:[],permissionSetModel:[],permissionSetResults:[],userModel:[],userResults:[]}),mixins:[h],methods:{addUser:function(){const t=new FormData;t.set("username",this.userModel.value),this.groupModel.forEach(e=>{t.append("group",e.value)}),this.permissionSetModel.forEach(e=>{t.append("permission_set",e.value)}),Cm.post("/admin_add_user/",t).then(t=>{window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,"Admin Add user","")})},getData:function(){Cm.post("/object_data/admin_add_user/").then(t=>{switch(this.groupResults=t.data.group_results.map(t=>({label:t.group_name,value:t.group_id})),this.permissionSetResults=t.data.permission_set_results.map(t=>({label:t.permission_set_name,value:t.permission_set_id})),this.userResults=t.data.user_results.map(t=>({label:`${t.id}: ${t.first_name} ${t.last_name}`,value:t.id})),this.destination){case"group":this.groupModel=this.groupResults.filter(t=>t.value===this.locationId);break;case"permission_set":this.permissionSetModel=this.permissionSetResults.filter(t=>t.value===this.locationId);break;case"user":this.userModel=this.userResults.filter(t=>t.value===this.locationId)[0]}}).catch(t=>{this.showErrorModal(t,"Admin Add User","")})}},mounted(){this.getData()}},km,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h5",{staticClass:"modal-title",attrs:{id:"addUserModalLabel"}},[this._v("Add User")]),this._v(" "),e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Search Groups")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please use the select to find the group you would like to add to this user to.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Search Permission Sets")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please use the select to find the permission set you would like to add to this user.\n ")])])}],!1,null,"b83e321c",null);Mm.options.__file="src/js/components/administration/AdminAddUser.vue";var Sm=Mm.exports,Tm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Permission Information")]),t._v(" "),n("hr"),t._v(" "),1===this.permissionSetResults[0].pk?n("div",{staticClass:"alert alert-danger"},[t._v("Can not edit administration permission set.")]):t._e(),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Permission Set Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.permissionSetNameModel,expression:"permissionSetNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.permissionSetNameModel},on:{input:function(e){e.target.composing||(t.permissionSetNameModel=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"administrationAssignUserToGroupModel","property-label":"Assign User To Group Model","property-value":t.administrationAssignUserToGroupModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"administrationCreateGroupModel","property-label":"Create Groups","property-value":t.administrationCreateGroupModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"administrationCreatePermissionSetModel","property-label":"Create Permission Sets","property-value":t.administrationCreatePermissionSetModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"administrationCreateUserModel","property-label":"Create Users","property-value":t.administrationCreateUserModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"bugClientModel","property-label":"Configure bug clients","property-value":t.bugClientModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"customerModel","property-label":"Customers","property-value":t.customerModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"organisationModel","property-label":"Organisations","property-value":t.organisationModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(4),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"kanbanModel","property-label":"Kanban Boards","property-value":t.kanbanModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"kanbanCardModel","property-label":"Kanban Cards","property-value":t.kanbanCardModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"projectModel","property-label":"Projects","property-value":t.projectModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"taskModel","property-label":"Tasks","property-value":t.taskModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"requestForChangeModel","property-label":"Request for Change","property-value":t.requestForChangeModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"requirementModel","property-label":"Requirements","property-value":t.requirementModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(5),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"documentModel","property-label":"Grants upload ability","property-value":t.documentModel,"list-of-choices":t.permissionBoolean},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"kanbanCommentModel","property-label":"Grants comments on Kanban Boards","property-value":t.kanbanCommentModel,"list-of-choices":t.permissionBoolean},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"projectHistoryModel","property-label":"Grants comments on Projects","property-value":t.projectHistoryModel,"list-of-choices":t.permissionBoolean},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"taskHistoryModel","property-label":"Grants comments on Tasks","property-value":t.taskHistoryModel,"list-of-choices":t.permissionBoolean},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),1!==this.permissionSetResults[0].pk?n("hr"):t._e(),t._v(" "),1!==this.permissionSetResults[0].pk?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.saveChanges}},[t._v("Save Permission Set")])])]):t._e()])])};Tm._withStripped=!0;const Em=n(3);var jm=J({name:"PermissionInformation",props:{permissionBoolean:Array,permissionLevel:Array,permissionSetResults:Array},data(){return{permissionSetNameModel:this.permissionSetResults[0].fields.permission_set_name,administrationAssignUserToGroupModel:this.permissionSetResults[0].fields.administration_assign_user_to_group,administrationCreateGroupModel:this.permissionSetResults[0].fields.administration_create_group,administrationCreatePermissionSetModel:this.permissionSetResults[0].fields.administration_create_permission_set,administrationCreateUserModel:this.permissionSetResults[0].fields.administration_create_user,bugClientModel:this.permissionSetResults[0].fields.bug_client,customerModel:this.permissionSetResults[0].fields.customer,kanbanModel:this.permissionSetResults[0].fields.kanban_board,kanbanCardModel:this.permissionSetResults[0].fields.kanban_card,organisationModel:this.permissionSetResults[0].fields.organisation,projectModel:this.permissionSetResults[0].fields.project,requestForChangeModel:this.permissionSetResults[0].fields.request_for_change,requirementModel:this.permissionSetResults[0].fields.requirement,taskModel:this.permissionSetResults[0].fields.task,documentModel:this.permissionSetResults[0].fields.document,kanbanCommentModel:this.permissionSetResults[0].fields.kanban_comment,projectHistoryModel:this.permissionSetResults[0].fields.project_history,taskHistoryModel:this.permissionSetResults[0].fields.task_history}},mixins:[h,ie],methods:{saveChanges:function(){const t=new FormData;t.set("permission_set_id",this.permissionSetResults[0].pk),t.set("permission_set_name",this.permissionSetNameModel),t.set("administration_assign_user_to_group",this.administrationAssignUserToGroupModel),t.set("administration_create_group",this.administrationCreateGroupModel),t.set("administration_create_permission_set",this.administrationCreatePermissionSetModel),t.set("administration_create_user",this.administrationCreateUserModel),t.set("bug_client",this.bugClientModel),t.set("customer",this.customerModel),t.set("kanban_board",this.kanbanModel),t.set("kanban_card",this.kanbanCardModel),t.set("organisation",this.organisationModel),t.set("project",this.projectModel),t.set("requirement",this.requirementModel),t.set("request_for_change",this.requestForChangeModel),t.set("task",this.taskModel),t.set("document",this.documentModel),t.set("kanban_comment",this.kanbanCommentModel),t.set("project_history",this.projectHistoryModel),t.set("task_history",this.taskHistoryModel),this.showLoadingModal("permission set"),Em.post(`/permission_set_information/${this.permissionSetResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"Permission Set","")})},updatePropertyValue:function(t){this._data[t.property]=t.value}}},Tm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Permission Set Details")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Please supply a unique name for the permission set.")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Administration Permissions")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The following are administration permissions. These should be only applied to permission sets\n where they are only granted to administrators.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Bug Permissions")]),this._v(" "),e("p",{staticClass:"text-instructions"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Customers and Organisations")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Object Permissions")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Extra Permissions")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n The following permissions are added permissions on top of any read only. For example, if a read\n only user requires the ability to upload documentation, then you will need to enable the\n "Document" permissions here.\n ')])])}],!1,null,"59588476",null);jm.options.__file="src/js/components/permissions/PermissionInformation.vue";var Om=jm.exports,Im=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("label",[t._v(t._s(t.propertyLabel))]),t._v(" "),n("v-select",{staticClass:"form-group",attrs:{options:t.fixListOfChoices},model:{value:t.propertyModel,callback:function(e){t.propertyModel=e},expression:"propertyModel"}})],1)};Im._withStripped=!0;var Lm=J({name:"SinglePermissionProperties",props:{property:String,propertyLabel:String,propertyValue:{Type:Number,default:0},listOfChoices:Array},data(){return{propertyModel:{label:this.getLabel(this.propertyValue),value:this.propertyValue},fixListOfChoices:[]}},watch:{propertyModel:function(){null===this.propertyModel&&(this.propertyModel={label:this.getLabel(0),value:0}),this.$emit("update_property_value",{property:this.property,value:this.propertyModel.value})}},methods:{getLabel:function(t){const e=this.listOfChoices.filter(e=>e[0]===t);return 0===e.length?"":e[0][1]}},mounted(){this.fixListOfChoices=this.listOfChoices.map(t=>({label:t[1],value:t[0]}))}},Im,[],!1,null,"3a9a8a81",null);Lm.options.__file="src/js/components/permissions/SinglePermissionProperties.vue";var Dm=Lm.exports,Nm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Permission Set")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Permission Set Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.permissionSetNameModel,expression:"permissionSetNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.permissionSetNameModel},on:{input:function(e){e.target.composing||(t.permissionSetNameModel=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewPermissionSet}},[t._v("Create new Permission Set")])])])])])};Nm._withStripped=!0;const $m=n(3);var Am=J({name:"NewPermissionSet",props:{},data:()=>({permissionSetNameModel:""}),mixins:[h],methods:{addNewPermissionSet:function(){const t=new FormData;t.set("permission_set_name",this.permissionSetNameModel),$m.post("/new_permission_set/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,"New Permission Set","")})}}},Nm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("New Permission Set")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please enter in a unique permission set name. Please note - all values are default permission\n level of 0.\n ")])])}],!1,null,"f57e636c",null);Am.options.__file="src/js/components/permissions/NewPermissionSet.vue";var Rm=Am.exports,Pm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New User")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Username: ")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.usernameModel,expression:"usernameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.usernameModel},on:{input:function(e){e.target.composing||(t.usernameModel=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("First Name:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.firstNameModel,expression:"firstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.firstNameModel},on:{input:function(e){e.target.composing||(t.firstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Last Name:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.lastNameModel,expression:"lastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.lastNameModel},on:{input:function(e){e.target.composing||(t.lastNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Email:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.emailModel,expression:"emailModel"}],staticClass:"form-control",attrs:{type:"email"},domProps:{value:t.emailModel},on:{input:function(e){e.target.composing||(t.emailModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("Password")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password1Model,expression:"password1Model"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password1Model},on:{input:function(e){e.target.composing||(t.password1Model=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Retype Password")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password2Model,expression:"password2Model"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password2Model},on:{input:function(e){e.target.composing||(t.password2Model=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addUser}},[t._v("\n Add new User\n ")])])])])])};Pm._withStripped=!0;const qm=n(3);var zm=J({name:"NewUser",props:{},data:()=>({emailModel:"",firstNameModel:"",lastNameModel:"",password1Model:"",password2Model:"",usernameModel:""}),mixins:[h],methods:{addUser:function(){const t=new FormData;t.set("username",this.usernameModel),t.set("email",this.emailModel),t.set("first_name",this.firstNameModel),t.set("last_name",this.lastNameModel),t.set("password1",this.password1Model),t.set("password2",this.password2Model),qm.post("/new_user/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,"New User","")})}}},Pm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("New User")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please create a unique username, followed by the basic user details.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("User Details")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out the user details.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Passwords")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please type in a user password. The user will be able to reset their password to log in.\n ")])])}],!1,null,"9f037d30",null);zm.options.__file="src/js/components/users/NewUser.vue";var Fm=zm.exports,Um=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("User Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("strong",[t._v("Username:")]),t._v(" "+t._s(t.userResults[0].fields.username)+"\n "),n("strong",[t._v(" | ID:")]),t._v(" "+t._s(t.userResults[0].pk)+"\n ")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("First Name:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.firstNameModel,expression:"firstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.firstNameModel},on:{input:function(e){e.target.composing||(t.firstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Last Name:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.lastNameModel,expression:"lastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.lastNameModel},on:{input:function(e){e.target.composing||(t.lastNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Email:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.emailModel,expression:"emailModel"}],staticClass:"form-control",attrs:{type:"email"},domProps:{value:t.emailModel},on:{input:function(e){e.target.composing||(t.emailModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Is User Active? ")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.isActiveModel,expression:"isActiveModel"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.isActiveModel)?t._i(t.isActiveModel,null)>-1:t.isActiveModel},on:{change:function(e){var n=t.isActiveModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.isActiveModel=n.concat([null])):o>-1&&(t.isActiveModel=n.slice(0,o).concat(n.slice(o+1)))}else t.isActiveModel=i}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Is User a Superuser? ")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.isSuperuserModel,expression:"isSuperuserModel"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.isSuperuserModel)?t._i(t.isSuperuserModel,null)>-1:t.isSuperuserModel},on:{change:function(e){var n=t.isSuperuserModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.isSuperuserModel=n.concat([null])):o>-1&&(t.isSuperuserModel=n.slice(0,o).concat(n.slice(o+1)))}else t.isSuperuserModel=i}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateUser}},[t._v("\n Update User Details\n ")])])])])])};Um._withStripped=!0;const Bm=n(3);var Vm=J({name:"UserInformation",props:{userResults:Array},data(){return{emailModel:this.userResults[0].fields.email,isActiveModel:this.userResults[0].fields.is_active,isSuperuserModel:this.userResults[0].fields.is_superuser,firstNameModel:this.userResults[0].fields.first_name,lastNameModel:this.userResults[0].fields.last_name}},mixins:[h,ie],methods:{updateUser:function(){this.showLoadingModal("User Information");const t=new FormData;t.set("email",this.emailModel),t.set("is_active",this.isActiveModel),t.set("is_superuser",this.isSuperuserModel),t.set("first_name",this.firstNameModel),t.set("last_name",this.lastNameModel),Bm.post(`/user_information/${this.userResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"Update User",this.userResults[0].pk)})}}},Um,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("UserName")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The username is set and can not be changed from this location. If you need to change the\n username, please go to the Django Admin Panel.\n ")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The ID is the primary key assigned to the username. This can not be edited. It can be ignored.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("User Details")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out the user details.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Active User")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Untick this option if the user is no longer active.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Is User a Superuser")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Tick this functionality if you would like the user to gain access to the /admin/ functionality.\n This is not recommended for anyone outside of an IT team.\n ")])])}],!1,null,"698a8c3e",null);Vm.options.__file="src/js/components/users/UserInformation.vue";var Hm=Vm.exports,Wm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h2",[t._v("Reset Password")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("button",{staticClass:"btn btn-warning",attrs:{type:"button"},on:{click:t.passwordResetClicked}},[t._v("\n Password Reset\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"passwordResetModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.passwordIcon}}),t._v(" Reset User Password")],1),t._v(" "),t._m(1)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("Password")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password1Model,expression:"password1Model"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password1Model},on:{input:function(e){e.target.composing||(t.password1Model=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Confirm Password")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password2Model,expression:"password2Model"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password2Model},on:{input:function(e){e.target.composing||(t.password2Model=e.target.value)}}})])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},on:{click:t.closeModal}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableButton},on:{click:t.updatePassword}},[t._v("Update Password")])])])])])])};Wm._withStripped=!0;const Gm=n(3);var Ym=J({name:"ResetUserPassword",props:{location:String,username:Number},mixins:[h,Z],data:()=>({password1Model:"",password2Model:""}),computed:{disableButton:function(){let t=this.password1Model==this.password2Model,e=this.password1Model.length>=8;return!(t&&1==e)}},methods:{closeModal:function(){this.password1Model="",this.password2Model="",document.getElementById("passwordResetCloseButton").click()},passwordResetClicked:function(){new f.a(document.getElementById("passwordResetModal")).show()},updatePassword:function(){const t=new FormData;t.set("password",this.password1Model),t.set("username",this.username),Gm.post(`/${this.location}/update_user_password/`,t).then(t=>{this.closeModal()}).catch(t=>{this.showErrorModal(t,"Saving Password Issue","")})}}},Wm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Passwords")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Users have the ability to reset their password from the login page. If needed, please click on\n the link to be taken to the password reset form.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"passwordResetCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"7580d9dc",null);Ym.options.__file="src/js/components/users/ResetUserPassword.vue";var Km=Ym.exports,Zm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Unassigned Objects")]),t._v(" "),n("hr"),t._v(" "),t.isLoaded?t._e():n("div",{staticClass:"alert alert-dark"},[t._v("\n Still obtaining a list of assigned objects\n ")]),t._v(" "),t.objectResults.requirement.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.requirement,"import-variables":t.requirementVariables,destination:"requirement","root-url":t.rootUrl}}):t._e(),t._v(" "),t.objectResults.project.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.project,"import-variables":t.projectVariables,destination:"project","root-url":t.rootUrl}}):t._e(),t._v(" "),t.objectResults.task.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.task,"import-variables":t.taskVariables,destination:"task","root-url":t.rootUrl}}):t._e(),t._v(" "),0===t.countObjects&&t.isLoaded?n("div",{staticClass:"alert alert-primary"},[t._v("\n Good Work - all objects have been assigned to at least one user.\n ")]):t._e()],1)])};Zm._withStripped=!0;const Xm=n(3);var Jm=J({name:"DashboardUnassignedObjects",props:{rootUrl:{type:String,default:"/"}},data:()=>({isLoaded:!1,objectResults:{requirement:[],project:[],task:[]},projectVariables:{header:"Projects",prefix:"Pro",id:"project_id",title:"project_name",status:"project_status"},requirementVariables:{header:"Your Requirements",prefix:"Req",id:"requirement_id",title:"requirement_title",status:"requirement_status__requirement_status"},taskVariables:{header:"Tasks",prefix:"Task",id:"task_id",title:"task_short_description",status:"task_status"}}),mixins:[h],methods:{getMyObjects:function(){Xm.post("/dashboard/get/unassigned_objects/").then(t=>{this.objectResults=t.data,this.isLoaded=!0}).catch(t=>{this.showErrorModal(t,"Dashboard Unassigned Objects")})}},computed:{countObjects:function(){return this.objectResults.requirement.length+this.objectResults.project.length+this.objectResults.task.length}},mounted(){this.getMyObjects()}},Zm,[],!1,null,null,null);Jm.options.__file="src/js/components/dashboard/DashboardUnassignedObjects.vue";var Qm=Jm.exports,tf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.userList.length>0?n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Users with no groups")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8 user-card-layouts"},t._l(t.userList,(function(e){return n("div",{staticClass:"user-card",on:{click:function(n){return t.goToUser(e.id)}}},[n("img",{staticClass:"default-user-profile",attrs:{src:t.staticUrl+"NearBeach/images/placeholder/people_tax.svg",alt:"default profile"}}),t._v(" "),n("div",{staticClass:"user-details"},[n("strong",[t._v(t._s(e.first_name)+" "+t._s(e.last_name))]),n("br"),t._v("\n "+t._s(e.username)+"\n "),n("div",{staticClass:"spacer"}),t._v("\n "+t._s(e.email)+"\n ")])])})),0)])])]):t._e()};tf._withStripped=!0;const ef=n(3);var nf=J({name:"DashboardUsersWithNoGroups",props:{rootUrl:{type:String,default:"/"},staticUrl:{type:String,default:"/"}},data:()=>({userList:[]}),methods:{getUserList:function(){ef.post(this.rootUrl+"dashboard/get/users_with_no_groups/").then(t=>{this.userList=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},goToUser:function(t){window.location.href=`${this.rootUrl}user_information/${t}/`}},mounted(){this.getUserList()}},tf,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Users with no groups")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please take action! The following users DO NOT have any groups associated with them. They will\n not be able to log in.\n ")])])}],!1,null,null,null);nf.options.__file="src/js/components/dashboard/DashboardUsersWithNoGroups.vue";var rf=nf.exports,of=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v(t._s(t.kanbanBoardResults[0].fields.kanban_board_name))]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-4"},[n("kanban-property-order",{attrs:{"property-name":"Column","property-list":t.columnModel,source:"columnModel","is-dirty":t.$v.columnModel.$dirty,"is-new-mode":!1,"kanban-board-id":t.kanbanBoardResults[0].pk},on:{update_property_list:function(e){return t.updatePropertyList(e)}}})],1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("kanban-property-order",{attrs:{"property-name":"Level","property-list":t.levelModel,source:"levelModel","is-dirty":t.$v.columnModel.$dirty,"is-new-mode":!1,"kanban-board-id":t.kanbanBoardResults[0].pk},on:{update_property_list:function(e){return t.updatePropertyList(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-danger",on:{click:t.closeKanban}},[t._v("\n Close Kanban Board\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.backToBoard}},[t._v("\n Back to Kanban Board\n ")])])])])])};of._withStripped=!0;const af=n(3);var sf=J({name:"KanbanEditBoard",props:{columnResults:Array,kanbanBoardResults:Array,levelResults:Array,rootUrl:{type:String,default:"/"}},mixins:[h,ut],data:()=>({columnModel:[],levelModel:[]}),validations:{columnModel:{required:dt.required},levelModel:{required:dt.required}},methods:{backToBoard:function(){window.location.href=`${this.rootUrl}kanban_information/${this.kanbanBoardResults[0].pk}/`},closeKanban:function(){af.post(`/kanban_information/${this.kanbanBoardResults[0].pk}/close_board/`).then(t=>{window.location.href="/"}).catch(t=>{this.showErrorModal(t,this.destination)})},updatePropertyList:function(t){this[t.source]=t.data}},mounted(){this.columnModel=this.columnResults.map(t=>({id:t.pk,title:t.fields.kanban_column_name})),this.levelModel=this.levelResults.map(t=>({id:t.pk,title:t.fields.kanban_level_name}))}},of,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Columns & Levels")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Drag the cards around to sort out the columns how you want them.\n ")])])}],!1,null,"599a688e",null);sf.options.__file="src/js/components/kanban/KanbanEditBoard.vue";var lf=sf.exports,cf=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card kanban-group-permissions"},[e("div",{staticClass:"card-body"},[e("groups-and-users-module",{attrs:{"location-id":this.locationId,destination:"kanban_board"}})],1)])};cf._withStripped=!0;var df=J({name:"KanbanGroupPermissions",props:{locationId:Number}},cf,[],!1,null,null,null);df.options.__file="src/js/components/kanban/KanbanGroupPermissions.vue";var uf=df.exports,pf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("My Profile")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("p",[n("strong",[t._v("Username: ")]),t._v(t._s(t.userResults[0].username)+"\n ")]),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("\n First Name:\n "),!t.$v.firstNameModel.required&&t.$v.firstNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a first name.")]):t._e(),t._v(" "),n("br")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.firstNameModel,expression:"firstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.firstNameModel},on:{input:function(e){e.target.composing||(t.firstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("\n Last Name:\n "),!t.$v.lastNameModel.required&&t.$v.lastNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a last name.")]):t._e(),t._v(" "),n("br")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.lastNameModel,expression:"lastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.lastNameModel},on:{input:function(e){e.target.composing||(t.lastNameModel=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("\n Email:\n ")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.emailModel,expression:"emailModel"}],staticClass:"form-control",attrs:{type:"email",disabled:"true"},domProps:{value:t.emailModel},on:{input:function(e){e.target.composing||(t.emailModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateUser}},[t._v("\n Update User Details\n ")])])])])])};pf._withStripped=!0;const mf=n(3);var ff=J({name:"ProfileInformation",props:{userResults:Array},data(){return{emailModel:this.userResults[0].email,firstNameModel:this.userResults[0].first_name,lastNameModel:this.userResults[0].last_name}},mixins:[h,ie],validations:{lastNameModel:{required:dt.required,maxLength:Object(dt.maxLength)(255)},firstNameModel:{required:dt.required,maxLength:Object(dt.maxLength)(255)}},methods:{updateUser:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("username",this.userResults[0].id),t.set("first_name",this.firstNameModel),t.set("last_name",this.lastNameModel),this.showLoadingModal("Project"),mf.post("/profile_information/update_data/",t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"profile")})}}},pf,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("User Details")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please update your details.\n ")])])}],!1,null,null,null);ff.options.__file="src/js/components/profile/ProfileInformation.vue";var hf=ff.exports,vf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Change Task - "+t._s(t.changeTaskResults[0].pk))]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Change Title:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeTitleModel,expression:"changeTitleModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.changeTitleModel},on:{input:function(e){e.target.composing||(t.changeTitleModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"Change Task"},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Change Task Description (Optional):")]),t._v(" "),n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.changeDescriptionModel,callback:function(e){t.changeDescriptionModel=e},expression:"changeDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Stakeholders:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeStakeholderModel,expression:"changeStakeholderModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.changeStakeholderModel},on:{input:function(e){e.target.composing||(t.changeStakeholderModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"btn-group",attrs:{role:"group","aria-label":"Basic checkbox toggle button group"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeIsDowntimeModel,expression:"changeIsDowntimeModel"}],staticClass:"btn-check",attrs:{type:"checkbox",id:"isDowntime",autocomplete:"off"},domProps:{checked:Array.isArray(t.changeIsDowntimeModel)?t._i(t.changeIsDowntimeModel,null)>-1:t.changeIsDowntimeModel},on:{change:function(e){var n=t.changeIsDowntimeModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.changeIsDowntimeModel=n.concat([null])):o>-1&&(t.changeIsDowntimeModel=n.slice(0,o).concat(n.slice(o+1)))}else t.changeIsDowntimeModel=i}}}),t._v(" "),n("label",{staticClass:"btn btn-outline-primary",attrs:{for:"isDowntime"}},[t._v(t._s(t.isDowntime()))])])])]),t._v(" "),n("hr"),t._v(" "),n("a",{staticClass:"btn btn-secondary",attrs:{href:"/rfc_information/"+t.changeTaskResults[0].fields.request_for_change+"/"}},[t._v("Cancel")]),t._v(" "),1==t.changeTaskResults[0].fields.change_task_status?n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.saveChangeTask}},[t._v("Save")]):t._e(),t._v(" "),3==t.changeTaskResults[0].fields.change_task_status?n("a",{staticClass:"btn btn-danger save-changes",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.updateStatus(4)}}},[t._v("Start Task")]):t._e(),t._v(" "),4==t.changeTaskResults[0].fields.change_task_status?n("a",{staticClass:"btn btn-success save-changes",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.updateStatus(5)}}},[t._v("Finish Task")]):t._e(),t._v(" "),4==t.changeTaskResults[0].fields.change_task_status?n("a",{staticClass:"btn btn-danger save-changes",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.updateStatus(6)}}},[t._v("REJECT Task")]):t._e()],1)])};vf._withStripped=!0;const gf=n(3);var bf={name:"ChangeTaskInformation",props:{changeTaskResults:Array},data(){return{changeTitleModel:this.changeTaskResults[0].fields.change_task_title,changeDescriptionModel:this.changeTaskResults[0].fields.change_task_description,changeStakeholderModel:this.changeTaskResults[0].fields.change_task_required_by,changeIsDowntimeModel:this.changeTaskResults[0].fields.is_downtime}},methods:{isDowntime:function(){return this.changeIsDowntimeModel?"Downtime Scheduled":"No Downtime"},saveChangeTask:function(t){t.preventDefault();var e=parseInt(this.changeEndDateModel)-parseInt(this.changeStartDateModel);const n=new FormData;n.set("change_task_title",this.changeTitleModel),n.set("change_task_description",this.changeDescriptionModel),n.set("change_task_start_date",this.changeStartDateModel),n.set("change_task_end_date",this.changeEndDateModel),n.set("change_task_seconds",e.toString()),n.set("change_task_required_by",this.changeStakeholderModel),n.set("is_downtime",this.changeIsDowntimeModel),gf.post(`/change_task_information/${this.changeTaskResults[0].pk}/save/`,n).then(t=>{window.location.href=`/rfc_information/${this.changeTaskResults[0].fields.request_for_change}/`}).catch(t=>{})},updateStatus:function(t){const e=new FormData;e.set("change_task_status",t),gf.post(`/change_task_update_status/${this.changeTaskResults[0].pk}/`,e).then(t=>{window.location.reload(!0)}).catch(t=>{})},updateDates:function(t){this.changeStartDateModel=t.start_date,this.changeEndDateModel=t.end_date}}},_f=(n(187),J(bf,vf,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Change Task Title")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please write a short title of the description for this task. i.e Backup of Database\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Write a detail description of this particular task.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Misc")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Please fill in the stakeholders for this particular change task. Default value will be\n "Stakeholders".\n ')]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n To state if there is downtime, please click the "No Downtime" to change it\'s statue.\n ')])])}],!1,null,"7905d66a",null));_f.options.__file="src/js/components/request_for_change/ChangeTaskInformation.vue";var yf=_f.exports,wf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.noteAdd}}),t._v(" Note History")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are saved notes against this "+t._s(t.destination)+". Add notes by clicking on the button below.\n ")]),t._v(" "),n("list-notes",{attrs:{"note-history-results":t.noteHistoryResults,destination:t.destination}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.createNewNote}},[t._v("Add Note to "+t._s(t.destination))])])]),t._v(" "),n("new-history-note-wizard",{attrs:{"location-id":t.locationId,destination:t.destination},on:{update_note_history_results:function(e){return t.updateNoteHistoryResults(e)}}})],1)};wf._withStripped=!0;const xf=n(3);var kf=J({name:"NotesModule",components:{},props:["destination","locationId"],mixins:[h,Z],data:()=>({noteHistoryResults:[]}),methods:{createNewNote:function(){new f.a(document.getElementById("newNoteModal")).show()},getNoteHistoryResults:function(){xf.post(`/object_data/${this.destination}/${this.locationId}/note_list/`).then(t=>{this.noteHistoryResults=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateNoteHistoryResults:function(t){this.noteHistoryResults.push(t[0])}},mounted(){this.getNoteHistoryResults()}},wf,[],!1,null,"29486be2",null);kf.options.__file="src/js/components/modules/sub_modules/NotesModule.vue";var Cf=kf.exports,Mf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[t._v("Assigned Tags")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Here are all tags associated with this "+t._s(t.destination)+'. You can add more\n tags by clicking on the "Add Tag" button.\n ')]),t._v(" "),n("div",{staticClass:"tag-list"},t._l(t.tagList,(function(e){return n("div",{key:e.pk,staticClass:"single-tag",style:"background-color: "+e.fields.tag_colour+";"},[t._v("\n "+t._s(e.fields.tag_name)+"\n "),n("span",{on:{click:function(n){return t.removeTag(e.pk)}}},[n("IconifyIcon",{attrs:{icon:t.icons.xCircle}})],1)])})),0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.createNewTag}},[t._v("Add Tag to "+t._s(t.destination))])])]),t._v(" "),n("add-tag-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"assigned-tags":t.tagList},on:{add_tags:function(e){return t.addTags(e)}}})],1)};Mf._withStripped=!0;var Sf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addTagModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.usersIcon}}),t._v(" Add Tags Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Add Tag")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Use the dropdown to select one or many lables to add to the "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("All Tag List")]),t._v(" "),n("v-select",{attrs:{label:"tag",multiple:"",options:t.tagList},model:{value:t.tagModel,callback:function(e){t.tagModel=e},expression:"tagModel"}})],1)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addTag}},[t._v("Add Tag")])])])])])};Sf._withStripped=!0;const Tf=n(3);var Ef=J({name:"AddTagWizard",props:{assignedTags:{type:Array,default:()=>[]},destination:String,locationId:Number},mixins:[h,Z],data:()=>({allTagList:[],tagModel:[]}),computed:{tagList:function(){return this.allTagList.filter(t=>this.assignedTags.findIndex(e=>e.pk==t.value)<0)}},methods:{addTag:function(){const t=new FormData;this.tagModel.forEach(e=>{t.append("tag_id",e.value)}),Tf.post(`/object_data/${this.destination}/${this.locationId}/add_tags/`,t).then(t=>{this.$emit("add_tags",t.data),document.getElementById("addTagsCloseButton").click(),this.tagModel=[]})},getTagList:function(){Tf.post("/object_data/tag_list_all/").then(t=>{this.allTagList=t.data.map(t=>({value:t.pk,tag:t.fields.tag_name}))}).catch(t=>{})}},mounted(){this.getTagList()}},Sf,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addTagsCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"21d92d1f",null);Ef.options.__file="src/js/components/modules/wizards/AddTagWizard.vue";var jf=Ef.exports;const Of=n(3);var If=J({components:{AddTagWizard:jf},name:"ListTagsModule",props:{destination:String,locationId:Number},data:()=>({tagList:[]}),mixins:[Z],methods:{addTags:function(t){this.tagList=t},createNewTag:function(){new f.a(document.getElementById("addTagModal")).show()},getAssignedTags:function(){Of.post(`/object_data/${this.destination}/${this.locationId}/tag_list/`).then(t=>{this.tagList=t.data}).catch(t=>{})},removeTag:function(t){const e=new FormData;e.set("tag",t),e.set("object_enum",this.destination),e.set("object_id",this.locationId),Of.post("/object_data/delete_tag/",e).then(e=>{this.tagList=this.tagList.filter(e=>e.pk!==t)}).catch(t=>{})}},mounted(){this.getAssignedTags()}},Mf,[],!1,null,null,null);If.options.__file="src/js/components/modules/sub_modules/ListTagsModule.vue";var Lf=If.exports,Df=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"editTagModal","data-bs-backdrop":"static","data-bs-keyboard":"false",tabindex:"-1","aria-labelledby":"editTagModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Tag Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.tagNameModel,expression:"tagNameModel"}],staticClass:"form-control",domProps:{value:t.tagNameModel},on:{input:function(e){e.target.composing||(t.tagNameModel=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"colour-picker col-md-8"},t._l(t.colourList,(function(e){return n("div",{key:e,class:t.getClasses(e),style:"background-color: "+e+";",on:{click:function(n){return t.updateColour(e)}}})})),0)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[0!==t.tagId?n("button",{staticClass:"btn btn-danger delete-tag",attrs:{type:"button"},on:{click:t.deleteTag}},[t._v("Delete Tag")]):t._e(),t._v(" "),n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:!t.canSave},on:{click:t.saveTag}},[t._v("Save Tag")])])])])])};Df._withStripped=!0;const Nf=n(3);var $f=J({name:"EditTagModal",props:{existingTags:Array,tagColour:String,tagId:Number,tagName:String},data(){return{colourList:["#37cbd2","#8b8295","#6f84bb","#1fc4b5","#651794","#7ea52c","#6df79e","#53ef5f","#79c121","#91fbde","#e01059","#33ae24"],tagColourModel:this.tagColour,tagNameModel:this.tagName}},watch:{tagColour:function(){this.tagColourModel=this.tagColour},tagName:function(){this.tagNameModel=this.tagName}},computed:{canSave:function(){return 0===this.existingTags.filter(t=>t.fields.tag_name.toUpperCase()===this.tagNameModel.toUpperCase()&&t.pk!==this.tagId).length}},methods:{deleteTag:function(){Nf.post(`/tag/delete/${this.tagId}/`).then(t=>{this.$emit("delete_tag",{tag_id:this.tagId}),document.getElementById("editTagCloseModal").click()}).catch(t=>{})},getClasses:function(t){let e="single-colour";return t==this.tagColourModel&&(e+=" selected-colour"),e},newTag:function(t){Nf.post("/tag/new/",t).then(t=>{this.$emit("new_tag",t.data),document.getElementById("editTagCloseModal").click()}).catch(t=>{})},saveTag:function(){const t=new FormData;t.set("tag_id",this.tagId),t.set("tag_name",this.tagNameModel),t.set("tag_colour",this.tagColourModel),0===this.tagId?this.newTag(t):this.updateTag(t)},updateColour:function(t){this.tagColourModel=t},updateTag:function(t){Nf.post("/tag/save/",t).then(t=>{this.$emit("update_tags",{tag_id:this.tagId,tag_name:this.tagNameModel,tag_colour:this.tagColourModel}),document.getElementById("editTagCloseModal").click()}).catch(t=>{})}}},Df,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h5",{staticClass:"modal-title",attrs:{id:"editTagModalLabel"}},[this._v("Edit Tag")]),this._v(" "),e("button",{staticClass:"btn-close",attrs:{type:"button",id:"editTagCloseModal","data-bs-dismiss":"modal","aria-label":"Close"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Edit Tags")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please give the tag an appropriate name. Please do not\n pick an existing tag name.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Pick Colour")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please click on a preferred colour. This will be tags colour.\n ")])])}],!1,null,null,null);$f.options.__file="src/js/components/tags/EditTagModal.vue";var Af,Rf=$f.exports,Pf=(n(189),n(116)),qf=["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"],zf=function(t){return-1!==qf.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())},Ff=function(t,e,n){var r=e.$props.value?e.$props.value:"",i=e.$props.initialValue?e.$props.initialValue:"";n.setContent(r||(e.initialized?e.cache:i)),e.$watch("value",(function(t,r){n&&"string"==typeof t&&t!==r&&t!==n.getContent({format:e.$props.outputFormat})&&n.setContent(t)})),e.$listeners.input&&function(t,e){var n=t.$props.modelEvents?t.$props.modelEvents:null,r=Array.isArray(n)?n.join(" "):n;e.on(r||"change input undo redo",(function(){t.$emit("input",e.getContent({format:t.$props.outputFormat}))}))}(e,n),function(t,e,n){Object.keys(e).filter(zf).forEach((function(r){var i=e[r];"function"==typeof i&&("onInit"===r?i(t,n):n.on(r.substring(2),(function(t){return i(t,n)})))}))}(t,e.$listeners,n),e.initialized=!0},Uf=0,Bf=function(t){var e=Date.now();return t+"_"+Math.floor(1e9*Math.random())+ ++Uf+String(e)},Vf=function(t){return void 0===t||""===t?[]:Array.isArray(t)?t:t.split(" ")},Hf=function(){return{listeners:[],scriptId:Bf("tiny-script"),scriptLoaded:!1}},Wf=(Af=Hf(),{load:function(t,e,n){Af.scriptLoaded?n():(Af.listeners.push(n),t.getElementById(Af.scriptId)||function(t,e,n,r){var i=e.createElement("script");i.referrerPolicy="origin",i.type="application/javascript",i.id=t,i.src=n;var o=function(){i.removeEventListener("load",o),r()};i.addEventListener("load",o),e.head&&e.head.appendChild(i)}(Af.scriptId,t,e,(function(){Af.listeners.forEach((function(t){return t()})),Af.scriptLoaded=!0})))},reinitialize:function(){Af=Hf()}}),Gf=n(51),Yf={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],value:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(t){return"html"===t||"text"===t}}},Kf=function(){return(Kf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n({cardId:0,cardTitle:"",cardColumn:0,cardLevel:0,cardDescription:"",cardNotes:[],listColumns:[],listLevels:[]}),mutations:{appendNote(t,e){t.cardNotes.push(e.newNote)},updateCard(t,e){t.cardId=e.cardId,t.cardTitle=e.cardTitle,t.cardDescription=e.cardDescription;try{t.cardColumn=t.listColumns.filter(t=>e.cardColumn==t.value)[0],t.cardLevel=t.listLevels.filter(t=>e.cardLevel==t.value)[0]}catch{t.cardColumn=0,t.cardLevel=0}dh.post(`/object_data/kanban_card/${e.cardId}/note_list/`).then(e=>{t.cardNotes=e.data}).catch(t=>{})},updateField:u,updateLists(t,e){t.listColumns=e.columnResults.map(t=>({value:t.pk,column:t.fields.kanban_column_name})),t.listLevels=e.levelResults.map(t=>({value:t.pk,level:t.fields.kanban_level_name}))}},actions:{},getters:{getField:d,getAllCardData:t=>({cardId:t.cardId,cardTitle:t.cardTitle,cardDescription:t.cardDescription,cardLevel:t.cardLevel,cardColumn:t.cardColumn}),getCardId:t=>t.cardId,getCardNotes:t=>t.cardNotes}},ah={state:()=>({destination:"unknown",locationId:0}),mutations:{updateDestination(t,e){t.destination=e.destination,t.locationId=e.locationId}},actions:{},getters:{getDestination:t=>t.destination,getLocationId:t=>t.locationId}},sh={state:()=>({kanbanCardResults:[],columnResults:[],levelResults:[]}),mutations:{creationCard(t,e){},updateKanbanCard(t,e){const n=t.kanbanCardResults.findIndex(t=>t.pk==e.card_id),r=["type","card_id"];Object.keys(e).forEach(i=>{r.includes(i)||(t.kanbanCardResults[n].fields[i]=e[i])})},deletedCard(t,e){},initPayload(t,e){t.kanbanCardResults=e.kanbanCardResults,t.columnResults=e.columnResults,t.levelResults=e.levelResults}},actions:{},getters:{getCards:t=>t.kanbanCardResults,getColumns:t=>t.columnResults}},lh={state:()=>({rootUrl:"/",staticUrl:"/"}),mutations:{updateUrl(t,e){t.rootUrl=e.rootUrl,t.staticUrl=e.staticUrl}},actions:{},getters:{getRootUrl:t=>t.rootUrl,getStaticUrl:t=>t.staticUrl}},ch=new o.a.Store({modules:{card:oh,destination:ah,kanban:sh,url:lh}}),dh=n(3);dh.defaults.xsrfHeaderName="X-CSRFTOKEN",dh.defaults.xsrfCookieName="csrftoken",i.a.component("vSelect",Qf.a),i.a.component("Editor",Xf),i.a.component("draggable",eh.a),i.a.component("AddBugWizard",Lt),i.a.component("AddCustomerWizard",At),i.a.component("AddFolderWizard",zt),i.a.component("AddGroupWizard",Vt),i.a.component("AddLinkWizard",Yt),i.a.component("AddUserWizard",Jt),i.a.component("BugsModule",tt),i.a.component("CustomersModule",it),i.a.component("DocumentsModule",lt),i.a.component("GetStakeholders",ft),i.a.component("GroupPermissions",gt),i.a.component("GroupsAndUsersModule",wt),i.a.component("ParentModules",Ct),i.a.component("MiscModule",Et),i.a.component("NewCustomer",ne),i.a.component("NewOrganisation",se),i.a.component("NewRequirements",ue),i.a.component("NewHistoryNoteWizard",he),i.a.component("NewRequirementItemWizard",_e),i.a.component("NewRequirementLinkWizard",ke),i.a.component("RequirementInformation",Te),i.a.component("RequirementItemsModule",$e),i.a.component("RequirementItemLinksModule",Ie),i.a.component("RequirementLinksModule",qe),i.a.component("UploadDocumentWizard",Be),i.a.component("RequirementItemInformation",Ge),i.a.component("ListOrganisations",Ze),i.a.component("SearchOrganisations",tn),i.a.component("OrganisationInformation",ln),i.a.component("OrganisationModules",un),i.a.component("CustomersListModule",fn),i.a.component("AssociatedObjects",bn),i.a.component("NewCustomerForm",wn),i.a.component("NewCustomerModal",Mn),i.a.component("SearchCustomers",jn),i.a.component("ListCustomers",Ln),i.a.component("CustomerInformation",An),i.a.component("SearchObjects",zn),i.a.component("ListSearchResults",Bn),i.a.component("ProjectInformation",Yn),i.a.component("NewProject",Jn),i.a.component("TaskInformation",nr),i.a.component("NewTask",ar),i.a.component("BetweenDates",cr),i.a.component("StakeholderInformation",pr),i.a.component("NewKanban",vr),i.a.component("KanbanPropertyOrder",yr),i.a.component("KanbanInformation",kr),i.a.component("KanbanCard",Tr),i.a.component("KanbanBoard",Or),i.a.component("KanbanRow",Dr),i.a.component("DashboardBugList",bu),i.a.component("NewKanbanCard",xu),i.a.component("CardInformation",Su),i.a.component("ListNotes",qu),i.a.component("NewKanbanLinkWizard",Bu),i.a.component("DashboardMyObjects",Gu),i.a.component("RenderObjectTable",Zu),i.a.component("ObjectLinks",tp),i.a.component("NewLinkWizard",ip),i.a.component("NewRequestForChange",cp),i.a.component("RfcBackoutPlan",pp),i.a.component("RfcDetails",vp),i.a.component("RfcImplementationPlan",_p),i.a.component("RfcRisk",xp),i.a.component("RfcTestPlan",Mp),i.a.component("RfcDescription",Ep),i.a.component("RfcInformation",Lp),i.a.component("RfcModules",Ap),i.a.component("RfcNewRunItem",zp),i.a.component("RfcRunSheetList",Hp),i.a.component("DashboardRfcApprovals",Kp),i.a.component("RfcApprovalButtons",Qp),i.a.component("SearchGroups",rm),i.a.component("SearchPermissionSets",sm),i.a.component("SearchUsers",um),i.a.component("NewGroup",hm),i.a.component("GroupInformation",_m),i.a.component("UserList",xm),i.a.component("AdminAddUser",Sm),i.a.component("PermissionInformation",Om),i.a.component("SinglePermissionProperties",Dm),i.a.component("NewPermissionSet",Rm),i.a.component("NewUser",Fm),i.a.component("UserInformation",Hm),i.a.component("ResetUserPassword",Km),i.a.component("IconifyIcon",Pf.a),i.a.component("DashboardUnassignedObjects",Qm),i.a.component("DashboardUsersWithNoGroups",rf),i.a.component("KanbanEditBoard",lf),i.a.component("KanbanGroupPermissions",uf),i.a.component("ProfileInformation",hf),i.a.component("ChangeTaskInformation",yf),i.a.component("CardDetails",ju),i.a.component("CardDescription",Lu),i.a.component("CardNotes",Au),i.a.component("NotesModule",Cf),i.a.component("ListTagsModule",Lf),i.a.component("AddTagWizard",jf),i.a.component("SearchTags",rn),i.a.component("EditTagModal",Rf),i.a.use(rh.a),i.a.use(ih.Datetime),i.a.component("datetime",ih.Datetime),window.vm=new i.a({el:"#app",components:{Vuelidate:rh.a},data:()=>({}),store:ch,methods:{},mounted(){var t=document.getElementById("loader");t.style.transform="translateY(-100vh)",setTimeout(()=>{t.remove()},500)}})}]); \ No newline at end of file +function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){return(o=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function l(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function y(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function w(t,e,n,r){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&_(t,e):_(t,e))||r&&t===n)return t;if(t===n)break}while(t=y(t))}return null}var x,k=/\s+/g;function C(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(k," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(k," ")}}function M(t,e,n){var r=t&&t.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in r||-1!==e.indexOf("webkit")||(e="-webkit-"+e),r[e]=n+("string"==typeof n?"":"px")}}function S(t,e){var n="";if("string"==typeof t)n=t;else do{var r=M(t,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function T(t,e,n){if(t){var r=t.getElementsByTagName(e),i=0,o=r.length;if(n)for(;i=o:i<=o))return r;if(r===E())break;r=$(r,!1)}return!1}function I(t,e,n){for(var r=0,i=0,o=t.children;i2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=s(n,["evt"]);W.pluginEvent.bind(zt)(t,e,a({dragEl:Z,parentEl:X,ghostEl:J,rootEl:Q,nextEl:tt,lastDownEl:et,cloneEl:nt,cloneHidden:rt,dragStarted:vt,putSortable:ct,activeSortable:zt.active,originalEvent:r,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st,hideGhostForTarget:At,unhideGhostForTarget:Rt,cloneNowHidden:function(){rt=!0},cloneNowShown:function(){rt=!1},dispatchSortableEvent:function(t){K({sortable:e,name:t,originalEvent:r})}},i))};function K(t){G(a({putSortable:ct,cloneEl:nt,targetEl:Z,rootEl:Q,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st},t))}var Z,X,J,Q,tt,et,nt,rt,it,ot,at,st,lt,ct,dt,ut,pt,mt,ft,ht,vt,gt,bt,_t,yt,wt=!1,xt=!1,kt=[],Ct=!1,Mt=!1,St=[],Tt=!1,Et=[],jt="undefined"!=typeof document,Ot=f,It=u||d?"cssFloat":"float",Lt=jt&&!h&&!f&&"draggable"in document.createElement("div"),Dt=function(){if(jt){if(d)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Nt=function(t,e){var n=M(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=I(t,0,e),o=I(t,1,e),a=i&&M(i),s=o&&M(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+j(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+j(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var d="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==d?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[It]||o&&"none"===n[It]&&l+c>r)?"vertical":"horizontal"},$t=function(t){function e(t,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},i=t.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},At=function(){!Dt&&J&&M(J,"display","none")},Rt=function(){!Dt&&J&&M(J,"display","")};jt&&document.addEventListener("click",(function(t){if(xt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),xt=!1,!1}),!0);var Pt=function(t){if(Z){t=t.touches?t.touches[0]:t;var e=(i=t.clientX,o=t.clientY,kt.some((function(t){if(!L(t)){var e=j(t),n=t[U].options.emptyInsertThreshold,r=i>=e.left-n&&i<=e.right+n,s=o>=e.top-n&&o<=e.bottom+n;return n&&r&&s?a=t:void 0}})),a);if(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[U]._onDragOver(n)}}var i,o,a},qt=function(t){Z&&Z.parentNode[U]._isOutsideThisEl(t.target)};function zt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[U]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Nt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==zt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in W.initializePlugins(this,t,n),n)!(r in e)&&(e[r]=n[r]);for(var i in $t(e),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&Lt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?g(t,"pointerdown",this._onTapStart):(g(t,"mousedown",this._onTapStart),g(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(g(t,"dragover",this),g(t,"dragenter",this)),kt.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,B())}function Ft(t,e,n,r,i,o,a,s){var l,c,p=t[U],m=p.options.onMove;return!window.CustomEvent||d||u?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=r,l.related=i||e,l.relatedRect=o||j(e),l.willInsertAfter=s,l.originalEvent=a,t.dispatchEvent(l),m&&(c=m.call(p,l,a)),c}function Ut(t){t.draggable=!1}function Bt(){Tt=!1}function Vt(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function Ht(t){return setTimeout(t,0)}function Wt(t){return clearTimeout(t)}zt.prototype={constructor:zt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(gt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,Z):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,r=this.options,i=r.preventOnFilter,o=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=r.filter;if(function(t){Et.length=0;var e=t.getElementsByTagName("input"),n=e.length;for(;n--;){var r=e[n];r.checked&&Et.push(r)}}(n),!Z&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||r.disabled||l.isContentEditable||(s=w(s,r.draggable,n,!1))&&s.animated||et===s)){if(it=D(s),at=D(s,r.draggable),"function"==typeof c){if(c.call(this,t,s,this))return K({sortable:e,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Y("filter",e,{evt:t}),void(i&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=w(l,r.trim(),n,!1))return K({sortable:e,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Y("filter",e,{evt:t}),!0}))))return void(i&&t.cancelable&&t.preventDefault());r.handle&&!w(l,r.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!Z&&n.parentNode===o){var l=j(n);if(Q=o,X=(Z=n).parentNode,tt=Z.nextSibling,et=n,lt=a.group,zt.dragged=Z,dt={target:Z,clientX:(e||t).clientX,clientY:(e||t).clientY},ft=dt.clientX-l.left,ht=dt.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,Z.style["will-change"]="all",r=function(){Y("delayEnded",i,{evt:t}),zt.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!p&&i.nativeDraggable&&(Z.draggable=!0),i._triggerDragStart(t,e),K({sortable:i,name:"choose",originalEvent:t}),C(Z,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){T(Z,t.trim(),Ut)})),g(s,"dragover",Pt),g(s,"mousemove",Pt),g(s,"touchmove",Pt),g(s,"mouseup",i._onDrop),g(s,"touchend",i._onDrop),g(s,"touchcancel",i._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Z.draggable=!0),Y("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(u||d))r();else{if(zt.eventCanceled)return void this._onDrop();g(s,"mouseup",i._disableDelayedDrag),g(s,"touchend",i._disableDelayedDrag),g(s,"touchcancel",i._disableDelayedDrag),g(s,"mousemove",i._delayedDragTouchMoveHandler),g(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&g(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Z&&Ut(Z),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._disableDelayedDrag),b(t,"touchend",this._disableDelayedDrag),b(t,"touchcancel",this._disableDelayedDrag),b(t,"mousemove",this._delayedDragTouchMoveHandler),b(t,"touchmove",this._delayedDragTouchMoveHandler),b(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?g(document,"pointermove",this._onTouchMove):g(document,e?"touchmove":"mousemove",this._onTouchMove):(g(Z,"dragend",this),g(Q,"dragstart",this._onDragStart));try{document.selection?Ht((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(wt=!1,Q&&Z){Y("dragStarted",this,{evt:e}),this.nativeDraggable&&g(document,"dragover",qt);var n=this.options;!t&&C(Z,n.dragClass,!1),C(Z,n.ghostClass,!0),zt.active=this,t&&this._appendGhost(),K({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(ut){this._lastX=ut.clientX,this._lastY=ut.clientY,At();for(var t=document.elementFromPoint(ut.clientX,ut.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(ut.clientX,ut.clientY))!==e;)e=t;if(Z.parentNode[U]._isOutsideThisEl(t),e)do{if(e[U]){if(e[U]._onDragOver({clientX:ut.clientX,clientY:ut.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Rt()}},_onTouchMove:function(t){if(dt){var e=this.options,n=e.fallbackTolerance,r=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=J&&S(J,!0),a=J&&o&&o.a,s=J&&o&&o.d,l=Ot&&yt&&N(yt),c=(i.clientX-dt.clientX+r.x)/(a||1)+(l?l[0]-St[0]:0)/(a||1),d=(i.clientY-dt.clientY+r.y)/(s||1)+(l?l[1]-St[1]:0)/(s||1);if(!zt.active&&!wt){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))r.right+10||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+10}(t,i,this)&&!v.animated){if(v===Z)return q(!1);if(v&&o===t.target&&(s=v),s&&(n=j(s)),!1!==Ft(Q,o,Z,e,s,n,t,!!s))return R(),o.appendChild(Z),X=o,z(),q(!0)}else if(s.parentNode===o){n=j(s);var g,b,_,y=Z.parentNode!==o,x=!function(t,e,n){var r=n?t.left:t.top,i=n?t.right:t.bottom,o=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,l=n?e.width:e.height;return r===a||i===s||r+o/2===a+l/2}(Z.animated&&Z.toRect||e,s.animated&&s.toRect||n,i),k=i?"top":"left",S=O(s,"top","top")||O(Z,"top","top"),T=S?S.scrollTop:void 0;if(gt!==s&&(b=n[k],Ct=!1,Mt=!x&&l.invertSwap||y),0!==(g=function(t,e,n,r,i,o,a,s){var l=r?t.clientY:t.clientX,c=r?n.height:n.width,d=r?n.top:n.left,u=r?n.bottom:n.right,p=!1;if(!a)if(s&&_td+c*o/2:lu-_t)return-bt}else if(l>d+c*(1-i)/2&&lu-c*o/2))return l>d+c/2?1:-1;return 0}(t,s,n,i,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Mt,gt===s))){var E=D(Z);do{E-=g,_=X.children[E]}while(_&&("none"===M(_,"display")||_===J))}if(0===g||_===s)return q(!1);gt=s,bt=g;var I=s.nextElementSibling,N=!1,$=Ft(Q,o,Z,e,s,n,t,N=1===g);if(!1!==$)return 1!==$&&-1!==$||(N=1===$),Tt=!0,setTimeout(Bt,30),R(),N&&!I?o.appendChild(Z):s.parentNode.insertBefore(Z,N?I:s),S&&P(S,0,T-S.scrollTop),X=Z.parentNode,void 0===b||Mt||(_t=Math.abs(b-j(s)[k])),z(),q(!0)}if(o.contains(Z))return q(!1)}return!1}function A(l,c){Y(l,f,a({evt:t,isOwner:u,axis:i?"vertical":"horizontal",revert:r,dragRect:e,targetRect:n,canSort:p,fromSortable:m,target:s,completed:q,onMove:function(n,r){return Ft(Q,o,Z,e,n,j(n),t,r)},changed:z},c))}function R(){A("dragOverAnimationCapture"),f.captureAnimationState(),f!==m&&m.captureAnimationState()}function q(e){return A("dragOverCompleted",{insertion:e}),e&&(u?d._hideClone():d._showClone(f),f!==m&&(C(Z,ct?ct.options.ghostClass:d.options.ghostClass,!1),C(Z,l.ghostClass,!0)),ct!==f&&f!==zt.active?ct=f:f===zt.active&&ct&&(ct=null),m===f&&(f._ignoreWhileAnimating=s),f.animateAll((function(){A("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(s===Z&&!Z.animated||s===o&&!s.animated)&&(gt=null),l.dragoverBubble||t.rootEl||s===document||(Z.parentNode[U]._isOutsideThisEl(t.target),!e&&Pt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),h=!0}function z(){ot=D(Z),st=D(Z,l.draggable),K({sortable:f,name:"change",toEl:o,newIndex:ot,newDraggableIndex:st,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",Pt),b(document,"mousemove",Pt),b(document,"touchmove",Pt)},_offUpEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._onDrop),b(t,"touchend",this._onDrop),b(t,"pointerup",this._onDrop),b(t,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;ot=D(Z),st=D(Z,n.draggable),Y("drop",this,{evt:t}),X=Z&&Z.parentNode,ot=D(Z),st=D(Z,n.draggable),zt.eventCanceled||(wt=!1,Mt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Wt(this.cloneId),Wt(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),m&&M(document.body,"user-select",""),M(Z,"transform",""),t&&(vt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(Q===X||ct&&"clone"!==ct.lastPutMode)&&nt&&nt.parentNode&&nt.parentNode.removeChild(nt),Z&&(this.nativeDraggable&&b(Z,"dragend",this),Ut(Z),Z.style["will-change"]="",vt&&!wt&&C(Z,ct?ct.options.ghostClass:this.options.ghostClass,!1),C(Z,this.options.chosenClass,!1),K({sortable:this,name:"unchoose",toEl:X,newIndex:null,newDraggableIndex:null,originalEvent:t}),Q!==X?(ot>=0&&(K({rootEl:X,name:"add",toEl:X,fromEl:Q,originalEvent:t}),K({sortable:this,name:"remove",toEl:X,originalEvent:t}),K({rootEl:X,name:"sort",toEl:X,fromEl:Q,originalEvent:t}),K({sortable:this,name:"sort",toEl:X,originalEvent:t})),ct&&ct.save()):ot!==it&&ot>=0&&(K({sortable:this,name:"update",toEl:X,originalEvent:t}),K({sortable:this,name:"sort",toEl:X,originalEvent:t})),zt.active&&(null!=ot&&-1!==ot||(ot=it,st=at),K({sortable:this,name:"end",toEl:X,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Y("nulling",this),Q=Z=X=J=tt=nt=et=rt=dt=ut=vt=ot=st=it=at=gt=bt=ct=lt=zt.dragged=zt.ghost=zt.clone=zt.active=null,Et.forEach((function(t){t.checked=!0})),Et.length=pt=mt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Z&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,r=0,i=n.length,o=this.options;r1&&(fe.forEach((function(t){r.addAnimationState({target:t,rect:ge?j(t):i}),F(t),t.fromRect=i,e.removeAnimationState(t)})),ge=!1,function(t,e){fe.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,r=t.insertion,i=t.activeSortable,o=t.parentEl,a=t.putSortable,s=this.options;if(r){if(n&&i._hideClone(),ve=!1,s.animation&&fe.length>1&&(ge||!n&&!i.options.sort&&!a)){var l=j(ue,!1,!0,!0);fe.forEach((function(t){t!==ue&&(z(t,l),o.appendChild(t))})),ge=!0}if(!n)if(ge||we(),fe.length>1){var c=me;i._showClone(e),i.options.animation&&!me&&c&&he.forEach((function(t){i.addAnimationState({target:t,rect:pe}),t.fromRect=pe,t.thisAnimationDuration=null}))}else i._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,r=t.activeSortable;if(fe.forEach((function(t){t.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){pe=o({},e);var i=S(ue,!0);pe.top-=i.f,pe.left-=i.e}},dragOverAnimationComplete:function(){ge&&(ge=!1,we())},drop:function(t){var e=t.originalEvent,n=t.rootEl,r=t.parentEl,i=t.sortable,o=t.dispatchSortableEvent,a=t.oldIndex,s=t.putSortable,l=s||this.sortable;if(e){var c=this.options,d=r.children;if(!be)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),C(ue,c.selectedClass,!~fe.indexOf(ue)),~fe.indexOf(ue))fe.splice(fe.indexOf(ue),1),ce=null,G({sortable:i,rootEl:n,name:"deselect",targetEl:ue,originalEvt:e});else{if(fe.push(ue),G({sortable:i,rootEl:n,name:"select",targetEl:ue,originalEvt:e}),e.shiftKey&&ce&&i.el.contains(ce)){var u,p,m=D(ce),f=D(ue);if(~m&&~f&&m!==f)for(f>m?(p=m,u=f):(p=f,u=m+1);p1){var h=j(ue),v=D(ue,":not(."+this.options.selectedClass+")");if(!ve&&c.animation&&(ue.thisAnimationDuration=null),l.captureAnimationState(),!ve&&(c.animation&&(ue.fromRect=h,fe.forEach((function(t){if(t.thisAnimationDuration=null,t!==ue){var e=ge?j(t):h;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),we(),fe.forEach((function(t){d[v]?r.insertBefore(t,d[v]):r.appendChild(t),v++})),a===D(ue))){var g=!1;fe.forEach((function(t){t.sortableIndex===D(t)||(g=!0)})),g&&o("update")}fe.forEach((function(t){F(t)})),l.animateAll()}de=l}(n===r||s&&"clone"!==s.lastPutMode)&&he.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=be=!1,he.length=0},destroyGlobal:function(){this._deselectMultiDrag(),b(document,"pointerup",this._deselectMultiDrag),b(document,"mouseup",this._deselectMultiDrag),b(document,"touchend",this._deselectMultiDrag),b(document,"keydown",this._checkKeyDown),b(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==be&&be||de!==this.sortable||t&&w(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;fe.length;){var e=fe[0];C(e,this.options.selectedClass,!1),fe.shift(),G({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[U];e&&e.options.multiDrag&&!~fe.indexOf(t)&&(de&&de!==e&&(de.multiDrag._deselectMultiDrag(),de=e),C(t,e.options.selectedClass,!0),fe.push(t))},deselect:function(t){var e=t.parentNode[U],n=fe.indexOf(t);e&&e.options.multiDrag&&~n&&(C(t,e.options.selectedClass,!1),fe.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return fe.forEach((function(r){var i;e.push({multiDragElement:r,index:r.sortableIndex}),i=ge&&r!==ue?-1:ge?D(r,":not(."+t.options.selectedClass+")"):D(r),n.push({multiDragElement:r,index:i})})),{items:l(fe),clones:[].concat(he),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function ye(t,e){he.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}function we(){fe.forEach((function(t){t!==ue&&t.parentNode&&t.parentNode.removeChild(t)}))}zt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):this.options.supportPointer?g(document,"pointermove",this._handleFallbackAutoScroll):e.touches?g(document,"touchmove",this._handleFallbackAutoScroll):g(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),ne(),ee(),clearTimeout(x),x=void 0},nulling:function(){Xt=Yt=Gt=te=Jt=Kt=Zt=null,Qt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,r=(t.touches?t.touches[0]:t).clientX,i=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(r,i);if(Xt=t,e||u||d||m){ie(t,this.options,o,e);var a=$(o,!0);!te||Jt&&r===Kt&&i===Zt||(Jt&&ne(),Jt=setInterval((function(){var o=$(document.elementFromPoint(r,i),!0);o!==a&&(a=o,ee()),ie(t,n.options,o,e)}),10),Kt=r,Zt=i)}else{if(!this.options.bubbleScroll||$(o,!0)===E())return void ee();ie(t,this.options,$(o,!1),!1)}}},o(t,{pluginName:"scroll",initializeByDefault:!0})}),zt.mount(se,ae),e.default=zt},function(t,e){},function(t,e,n){var r=n(47),i=n(194);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);t.exports=i.locals||{}},function(t,e,n){(e=n(48)(!1)).push([t.i,'.vue-form-wizard .wizard-btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857;border-radius:4px}.vue-form-wizard .wizard-btn.disabled,.vue-form-wizard .wizard-btn[disabled],fieldset[disabled] .vue-form-wizard .wizard-btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.vue-form-wizard *{-webkit-box-sizing:border-box;box-sizing:border-box}.vue-form-wizard a{text-decoration:none}.vue-form-wizard .wizard-nav{margin-bottom:0;padding-left:0;list-style:none}.vue-form-wizard .wizard-nav>li{position:relative;display:block}.vue-form-wizard .wizard-nav>li>a{position:relative;display:block;padding:10px 15px}.vue-form-wizard .wizard-nav>li>a:focus,.vue-form-wizard .wizard-nav>li>a:hover{text-decoration:none;background-color:#eee}.vue-form-wizard .wizard-nav>li.disabled>a{color:#777}.vue-form-wizard .wizard-nav>li.disabled>a:focus,.vue-form-wizard .wizard-nav>li.disabled>a:hover{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.vue-form-wizard .wizard-progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.vue-form-wizard .navbar .navbar-nav>li>a.wizard-btn,.vue-form-wizard .wizard-btn{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:2px;background-color:transparent;font-size:14px;font-weight:600;padding:6px 12px;min-width:140px}.vue-form-wizard .navbar .navbar-nav>li>a.wizard-btn:focus,.vue-form-wizard .navbar .navbar-nav>li>a.wizard-btn:hover,.vue-form-wizard .wizard-btn:focus,.vue-form-wizard .wizard-btn:hover{outline:0!important}.vue-form-wizard .wizard-nav-pills{margin-top:0;position:relative;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.vue-form-wizard .wizard-nav-pills a,.vue-form-wizard .wizard-nav-pills li{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-positive:1;flex-grow:1}.vue-form-wizard .wizard-nav-pills>li>a,.vue-form-wizard .wizard-nav-pills a{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-form-wizard .wizard-nav-pills>li>a{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0;margin:0 auto;color:rgba(0,0,0,.2);position:relative;top:3px}.vue-form-wizard .wizard-nav-pills>li>a:focus,.vue-form-wizard .wizard-nav-pills>li>a:hover{background-color:transparent;color:rgba(0,0,0,.2);outline:0!important}.vue-form-wizard .wizard-nav-pills>li>a.disabled{pointer-events:none;cursor:default}.vue-form-wizard .wizard-nav-pills>li.active>a,.vue-form-wizard .wizard-nav-pills>li.active>a:focus,.vue-form-wizard .wizard-nav-pills>li.active>a:hover{background-color:transparent;-webkit-transition:font-size .2s linear;transition:font-size .2s linear}.vue-form-wizard .wizard-nav-pills>li.active>a .wizard-icon,.vue-form-wizard .wizard-nav-pills>li.active>a:focus .wizard-icon,.vue-form-wizard .wizard-nav-pills>li.active>a:hover .wizard-icon{color:#fff;font-size:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .2s linear;transition:all .2s linear}.vue-form-wizard{padding-bottom:20px}.vue-form-wizard .is_error{border-color:#c84513!important}.vue-form-wizard .is_error .icon-container{background:#c84513!important}.vue-form-wizard.xs .wizard-icon-circle{width:40px;height:40px;font-size:16px}.vue-form-wizard.xs .wizard-icon-circle.tab_shape{height:25px}.vue-form-wizard.xs .wizard-nav-pills>li.active>a .wizard-icon{font-size:16px}.vue-form-wizard.xs .wizard-navigation .wizard-progress-with-circle{position:relative;top:25px;height:4px}.vue-form-wizard.sm .wizard-icon-circle{width:50px;height:50px;font-size:20px}.vue-form-wizard.sm .wizard-icon-circle.tab_shape{height:30px}.vue-form-wizard.sm .wizard-nav-pills>li.active>a .wizard-icon{font-size:20px}.vue-form-wizard.sm .wizard-navigation .wizard-progress-with-circle{position:relative;top:30px;height:4px}.vue-form-wizard.md .wizard-icon-circle{width:70px;height:70px;font-size:24px}.vue-form-wizard.md .wizard-icon-circle.tab_shape{height:40px}.vue-form-wizard.md .wizard-nav-pills>li.active>a .wizard-icon{font-size:24px}.vue-form-wizard.md .wizard-navigation .wizard-progress-with-circle{position:relative;top:40px;height:4px}.vue-form-wizard.lg .wizard-icon-circle{width:90px;height:90px;font-size:28px}.vue-form-wizard.lg .wizard-icon-circle.tab_shape{height:50px}.vue-form-wizard.lg .wizard-nav-pills>li.active>a .wizard-icon{font-size:28px}.vue-form-wizard.lg .wizard-navigation .wizard-progress-with-circle{position:relative;top:50px;height:4px}.vue-form-wizard .wizard-icon-circle{font-size:18px;border:3px solid #f3f2ee;border-radius:50%;font-weight:600;width:70px;height:70px;background-color:#fff;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center}.vue-form-wizard .wizard-icon-circle.square_shape{border-radius:0}.vue-form-wizard .wizard-icon-circle.tab_shape{width:100%;min-width:100px;height:40px;border:none;background-color:#f3f2ee;border-radius:0}.vue-form-wizard .wizard-icon-circle .wizard-icon-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1;border-radius:40%}.vue-form-wizard .wizard-icon-circle .wizard-icon-container.square_shape,.vue-form-wizard .wizard-icon-circle .wizard-icon-container.tab_shape{border-radius:0}.vue-form-wizard .wizard-icon-circle .wizard-icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vue-form-wizard .wizard-tab-content{min-height:100px;padding:30px 20px 10px}.vue-form-wizard .wizard-header{padding:15px;position:relative;border-radius:3px 3px 0 0;text-align:center}.vue-form-wizard .wizard-title{color:#252422;font-weight:300;margin:0;text-align:center}.vue-form-wizard .category{font-size:14px;font-weight:400;color:#9a9a9a;margin-bottom:0;text-align:center}.vue-form-wizard .wizard-navigation .wizard-progress-with-circle{position:relative;top:40px;height:4px}.vue-form-wizard .wizard-navigation .wizard-progress-with-circle .wizard-progress-bar{-webkit-box-shadow:none;box-shadow:none;-webkit-transition:width .3s ease;transition:width .3s ease}.vue-form-wizard .clearfix:after{content:"";clear:both;display:table}.vue-form-wizard .wizard-card-footer{padding:0 20px}.vue-form-wizard .wizard-card-footer .wizard-footer-left{float:left}.vue-form-wizard .wizard-card-footer .wizard-footer-right{float:right}@media screen and (max-width:350px){.vue-form-wizard .wizard-card-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vue-form-wizard .wizard-card-footer .wizard-footer-left,.vue-form-wizard .wizard-card-footer .wizard-footer-right{float:none;-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vue-form-wizard .wizard-card-footer .wizard-footer-right button{margin-top:10px}}.vue-form-wizard.vertical .wizard-card-footer{display:block}.vue-form-wizard.vertical .wizard-nav-pills{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vue-form-wizard.vertical .wizard-navigation{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.vue-form-wizard.vertical .wizard-card-footer{padding-top:30px}',""]),t.exports=e},function(t,e,n){"use strict";function r(t){return null==t}function i(t){return null!=t}function o(t,e){return e.tag===t.tag&&e.key===t.key}function a(t){var e=t.tag;t.vm=new e({data:t.args})}function s(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}function l(t,e,n){for(;e<=n;++e)a(t[e])}function c(t,e,n){for(;e<=n;++e){var r=t[e];i(r)&&(r.vm.$destroy(),r.vm=null)}}function d(t,e){t!==e&&(e.vm=t.vm,function(t){for(var e=Object.keys(t.args),n=0;nh?l(e,f,b):f>b&&c(t,m,h)}(t,e):i(e)?l(e,0,e.length-1):i(t)&&c(t,0,t.length-1)},e.h=function(t,e,n){return{tag:t,key:e,args:n}}},function(t,e,n){var r=n(47),i=n(197);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);t.exports=i.locals||{}},function(t,e,n){(e=n(48)(!1)).push([t.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-fade-enter-active,\n.vdatetime-fade-leave-active {\n transition: opacity .4s;\n}\n\n.vdatetime-fade-enter,\n.vdatetime-fade-leave-to {\n opacity: 0;\n}\n\n.vdatetime-overlay {\n z-index: 999;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: rgba(0, 0, 0, .5);\n transition: opacity .5s;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-popup {\n box-sizing: border-box;\n z-index: 1000;\n position: fixed;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n width: 340px;\n max-width: calc(100% - 30px);\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .3);\n color: #444;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;\n line-height: 1.18;\n background: #fff;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0)\n}\n\n.vdatetime-popup * {\n box-sizing: border-box\n}\n\n.vdatetime-popup__header {\n padding: 18px 30px;\n background: #3f51b5;\n color: #fff;\n font-size: 32px;\n}\n\n.vdatetime-popup__title {\n margin-bottom: 8px;\n font-size: 21px;\n font-weight: 300;\n}\n\n.vdatetime-popup__year {\n font-weight: 300;\n font-size: 14px;\n opacity: 0.7;\n cursor: pointer;\n transition: opacity .3s\n}\n\n.vdatetime-popup__year:hover {\n opacity: 1\n}\n\n.vdatetime-popup__date {\n line-height: 1;\n cursor: pointer;\n}\n\n.vdatetime-popup__actions {\n padding: 0 20px 10px 30px;\n text-align: right;\n}\n\n.vdatetime-popup__actions__button {\n display: inline-block;\n border: none;\n padding: 10px 20px;\n background: transparent;\n font-size: 16px;\n color: #3f51b5;\n cursor: pointer;\n transition: color .3s\n}\n\n.vdatetime-popup__actions__button:hover {\n color: #444\n}\n.vdatetime-calendar__navigation--previous:hover svg path, .vdatetime-calendar__navigation--next:hover svg path {\n stroke: #888;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-calendar__navigation,\n.vdatetime-calendar__navigation * {\n box-sizing: border-box;\n}\n\n.vdatetime-calendar__navigation {\n position: relative;\n margin: 15px 0;\n padding: 0 30px;\n width: 100%;\n}\n\n.vdatetime-calendar__navigation--previous,\n.vdatetime-calendar__navigation--next {\n position: absolute;\n top: 0;\n padding: 0 5px;\n width: 18px;\n cursor: pointer\n}\n\n.vdatetime-calendar__navigation--previous svg, .vdatetime-calendar__navigation--next svg {\n width: 8px;\n height: 13px;\n}\n\n.vdatetime-calendar__navigation--previous svg path, .vdatetime-calendar__navigation--next svg path {\n transition: stroke .3s;\n}\n\n.vdatetime-calendar__navigation--previous {\n left: 25px;\n}\n\n.vdatetime-calendar__navigation--next {\n right: 25px;\n -webkit-transform: scaleX(-1);\n transform: scaleX(-1);\n}\n\n.vdatetime-calendar__current--month {\n text-align: center;\n text-transform: capitalize;\n}\n\n.vdatetime-calendar__month {\n padding: 0 20px;\n transition: height .2s;\n}\n\n.vdatetime-calendar__month__weekday,\n.vdatetime-calendar__month__day {\n display: inline-block;\n width: 14.28571%;\n line-height: 36px;\n text-align: center;\n font-size: 15px;\n font-weight: 300;\n cursor: pointer\n}\n\n.vdatetime-calendar__month__weekday > span, .vdatetime-calendar__month__day > span {\n display: block;\n width: 100%;\n position: relative;\n height: 0;\n padding: 0 0 100%;\n overflow: hidden;\n}\n\n.vdatetime-calendar__month__weekday > span > span, .vdatetime-calendar__month__day > span > span {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border: 0;\n border-radius: 50%;\n transition: background-color .3s, color .3s;\n}\n\n.vdatetime-calendar__month__weekday {\n font-weight: bold;\n}\n\n.vdatetime-calendar__month__day:hover > span > span {\n background: #eee;\n}\n\n.vdatetime-calendar__month__day--selected {\n}\n\n.vdatetime-calendar__month__day--selected > span > span,\n .vdatetime-calendar__month__day--selected:hover > span > span {\n color: #fff;\n background: #3f51b5;\n}\n\n.vdatetime-calendar__month__day--disabled {\n opacity: 0.4;\n cursor: default\n}\n\n.vdatetime-calendar__month__day--disabled:hover > span > span {\n color: inherit;\n background: transparent;\n}\n.vdatetime-time-picker__list::-webkit-scrollbar-thumb {\n background: #ccc\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-time-picker__list::-webkit-scrollbar-track {\n background: #efefef\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-time-picker * {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-time-picker {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-time-picker::after {\n content: \'\';\n display: table;\n clear: both\n}\n\n.vdatetime-time-picker__list {\n float: left;\n width: 50%;\n height: 305px;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch\n}\n\n.vdatetime-time-picker__list::-webkit-scrollbar {\n width: 3px\n}\n\n.vdatetime-time-picker__with-suffix .vdatetime-time-picker__list {\n width: 33.3%;\n}\n\n.vdatetime-time-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n transition: font-size .3s;\n}\n\n.vdatetime-time-picker__item:hover {\n font-size: 32px;\n}\n\n.vdatetime-time-picker__item--selected {\n color: #3f51b5;\n font-size: 32px;\n}\n\n.vdatetime-time-picker__item--disabled {\n opacity: 0.4;\n cursor: default;\n font-size: 20px !important;\n}\n.vdatetime-year-picker__list::-webkit-scrollbar-thumb {\n background: #ccc\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-year-picker__list::-webkit-scrollbar-track {\n background: #efefef\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-year-picker * {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-year-picker {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-year-picker::after {\n content: \'\';\n display: table;\n clear: both\n}\n\n.vdatetime-year-picker__list {\n float: left;\n width: 100%;\n height: 305px;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch\n}\n\n.vdatetime-year-picker__list::-webkit-scrollbar {\n width: 3px\n}\n\n.vdatetime-year-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n transition: font-size .3s;\n}\n\n.vdatetime-year-picker__item:hover {\n font-size: 32px;\n}\n\n.vdatetime-year-picker__item--selected {\n color: #3f51b5;\n font-size: 32px;\n}\n\n.vdatetime-year-picker__item--disabled {\n opacity: 0.4;\n cursor: default\n}\n\n.vdatetime-year-picker__item--disabled:hover {\n color: inherit;\n background: transparent\n}\n.vdatetime-month-picker__list::-webkit-scrollbar-thumb {\n background: #ccc\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-month-picker__list::-webkit-scrollbar-track {\n background: #efefef\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-month-picker * {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-month-picker {\n box-sizing: border-box\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.vdatetime-month-picker::after {\n content: \'\';\n display: table;\n clear: both\n}\n\n.vdatetime-month-picker__list {\n float: left;\n width: 100%;\n height: 305px;\n overflow-y: scroll;\n -webkit-overflow-scrolling: touch\n}\n\n.vdatetime-month-picker__list::-webkit-scrollbar {\n width: 3px\n}\n\n.vdatetime-month-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n transition: font-size .3s;\n}\n\n.vdatetime-month-picker__item:hover {\n font-size: 32px;\n}\n\n.vdatetime-month-picker__item--selected {\n color: #3f51b5;\n font-size: 32px;\n}\n\n.vdatetime-month-picker__item--disabled {\n opacity: 0.4;\n cursor: default\n}\n\n.vdatetime-month-picker__item--disabled:hover {\n color: inherit;\n background: transparent\n}\n',""]),t.exports=e},,,,,,,function(t,e,n){"use strict";n.r(e);var r=n(2),i=n.n(r),o=n(46);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce((function(t,e){var n=e.split(".").slice(-1)[0];if(t[n])throw new Error("The key `".concat(n,"` is already in use."));return t[n]=e,t}),{})}function c(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r',width:24,height:24},g=n(106),b=n.n(g),_={body:'',width:24,height:24},y=n(107),w=n.n(y),x=n(108),k=n.n(x),C={body:'',width:32,height:32},M={body:'',width:24,height:24},S={body:'',width:24,height:24},T=n(109),E=n.n(T),j={body:'',width:24,height:24},O={body:'',width:16,height:16},I=n(110),L=n.n(I),D=n(111),N=n.n(D),$={body:'',width:24,height:24},A={body:'',width:24,height:24},R={body:'',width:24,height:24},P={body:'',width:24,height:24},q={body:'',width:24,height:24},z=n(112),F=n.n(z),U=n(113),B=n.n(U),V={body:'',width:32,height:32},H=n(114),W=n.n(H),G=n(115),Y=n.n(G),K={body:'',width:24,height:24},Z={data:()=>({icons:{arrowUp:v,bugIcon:b.a,bxBriefcase:_,cardChecklist:w.a,clipboardIcon:k.a,documentPdf:C,documentText:M,folderIcon:S,groupPresentation:E.a,imageIcon:j,infoCircle:O,linkIcon:L.a,linkIcon2:N.a,linkOut:$,mailIcon:A,microsoftExcel:R,microsoftPowerpoint:P,microsoftWord:q,noteAdd:F.a,objectStorage:B.a,passwordIcon:V,userIcon:W.a,usersIcon:Y.a,xCircle:K}})};const X=n(3);function J(t,e,n,r,i,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(t,e){return l.call(e),d(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}var Q=J({name:"BugsModule",props:["destination","locationId"],mixins:[h,Z],data:()=>({bugList:[]}),methods:{addNewBug:function(){new f.a(document.getElementById("addBugModal")).show()},appendBugList:function(t){this.bugList.push(t[0].fields)},getBugHyperLink:function(t){return"Bugzilla"==t.bug_client__list_of_bug_client__bug_client_name?`${t.bug_client__bug_client_url}/show_bug.cgi?id=${t.bug_code}`:"javascript:void(0)"},getBugList:function(){"requirement_item"!==this.destination&&X.post(`/object_data/${this.destination}/${this.locationId}/bug_list/`).then(t=>{this.bugList=[],t.data.forEach(t=>{this.bugList.push(t)})}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){this.getBugList()}},m,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Bug Description")]),this._v(" "),e("td",[this._v("Status")])])])}],!1,null,"dee4f3f4",null);Q.options.__file="src/js/components/modules/sub_modules/BugsModule.vue";var tt=Q.exports,et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Customers")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Below are a list of customers who are stakeholders to this "+t._s(t.destination)+".\n ")]),t._v(" "),0==t.customerResults.length?n("div",[t._m(0)]):n("div",[n("customers-list-module",{attrs:{"customer-results":t.customerResults}})],1),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.addNewCustomer}},[t._v("\n Add Customer\n ")])])]),t._v(" "),n("add-customer-wizard",{attrs:{"location-id":t.locationId,destination:t.destination,"exclude-customers":t.customerResults},on:{update_customer_results:function(e){return t.updateCustomerResults(e)}}})],1)};et._withStripped=!0;const nt=n(3);var rt=J({name:"CustomersModule",props:["destination","locationId"],mixins:[h,Z],data:()=>({customerResults:[]}),methods:{addNewCustomer:function(){new f.a(document.getElementById("addCustomerModal")).show()},loadCustomerResults:function(){nt.post(`/object_data/${this.destination}/${this.locationId}/customer_list/`).then(t=>{this.customerResults=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateCustomerResults:function(t){this.customerResults=t}},mounted(){this.loadCustomerResults()}},et,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"customers-module-spacer"},[e("div",{staticClass:"alert alert-dark"},[this._v("\n Sorry - there are no customers. Please add them by clicking on the button below\n ")])])}],!1,null,"fc846c14",null);rt.options.__file="src/js/components/modules/sub_modules/CustomersModule.vue";var it=rt.exports,ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.bxBriefcase}}),t._v(" Documents")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following is a folder structure of all documents uploaded to this "+t._s(t.destination)+"\n ")]),t._v(" "),t.documentList.length+t.folderList.length==0?n("div",{staticClass:"module-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("Sorry - there are no documents or folders uploaded.")])]):n("div",{staticClass:"document-widget"},[null!=this.currentFolder?n("div",{staticClass:"document-child",on:{click:function(e){return t.goToParentDirectory()}}},[n("IconifyIcon",{attrs:{icon:t.icons.arrowUp,width:"80px",height:"80px"}}),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Go to Parent Directory...\n ")])],1):t._e(),t._v(" "),t._l(t.folderFilteredList,(function(e){return n("div",{key:e.pk,staticClass:"document-child",on:{click:function(n){return t.updateCurrentFolder(e.pk)}}},[n("IconifyIcon",{attrs:{icon:t.icons.folderIcon,width:"80px",height:"80px"}}),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n "+t._s(t.shortName(e.fields.folder_description))+"\n ")])],1)})),t._v(" "),t._l(t.documentFilteredList,(function(e){return n("div",{key:e.document_key_id,staticClass:"document-child"},[n("a",{attrs:{href:"/private/"+e.document_key_id+"/",rel:"noopener noreferrer",target:"_blank"}},[n("IconifyIcon",{attrs:{icon:t.getIcon(e),width:"80px",height:"80px"}}),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n "+t._s(t.shortName(e.document_key__document_description))+"\n ")])],1)])}))],2),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"btn-group save-changes"},[n("button",{staticClass:"btn btn-primary dropdown-toggle",attrs:{type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"}},[t._v("\n New Document/File\n ")]),t._v(" "),n("ul",{staticClass:"dropdown-menu"},[n("li",[n("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0)"},on:{click:t.uploadDocument}},[t._v("\n Upload Document\n ")])]),t._v(" "),n("li",[n("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0)"},on:{click:t.addLink}},[t._v("\n Add Link\n ")])]),t._v(" "),n("li",[n("a",{staticClass:"dropdown-item",attrs:{href:"javascript:void(0)"},on:{click:t.addFolder}},[t._v("\n Add Folder\n ")])])])]),t._v(" "),n("add-folder-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"current-folder":t.currentFolder,"existing-folders":t.folderFilteredList},on:{update_folder_list:function(e){return t.updateFolderList(e)}}}),t._v(" "),n("add-link-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"current-folder":t.currentFolder,"exclude-documents":t.documentFilteredList},on:{update_document_list:function(e){return t.updateDocumentList(e)}}}),t._v(" "),n("upload-document-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"current-folder":t.currentFolder,"exclude-documents":t.documentFilteredList},on:{update_document_list:function(e){return t.updateDocumentList(e)}}})],1)};ot._withStripped=!0;const at=n(3);var st=J({name:"DocumentsModule",props:["destination","locationId"],data:()=>({currentFolder:null,documentList:[],documentFilteredList:[],folderList:[],folderFilteredList:[]}),mixins:[Z],methods:{addFolder:function(){new f.a(document.getElementById("addFolderModal")).show()},addLink:function(){new f.a(document.getElementById("addLinkModal")).show()},getDocumentList:function(){at.post(`/documentation/${this.destination}/${this.locationId}/list/files/`).then(t=>{this.documentList=t.data,this.updateDocumentFilteredList()})},getFolderList:function(){at.post(`/documentation/${this.destination}/${this.locationId}/list/folders/`).then(t=>{this.folderList=t.data,this.updateFolderFilteredList()})},getIcon:function(t){if(""!=t.document_key__document_url_location&&null!==t.document_key__document_url_location)return this.icons.linkOut;var e=t.document_key__document.split(".");switch(e[e.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}},goToParentDirectory:function(){var t=this.folderList.filter(t=>t.pk==this.currentFolder)[0];this.updateCurrentFolder(t.fields.parent_folder)},shortName:function(t){return t.length<=50?t:t.substring(0,47)+"..."},updateCurrentFolder:function(t){this.currentFolder=t,this.updateDocumentFilteredList(),this.updateFolderFilteredList()},updateDocumentList:function(t){this.documentList.push(t[0]),this.updateDocumentFilteredList()},updateDocumentFilteredList:function(){this.documentFilteredList=this.documentList.filter(t=>t.folder==this.currentFolder)},updateFolderList:function(t){this.folderList.push(t[0]),this.updateFolderFilteredList()},updateFolderFilteredList:function(){this.folderFilteredList=this.folderList.filter(t=>t.fields.parent_folder==this.currentFolder)},uploadDocument:function(){new f.a(document.getElementById("uploadDocumentModal")).show()}},mounted(){this.getDocumentList(),this.getFolderList()}},ot,[],!1,null,"3a4a4099",null);st.options.__file="src/js/components/modules/sub_modules/DocumentsModule.vue";var lt=st.exports,ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Stakeholder Organisation\n "),!t.$v.stakeholderModel.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please search for a Stakeholder.")]):t._e()]),t._v(" "),n("v-select",{staticClass:"get-stakeholders",attrs:{options:t.stakeholderFixList,label:"organisation_name"},on:{search:t.fetchOptions},model:{value:t.stakeholderModel,callback:function(e){t.stakeholderModel=e},expression:"stakeholderModel"}})],1)])])};ct._withStripped=!0;var dt=n(1),ut={methods:{searchTrigger:function(t){""!=t.searchTimeout&&clearTimeout(t.searchTimeout),void 0===t.search?this.searchUndefined(t):this.searchDefined(t)},searchDefined:function(t){t.search.length>=3&&(t.searchTimeout=setTimeout(t.return_function,500,t.search,t.loading))},searchUndefined:function(t){t.searchTimeout=setTimeout(t.return_function,500)}}};const pt=n(3);var mt=J({name:"GetStakeholders",components:{axios:pt,bootstrap:f.default},mixins:[ut],props:["isDirty"],data:()=>({searchTimeout:"",stakeholderFixList:[],stakeholderModel:""}),validations:{stakeholderModel:{required:dt.required}},methods:{fetchOptions:function(t,e){this.searchTrigger({return_function:this.getOrganisationData,searchTimeout:this.searchTimeout,search:t,loading:e})},getOrganisationData:function(t,e){const n=new FormData;n.set("search",t),pt.post("/search/organisation/data/",n).then(t=>{this.stakeholderFixList=[],t.data.forEach(t=>{var e={value:t.pk,organisation_name:t.fields.organisation_name,organisation_website:t.fields.organisation_website,organisation_email:t.fields.organisation_email,organisation_profile_picture:t.fields.organisation_profile_picture};this.stakeholderFixList.push(e)})}).catch((function(t){document.getElementById("errorModalContent").innerHTML="Search Organisation Issue:
"+t,new f.default.Modal(document.getElementById("errorModal"),{keyboard:!1}).show(),document.getElementById("loader").style.display="none"}))}},watch:{stakeholderModel:function(){this.$emit("update_stakeholder_model",this.stakeholderModel)}},mounted(){this.getOrganisationData("","")}},ct,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Stakeholder Organisation")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please search for your stakeholder's organisation in the dropdown box. Once found, please select.\n ")])])}],!1,null,"3254ff31",null);mt.options.__file="src/js/components/organisations/GetStakeholders.vue";var ft=mt.exports,ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("h2",[t._v("Group Permissions")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Add or remove groups from this "+t._s(t.destination)+". Adding a group will allow users\n from that group to access this "+t._s(t.destination)+".\n ")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n If you do not add one of your own group(s), you will only get readonly access.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Group List\n "),!t.$v.groupModel.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please select at least one group.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.groupFixResults,label:"group",multiple:""},model:{value:t.groupModel,callback:function(e){t.groupModel=e},expression:"groupModel"}})],1)])};ht._withStripped=!0;var vt=J({name:"GroupPermissions",components:{},props:{destination:String,groupResults:Array,isDirty:Boolean,userGroupResults:{type:Array,default:()=>[]}},watch:{groupModel:function(){this.$emit("update_group_model",this.groupModel)}},data:()=>({groupFixResults:[],groupModel:[]}),validations:{groupModel:{required:dt.required}},mounted(){this.groupResults.forEach(t=>{var e={value:t.pk,group:t.fields.group_name};this.groupFixResults.push(e)}),this.groupModel=this.userGroupResults.map(t=>({group:t.group__group_name,value:t.group_id}))}},ht,[],!1,null,"2d989908",null);vt.options.__file="src/js/components/permissions/GroupPermissions.vue";var gt=vt.exports,bt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.groupPresentation}}),t._v(" Groups")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following list are all the Groups connected to this "+t._s(t.destination)+". Users will have to be included\n in these groups to be added to this "+t._s(t.destination)+"\n ")]),t._v(" "),n("table",{staticClass:"table group-and-user-table"},[t._m(0),t._v(" "),n("tbody",t._l(t.groupList,(function(e){return n("tr",[n("td",[t._v(t._s(e.fields.group_name))])])})),0)]),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewGroup}},[t._v("Add Group to "+t._s(t.destination))])])]),t._v(" "),n("hr"),t._v(" "),n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Users")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are a list of users who are connected to this "+t._s(t.destination)+". Please note - users have to be\n a part of the groups list above.\n ")]),t._v(" "),0==t.userList.length?n("div",{staticClass:"alert alert-dark"},[t._v("\n Sorry - there are no current users active.\n ")]):n("div",{staticClass:"user-card-layouts"},t._l(t.userList,(function(e){return n("div",{staticClass:"user-card"},[n("img",{staticClass:"default-user-profile",attrs:{src:"/static/NearBeach/images/placeholder/people_tax.svg",alt:"default profile"}}),t._v(" "),n("div",{staticClass:"user-details"},[n("strong",[t._v(t._s(e.first_name)+" "+t._s(e.last_name))]),n("br"),t._v("\n "+t._s(e.username)+"\n "),n("div",{staticClass:"spacer"}),t._v("\n "+t._s(e.email)+"\n ")])])})),0),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewUser}},[t._v("Add User to "+t._s(t.destination))])])]),t._v(" "),n("add-group-wizard",{attrs:{destination:t.destination,"location-id":t.locationId},on:{update_group_list:function(e){return t.updateGroupList(e)}}}),t._v(" "),n("add-user-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"refresh-user-list":t.refreshUserListBoolean},on:{update_user_list:function(e){return t.updateUserList(e)},reset_refresh_user_list:function(e){return t.resetRefreshUserList(e)}}})],1)};bt._withStripped=!0;const _t=n(3);var yt=J({name:"GroupsAndUsersModule",props:["destination","locationId"],mixins:[h,Z],data:()=>({groupList:[],refreshUserListBoolean:!1,userList:[]}),methods:{addNewGroup:function(){new f.a(document.getElementById("addGroupModal")).show()},addNewUser:function(){new f.a(document.getElementById("addUserModal")).show()},getGroupList:function(){_t.post(`/object_data/${this.destination}/${this.locationId}/group_list/`).then(t=>{this.groupList=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},getUserList:function(){_t.post(`/object_data/${this.destination}/${this.locationId}/user_list/`).then(t=>{this.userList=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},resetRefreshUserList:function(){this.refreshUserListBoolean=!1},updateGroupList:function(t){this.groupList=t,this.refreshUserListBoolean=!0},updateUserList:function(t){this.userList=t}},mounted(){this.getGroupList(),this.getUserList()}},bt,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Group Name")])])])}],!1,null,"0f5e1aac",null);yt.options.__file="src/js/components/modules/sub_modules/GroupsAndUsersModule.vue";var wt=yt.exports,xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("ul",{staticClass:"nav nav-tabs",attrs:{id:"misc_module_tabs",role:"tablist"}},["requirement_item"!=t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link active",attrs:{id:"group-and-user-tab","data-bs-toggle":"tab","data-bs-target":"#group-and-users",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Groups and Users")])]):t._e(),t._v(" "),"requirement"==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"requirement-item-tab","data-bs-toggle":"tab","data-bs-target":"#requirement-items",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Requirement Item")])]):t._e(),t._v(" "),"requirement"==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"requirement-link-tab","data-bs-toggle":"tab","data-bs-target":"#requirement-links",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Requirement Links")])]):t._e(),t._v(" "),"requirement_item"==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"requirement-item-link-tab","data-bs-toggle":"tab","data-bs-target":"#requirement-item-links",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Links")])]):t._e(),t._v(" "),t._m(0),t._v(" "),"requirement"!==t.destination&&"requirement_item"!==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"object-link-tabs","data-bs-toggle":"tab","data-bs-target":"#object-links",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Linked Objects")])]):t._e(),t._v(" "),"requirement_item"!==t.destination?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"customer-tab","data-bs-toggle":"tab","data-bs-target":"#customers",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Customers")])]):t._e(),t._v(" "),["project","task","requirement"].includes(t.destination)?n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"bug-tab","data-bs-toggle":"tab","data-bs-target":"#bugs",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[t._v("Bugs")])]):t._e(),t._v(" "),t._m(1),t._v(" "),t._m(2)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"tab-content",attrs:{id:"misc_module_content"}},["requirement_item"!==t.destination?n("div",{staticClass:"tab-pane fade show active",attrs:{id:"group-and-users",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("groups-and-users-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1):t._e(),t._v(" "),"requirement"==t.destination?n("div",{staticClass:"tab-pane fade",attrs:{id:"requirement-items",role:"tabpanel","aria-labelledby":"home-tab"}},[n("requirement-items-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1):t._e(),t._v(" "),"requirement"==t.destination?n("div",{staticClass:"tab-pane fade",attrs:{id:"requirement-links",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("requirement-links-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1):"requirement_item"==t.destination?n("div",{staticClass:"tab-pane fade",attrs:{id:"requirement-item-links",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("requirement-item-links-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1):t._e(),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"documents",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("documents-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"object-links",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("object-links",{attrs:{destination:t.destination,"location-id":t.locationId}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"customers",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("customers-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"bugs",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("bugs-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"misc",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("misc-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"notes",role:"tabpanel","aria-labelledby":"contact-tab"}},[n("notes-module",{attrs:{"location-id":t.locationId,destination:t.destination}})],1)])])])};xt._withStripped=!0;var kt=J({name:"ParentModules",props:{destination:String,locationId:Number,rootUrl:{type:String,default:"/"},staticUrl:{type:String,default:"/"}},data:()=>({}),methods:{},mounted(){this.$store.commit({type:"updateDestination",destination:this.destination,locationId:this.locationId}),this.$store.commit({type:"updateUrl",rootUrl:this.rootUrl,staticUrl:this.staticUrl})}},xt,[function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"documents-tab","data-bs-toggle":"tab","data-bs-target":"#documents",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[this._v("Documents")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"misc-tab","data-bs-toggle":"tab","data-bs-target":"#misc",type:"button",role:"tab","aria-controls":"home","aria-selected":"false"}},[this._v("Misc")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"notes-tab","data-bs-toggle":"tab","data-bs-target":"#notes",type:"button",role:"tab","aria-controls":"home","aria-select":"false"}},[this._v("Notes")])])}],!1,null,"d819f14e",null);kt.options.__file="src/js/components/modules/ParentModules.vue";var Ct=kt.exports,Mt=function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("list-tags-module",{attrs:{destination:this.destination,"location-id":this.locationId}})],1)};Mt._withStripped=!0;const St=n(3);var Tt=J({name:"MiscModule",components:{},props:["destination","locationId"],mixins:[h,Z],data:()=>({noteHistoryResults:[]}),methods:{createNewNote:function(){new f.a(document.getElementById("newNoteModal")).show()},getNoteHistoryResults:function(){St.post(`/object_data/${this.destination}/${this.locationId}/note_list/`).then(t=>{this.noteHistoryResults=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateNoteHistoryResults:function(t){this.noteHistoryResults.push(t[0])}},mounted(){this.getNoteHistoryResults()}},Mt,[],!1,null,"24f97633",null);Tt.options.__file="src/js/components/modules/sub_modules/MiscModule.vue";var Et=Tt.exports,jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addBugModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-xl"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.usersIcon}}),t._v(" Add Bugs Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Adding Bugs")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Select which bug client you want to search data from. Then use keywords or bug id to\n search for the required bugs. Once the search results appear, select those appropriate\n bugs that you want to link to the "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Bug Client")]),t._v(" "),n("v-select",{attrs:{options:t.bugClientList,label:"bug_client_name",option:"bug_client_id"},model:{value:t.bugClientModel,callback:function(e){t.bugClientModel=e},expression:"bugClientModel"}})],1),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search Keywords")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control",attrs:{type:"text",disabled:""==t.bugClientModel,maxlength:"50"},domProps:{value:t.searchModel},on:{keydown:t.startSearchTimer,input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),t.searchOn?n("div",{staticClass:"no-search"},[n("strong",[t._v("Currently Searching for Bugs")]),n("br"),t._v(" "),n("img",{attrs:{src:"/static/NearBeach/images/placeholder/online_connection.svg",alt:"Placeholder Search Image"}})]):0==t.bugResults.length?n("div",{staticClass:"no-search"},[n("strong",[t._v("No Search Results Sorry")]),n("br"),t._v(" "),n("img",{attrs:{src:"/static/NearBeach/images/placeholder/road_to_knowledge.svg",alt:"Placeholder Search Image"}})]):n("div",{attrs:{id:"bug_results_div"}},[n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.bugResults,(function(e){return n("tr",[n("td",{attrs:{id:"bug_no_"+e.id}},[n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(n){return t.submitBug(e.id)}}},[t._v("\n Add Bug\n ")])]),t._v(" "),n("td",[t._v("\n "+t._s(e.summary)+"\n "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Assigned to: "+t._s(e.assigned_to))]),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Bug No. "+t._s(e.id)+" | Priority. "+t._s(e.priority))])]),t._v(" "),n("td",[t._v(t._s(e.status))])])})),0)])])])])]),t._v(" "),t._m(2)])])])};jt._withStripped=!0;const Ot=n(3);var It=J({name:"AddBugWizard",props:["destination","locationId"],mixins:[h,Z],data:()=>({bugClientModel:"",bugClientList:[],bugResults:[],searchModel:"",searchOn:!1,searchTimer:""}),methods:{loadBugClientList:function(){Ot.post("/object_data/bug_client_list/").then(t=>{this.bugClientList=[],t.data.forEach(t=>{this.bugClientList.push({bug_client_id:t.pk,bug_client_name:t.fields.bug_client_name})})})},startSearchTimer:function(){""!=this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout(()=>{this.startSearch()},700)},startSearch:function(){if(""===this.searchModel)return;this.searchOn=!0;const t=new FormData;t.set("bug_client_id",this.bugClientModel.bug_client_id),t.set("search",this.searchModel),Ot.post(`/object_data/${this.destination}/${this.locationId}/query_bug_client/`,t).then(t=>{this.bugResults=t.data,this.searchOn=!1}).catch(t=>{this.showErrorModal(t,this.destination)})},submitBug:function(t){var e=document.getElementById("bug_no_"+t);e.innerHTML="Adding Bug";var n=this.bugResults.filter(e=>e.id==t);const r=new FormData;r.set("bug_client",this.bugClientModel.bug_client_id),r.set("bug_id",t),r.set("bug_description",n[0].summary),r.set("bug_status",n[0].status),Ot.post(`/object_data/${this.destination}/${this.locationId}/add_bug/`,r).then(t=>{this.$emit("append_bug_list",t.data),e.innerHTML="Done"}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){this.loadBugClientList()}},jt,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addBugsCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td"),this._v(" "),e("td",[this._v("Bug Description")]),this._v(" "),e("td",[this._v("Bug Status")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[this._v("Close")])])}],!1,null,"12f8b90e",null);It.options.__file="src/js/components/modules/wizards/AddBugWizard.vue";var Lt=It.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addCustomerModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.usersIcon}}),t._v(" Add Customers Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[t.customerFixList.length>0?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Select Customer")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Search for a customer who has not been added to this "+t._s(t.destination)+". If the search is\n blank there are either no customers that match that search, or all customer have already\n been added to the "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("v-select",{attrs:{options:t.customerFixList,label:"customerName"},model:{value:t.customerModel,callback:function(e){t.customerModel=e},expression:"customerModel"}})],1)]):n("div",{staticClass:"row"},[t._m(1),t._v(" "),t._m(2)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",diabled:""==t.customerModel},on:{click:t.addCustomer}},[t._v("\n Save changes\n ")])])])])])};Dt._withStripped=!0;const Nt=n(3);var $t=J({name:"AddCustomerWizard",props:["destination","locationId","excludeCustomers"],mixins:[h,Z],data:()=>({customerModel:"",customerList:[],customerFixList:[]}),methods:{addCustomer:function(){const t=new FormData;t.set("customer",this.customerModel.value),Nt.post(`/object_data/${this.destination}/${this.locationId}/add_customer/`,t).then(t=>{this.$emit("update_customer_results",t.data),this.customerModel="",document.getElementById("addCustomerCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})},getCustomerList:function(){Nt.post(`/object_data/${this.destination}/${this.locationId}/customer_list_all/`).then(t=>{this.customerList=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateCustomerFixList:function(){if(0!=this.customerList.length){var t=[];this.excludeCustomers.forEach(e=>{t.push(e.pk)}),this.customerFixList=[],this.customerList.forEach(e=>{t.includes(e.pk)||this.customerFixList.push({value:e.pk,customerName:`${e.fields.customer_first_name} ${e.fields.customer_last_name}`})})}}},mounted(){this.getCustomerList()},watch:{excludeCustomers:function(){this.updateCustomerFixList()}}},Dt,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addCustomerCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6"},[e("strong",[this._v("Sorry - no results")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n This could be because\n "),e("ul",[e("li",[this._v("There are no more customers left to add")]),this._v(" "),e("li",[this._v("There are no customers for this organisation")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6 no-search"},[e("img",{attrs:{src:"/static/NearBeach/images/placeholder/questions.svg",alt:"Sorry - there are no results"}})])}],!1,null,"70989242",null);$t.options.__file="src/js/components/modules/wizards/AddCustomerWizard.vue";var At=$t.exports,Rt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addFolderModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Add Folder Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"folder_description"}},[t._v("Folder Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.folderDescriptionModel,expression:"folderDescriptionModel"}],staticClass:"form-control",attrs:{type:"text",id:"folder_description",maxlength:"50"},domProps:{value:t.folderDescriptionModel},on:{input:function(e){e.target.composing||(t.folderDescriptionModel=e.target.value)}}})])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableAddFolderButton},on:{click:t.addFolder}},[t._v("\n Add Folder\n ")])])])])])};Rt._withStripped=!0;const Pt=n(3);var qt=J({name:"AddFolderWizard",props:["currentFolder","destination","existingFolders","locationId"],mixins:[h,Z],data:()=>({disableAddFolderButton:!0,folderDescriptionModel:""}),methods:{addFolder:function(){const t=new FormData;t.set("folder_description",this.folderDescriptionModel),null!==this.currentFolder&&""!=this.currentFolder&&t.set("parent_folder",this.currentFolder),Pt.post(`/documentation/${this.destination}/${this.locationId}/add_folder/`,t).then(t=>{this.$emit("update_folder_list",t.data),this.folderDescriptionModel="",document.getElementById("addFolderCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})}},updated(){var t=this.existingFolders.filter(t=>t.fields.folder_description==this.folderDescriptionModel);this.disableAddFolderButton=t.length>0||""==this.folderDescriptionModel}},Rt,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addFolderCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Creating a folder")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Give the folder an appropriate name. When done, click on the "Save" button. It will be\n added to the current folder.\n ')])])}],!1,null,"0b928222",null);qt.options.__file="src/js/components/modules/wizards/AddFolderWizard.vue";var zt=qt.exports,Ft=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addGroupModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.groupPresentation}}),t._v(" Add Group Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[t.groupFixList.length>0?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Add Groups")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Use the following multiple select to select which groups you want to add to this\n "+t._s(t.destination)+".\n ")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please note: A user's group has to be added to the "+t._s(t.destination)+" before the user\n can be added.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("v-select",{attrs:{options:t.groupFixList,multiple:""},model:{value:t.groupModel,callback:function(e){t.groupModel=e},expression:"groupModel"}})],1)]):n("div",{staticClass:"row"},[t._m(1),t._v(" "),t._m(2)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.groupModel.length},on:{click:t.addGroup}},[t._v("Add Group(s)")])])])])])};Ft._withStripped=!0;const Ut=n(3);var Bt=J({name:"AddGroupWizard",props:["destination","locationId"],mixins:[h,Z],data:()=>({groupFixList:[],groupModel:[]}),methods:{addGroup:function(){const t=new FormData;this.groupModel.forEach(e=>{t.append("group_list",e.value)}),Ut.post(`/object_data/${this.destination}/${this.locationId}/add_group/`,t).then(t=>{this.$emit("update_group_list",t.data),document.getElementById("addGroupCloseButton").click(),this.getGroupList()}).catch(t=>{this.showErrorModal(t,this.destination)})},getGroupList:function(){Ut.post(`/object_data/${this.destination}/${this.locationId}/group_list_all/`).then(t=>{this.groupFixList=[],t.data.forEach(t=>{var e={value:t.pk,label:t.fields.group_name};this.groupFixList.push(e)})}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){this.getGroupList()}},Ft,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addGroupCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6"},[e("strong",[this._v("Sorry - no results")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n This could be because\n "),e("ul",[e("li",[this._v("There are no more groups left to add")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6 no-search"},[e("img",{attrs:{src:"/static/NearBeach/images/placeholder/questions.svg",alt:"Sorry - there are no results"}})])}],!1,null,"3c5e7944",null);Bt.options.__file="src/js/components/modules/wizards/AddGroupWizard.vue";var Vt=Bt.exports,Ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addLinkModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Add Link Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"document_url_location"}},[t._v("\n Document URL\n "),!t.$v.documentUrlLocationModel.required&&t.$v.documentUrlLocationModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a URL.")]):t._e(),t._v(" "),!t.$v.documentUrlLocationModel.url&&t.$v.documentUrlLocationModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a proper URL.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.documentUrlLocationModel,expression:"documentUrlLocationModel"}],staticClass:"form-control",attrs:{id:"document_url_location"},domProps:{value:t.documentUrlLocationModel},on:{input:function(e){e.target.composing||(t.documentUrlLocationModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"document_description"}},[t._v("\n Document Description\n "),!t.$v.documentDescriptionModel.required&&t.$v.documentDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a description of the link.")]):t._e(),t._v(" "),t.duplicateDescription?n("span",{staticClass:"error"},[t._v(" Sorry - but this is a duplicated description.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.documentDescriptionModel,expression:"documentDescriptionModel"}],staticClass:"form-control",attrs:{id:"document_description",maxlength:"50"},domProps:{value:t.documentDescriptionModel},on:{input:function(e){e.target.composing||(t.documentDescriptionModel=e.target.value)}}})])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableAddButton},on:{click:t.addLink}},[t._v("\n Add Link\n ")])])])])])};Ht._withStripped=!0;const Wt=n(3);var Gt=J({name:"AddLinkWizard",props:["currentFolder","destination","excludeDocuments","locationId"],mixins:[h,Z],data:()=>({linkModel:"",disableAddButton:!0,documentDescriptionModel:"",documentUrlLocationModel:"",duplicateDescription:!1}),validations:{documentDescriptionModel:{required:dt.required},documentUrlLocationModel:{required:dt.required,url:dt.url}},methods:{addLink:function(){const t=new FormData;t.set("document_description",this.documentDescriptionModel),t.set("document_url_location",this.documentUrlLocationModel),null!==this.currentFolder&&""!=this.currentFolder&&t.set("parent_folder",this.currentFolder),Wt.post(`/documentation/${this.destination}/${this.locationId}/add_link/`,t).then(t=>{this.$emit("update_document_list",t.data),this.documentDescriptionModel="",this.documentUrlLocationModel="",document.getElementById("addLinkCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})}},updated(){var t=this.excludeDocuments.filter(t=>t.document_key__document_description==this.documentDescriptionModel);this.duplicateDescription=t.length>0,this.$v.$touch(),this.disableAddButton=this.$v.$invalid||t.length>0}},Ht,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addLinkCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Add Link")]),this._v(" "),e("p",{staticClass:"text-instruction"},[this._v("\n Add hyperlinks to other documents and sources located in on the internet/cloud.\n ")])])}],!1,null,"0cea12fb",null);Gt.options.__file="src/js/components/modules/wizards/AddLinkWizard.vue";var Yt=Gt.exports,Kt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addUserModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Add User Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[t.userFixList.length>0?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Add Users")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Use the following multiple select to select which users you want to add to this\n "+t._s(t.destination)+".\n ")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please note: A user's group has to be added to the "+t._s(t.destination)+" before the user\n can be added.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("v-select",{attrs:{options:t.userFixList,multiple:""},model:{value:t.userModel,callback:function(e){t.userModel=e},expression:"userModel"}})],1)]):n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("strong",[t._v("Sorry - no results")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n This could be because\n "),n("ul",[n("li",[t._v("There are no more users left to add")]),t._v(" "),n("li",[t._v("\n The user you are after is in a group not current added to this "+t._s(t.destination)+"\n ")])])])]),t._v(" "),t._m(1)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.userModel.length},on:{click:t.addUser}},[t._v("Add User(s)")])])])])])};Kt._withStripped=!0;const Zt=n(3);var Xt=J({name:"AddUserWizard",props:["destination","locationId","refreshUserList"],mixins:[h,Z],data:()=>({userFixList:[],userModel:[]}),methods:{addUser:function(){const t=new FormData;this.userModel.forEach(e=>{t.append("user_list",e.value)}),Zt.post(`/object_data/${this.destination}/${this.locationId}/add_user/`,t).then(t=>{this.$emit("update_user_list",t.data),document.getElementById("addUserCloseButton").click(),this.userModel=[],this.getUserList()}).catch(t=>{this.showErrorModal(t,this.destination)})},getUserList:function(){Zt.post(`/object_data/${this.destination}/${this.locationId}/user_list_all/`).then(t=>{this.userFixList=t.data.map(t=>({value:t.id,label:`${t.username}: ${t.first_name} ${t.last_name}`}))})}},watch:{refreshUserList:function(){this.refreshUserList&&this.getUserList(),this.$emit("reset_refresh_user_list")}},mounted(){this.getUserList()}},Kt,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addUserCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-6 no-search"},[e("img",{attrs:{src:"/static/NearBeach/images/placeholder/questions.svg",alt:"Sorry - there are no results"}})])}],!1,null,"1bd67d8c",null);Xt.options.__file="src/js/components/modules/wizards/AddUserWizard.vue";var Jt=Xt.exports,Qt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Customer")]),t._v(" "),n("hr"),t._v(" "),n("new-customer-form",{attrs:{"organisation-name":t.organisationName,"title-list":t.titleList,"flag-validation-check":t.flagValidationCheck},on:{update_customer_data:function(e){return t.updateCustomerData(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group col-sm-8"},[n("label",[t._v("Organisation:")]),t._v(" "),n("v-select",{staticClass:"get-stakeholders",attrs:{options:t.organisationFixList,label:"organisation_name"},on:{search:t.fetchOptions},model:{value:t.organisationModel,callback:function(e){t.organisationModel=e},expression:"organisationModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewCustomer}},[t._v("Submit Customer")])])])],1)])};Qt._withStripped=!0;const te=n(3);var ee=J({name:"NewCustomer",props:{organisationName:String,rootUrl:{type:String,default:"/"},titleList:Array},mixins:[ut],data:()=>({customerEmailModel:"",customerFirstNameModel:"",customerLastNameModel:"",flagValidationCheck:!1,organisationFixList:[],organisationModel:{},titleModel:[]}),validations:{customerEmailModel:{required:dt.required,email:dt.email},customerFirstNameModel:{required:dt.required},customerLastNameModel:{required:dt.required},titleModel:{required:dt.required}},methods:{fetchOptions:function(t,e){this.searchTrigger({return_function:this.getOrganisationData,searchTimeout:this.searchTimeout,search:t,loading:e})},getOrganisationData:function(t,e){const n=new FormData;n.set("search",t),te.post(this.rootUrl+"search/organisation/data/",n).then(t=>{this.organisationFixList=[],t.data.forEach(t=>{var e={value:t.pk,organisation_name:t.fields.organisation_name,organisation_website:t.fields.organisation_website,organisation_email:t.fields.organisation_email,organisation_profile_picture:t.fields.organisation_profile_picture};this.organisationFixList.push(e)});var e=this.organisationFixList.filter(t=>t.organisation_name==this.organisationName);e.length>0&&(this.organisationModel=e[0])}).catch((function(t){document.getElementById("errorModalContent").innerHTML="Search Organisation Issue:
"+t,new f.a(document.getElementById("errorModal"),{keyboard:!1}).show(),document.getElementById("loader").style.display="none"}))},submitNewCustomer:function(){if(this.flagValidationCheck=!0,setTimeout(()=>{this.flagValidationCheck=!1},100),this.$v.$touch(),this.$v.$invalid)return document.getElementById("errorModalContent").innerHTML="FORM ISSUE: Sorry, but can you please fill out the form completely.",void new f.a(document.getElementById("errorModal")).show();const t=new FormData;t.set("customer_title",this.titleModel.value),t.set("customer_first_name",this.customerFirstNameModel),t.set("customer_last_name",this.customerLastNameModel),t.set("customer_email",this.customerEmailModel),0!=Object.keys(this.organisationModel).length&&t.set("organisation",this.organisationModel.value),te.post(this.rootUrl+"new_customer/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{})},updateCustomerData:function(t){this[t.field]=t.value}},mounted(){this.getOrganisationData("","")}},Qt,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Customer Organisation")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n This field is optional. If this customer does not have any organisations attached, it will\n treat this customer as a freelancer.\n ")])])}],!1,null,"186767c8",null);ee.options.__file="src/js/components/customers/NewCustomer.vue";var ne=ee.exports,re=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Organisation")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_organisation_name"}},[t._v("\n Organisation Name:\n "),!t.$v.organisationNameModel.required&&t.$v.organisationNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationNameModel,expression:"organisationNameModel"}],staticClass:"form-control",attrs:{id:"id_organisation_name",name:"organisation_name",type:"text"},domProps:{value:t.organisationNameModel},on:{input:function(e){e.target.composing||(t.organisationNameModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"form-group col-md-6"},[n("label",{attrs:{for:"id_organisation_website"}},[t._v("\n Organisation Website:\n "),!t.$v.organisationWebsiteModel.required&&t.$v.organisationWebsiteModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.organisationWebsiteModel.url&&t.$v.organisationWebsiteModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format at URL\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationWebsiteModel,expression:"organisationWebsiteModel"}],staticClass:"form-control",attrs:{id:"id_organisation_website",name:"organisation_website",type:"url"},domProps:{value:t.organisationWebsiteModel},on:{input:function(e){e.target.composing||(t.organisationWebsiteModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group col-md-6"},[n("label",{attrs:{for:"id_organisation_email"}},[t._v("\n Organisation Email:\n "),!t.$v.organisationEmailModel.required&&t.$v.organisationEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.organisationEmailModel.email&&t.$v.organisationEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format as Email\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationEmailModel,expression:"organisationEmailModel"}],staticClass:"form-control",attrs:{id:"id_organisation_email",name:"organisation_email",type:"email"},domProps:{value:t.organisationEmailModel},on:{input:function(e){e.target.composing||(t.organisationEmailModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),0==t.duplicateOrganisations.length?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.addOrganisation}},[t._v("\n Add Organisation\n ")])])]):t._e(),t._v(" "),t.duplicateOrganisations.length>0?n("h2",[t._v("\n Potential Duplication\n ")]):t._e(),t._v(" "),t.duplicateOrganisations.length>0?n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("list-organisations",{attrs:{"organisation-results":t.duplicateOrganisations,"root-url":t.rootUrl}})],1)]):t._e(),t._v(" "),t.duplicateOrganisations.length>0?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.uploadOrganisationData}},[t._v("\n Submit Organisation\n ")])])]):t._e()])])};re._withStripped=!0;var ie={methods:{closeLoadingModal:function(){var t=new f.a(document.getElementById("loadingModal"));document.getElementById("loadingModalContent").innerHTML="UPDATED SUCCESSFULLY",setTimeout(()=>{t.hide()},1e3)},showLoadingModal:function(t){new f.a(document.getElementById("loadingModal")).show(),document.getElementById("loadingModalContent").innerHTML=`Updating your ${t} details`}}};const oe=n(3);var ae=J({name:"NewOrganisation",props:{rootUrl:{type:String,default:"/"}},mixins:[h,ie],data:()=>({duplicateOrganisations:[],organisationNameModel:"",organisationWebsiteModel:"",organisationEmailModel:""}),watch:{organisationNameModel:function(){this.duplicateOrganisations=[]},organisationWebsiteModel:function(){this.duplicateOrganisations=[]},organisationEmailModel:function(){this.duplicateOrganisations=[]}},methods:{addOrganisation:function(){this.$v.$touch(),this.$v.$invalid?this.showValidationErrorModal():oe.post(this.rootUrl+"organisation_duplicates/",this.dataToSend()).then(t=>{0==t.data.length&&this.uploadOrganisationData(),this.duplicateOrganisations=t.data}).catch(t=>{this.showErrorModal(t,"organisation","")})},dataToSend:function(){const t=new FormData;return t.set("organisation_name",this.organisationNameModel),t.set("organisation_website",this.organisationWebsiteModel),t.set("organisation_email",this.organisationEmailModel),t},uploadOrganisationData:function(){oe.post("save/",this.dataToSend()).then(t=>{window.location.href=t.data}).catch(t=>{})}},validations:{organisationNameModel:{required:dt.required,maxLength:Object(dt.maxLength)(255)},organisationWebsiteModel:{required:dt.required,url:dt.url},organisationEmailModel:{required:dt.required,email:dt.email}}},re,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out all the required fields. Please only use a generic email for the organisation\n email field. e.g. support@companyxyz.com\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please Read")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n The server has found potential duplications. Please review the following Organisations. If you\n would like to create the organisation, please scroll to the bottom of the page and hit "Submit\n Organisation". If the organisation you are looking for is already created. Click\n on the name and you will be taken to the Organisation\'s Information page.\n ')]),this._v(" "),e("strong",[this._v("Alternatively")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n You can also change the information above and resubmit.\n ")])])}],!1,null,"1cb0b048",null);ae.options.__file="src/js/components/organisations/NewOrganisation.vue";var se=ae.exports,le=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Requirement")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_requirement_title"}},[t._v("Requirement Title:\n "),!t.$v.requirementTitleModel.required&&t.$v.requirementTitleModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.requirementTitleModel,expression:"requirementTitleModel"}],staticClass:"form-control",attrs:{id:"id_requirement_title",name:"requirement_title",type:"text",required:"true",maxlength:"255"},domProps:{value:t.requirementTitleModel},on:{input:function(e){e.target.composing||(t.requirementTitleModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Requirement Scope:\n "),!t.$v.requirementScopeModel.required&&t.$v.requirementScopeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a scope.")]):t._e(),t._v(" "),t.$v.requirementScopeModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.requirementScopeModel,callback:function(e){t.requirementScopeModel=e},expression:"requirementScopeModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("get-stakeholders",{attrs:{"is-dirty":t.$v.stakeholderModel.$dirty},on:{update_stakeholder_model:function(e){return t.updateStakeholderModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Status\n "),!t.$v.statusModel.required&&t.$v.statusModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a status.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.statusFixList,label:"status"},model:{value:t.statusModel,callback:function(e){t.statusModel=e},expression:"statusModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Type\n "),!t.$v.typeModel.required&&t.$v.typeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.typeFixList,label:"type"},model:{value:t.typeModel,callback:function(e){t.typeModel=e},expression:"typeModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"requirement","user-group-results":t.userGroupResults,"is-dirty":t.$v.groupModel.$dirty},on:{update_group_model:function(e){return t.updateGroupModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewRequirement}},[t._v("Create new Requirement")])])])],1)])};le._withStripped=!0;const ce=n(3);var de=J({name:"NewRequirement",components:{axios:ce},props:{groupResults:Array,staticUrl:{type:String,default:"/"},statusList:Array,typeList:Array,userGroupResults:{type:Array,default:()=>[]}},data:()=>({groupModel:"",requirementScopeModel:"",requirementTitleModel:"",stakeholderModel:"",statusFixList:[],statusModel:"",typeFixList:[],typeModel:""}),validations:{groupModel:{required:dt.required},requirementScopeModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},requirementTitleModel:{required:dt.required},stakeholderModel:{required:dt.required},statusModel:{required:dt.required},typeModel:{required:dt.required}},methods:{submitNewRequirement:function(){if(this.$v.$touch(),this.$v.$invalid)return document.getElementById("errorModalContent").innerHTML="FORM ISSUE: Sorry, but can you please fill out the form completely.",void new f.a(document.getElementById("errorModal")).show();const t=new FormData;t.set("requirement_title",this.requirementTitleModel),t.set("requirement_scope",this.requirementScopeModel),t.set("organisation",this.stakeholderModel.value),t.set("requirement_status",this.statusModel.value),t.set("requirement_type",this.typeModel.value),this.groupModel.forEach((e,n)=>{t.append("group_list",e.value)}),ce.post("save/",t).then(t=>{window.location.href=t.data}).catch(t=>{document.getElementById("errorModalContent").innerHTML="HTML ISSUE: We could not save the new requirement
"+t,new f.a(document.getElementById("errorModal")).show(),loader_elem.style.transform="translateY(-100vh)"})},updateGroupModel:function(t){this.groupModel=t},updateStakeholderModel:function(t){this.stakeholderModel=t}},mounted(){this.statusList.forEach(t=>{var e={value:t.pk,status:t.fields.requirement_status};this.statusFixList.push(e)}),this.typeList.forEach(t=>{var e={value:t.pk,type:t.fields.requirement_type};this.typeFixList.push(e)})}},le,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Place a basic bird's eye view of the requirement description here. You will be able to break\n the requirement down into smaller components called 'Items' on the next page.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Set the Requirement Status and Type here.")])])}],!1,null,"2f36f1f4",null);de.options.__file="src/js/components/requirements/NewRequirement.vue";var ue=de.exports,pe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newNoteModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg",attrs:{role:"document"}},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.noteAdd}}),t._v(" New Note")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",{staticClass:"text-instructions"},[t._v("\n Use the text editor to type out your note. Click on the submit button to submit the note.\n ")]),t._v(" "),n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.newNoteModel,callback:function(e){t.newNoteModel=e},expression:"newNoteModel"}})],1),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:""==t.newNoteModel},on:{click:t.submitNote}},[t._v("\n Submit Note\n ")]),t._v(" "),n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")])])])])])};pe._withStripped=!0;const me=n(3);var fe=J({name:"NewHistoryNoteWizard",props:["locationId","destination"],mixins:[h,Z],data:()=>({newNoteModel:""}),methods:{submitNote:function(){const t=new FormData;t.set("destination",this.destination),t.set("location_id",this.locationId),t.set("note",this.newNoteModel),me.post(`/object_data/${this.destination}/${this.locationId}/add_notes/`,t).then(t=>{this.$emit("update_note_history_results",t.data),document.getElementById("newNoteCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})}}},pe,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"newNoteCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"5b9840e8",null);fe.options.__file="src/js/components/modules/wizards/NewHistoryNoteWizard.vue";var he=fe.exports,ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newItemModal",tabindex:"-1","aria-labelledby":"requirementItemModal","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.clipboardIcon}}),t._v(" New Requirement Item Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",{attrs:{for:"id_requirement_item_title"}},[t._v("Requirement Item Title:\n "),t.$v.requirementItemTitleModel.required?t._e():n("span",{staticClass:"error"},[t._v(" Please suppy a title.")])]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.requirementItemTitleModel,expression:"requirementItemTitleModel"}],staticClass:"form-control",attrs:{id:"id_requirement_item_title",name:"requirement_item_title",type:"text",required:"true",maxlength:"255"},domProps:{value:t.requirementItemTitleModel},on:{input:function(e){e.target.composing||(t.requirementItemTitleModel=e.target.value)}}}),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Requirement Item Scope:\n "),!t.$v.requirementItemScopeModel.required&&t.$v.requirementItemScopeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a scope.")]):t._e(),t._v(" "),t.$v.requirementItemScopeModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.requirementItemScopeModel,callback:function(e){t.requirementItemScopeModel=e},expression:"requirementItemScopeModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Status\n "),!t.$v.statusItemModel.required&&t.$v.statusItemModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a status.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.statusItemFixList,label:"status"},model:{value:t.statusItemModel,callback:function(e){t.statusItemModel=e},expression:"statusItemModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Type\n "),!t.$v.typeItemModel.required&&t.$v.typeItemModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.typeItemFixList,label:"type"},model:{value:t.typeItemModel,callback:function(e){t.typeItemModel=e},expression:"typeItemModel"}})],1)])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.saveItem}},[t._v("Save Requirement Item")])])])])])};ve._withStripped=!0;const ge=n(3);var be=J({name:"NewRequirementItemWizard",props:["itemStatusList","itemTypeList","locationId"],mixins:[h,Z],data:()=>({requirementItemScopeModel:"",requirementItemTitleModel:"",statusItemFixList:[],statusItemModel:"",typeItemFixList:[],typeItemModel:""}),validations:{requirementItemScopeModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},requirementItemTitleModel:{required:dt.required},statusItemModel:{required:dt.required},typeItemModel:{required:dt.required}},methods:{saveItem:function(){if(this.$v.$touch(),this.$v.$invalid)return;const t=new FormData;t.set("requirement_item_title",this.requirementItemTitleModel),t.set("requirement_item_scope",this.requirementItemScopeModel),t.set("requirement_item_status",this.statusItemModel.value),t.set("requirement_item_type",this.typeItemModel.value),ge.post(`/new_requirement_item/save/${this.locationId}/`,t).then(t=>{this.requirementItemScopeModel="",this.requirementItemTitleModel="",this.statusItemModel="",this.typeItemModel="",this.$emit("new_item_added",t.data),document.getElementById("requirementItemCloseButton").click()}).catch(t=>{this.showErrorModal(t,this.destination)})}},watch:{itemStatusList:function(){this.itemStatusList.forEach(t=>{var e={value:t.pk,status:t.fields.requirement_item_status};this.statusItemFixList.push(e)})},itemTypeList:function(){this.itemTypeList.forEach(t=>{var e={value:t.pk,type:t.fields.requirement_item_type};this.typeItemFixList.push(e)})}}},ve,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"requirementItemCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Place in a detailed description of this requirement item. This particular item can be\n then connected to Project or Tasks.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Set the Requirement Status and Type here.")])])}],!1,null,"1a90b55c",null);be.options.__file="src/js/components/modules/wizards/NewRequirementItemWizard.vue";var _e=be.exports,ye=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newRequirementLinkModal",tabindex:"-1","aria-labelledby":"requirementLinkModal","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" New Requirement Link Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching?n("div",{staticClass:"alert alert-success"},[t._v("\n Searching for "+t._s(t.objectModel)+"s\n ")]):n("v-select",{staticClass:"object-selection",attrs:{options:t.objectSelection},model:{value:t.objectModel,callback:function(e){t.objectModel=e},expression:"objectModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching||null==t.objectModel?n("div",{attrs:{id:"link_wizard_results"}},[n("img",{attrs:{src:"/static/NearBeach/images/placeholder/search.svg",alt:"Searching..."}})]):t._e(),t._v(" "),0==t.objectResults.length&&null!=t.objectModel?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - there are no results.\n ")]):t._e(),t._v(" "),!t.isSearching&&t.objectResults.length>0&&null!=t.objectModel?n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",[t._v(t._s(t.objectModel)+" Description")]),t._v(" "),n("td",[t._v("Status")])])]),t._v(" "),"Project"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_project_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_project_"+e.pk}},[t._v("\n "+t._s(e.fields.project_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Project "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.project_status))])])})),0):t._e(),t._v(" "),"Task"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_task_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_task_"+e.pk}},[t._v("\n "+t._s(e.fields.task_short_description)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Task "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.task_status))])])})),0):t._e(),t._v(" "),"Opportunity"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_opportunity_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_opportunity_"+e.pk}},[t._v("\n "+t._s(e.fields.opportunity_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Opportunity "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.opportunity_success_probability)+"%")])])})),0):t._e()]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.linkModel.length},on:{click:t.saveLinks}},[t._v("Save changes")])])])])])};ye._withStripped=!0;const we=n(3);var xe=J({name:"NewRequirementLinkWizard",props:["destination","locationId"],mixins:[h,Z],data:()=>({isSearching:!1,objectModel:null,objectResults:[],objectSelection:["Project","Task"],linkModel:[]}),methods:{saveLinks:function(){const t=new FormData;this.linkModel.forEach(e=>{t.append(""+this.objectModel.toLowerCase(),e)}),we.post(`/${this.destination}_information/${this.locationId}/add_link/`,t).then(t=>{this.$emit("update_module",{}),document.getElementById("requirementLinkCloseButton").click()})}},watch:{objectModel:function(){this.linkModel=[],null!==this.objectModel?(this.isSearching=!0,we.post(`/object_data/${this.destination}/${this.locationId}/${this.objectModel.toLowerCase()}/link_list/`).then(t=>{this.objectResults=t.data,this.isSearching=!1}).catch(t=>{this.showErrorModal(t,this.destination)})):this.isSearching=!1},linkModel:function(){}}},ye,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"requirementLinkCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Object Selector")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please select which object you would like to link to this requirement.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Select Links")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please select which of the objects you want to connect to this requirement.\n ")])])}],!1,null,"c80394fa",null);xe.options.__file="src/js/components/modules/wizards/NewRequirementLinkWizard.vue";var ke=xe.exports,Ce=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Requirement Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_requirement_title"}},[t._v("Requirement Title:\n "),t.$v.requirementTitleModel.required?t._e():n("span",{staticClass:"error"},[t._v(" Please suppy a title.")])]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.requirementTitleModel,expression:"requirementTitleModel"}],staticClass:"form-control",attrs:{id:"id_requirement_title",name:"requirement_title",type:"text",required:"true",maxlength:"255"},domProps:{value:t.requirementTitleModel},on:{input:function(e){e.target.composing||(t.requirementTitleModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Requirement Scope:\n "),t.$v.requirementScopeModel.required?t._e():n("span",{staticClass:"error"},[t._v(" Please supply a scope.")]),t._v(" "),t.$v.requirementScopeModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:"/static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,disabled:t.isReadOnly,skin:!1},model:{value:t.requirementScopeModel,callback:function(e){t.requirementScopeModel=e},expression:"requirementScopeModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("stakeholder-information",{attrs:{"organisation-results":t.organisationResults,"default-stakeholder-image":t.defaultStakeholderImage}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[t.statusModel.status_closed?n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"alert alert-info"},[t._v("\n Please note - this requirement is closed.\n ")])]):n("div",{staticClass:"col-md-12"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Status\n "),!t.$v.statusModel.required&&t.$v.statusModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a status.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.statusFixList,clearable:!1,label:"status"},model:{value:t.statusModel,callback:function(e){t.statusModel=e},expression:"statusModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-6"},[t.statusModel.status_closed?n("div",{staticClass:"alert alert-danger"},[t._v("\n Please note - saving the requirement with this status will \n close the requirement.\n ")]):t._e()])])]),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Type\n "),!t.$v.typeModel.required&&t.$v.typeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.typeFixList,disabled:t.isReadOnly,clearable:!1,label:"type"},model:{value:t.typeModel,callback:function(e){t.typeModel=e},expression:"typeModel"}})],1)])])])]),t._v(" "),n("hr"),t._v(" "),t.userLevel>1?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateRequirement}},[t._v("Update Requirement")])])]):t._e()],1)])};Ce._withStripped=!0;const Me=n(3);var Se=J({name:"RequirementInformation",components:{},props:["defaultStakeholderImage","organisationResults","requirementResults","statusList","typeList","userLevel"],mixins:[h,ie],data:()=>({isReadOnly:!1,requirementScopeModel:"",requirementTitleModel:"",stakeholderModel:"",statusFixList:[],statusModel:"",typeFixList:[],typeModel:""}),validations:{requirementScopeModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},requirementTitleModel:{required:dt.required},statusModel:{required:dt.required},typeModel:{required:dt.required}},methods:{updateRequirement:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();this.showLoadingModal("Requirement");const t=new FormData;t.set("requirement_title",this.requirementTitleModel),t.set("requirement_scope",this.requirementScopeModel),t.set("requirement_status",this.statusModel.value),t.set("requirement_type",this.typeModel.value),Me.post("save/",t).then(t=>{this.closeLoadingModal(),this.statusModel.status_closed&&window.location.reload()}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){var t=this.requirementResults[0].fields;this.requirementScopeModel=t.requirement_scope,this.requirementTitleModel=t.requirement_title,this.statusFixList=this.statusList.map(t=>({value:t.pk,status:t.fields.requirement_status,status_closed:t.fields.requirement_status_is_closed})),this.typeList.forEach(t=>{var e={value:t.pk,type:t.fields.requirement_type};this.typeFixList.push(e)}),this.statusModel=this.statusFixList.filter(e=>e.value==t.requirement_status)[0],this.typeModel=this.typeFixList.filter(e=>e.value==t.requirement_type)[0],(this.statusModel.status_closed||1===this.userLevel)&&(this.isReadOnly=!0)}},Ce,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Place a basic bird's eye view of the requirement description here. You will be able to break\n the requirement down into smaller components called 'Items' below in the 'Requirement Item'\n section.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Set the Requirement Status and Type here.")])])}],!1,null,"577bbb6c",null);Se.options.__file="src/js/components/requirements/RequirementInformation.vue";var Te=Se.exports,Ee=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkIcon2}}),t._v(" Requirement Item Links")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are links for the Items to other projects/tasks.\n ")]),t._v(" "),0==t.itemLinkResults.length?n("div",[n("div",{staticClass:"alert alert-dark"},[t._v("\n Sorry - there are no Item Links. Please navigate to the Item you wish to add a link too.\n ")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.itemLinkResults,(function(e){return n("tr",{key:e.pk},[n("td",{domProps:{innerHTML:t._s(t.extractObjectDescription(e))}}),t._v(" "),n("td",[t._v(t._s(t.extractObjectStatus(e)))])])})),0)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.newRequirementItemLink}},[t._v("Create new Link")])])]),t._v(" "),n("new-requirement-link-wizard",{attrs:{"location-id":t.locationId,destination:t.destination},on:{update_module:t.updateModel}})],1)};Ee._withStripped=!0;const je=n(3);var Oe=J({name:"RequirementItemLinksModule",props:{destination:String,locationId:Number},mixins:[Z],data:()=>({itemLinkResults:[]}),methods:{extractObjectDescription:function(t){var e="ERROR",n="ERROR",r="/",i="";return null!==t.opportunity_id?(e=t.opportunity_id__opportunity_name,n="Opportunity "+t.opportunity_id,r="/opportunity_information/"+t.opportunity_id):null!==t.project_id?(e=t.project_id__project_name,n="Project "+t.project_id,r="/project_information/"+t.project_id):null!==t.quote_id?(e=t.quote_id__quote_title,n="Quote "+t.quote_id,r="/quote_information/"+t.quote_id):null!==t.task_id&&(e=t.task_id__task_short_description,n="Task "+t.task_id,r="/task_information/"+t.task_id),null!==t.requirement_id&&(i=``,n=`${n} / Item ${t.requirement_id}`),`\n \n

\n ${e}\n

\n
\n ${i}\n \n
\n `},extractObjectStatus:function(t){var e="ERROR";return null!==t.opportunity_id?e=t.opportunity_id__opportunity_stage_id__opportunity_stage_description:null!==t.project_id?e=t.project_id__project_status:null!==t.quote_id?e=t.quote_id__quote_title:null!==t.task_id&&(e=t.task_id__task_status),e},updateLinkResults:function(){je.post("data/links/").then(t=>{this.itemLinkResults=t.data})},newRequirementItemLink:function(){new f.a(document.getElementById("newRequirementLinkModal")).show()},updateModel:function(){}},mounted(){this.updateLinkResults()}},Ee,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Object Description")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])}],!1,null,"78110c2c",null);Oe.options.__file="src/js/components/modules/sub_modules/RequirementItemLinksModule.vue";var Ie=Oe.exports,Le=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.clipboardIcon}}),t._v(" Requirement Items")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Requirements should be broken down into smaller compoenents called Requirement Items.\n ")]),t._v(" "),0==t.itemResults.length?n("div",{staticClass:"requirement-item-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("Sorry - there are no Items for this requirement.")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.itemResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/requirement_item_information/"+e.pk+"/"}},[n("p",[t._v("\n "+t._s(e.fields.requirement_item_title)+"\n ")]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Item No. "+t._s(e.pk)+" - "+t._s(t.getType(e.fields.requirement_item_type))+"\n ")])])]),t._v(" "),n("td",[t._v(t._s(t.getStatus(e.fields.requirement_item_status)))])])})),0)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.createNewItem}},[t._v("Create new Requirement Item")])])]),t._v(" "),n("new-requirement-item-wizard",{attrs:{"item-status-list":t.itemStatusList,"item-type-list":t.itemTypeList,"location-id":t.locationId},on:{new_item_added:function(e){return t.new_item_added(e)}}})],1)};Le._withStripped=!0;const De=n(3);var Ne=J({name:"RequirementItemsModule",props:["locationId"],mixins:[Z],components:{axios:De},data:()=>({itemResults:[],itemStatusList:[],itemTypeList:[]}),methods:{createNewItem:function(){new f.a(document.getElementById("newItemModal")).show()},getStatus:function(t){var e=this.itemStatusList.filter(e=>e.pk==t);return 0==e.length?"Unknown Status":e[0].fields.requirement_item_status},getType:function(t){var e=this.itemTypeList.filter(e=>e.pk==t);return 0==e.length?"Unknown Type":e[0].fields.requirement_item_type},new_item_added:function(t){this.itemResults=t},updateItemResults:function(){De.post("data/items/").then(t=>{this.itemResults=[],t.data.forEach(t=>{this.itemResults.push(t)})})},updateStatusList:function(){De.post("data/item_status/").then(t=>{this.itemStatusList=[],t.data.forEach(t=>{this.itemStatusList.push(t)})})},updateTypeList:function(){De.post("data/item_type/").then(t=>{this.itemTypeList=[],t.data.forEach(t=>{this.itemTypeList.push(t)})})}},mounted(){this.updateStatusList(),this.updateTypeList(),this.updateItemResults()}},Le,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Requirement Item")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])}],!1,null,"5c14de78",null);Ne.options.__file="src/js/components/modules/sub_modules/RequirementItemsModule.vue";var $e=Ne.exports,Ae=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkIcon}}),t._v(" Requirement Links")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are links to other projects/tasks. You can link a Requirement to these other objects to\n symbolise a connection between the two.\n ")]),t._v(" "),0===t.linkResults.length?n("div",{staticClass:"requirement-item-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("Sorry - there are no Links for this requirement.")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.linkResults,(function(e){return n("tr",[n("td",{domProps:{innerHTML:t._s(t.extractObjectDescription(e))}}),t._v(" "),n("td",[t._v(t._s(t.extractObjectStatus(e)))])])})),0)])]),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.newRequirementLink}},[t._v("Create new Link")])])]),t._v(" "),n("hr"),t._v(" "),n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkIcon2}}),t._v(" Requirement Item Links")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are links for the Items to other projects/tasks.\n ")]),t._v(" "),0==t.itemLinkResults.length?n("div",[n("div",{staticClass:"alert alert-dark"},[t._v("\n Sorry - there are no Item Links. Please navigate to the Item you wish to add a link too.\n ")])]):n("div",[n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.itemLinkResults,(function(e){return n("tr",[n("td",{domProps:{innerHTML:t._s(t.extractObjectDescription(e))}}),t._v(" "),n("td",[t._v(t._s(t.extractObjectStatus(e)))])])})),0)])]),t._v(" "),n("new-requirement-link-wizard",{attrs:{"location-id":t.locationId,destination:"requirement"},on:{update_module:t.updateModel}})],1)};Ae._withStripped=!0;const Re=n(3);var Pe=J({name:"RequirementLinksModule",props:["activateLazyLoading","destination","locationId"],mixins:[Z],data:()=>({linkResults:[],itemLinkResults:[],linkModel:[]}),methods:{extractObjectDescription:function(t){var e="ERROR",n="ERROR",r="/",i="";return null!==t.opportunity_id?(e=t.opportunity_id__opportunity_name,n="Opportunity "+t.opportunity_id,r="/opportunity_information/"+t.opportunity_id):null!==t.project_id?(e=t.project_id__project_name,n="Project "+t.project_id,r="/project_information/"+t.project_id):null!==t.quote_id?(e=t.quote_id__quote_title,n="Quote "+t.quote_id,r="/quote_information/"+t.quote_id):null!==t.task_id&&(e=t.task_id__task_short_description,n="Task "+t.task_id,r="/task_information/"+t.task_id),null!==t.requirement_id&&(i=``,n=`${n} / Item ${t.requirement_id}`),`\n \n

\n ${e}\n

\n
\n ${i}\n \n
\n `},extractObjectStatus:function(t){var e="ERROR";return null!==t.opportunity_id?e=t.opportunity_id__opportunity_stage_id__opportunity_stage_description:null!==t.project_id?e=t.project_id__project_status:null!==t.quote_id?e=t.quote_id__quote_title:null!==t.task_id&&(e=t.task_id__task_status),e},newRequirementLink:function(){new f.a(document.getElementById("newRequirementLinkModal")).show()},updateItemLinkResults:function(){Re.post("data/item_links/").then(t=>{this.itemLinkResults=t.data})},updateLinkResults:function(){Re.post("data/links/").then(t=>{this.linkResults=t.data})},updateModel:function(){this.updateLinkResults(),this.updateItemLinkResults()}},mounted(){this.updateModel()}},Ae,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Object Description")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Object Description")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])}],!1,null,"7e38157d",null);Pe.options.__file="src/js/components/modules/sub_modules/RequirementLinksModule.vue";var qe=Pe.exports,ze=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"uploadDocumentModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Upload Document Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Uploading File")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n You will be able to upload a file against this "+t._s(t.destination)+". It will appear in the\n current folder.\n ")]),t._v(" "),0==t.documentModel.length?n("p",[t._v('\n 1. Please click on "Upload File" button to upload a file\n ')]):""==t.uploadPercentage?n("p",[t._v('\n 2. Please modify the document descript to be more human readable. Or click the "Reset"\n button to remove the uploaded file.\n ')]):n("p",[t._v("\n 3. Document is currently uploading. Please be patient.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[0==t.documentModel.length?n("div",{staticClass:"form-file"},[n("div",{staticClass:"mb-3"},[n("label",{staticClass:"form-label",attrs:{for:"document"}},[t._v("\n Please upload a file"),n("br"),t._v("\n "+t._s(t.maxUploadString)+"\n "),t.maxUploadWarning?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - file too large\n ")]):t._e()]),t._v(" "),n("input",{staticClass:"form-control",attrs:{type:"file",id:"document",accept:t.acceptedDocuments},on:{change:function(e){return t.handleFileUploads(e.target.files)}}})])]):""==t.uploadPercentage?n("div",{staticClass:"form-group"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"documentDescription"}},[t._v("Document Description")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.documentDescriptionModel,expression:"documentDescriptionModel"}],staticClass:"form-control",attrs:{id:"documentDescription",type:"text"},domProps:{value:t.documentDescriptionModel},on:{input:function(e){e.target.composing||(t.documentDescriptionModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-row"},[n("button",{staticClass:"btn btn-warning",on:{click:t.resetForm}},[t._v("\n Reset Form\n ")])])]):n("div",[parseFloat(t.uploadPercentage).toFixed(0)<1?n("div",{staticClass:"alert alert-warning"},[t._v("\n Uploading "+t._s((100*parseFloat(t.uploadPercentage)).toFixed(2))+"%\n "),t._m(1)]):n("div",{staticClass:"alert alert-success"},[t._v("\n The document has been uploaded. The server is currently writing the file to disk.\n Please be patient - this modal will close automatically. Thank you\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableUploadButton},on:{click:t.uploadFile}},[t._v("\n Upload File\n ")])])])])])};ze._withStripped=!0;const Fe=n(3);var Ue=J({name:"UploadDocumentWizard",props:{acceptedDocuments:{type:String,default:"image/*,text/*,.pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"},currentFolder:String,destination:String,excludeDocuments:{type:Array,default:[]},locationId:Number},mixins:[h,Z],data:()=>({disableUploadButton:!0,documentModel:[],documentDescriptionModel:"",uploadPercentage:"",maxUploadSize:0,maxUploadString:"No Upload Limit",maxUploadWarning:!1}),methods:{handleFileUploads:function(t){t[0].size*(0!=this.maxUploadSize)>this.maxUploadSize?this.maxUploadWarning=!0:(this.maxUploadWarning=!1,this.documentModel=t[0],this.documentDescriptionModel=t[0].name)},resetForm:function(){this.documentModel="",this.documentDescriptionModel="",this.uploadPercentage=""},uploadFile:function(){const t=new FormData;t.set("document",this.documentModel,this.documentDescriptionModel),t.set("document_description",this.documentDescriptionModel),""!=this.currentFolder&&null!==this.currentFolder&&t.set("parent_folder",this.currentFolder);const e={onUploadProgress:t=>{this.uploadPercentage=parseFloat(t.loaded)/parseFloat(t.total)}};Fe.post(`/documentation/${this.destination}/${this.locationId}/upload/`,t,e).then(t=>{this.$emit("update_document_list",t.data),document.getElementById("uploadDocumentCloseButton").click(),this.resetForm()}).catch(t=>{this.showErrorModal(t,this.destination)})}},watch:{maxUploadSize:function(){if(0===this.maxUploadSize)return"No Upload Limit";const t=Math.floor(Math.log(this.maxUploadSize)/Math.log(1024));this.maxUploadString=`Max Upload Size: ${parseFloat((this.maxUploadSize/Math.pow(1024,t)).toFixed(2))} ${["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][t]}`}},updated(){var t=this.excludeDocuments.filter(t=>t.document_key__document_description==this.documentDescriptionModel);this.disableUploadButton=""==this.documentModel||0==this.documentDescriptionModel.length||t.length>0},mounted(){Fe.post("/documentation/get/max_upload/").then(t=>{this.maxUploadSize=t.data.max_upload_size}).catch(t=>{this.showErrorModal(t,this.destination)})}},ze,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"uploadDocumentCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}],!1,null,"4cebf53c",null);Ue.options.__file="src/js/components/modules/wizards/UploadDocumentWizard.vue";var Be=Ue.exports,Ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Requirement Item Information")]),t._v(" "),n("br"),t._v(" "),n("a",{attrs:{href:"/requirement_information/"+t.requirementItemResults[0].fields.requirement+"/"}},[t._v("\n Go Back to requirement\n ")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"requirement_item_title"}},[t._v("\n Requirement Item Title:\n "),t.$v.requirementItemTitleModel.required?t._e():n("span",{staticClass:"error"},[t._v("\n Please suppy a title.\n ")])]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.requirementItemTitleModel,expression:"requirementItemTitleModel"}],staticClass:"form-control",attrs:{id:"requirement_item_title",type:"text",required:"true",maxlength:"255"},domProps:{value:t.requirementItemTitleModel},on:{input:function(e){e.target.composing||(t.requirementItemTitleModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Item Scope:\n "),t.$v.requirementItemScopeModel.required?t._e():n("span",{staticClass:"error"},[t._v(" Please supply a scope.")]),t._v(" "),t.$v.requirementItemScopeModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:"/static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.requirementItemScopeModel,callback:function(e){t.requirementItemScopeModel=e},expression:"requirementItemScopeModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8 organisation-details"},[n("img",{staticClass:"organisation-image",attrs:{src:t.getStakeholderImage,alt:"Stakeholder Logo"}}),t._v(" "),n("div",{staticClass:"organisation-name"},[t._v("\n "+t._s(t.stakeholderModel.organisation_name)+"\n ")]),t._v(" "),n("div",{staticClass:"organisation-link"},[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" Website:\n "),n("a",{attrs:{href:t.stakeholderModel.organisation_website,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.stakeholderModel.organisation_website)+"\n ")])],1),t._v(" "),n("div",{staticClass:"organisation-email"},[n("IconifyIcon",{attrs:{icon:t.icons.mailIcon}}),t._v(" Email:\n "),n("a",{attrs:{href:"mailto:"+t.stakeholderModel.organisation_email}},[t._v("\n "+t._s(t.stakeholderModel.organisation_email)+"\n ")])],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Status\n "),!t.$v.statusModel.required&&t.$v.statusModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a status.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.statusFixList,label:"status"},model:{value:t.statusModel,callback:function(e){t.statusModel=e},expression:"statusModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Requirement Type\n "),!t.$v.typeModel.required&&t.$v.typeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.typeFixList,label:"type"},model:{value:t.typeModel,callback:function(e){t.typeModel=e},expression:"typeModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateRequirementItem}},[t._v("Update Requirement")])])])])])};Ve._withStripped=!0;const He=n(3);var We=J({name:"RequirementItemInformation.vue",props:["requirementItemResults","organisationResults","defaultStakeholderImage","statusList","typeList"],mixins:[Z],data:()=>({requirementItemScopeModel:"",requirementItemTitleModel:"",stakeholderModel:"",statusFixList:[],statusModel:"",typeFixList:[],typeModel:""}),validations:{requirementItemScopeModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},requirementItemTitleModel:{required:dt.required},statusModel:{required:dt.required},typeModel:{required:dt.required}},computed:{getStakeholderImage:function(){return""==this.stakeholderModel.organisation_profile_picture?this.defaultStakeholderImage:this.stakeholderModel.organisation_profile_picture}},methods:{updateRequirementItem:function(){if(this.$v.$touch(),this.$v.$invalid)return document.getElementById("errorModalContent").innerHTML="FORM ISSUE: Sorry, but can you please fill out the form completely.",void new f.a(document.getElementById("errorModal")).show();var t=new f.a(document.getElementById("loadingModal"));t.show(),document.getElementById("loadingModalContent").innerHTML="Updating your Requirement Item details";const e=new FormData;e.set("requirement_item_title",this.requirementItemTitleModel),e.set("requirement_item_scope",this.requirementItemScopeModel),e.set("requirement_item_status",this.statusModel.value),e.set("requirement_item_type",this.typeModel.value),He.post("save/",e).then(e=>{document.getElementById("loadingModalContent").innerHTML="UPDATED SUCCESSFULLY",setTimeout(()=>{t.hide()},1e3)}).catch(e=>{t.hide(),document.getElementById("errorModalContent").innerHTML="HTML ISSUE: We could not save the new requirement item
"+e,new f.a(document.getElementById("errorModal")).show()})}},mounted(){var t=this.requirementItemResults[0].fields;this.requirementItemScopeModel=t.requirement_item_scope,this.requirementItemTitleModel=t.requirement_item_title,this.stakeholderModel=this.organisationResults[0].fields,this.statusList.forEach(t=>{var e={value:t.pk,status:t.fields.requirement_item_status};this.statusFixList.push(e)}),this.typeList.forEach(t=>{var e={value:t.pk,type:t.fields.requirement_item_type};this.typeFixList.push(e)}),this.statusModel=this.statusFixList.filter(e=>e.value==t.requirement_item_status)[0],this.typeModel=this.typeFixList.filter(e=>e.value==t.requirement_item_type)[0]}},Ve,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Requirement Items should be detailed. They should only focus on one small section of the\n requirement.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Stakeholder")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Set the Requirement Status and Type here.")])])}],!1,null,"a5797c66",null);We.options.__file="src/js/components/requirement_items/RequirementItemInformation.vue";var Ge=We.exports,Ye=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.organisationResults,(function(e){return n("div",{key:e.id,staticClass:"row"},[n("div",{staticClass:"organisation-details"},[""==e.fields.organisation_profile_picture?n("img",{staticClass:"organisation-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/product_tour.svg",alt:"Stakeholder Logo"}}):n("img",{staticClass:"organisation-image",attrs:{src:e.fields.organisation_profile_picture,alt:"Stakeholder Logo"}}),t._v(" "),n("div",{staticClass:"organisation-name"},[n("a",{attrs:{href:t.rootUrl+"organisation_information/"+e.pk+"/"}},[t._v("\n "+t._s(e.fields.organisation_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"organisation-link"},[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" Website:\n "),n("a",{attrs:{href:e.fields.organisation_website,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(e.fields.organisation_website)+"\n ")])],1),t._v(" "),n("div",{staticClass:"organisation-email"},[n("IconifyIcon",{attrs:{icon:t.icons.mailIcon}}),t._v(" Email:\n "),n("a",{attrs:{href:"mailto:"+e.fields.organisation_email}},[t._v("\n "+t._s(e.fields.organisation_email)+"\n ")])],1)])])})),0)};Ye._withStripped=!0;var Ke=J({name:"ListOrganisations",props:{organisationResults:Array,rootUrl:{type:String,default:"/"},staticUrl:{type:String,default:"/"}},mixins:[Z],methods:{}},Ye,[],!1,null,"08a112ee",null);Ke.options.__file="src/js/components/organisations/ListOrganisations.vue";var Ze=Ke.exports,Xe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Organisations")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-organisation",attrs:{type:"text"},domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),n("list-organisations",{attrs:{"organisation-results":t.localOrganisationResults,"root-url":t.rootUrl,"static-url":t.staticUrl}}),t._v(" "),0==t.localOrganisationResults.length?n("div",{staticClass:"alert alert-warning"},[t._v("There are no organisations with the search parameters used. Please try again.")]):t._e()],1)])};Xe._withStripped=!0;const Je=n(3);var Qe=J({name:"SearchOrganisations",props:{organisationResults:Array,staticUrl:{type:String,default:"/"},rootUrl:{type:String,default:"/"}},mixins:[ut],data(){return{localOrganisationResults:this.organisationResults,searchModel:"",searchTimeout:""}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),Je.post("/search/organisation/data/",t).then(t=>{this.localOrganisationResults=t.data}).catch(t=>{})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},Xe,[],!1,null,"1f5ddbb6",null);Qe.options.__file="src/js/components/search/SearchOrganisations.vue";var tn=Qe.exports,en=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Tags")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Tags")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Use the search bar to help you find any tags.\n ")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Click on the icon "),n("IconifyIcon",{attrs:{icon:t.icons.infoCircle}}),t._v("\n to edit the tag.\n ")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v('\n To add in any new tags - please click on the "New Tag" button.\n ')])]),t._v(" "),n("div",{staticClass:"col-md-8 tag-list"},t._l(t.localTagResults,(function(e){return n("div",{key:e.pk,staticClass:"single-tag",style:"background-color: "+e.fields.tag_colour+";",on:{dblclick:function(n){return t.editTag(e.pk)}}},[t._v("\n "+t._s(e.fields.tag_name)+"\n "),n("span",{on:{click:function(n){return t.editTag(e.pk)}}},[n("IconifyIcon",{attrs:{icon:t.icons.infoCircle}})],1)])})),0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addTag}},[t._v("Add Tag")])])])]),t._v(" "),n("edit-tag-modal",{attrs:{"existing-tags":t.localTagResults,"tag-colour":t.singleTagColour,"tag-id":t.singleTagId,"tag-name":t.singleTagName},on:{new_tag:t.newTag,delete_tag:function(e){return t.deleteTag(e)},update_tags:t.updateTags}})],1)])};en._withStripped=!0;var nn=J({name:"SearchTags",props:{tagResults:{type:Array,default:()=>[]}},data(){return{singleTagColour:"",singleTagId:0,singleTagName:"",localTagResults:this.tagResults}},mixins:[Z],methods:{addTag:function(){this.singleTagName="default tag",this.singleTagId=0,this.singleTagColour="#37cbd2",new f.a(document.getElementById("editTagModal")).show()},deleteTag:function(t){this.localTagResults=this.localTagResults.filter(e=>e.pk!==t.tag_id)},editTag:function(t){let e=this.localTagResults.filter(e=>e.pk==t)[0];this.singleTagName=e.fields.tag_name,this.singleTagId=t,this.singleTagColour=e.fields.tag_colour,new f.a(document.getElementById("editTagModal")).show()},newTag:function(t){this.localTagResults.push(t[0])},updateTags:function(t){let e=this.localTagResults.findIndex(e=>e.pk===t.tag_id);this.localTagResults[e].fields.tag_name=t.tag_name,this.localTagResults[e].fields.tag_colour=t.tag_colour}}},en,[],!1,null,null,null);nn.options.__file="src/js/components/search/SearchTags.vue";var rn=nn.exports,on=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Organisation Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),t._m(1),t._v(" "),n("div",{staticClass:"col-md-5"},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_organisation_name"}},[t._v("\n Organisation Name\n "),!t.$v.organisationNameModel.required&&t.$v.organisationNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationNameModel,expression:"organisationNameModel"}],staticClass:"form-control",attrs:{id:"id_organisation_name",type:"text"},domProps:{value:t.organisationNameModel},on:{input:function(e){e.target.composing||(t.organisationNameModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_organisation_website"}},[t._v("\n Organisation Website\n "),!t.$v.organisationWebsiteModel.required&&t.$v.organisationWebsiteModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.organisationWebsiteModel.url&&t.$v.organisationWebsiteModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format at URL\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationWebsiteModel,expression:"organisationWebsiteModel"}],staticClass:"form-control",attrs:{id:"id_organisation_website",type:"text"},domProps:{value:t.organisationWebsiteModel},on:{input:function(e){e.target.composing||(t.organisationWebsiteModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"id_organisation_email"}},[t._v("\n Organisation Email\n "),!t.$v.organisationEmailModel.required&&t.$v.organisationEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.organisationEmailModel.email&&t.$v.organisationEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format as Email\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.organisationEmailModel,expression:"organisationEmailModel"}],staticClass:"form-control",attrs:{id:"id_organisation_email",type:"text"},domProps:{value:t.organisationEmailModel},on:{input:function(e){e.target.composing||(t.organisationEmailModel=e.target.value)}}})])])]),t._v(" "),n("br"),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateOrganisation}},[t._v("Update Organisation")])])])])])};on._withStripped=!0;const an=n(3);var sn=J({name:"OrganisationInformation",props:{organisationResults:Array},mixins:[h,ie],data(){return{organisationNameModel:this.organisationResults[0].fields.organisation_name,organisationEmailModel:this.organisationResults[0].fields.organisation_email,organisationWebsiteModel:this.organisationResults[0].fields.organisation_website}},validations:{organisationNameModel:{required:dt.required,maxLength:Object(dt.maxLength)(255)},organisationWebsiteModel:{required:dt.required,url:dt.url},organisationEmailModel:{required:dt.required,email:dt.email}},methods:{updateOrganisation:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("organisation_name",this.organisationNameModel),t.set("organisation_email",this.organisationEmailModel),t.set("organisation_website",this.organisationWebsiteModel),this.showLoadingModal("Organisation"),an.post(`/organisation_information/${this.organisationResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"organisation",this.organisationResults[0].pk)})}}},on,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please Note")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please only use generic information for both the website and email. Do not use any personal\n details - you can create contacts in the section below.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-3"},[e("img",{staticClass:"organisation-profile-image",attrs:{src:"/static/NearBeach/images/placeholder/product_tour.svg",alt:"No Profile Picture"}}),this._v(" "),e("br"),this._v(" "),e("button",{staticClass:"btn btn-primary"},[this._v("Update Profile...")])])}],!1,null,"3a69a0c0",null);sn.options.__file="src/js/components/organisations/OrganisationInformation.vue";var ln=sn.exports,cn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[t._m(0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"tab-content",attrs:{id:"misc_module_content"}},[n("div",{staticClass:"tab-pane fade",attrs:{id:"organisation-contacts",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Contacts")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Below are a list of contacts who are connected to this organisation.\n ")]),t._v(" "),n("customers-list-module",{attrs:{"customer-results":t.customerResults}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.addNewContact}},[t._v("\n Add Contact\n ")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"document-uploads",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("documents-module",{attrs:{destination:t.destination,"location-id":t.locationId}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"associated-objects",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("associated-objects",{attrs:{destination:t.destination,"location-id":t.locationId}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"misc-modules",role:"tabpanel","aria-labelledby":"profile-tab"}},[n("misc-module",{attrs:{destination:t.destination,"location-id":t.locationId}})],1)])]),t._v(" "),n("new-customer-modal",{attrs:{"organisation-id":t.locationId,"title-list":t.titleList}})],1)};cn._withStripped=!0;var dn=J({name:"OrganisationModules",props:{customerResults:Array,destination:String,locationId:Number,titleList:Array},mixins:[Z],methods:{addNewContact:function(){new f.a(document.getElementById("addCustomerModal")).show()}}},cn,[function(){var t=this.$createElement,e=this._self._c||t;return e("ul",{staticClass:"nav nav-tabs",attrs:{id:"misc_module_tabs",role:"tablist"}},[e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"organisation-contacts-tab","data-bs-toggle":"tab","data-bs-target":"#organisation-contacts",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("\n Organisation Contacts\n ")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"document-uploads-tab","data-bs-toggle":"tab","data-bs-target":"#document-uploads",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("\n Document Uploads\n ")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"associated-objects-tab","data-bs-toggle":"tab","data-bs-target":"#associated-objects",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("\n Associated Objects\n ")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"misc-modules-tab","data-bs-toggle":"tab","data-bs-target":"#misc-modules",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("Misc\n ")])])])}],!1,null,"ce8eeb0a",null);dn.options.__file="src/js/components/organisations/OrganisationModules.vue";var un=dn.exports,pn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"customer-modules"},t._l(t.customerResults,(function(e){return n("div",{staticClass:"card card-customer"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"single-customer-card"},[n("img",{attrs:{src:t.getCustomerImage(e),alt:"default profile picture"}}),t._v(" "),n("div",{staticClass:"customer-card-name"},[t._v("\n "+t._s(e.fields.customer_first_name)+" "+t._s(e.fields.customer_last_name)+"\n ")]),t._v(" "),n("div",{staticClass:"customer-card-email"},[n("IconifyIcon",{attrs:{icon:t.icons.email}}),t._v("\n "+t._s(e.fields.customer_email)+"\n ")],1)])])])})),0)};pn._withStripped=!0;var mn=J({name:"CustomersListModule",props:["customerResults"],mixins:[Z],data:()=>({defaultCustomerImage:"/static/NearBeach/images/placeholder/people_tax.svg"}),methods:{getCustomerImage:function(t){return""==t.fields.customer_profile_picture?this.defaultCustomerImage:t.fields.customer_profile_picture}}},pn,[],!1,null,"8c283f98",null);mn.options.__file="src/js/components/modules/sub_modules/CustomersListModule.vue";var fn=mn.exports,hn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.objectStorage}}),t._v(" Associated Objects")],1),t._v(" "),t.projectResults.length+t.taskResults.length>0?n("hr"):t._e(),t._v(" "),t.projectResults.length>0?n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.projectResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/project_information/"+e.project_id+"/"}},[n("p",[t._v(t._s(e.project_name))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Project "+t._s(e.project_id)+" -\n End Date:\n "+t._s(t.getFriendlyDate(e.project_end_date))+"\n ")])])]),t._v(" "),n("td",[t._v(t._s(e.project_status))])])})),0)])])]):t._e(),t._v(" "),t.projectResults.length>0?n("hr"):t._e(),t._v(" "),t.requirementResults.length>0?n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("table",{staticClass:"table"},[t._m(3),t._v(" "),n("tbody",t._l(t.requirementResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/requirement_information/"+e.requirement_id+"/"}},[n("p",[t._v(t._s(e.requirement_title))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Requirement "+t._s(e.requirement_id)+"\n ")])])])])})),0)])])]):t._e(),t._v(" "),t.projectResults.length>0?n("hr"):t._e(),t._v(" "),t.taskResults.length>0?n("div",{staticClass:"row"},[t._m(4),t._v(" "),n("div",{staticClass:"col-md-8"},[n("table",{staticClass:"table"},[t._m(5),t._v(" "),n("tbody",t._l(t.taskResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/task_information/"+e.task_id+"/"}},[n("p",[t._v(t._s(e.task_short_description))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Task "+t._s(e.task_id)+" -\n End Date:\n "+t._s(t.getFriendlyDate(e.task_end_date))+"\n ")])])]),t._v(" "),n("td",[t._v(t._s(e.task_status))])])})),0)])])]):t._e(),t._v(" "),t.projectResults.length+t.taskResults.length===0?n("div",{staticClass:"spacer"}):t._e(),t._v(" "),t.projectResults.length+t.taskResults.length===0?n("div",{staticClass:"alert alert-info"},[t._v('\n There are currently no Objects associated with this Organisation. You can create some new objects by\n click on the "New Objects" menu item.\n ')]):t._e()])};hn._withStripped=!0;const vn=n(3);var gn=J({name:"AssociatedObjects",props:["destination","locationId"],mixins:[Z],data:()=>({opportunityResults:[],projectResults:[],requirementResults:[],taskResults:[]}),methods:{getAssociatedObjectResults:function(){vn.post(`/object_data/${this.destination}/${this.locationId}/associated_objects/`).then(t=>{this.opportunityResults=t.data.opportunity,this.projectResults=t.data.project,this.requirementResults=t.data.requirement,this.taskResults=t.data.task}).catch(t=>{})},getFriendlyDate:function(t){return new Date(t).toLocaleString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"})}},mounted(){this.getAssociatedObjectResults()}},hn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Project")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The following are current OPEN projects associated with the organisation.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Project Information")]),this._v(" "),e("td",[this._v("Status")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Requirement")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The following are current OPEN requirements associated with the organisation.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Requirement Information")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Task")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The following are current OPEN tasks associated with the organisation.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Task Information")]),this._v(" "),e("td",[this._v("Status")])])])}],!1,null,"5019fa43",null);gn.options.__file="src/js/components/modules/sub_modules/AssociatedObjects.vue";var bn=gn.exports,_n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"form-group col-sm-3"},[n("label",[t._v("\n Title:\n "),!t.$v.titleModel.required&&t.$v.titleModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.titleFixList,label:"title"},model:{value:t.titleModel,callback:function(e){t.titleModel=e},expression:"titleModel"}})],1),t._v(" "),n("div",{staticClass:"form-group col-sm-4"},[n("label",[t._v("\n First Name:\n "),!t.$v.customerFirstNameModel.required&&t.$v.customerFirstNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerFirstNameModel,expression:"customerFirstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerFirstNameModel},on:{input:function(e){e.target.composing||(t.customerFirstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group col-sm-5"},[n("label",[t._v("\n Last Name:\n "),!t.$v.customerLastNameModel.required&&t.$v.customerLastNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerLastNameModel,expression:"customerLastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerLastNameModel},on:{input:function(e){e.target.composing||(t.customerLastNameModel=e.target.value)}}})])]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group col-sm-8"},[n("label",[t._v("\n Email:\n "),!t.$v.customerEmailModel.required&&t.$v.customerEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e(),t._v(" "),!t.$v.customerEmailModel.email&&t.$v.customerEmailModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please format as Email\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerEmailModel,expression:"customerEmailModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerEmailModel},on:{input:function(e){e.target.composing||(t.customerEmailModel=e.target.value)}}})]),t._v(" "),n("br")])])};_n._withStripped=!0;n(3);var yn=J({name:"NewCustomerForm",props:["flagValidationCheck","organisationName","titleList"],data:()=>({customerEmailModel:"",customerFirstNameModel:"",customerLastNameModel:"",organisationModel:{},searchTimeout:"",titleFixList:[],titleModel:[]}),validations:{customerEmailModel:{required:dt.required,email:dt.email},customerFirstNameModel:{required:dt.required},customerLastNameModel:{required:dt.required},organisationModel:{required:dt.required},titleModel:{required:dt.required}},methods:{},watch:{customerEmailModel:function(){this.$emit("update_customer_data",{field:"customerEmailModel",value:this.customerEmailModel})},customerFirstNameModel:function(){this.$emit("update_customer_data",{field:"customerFirstNameModel",value:this.customerFirstNameModel})},customerLastNameModel:function(){this.$emit("update_customer_data",{field:"customerLastNameModel",value:this.customerLastNameModel})},flagValidationCheck:function(){this.flagValidationCheck&&this.$v.$touch()},titleModel:function(){this.$emit("update_customer_data",{field:"titleModel",value:this.titleModel})}},mounted(){this.titleList.forEach(t=>{this.titleFixList.push({value:t.pk,title:t.fields.title})})}},_n,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("New Customer")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out the following details.\n ")]),this._v(" "),e("strong",[this._v("Please Note:")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Customers do not go through a duplication process. Please search for the potential customer\n first before adding them into NearBeach.\n ")])])}],!1,null,"ecd082a8",null);yn.options.__file="src/js/components/customers/NewCustomerForm.vue";var wn=yn.exports,xn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addCustomerModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-xl"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.userIcon}}),t._v(" Add Customer Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("new-customer-form",{attrs:{"title-list":t.titleList,"flag-validation-check":t.flagValidationCheck},on:{update_customer_data:function(e){return t.updateCustomerData(e)}}})],1),t._v(" "),n("div",{staticClass:"modal-footer"},[n("a",{staticClass:"btn btn-primary",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewCustomer}},[t._v("Add Contact")]),t._v(" "),n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")])])])])])};xn._withStripped=!0;const kn=n(3);var Cn=J({name:"NewCustomerModal",props:["organisationId","titleList"],mixins:[Z],data:()=>({customerEmailModel:"",customerFirstNameModel:"",customerLastNameModel:"",flagValidationCheck:!1,organisationModel:{},titleModel:[]}),validations:{customerEmailModel:{required:dt.required,email:dt.email},customerFirstNameModel:{required:dt.required},customerLastNameModel:{required:dt.required},titleModel:{required:dt.required}},methods:{submitNewCustomer:function(){if(this.flagValidationCheck=!0,setTimeout(()=>{this.flagValidationCheck=!1},100),this.$v.$touch(),this.$v.$invalid)return document.getElementById("errorModalContent").innerHTML="FORM ISSUE: Sorry, but can you please fill out the form completely.",void new f.a(document.getElementById("errorModal")).show();const t=new FormData;t.set("customer_title",this.titleModel.value),t.set("customer_first_name",this.customerFirstNameModel),t.set("customer_last_name",this.customerLastNameModel),t.set("customer_email",this.customerEmailModel),t.set("organisation",this.organisationId),kn.post("/new_customer/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{})},updateCustomerData:function(t){this[t.field]=t.value}}},xn,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addCustomerCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"7d129116",null);Cn.options.__file="src/js/components/customers/NewCustomerModal.vue";var Mn=Cn.exports,Sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Customers")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-organisation",attrs:{type:"text"},domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),n("list-customers",{attrs:{"customer-results":t.localCustomerResults,"root-url":t.rootUrl,"static-url":t.staticUrl}}),t._v(" "),0==t.localCustomerResults.length?n("div",{staticClass:"alert alert-warning"},[t._v("There are no customers with the search parameters used. Please try again.")]):t._e()],1)])};Sn._withStripped=!0;const Tn=n(3);var En=J({name:"SearchCustomers",props:{customerResults:Array,staticUrl:{type:String,default:"/"},rootUrl:{type:String,root:"/"}},mixins:[ut],data(){return{localCustomerResults:this.customerResults,searchModel:"",searchTimeout:""}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),Tn.post(this.rootUrl+"search/customer/data/",t).then(t=>{this.localCustomerResults=t.data}).catch(t=>{})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},Sn,[],!1,null,"01876c9c",null);En.options.__file="src/js/components/search/SearchCustomers.vue";var jn=En.exports,On=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.customerResults,(function(e){return n("div",{staticClass:"row"},[n("div",{staticClass:"organisation-details"},[""==e.fields.customer_profile_picture?n("img",{staticClass:"organisation-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/product_tour.svg",alt:"Stakeholder Logo"}}):n("img",{staticClass:"organisation-image",attrs:{src:e.fields.customer_profile_picture,alt:"Stakeholder Logo"}}),t._v(" "),n("div",{staticClass:"organisation-name"},[n("a",{attrs:{href:t.rootUrl+"customer_information/"+e.pk+"/"}},[t._v("\n "+t._s(e.fields.customer_first_name)+" "+t._s(e.fields.customer_last_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"organisation-email"},[n("IconifyIcon",{attrs:{icon:t.icons.mailIcon}}),t._v(" Email:\n "),n("a",{attrs:{href:"mailto:"+e.fields.customer_email}},[t._v("\n "+t._s(e.fields.customer_email)+"\n ")])],1)])])})),0)};On._withStripped=!0;var In=J({name:"ListCustomers",props:{customerResults:Array,staticUrl:{type:String,default:"/"},rootUrl:{type:String,default:"/"}},mixins:[Z],methods:{}},On,[],!1,null,"2b1d5681",null);In.options.__file="src/js/components/customers/ListCustomers.vue";var Ln=In.exports,Dn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Customer Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[t._m(1),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"form-group col-sm-3"},[n("label",[t._v("\n Title:\n "),!t.$v.customerTitleModel.required&&t.$v.customerTitleModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.titleFixList,label:"title"},model:{value:t.customerTitleModel,callback:function(e){t.customerTitleModel=e},expression:"customerTitleModel"}})],1),t._v(" "),n("div",{staticClass:"form-group col-sm-4"},[n("label",[t._v("\n First Name:\n "),!t.$v.customerFirstNameModel.required&&t.$v.customerFirstNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerFirstNameModel,expression:"customerFirstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerFirstNameModel},on:{input:function(e){e.target.composing||(t.customerFirstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group col-sm-5"},[n("label",[t._v("\n Last Name:\n "),!t.$v.customerLastNameModel.required&&t.$v.customerLastNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply\n ")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.customerLastNameModel,expression:"customerLastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.customerLastNameModel},on:{input:function(e){e.target.composing||(t.customerLastNameModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),t.organisationResults.length>0?n("stakeholder-information",{attrs:{"organisation-results":t.organisationResults,"default-stakeholder-image":t.defaultStakeholderImage}}):t._e(),t._v(" "),n("br"),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateCustomer}},[t._v("Update Customer")])])])],1)])};Dn._withStripped=!0;const Nn=n(3);var $n=J({name:"CustomerInformation",props:{customerResults:Array,defaultStakeholderImage:String,organisationResults:Array,titleList:Array},data(){return{customerEmailModel:this.customerResults[0].fields.customer_email,customerFirstNameModel:this.customerResults[0].fields.customer_first_name,customerLastNameModel:this.customerResults[0].fields.customer_last_name,customerTitleModel:this.customerResults[0].fields.customer_title,titleFixList:[]}},mixins:[h,ie],validations:{customerEmailModel:{required:dt.required,email:dt.email},customerFirstNameModel:{required:dt.required},customerLastNameModel:{required:dt.required},organisationModel:{required:dt.required},customerTitleModel:{required:dt.required}},methods:{updateCustomer:function(){const t=new FormData;t.set("customer_email",this.customerEmailModel),t.set("customer_first_name",this.customerFirstNameModel),t.set("customer_last_name",this.customerLastNameModel),t.set("customer_title",this.customerTitleModel.value),this.showLoadingModal("Customer Information"),Nn.post(`/customer_information/${this.customerResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"customer",this.customerResults[0].pk)})}},mounted(){this.titleList.forEach(t=>{this.titleFixList.push({value:t.pk,title:t.fields.title}),t.pk==this.customerTitleModel&&(this.customerTitleModel={value:t.pk,title:t.fields.title})})}},Dn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please Note")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out the following details. If the customer is not assigned an organisation,\n NearBeach will treat this customer as a freelancer.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row customer-profile-image"},[e("img",{staticClass:"customer-profile-image",attrs:{src:"/static/NearBeach/images/placeholder/product_tour.svg",alt:"No Profile Picture"}}),this._v(" "),e("br"),this._v(" "),e("button",{staticClass:"btn btn-primary"},[this._v("Update Profile...")])])}],!1,null,"4dac8698",null);$n.options.__file="src/js/components/customers/CustomerInformation.vue";var An=$n.exports,Rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"form-row"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-organisation",attrs:{type:"text"},domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.includeClosedObjectsModel,expression:"includeClosedObjectsModel"}],attrs:{type:"checkbox",id:"inlcudeClosedObjects"},domProps:{checked:Array.isArray(t.includeClosedObjectsModel)?t._i(t.includeClosedObjectsModel,null)>-1:t.includeClosedObjectsModel},on:{change:function(e){var n=t.includeClosedObjectsModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.includeClosedObjectsModel=n.concat([null])):o>-1&&(t.includeClosedObjectsModel=n.slice(0,o).concat(n.slice(o+1)))}else t.includeClosedObjectsModel=i}}}),t._v(" "),n("label",{attrs:{for:"inlcudeClosedObjects"}},[t._v(" Include Closed Objects")])])])])]),t._v(" "),n("br"),t._v(" "),t.localSearchResults.request_for_change.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.request_for_change,"import-variables":t.requestForChangeVariables,destination:"rfc"}}):t._e(),t._v(" "),t.localSearchResults.requirement.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.requirement,"import-variables":t.requirementVariables,destination:"requirement"}}):t._e(),t._v(" "),t.localSearchResults.project.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.project,"import-variables":t.projectVariables,destination:"project"}}):t._e(),t._v(" "),t.localSearchResults.task.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.task,"import-variables":t.taskVariables,destination:"task"}}):t._e(),t._v(" "),t.localSearchResults.kanban.length>0?n("list-search-results",{attrs:{"search-results":t.localSearchResults.kanban,"import-variables":t.kanbanVariables,destination:"kanban"}}):t._e(),t._v(" "),t.localSearchResults.requirement.length+t.localSearchResults.project.length+t.localSearchResults.task.length+t.localSearchResults.request_for_change==0?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - but there are no results for this search term. Please try searching for a different search term.\n ")]):t._e()],1)};Rn._withStripped=!0;const Pn=n(3);var qn=J({name:"SearchObjects",props:{includeClosed:{Boolean:Boolean},rootUrl:{type:String,default:"/"},searchInput:{String:String,required:!1},searchResults:{Array:Array,required:!0}},mixins:[ut],data(){return{includeClosedObjectsModel:this.includeClosed,kanbanVariables:{header:"Kanban",prefix:"Kb",id:"kanban_board_id",title:"kanban_board_name",status:"kanban_board_status"},localSearchResults:this.searchResults,projectVariables:{header:"Projects",prefix:"Pro",id:"project_id",title:"project_name",status:"project_status"},requestForChangeVariables:{header:"Request for Change",prefix:"Rfc",id:"rfc_id",title:"rfc_title",status:"rfc_status"},requirementVariables:{header:"Requirements",prefix:"Req",id:"requirement_id",title:"requirement_title",status:"requirement_status__requirement_status"},searchModel:this.searchInput,searchTimeout:"",taskVariables:{header:"Tasks",prefix:"Task",id:"task_id",title:"task_short_description",status:"task_status"}}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),t.set("include_closed",this.includeClosedObjectsModel),Pn.post(this.rootUrl+"search/data/",t).then(t=>{this.localSearchResults=t.data}).catch(t=>{})}},watch:{includeClosedObjectsModel:function(){""!=this.searchTimeout&&clearTimeout(this.searchTimeout),this.getSearchResults()},searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}},mounted(){null==this.includeClosed&&(this.includeClosedObjectsModel=!1)}},Rn,[],!1,null,"6f24af9e",null);qn.options.__file="src/js/components/search/SearchObjects.vue";var zn=qn.exports,Fn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card search-card"},[n("div",{staticClass:"card-body"},[n("h2",[t._v(t._s(t.importVariables.header)+" Search Results")]),t._v(" "),n("hr"),t._v(" "),n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",{attrs:{width:"75%"}},[t._v(t._s(t.importVariables.header))]),t._v(" "),n("td",{attrs:{width:"25%"}},[t._v("Status")])])]),t._v(" "),n("tbody",t._l(t.searchResults,(function(e){return n("tr",[n("td",[n("a",{attrs:{href:"/"+t.destination+"_information/"+e[t.importVariables.id]+"/"}},[n("p",[t._v(t._s(e[t.importVariables.title]))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n "+t._s(t.importVariables.prefix)+t._s(e[t.importVariables.id])+"\n ")])])]),t._v(" "),n("td",[t._v("\n "+t._s(e[t.importVariables.status])+"\n ")])])})),0)])])])};Fn._withStripped=!0;var Un=J({name:"ListSearchResults",props:{destination:String,importVariables:Object,searchResults:Array}},Fn,[],!1,null,"2d188e95",null);Un.options.__file="src/js/components/search/ListSearchResults.vue";var Bn=Un.exports,Vn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Project Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("Project Name\n "),!t.$v.projectNameModel.required&&t.$v.projectNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.projectNameModel,expression:"projectNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.projectNameModel},on:{input:function(e){e.target.composing||(t.projectNameModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Project Description:\n "),!t.$v.projectDescriptionModel.required&&t.$v.projectDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.projectDescriptionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:"/static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.projectDescriptionModel,callback:function(e){t.projectDescriptionModel=e},expression:"projectDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"col-md-4"},[n("v-select",{attrs:{options:t.statusOptions},model:{value:t.projectStatusModel,callback:function(e){t.projectStatusModel=e},expression:"projectStatusModel"}})],1),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"col-md-4"},["Closed"===t.projectStatusModel?n("div",{staticClass:"alert alert-danger"},[t._v("\n Saving the project with this status will close the project.\n ")]):t._e()]),t._v(" "),t.isReadOnly?n("div",{staticClass:"col-md-4"},["Closed"===t.projectStatusModel?n("div",{staticClass:"alert alert-info"},[t._v("\n Project has been closed.\n ")]):t._e()]):t._e()]),t._v(" "),n("hr"),t._v(" "),n("stakeholder-information",{attrs:{"organisation-results":t.organisationResults,"default-stakeholder-image":t.defaultStakeholderImage}}),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"project","is-dirty-end":t.$v.projectEndDateModel.$dirty||t.$v.projectStartDateModel.$dirty,"end-date-model":t.projectEndDateModel,"start-date-model":t.projectStartDateModel},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),t.userLevel>=2&&!t.isReadOnly?n("hr"):t._e(),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[t.userLevel>=3?n("a",{staticClass:"btn btn-danger",attrs:{href:"javascript:void(0)"},on:{click:t.closeProject}},[t._v("Close Project")]):t._e(),t._v(" "),t.userLevel>=2?n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateProject}},[t._v("Update Project")]):t._e()])])],1)])};Vn._withStripped=!0;var Hn=n(19);const Wn=n(3);var Gn=J({name:"ProjectInformation",props:{defaultStakeholderImage:String,organisationResults:Array,projectResults:Array,userLevel:{type:Number,default:1}},mixins:[h,ie],data(){return{isReadOnly:!1,projectDescriptionModel:this.projectResults[0].fields.project_description,projectEndDateModel:Hn.DateTime.fromISO(this.projectResults[0].fields.project_end_date),projectNameModel:this.projectResults[0].fields.project_name,projectStartDateModel:Hn.DateTime.fromISO(this.projectResults[0].fields.project_start_date),projectStatusModel:this.projectResults[0].fields.project_status,statusOptions:["Backlog","Blocked","In Progress","Test/Review"]}},validations:{projectDescriptionModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},projectEndDateModel:{required:dt.required},projectNameModel:{required:dt.required},projectStartDateModel:{required:dt.required}},methods:{closeProject:function(){this.projectStatusModel="Closed",this.updateProject()},updateDates:function(t){this.projectEndDateModel=t.end_date,this.projectStartDateModel=t.start_date},updateProject:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("project_description",this.projectDescriptionModel),t.set("project_end_date",this.projectEndDateModel),t.set("project_name",this.projectNameModel),t.set("project_start_date",this.projectStartDateModel),t.set("project_status",this.projectStatusModel),this.showLoadingModal("Project"),Wn.post(`/project_information/${this.projectResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal(),"Closed"===this.projectStatusModel&&window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,this.destination)})}},mounted(){this.userLevel>=3&&this.statusOptions.push("Closed"),this.isReadOnly="Closed"===this.projectResults[0].fields.project_status}},Vn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Edit the project information and then click the "Update Project" button at the bottom of the\n page\n ')])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Project Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please update the project's task to reflect it's current status. Then click on the \"Update\n Project\" button to save the change.\n ")])])}],!1,null,"d5eb53a8",null);Gn.options.__file="src/js/components/projects/ProjectInformation.vue";var Yn=Gn.exports,Kn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Project")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("Project Name\n "),!t.$v.projectNameModel.required&&t.$v.projectNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.projectNameModel,expression:"projectNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.projectNameModel},on:{input:function(e){e.target.composing||(t.projectNameModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Project Description:\n "),!t.$v.projectDescriptionModel.required&&t.$v.projectDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.projectDescriptionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:t.staticUrl+"NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.projectDescriptionModel,callback:function(e){t.projectDescriptionModel=e},expression:"projectDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("get-stakeholders",{attrs:{"is-dirty":t.$v.stakeholderModel.$dirty},on:{update_stakeholder_model:function(e){return t.updateStakeholderModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"project","is-dirty-end":t.$v.projectEndDateModel.$dirty||t.$v.projectStartDateModel.$dirty},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"project","user-group-results":t.userGroupResults,"is-dirty":t.$v.groupModel.$dirty},on:{update_group_model:function(e){return t.updateGroupModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewProject}},[t._v("Create new Project")])])])],1)])};Kn._withStripped=!0;const Zn=n(3);var Xn=J({name:"NewProject",props:{groupResults:Array,rootUrl:{type:String,default:"/"},staticUrl:{type:String,default:"/"},userGroupResults:{type:Array,default:()=>[]}},mixins:[h],data:()=>({groupModel:{},projectDescriptionModel:"",projectEndDateModel:"",projectNameModel:"",projectStartDateModel:"",stakeholderModel:{}}),validations:{groupModel:{required:dt.required},projectDescriptionModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},projectEndDateModel:{required:dt.required},projectNameModel:{required:dt.required},projectStartDateModel:{required:dt.required},stakeholderModel:{required:dt.required}},methods:{submitNewProject:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("project_name",this.projectNameModel),t.set("project_description",this.projectDescriptionModel),t.set("organisation",this.stakeholderModel.value),t.set("project_start_date",this.projectStartDateModel),t.set("project_end_date",this.projectEndDateModel),this.groupModel.forEach((e,n)=>{t.append("group_list",e.value)}),Zn.post(this.rootUrl+"new_project/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateDates:function(t){this.projectStartDateModel=t.start_date,this.projectEndDateModel=t.end_date},updateGroupModel:function(t){this.groupModel=t},updateStakeholderModel:function(t){this.stakeholderModel=t}},mounted(){}},Kn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n To create a new project, fill out the form and submit at the bottom of the page.\n ")])])}],!1,null,"660cc132",null);Xn.options.__file="src/js/components/projects/NewProject.vue";var Jn=Xn.exports,Qn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Task Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("Task Short Description:\n "),!t.$v.taskShortDescriptionModel.required&&t.$v.taskShortDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.taskShortDescriptionModel,expression:"taskShortDescriptionModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.taskShortDescriptionModel},on:{input:function(e){e.target.composing||(t.taskShortDescriptionModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Task Long Description:\n "),!t.$v.taskDescriptionModel.required&&t.$v.taskDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.taskDescriptionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:"/static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.taskDescriptionModel,callback:function(e){t.taskDescriptionModel=e},expression:"taskDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"col-md-4"},[n("v-select",{attrs:{options:t.statusOptions},model:{value:t.taskStatusModel,callback:function(e){t.taskStatusModel=e},expression:"taskStatusModel"}})],1),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"col-md-4"},["Closed"===t.taskStatusModel?n("div",{staticClass:"alert alert-danger"},[t._v("\n Saving the task with this status will close the task.\n ")]):t._e()]),t._v(" "),t.isReadOnly?n("div",{staticClass:"col-md-4"},["Closed"===t.taskStatusModel?n("div",{staticClass:"alert alert-info"},[t._v("\n Project has been closed.\n ")]):t._e()]):t._e()]),t._v(" "),n("hr"),t._v(" "),n("stakeholder-information",{attrs:{"organisation-results":t.organisationResults,"default-stakeholder-image":t.defaultStakeholderImage}}),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"task","is-dirty-end":t.$v.taskEndDateModel.$dirty||t.$v.taskStartDateModel.$dirty,"start-date-model":t.taskStartDateModel,"end-date-model":t.taskEndDateModel},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),t.userLevel>=2&&!t.isReadOnly?n("hr"):t._e(),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[t.userLevel>=3?n("a",{staticClass:"btn btn-danger",attrs:{href:"javascript:void(0)"},on:{click:t.closeTask}},[t._v("Close Task")]):t._e(),t._v(" "),t.userLevel>=2?n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateTask}},[t._v("Update Task")]):t._e()])])],1)])};Qn._withStripped=!0;const tr=n(3);var er=J({name:"TaskInformation",props:{defaultStakeholderImage:String,groupResults:Array,stakeholderModel:Array,taskResults:Array,organisationResults:Array,userLevel:{type:Number,default:1}},data(){return{isReadOnly:!1,statusOptions:["Backlog","Blocked","In Progress","Test/Review"],taskDescriptionModel:this.taskResults[0].fields.task_long_description,taskEndDateModel:Hn.DateTime.fromISO(this.taskResults[0].fields.task_end_date),taskShortDescriptionModel:this.taskResults[0].fields.task_short_description,taskStartDateModel:Hn.DateTime.fromISO(this.taskResults[0].fields.task_start_date),taskStatusModel:this.taskResults[0].fields.task_status}},mixins:[h,ie],validations:{taskDescriptionModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},taskEndDateModel:{required:dt.required},taskShortDescriptionModel:{required:dt.required},taskStartDateModel:{required:dt.required}},methods:{closeTask:function(){this.taskStatusModel="Closed",this.updateTask()},updateTask:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();this.showLoadingModal("task");const t=new FormData;t.set("task_long_description",this.taskDescriptionModel),t.set("task_end_date",this.taskEndDateModel),t.set("task_short_description",this.taskShortDescriptionModel),t.set("task_start_date",this.taskStartDateModel),t.set("task_status",this.taskStatusModel),tr.post(`/task_information/${this.taskResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal(),"Closed"===this.taskStatusModel&&window.location.reload("Closed"===this.taskStatusModel)}).catch(t=>{this.showErrorModal(t,this.destination)})},updateDates:function(t){this.taskEndDateModel=t.end_date,this.taskStartDateModel=t.start_date},updateGroupModel:function(t){this.groupModel=t},updateStakeholderModel:function(t){this.stakeholderModel=t}},mounted(){this.userLevel>=3&&this.statusOptions.push("Closed"),this.isReadOnly="Closed"===this.taskResults[0].fields.task_status}},Qn,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n To create a new task, fill out the form and submit at the bottom of the page.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Task Status")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please update the task's status to reflect it's current status. Then click on the \"Update\n Task\" button to save the change.\n ")])])}],!1,null,"2cad45ca",null);er.options.__file="src/js/components/tasks/TaskInformation.vue";var nr=er.exports,rr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Task")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("Task Short Description:\n "),!t.$v.taskShortDescriptionModel.required&&t.$v.taskShortDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.taskShortDescriptionModel,expression:"taskShortDescriptionModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.taskShortDescriptionModel},on:{input:function(e){e.target.composing||(t.taskShortDescriptionModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Task Long Description:\n "),!t.$v.taskDescriptionModel.required&&t.$v.taskDescriptionModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.taskDescriptionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.taskDescriptionModel,callback:function(e){t.taskDescriptionModel=e},expression:"taskDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("get-stakeholders",{attrs:{"is-dirty":t.$v.stakeholderModel.$dirty},on:{update_stakeholder_model:function(e){return t.updateStakeholderModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"task","is-dirty-end":t.$v.taskEndDateModel.$dirty||t.$v.taskStartDateModel.$dirty},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"task","user-group-results":t.userGroupResults,"is-dirty":t.$v.groupModel.$dirty},on:{update_group_model:function(e){return t.updateGroupModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.submitNewTask}},[t._v("Create new Task")])])])],1)])};rr._withStripped=!0;const ir=n(3);var or=J({name:"NewTask",props:{groupResults:Array,userGroupResults:{type:Array,default:()=>[]}},data:()=>({groupModel:{},stakeholderModel:"",staticUrl:{type:String,default:"/"},taskDescriptionModel:"",taskEndDateModel:"",taskShortDescriptionModel:"",taskStartDateModel:""}),mixins:[h],validations:{groupModel:{required:dt.required},stakeholderModel:{required:dt.required},taskDescriptionModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},taskEndDateModel:{required:dt.required},taskShortDescriptionModel:{required:dt.required},taskStartDateModel:{required:dt.required}},methods:{submitNewTask:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("organisation",this.stakeholderModel.value),t.set("task_long_description",this.taskDescriptionModel),t.set("task_end_date",this.taskEndDateModel),t.set("task_short_description",this.taskShortDescriptionModel),t.set("task_start_date",this.taskStartDateModel),this.groupModel.forEach((e,n)=>{t.append("group_list",e.value)}),ir.post("save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateDates:function(t){this.taskEndDateModel=t.end_date,this.taskStartDateModel=t.start_date},updateGroupModel:function(t){this.groupModel=t},updateStakeholderModel:function(t){this.stakeholderModel=t}}},rr,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n To create a new task, fill out the form and submit at the bottom of the page.\n ")])])}],!1,null,"37f1f2a8",null);or.options.__file="src/js/components/tasks/NewTask.vue";var ar=or.exports,sr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Between Dates")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Choose the start and end date of the "+t._s(t.destination)+". Please note the end date can not be earlier than\n the start date. They can be equal.\n ")])]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v(t._s(t.destination)+" Start Date:\n "),!t.$v.localStartDateModel.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please select a date.")]):t._e()]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.localStartDateModel,callback:function(e){t.localStartDateModel=e},expression:"localStartDateModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v(t._s(t.destination)+" End Date:\n "),!t.$v.localEndDateModel.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please select a date.")]):t._e()]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.localEndDateModel,callback:function(e){t.localEndDateModel=e},expression:"localEndDateModel"}})],1)])])};sr._withStripped=!0;var lr=J({name:"BetweenDates",props:{destination:String,endDateModel:{type:[Object,String],default(){var t=Hn.DateTime.local();return t=t.plus({days:28})}},isDirty:Boolean,startDateModel:{type:[Object,String],default:()=>Hn.DateTime.local()}},validations:{localEndDateModel:{required:dt.required},localStartDateModel:{required:dt.required}},data:()=>({localEndDateModel:"",localStartDateModel:""}),methods:{emitDates:function(){this.$emit("update_dates",{start_date:this.localStartDateModel,end_date:this.localEndDateModel})}},watch:{localEndDateModel:function(){var t=Hn.DateTime.local(this.localEndDateModel),e=Hn.DateTime.local(this.localStartDateModel);t.toMillis()-e.toMillis()<0&&(this.localEndDateModel=this.localStartDateModel()),this.emitDates()},localStartDateModel:function(){var t=Hn.DateTime.local(this.localEndDateModel),e=Hn.DateTime.local(this.localStartDateModel);t.toMillis()-e.toMillis()<0&&(this.localStartDateModel=this.localEndDateModel()),this.emitDates()}},mounted(){this.localEndDateModel=this.endDateModel.toISO(),this.localStartDateModel=this.startDateModel.toISO()}},sr,[],!1,null,"1bf47cf3",null);lr.options.__file="src/js/components/dates/BetweenDates.vue";var cr=lr.exports,dr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8 organisation-details"},[n("img",{staticClass:"organisation-image",attrs:{src:t.getStakeholderImage,alt:"Stakeholder Logo"}}),t._v(" "),n("div",{staticClass:"organisation-name"},[n("a",{attrs:{href:"/organisation_information/"+t.organisationResults[0].pk+"/"}},[t._v("\n "+t._s(t.stakeholderModel.organisation_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"organisation-link"},[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" Website:\n "),n("a",{attrs:{href:t.stakeholderModel.organisation_website,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.stakeholderModel.organisation_website)+"\n ")])],1),t._v(" "),n("div",{staticClass:"organisation-email"},[n("IconifyIcon",{attrs:{icon:t.icons.mailIcon}}),t._v(" Email:\n "),n("a",{attrs:{href:"mailto:"+t.stakeholderModel.organisation_email}},[t._v("\n "+t._s(t.stakeholderModel.organisation_email)+"\n ")])],1)])])};dr._withStripped=!0;var ur=J({name:"StakeholderInformation",props:{defaultStakeholderImage:String,organisationResults:Array},data(){return{stakeholderModel:this.organisationResults[0].fields}},mixins:[Z],computed:{getStakeholderImage:function(){return""===this.stakeholderModel.organisation_profile_picture?this.defaultStakeholderImage:this.stakeholderModel.organisation_profile_picture}},methods:{}},dr,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Stakeholder")])])}],!1,null,"664c2a68",null);ur.options.__file="src/js/components/organisations/StakeholderInformation.vue";var pr=ur.exports,mr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Kanban")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Kanban Board Name\n "),!t.$v.kanbanBoardNameModel.required&&t.$v.kanbanBoardNameModel.$dirty?n("span",{staticClass:"error"},[t._v("\n Please suppy a title.\n ")]):t._e(),t._v(" "),t.uniqueKanbanBoardName?t._e():n("span",{staticClass:"error"},[t._v(" Please supply a unique name")]),t._v(" "),t.checkingKanbanBoardName?n("span",{staticClass:"error"},[t._v(" Checking kanban name...")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.kanbanBoardNameModel,expression:"kanbanBoardNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.kanbanBoardNameModel},on:{input:function(e){e.target.composing||(t.kanbanBoardNameModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("kanban-property-order",{attrs:{"property-name":"Columns","property-list":t.columnModel,source:"columnModel","is-dirty":t.$v.columnModel.$dirty},on:{update_property_list:function(e){return t.updatePropertyList(e)}}})],1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("kanban-property-order",{attrs:{"property-name":"Levels","property-list":t.levelModel,source:"levelModel","is-dirty":t.$v.columnModel.$dirty},on:{update_property_list:function(e){return t.updatePropertyList(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"kanban_board","user-group-results":t.userGroupResults,"is-dirty":t.$v.groupModel.$dirty},on:{update_group_model:function(e){return t.updateGroupModel(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.addNewKanban}},[t._v("\n Add Kanban\n ")])])])],1)])};mr._withStripped=!0;const fr=n(3);var hr=J({name:"NewKanban",props:{groupResults:Array,rootUrl:{type:String,default:"/"},userGroupResults:{type:Array,default:()=>[]}},mixins:[h,ut],data:()=>({checkingKanbanBoardName:!1,columnModel:[{id:0,title:"Backlog"},{id:1,title:"Blocked"},{id:2,title:"In Progress"},{id:4,title:"Review and QA"},{id:5,title:"Completed"}],groupModel:[],kanbanBoardNameModel:"",levelModel:[{id:0,title:"Sprint 1"},{id:1,title:"Sprint 2"}],searchTimeout:"",uniqueKanbanBoardName:!0}),validations:{columnModel:{required:dt.required},groupModel:{required:dt.required},kanbanBoardNameModel:{required:dt.required},levelModel:{required:dt.required}},watch:{kanbanBoardNameModel:function(){this.checkingKanbanBoardName=!0,this.searchTrigger({return_function:this.checkKanbanBoardName,searchTimeout:this.searchTimeout,search:this.kanbanBoardNameModel,loading:null})}},methods:{addNewKanban:function(){if(this.$v.$touch(),this.$v.$invalid||!this.uniqueKanbanBoardName||this.checkingKanbanBoardName)return void this.showValidationErrorModal();const t=new FormData;t.set("kanban_board_name",this.kanbanBoardNameModel),this.columnModel.forEach(e=>{t.append("column_title",e.title)}),this.levelModel.forEach(e=>{t.append("level_title",e.title)}),this.groupModel.forEach(e=>{t.append("group_list",e.value)}),fr.post(this.rootUrl+"new_kanban_save/",t).then(t=>{window.location.href=t.data}).catch(t=>{})},checkKanbanBoardName:function(){const t=new FormData;t.set("kanban_board_name",this.kanbanBoardNameModel),fr.post(this.rootUrl+"kanban_information/check_kanban_board_name/",t).then(t=>{this.uniqueKanbanBoardName=0==t.data.length,this.checkingKanbanBoardName=!1}).catch(t=>{})},updateGroupModel:function(t){this.groupModel=t},updatePropertyList:function(t){this[t.source]=t.data}}},mr,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please note")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Board names must be unique.\n\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Columns & Levels")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Drag the cards around to sort out the columns how you want them.\n ")])])}],!1,null,"44162f2b",null);hr.options.__file="src/js/components/kanban/NewKanban.vue";var vr=hr.exports,gr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("strong",[t._v(t._s(t.propertyName))]),t._v(" "),!t.$v.localPropertyList.required&&t.isDirty?n("span",{staticClass:"error"},[t._v(" Please create at least one "+t._s(t.propertyName)+".")]):t._e(),t._v(" "),n("br"),t._v(" "),n("draggable",{attrs:{"ghost-class":"ghost"},on:{change:t.sendPropertyListUp},model:{value:t.localPropertyList,callback:function(e){t.localPropertyList=e},expression:"localPropertyList"}},[n("transition-group",{attrs:{type:"transition",name:"flip-list"}},t._l(t.localPropertyList,(function(e){return n("div",{key:e.id,staticClass:"sortable",attrs:{id:e.id,"data-id":e.id,"data-title":e.title},on:{dblclick:function(e){return t.editItem(e)}}},[n("strong",{key:e.id,attrs:{id:e.id,"data-id":e.id,"data-title":e.title}},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),t.localPropertyList.length>1?n("span",{on:{click:function(n){return t.removeItem(e.id)}}},[n("IconifyIcon",{attrs:{icon:t.icons.xCircle}})],1):t._e()])})),0)],1),t._v(" "),n("hr"),t._v(" "),n("button",{staticClass:"btn btn-primary",on:{click:t.openModal}},[t._v("\n Add "+t._s(t.propertyName)+" Item\n ")]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"addItem"+t.propertyName,tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title",attrs:{id:"exampleModalLabel"}},[t._v("Add/Edit "+t._s(t.propertyName))]),t._v(" "),n("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addItemClose"+t.propertyName}})]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"form-group"},[n("label",[t._v(t._s(t.propertyName)+" Item Description")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.newPropertyItem,expression:"newPropertyItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newPropertyItem},on:{input:function(e){e.target.composing||(t.newPropertyItem=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[t._v("\n Save changes\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"deleteItem"+t.propertyName,tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h5",{staticClass:"modal-title"},[t._v("Delete "+t._s(t.propertyName))]),t._v(" "),n("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"deleteItemClose"+t.propertyName}})]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("v-select",{staticClass:"new-card-destination",staticStyle:{"z-index":"9999"},attrs:{label:"title",values:"id",options:t.newCardDestinationList},model:{value:t.destinationItemId,callback:function(e){t.destinationItemId=e},expression:"destinationItemId"}})],1),t._v(" "),n("br"),t._v(" "),t._m(1)]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:null==this.destinationItemId},on:{click:t.deleteItem}},[t._v("\n Delete "+t._s(t.propertyName)+"\n ")])])])])])],1)};gr._withStripped=!0;const br=n(3);var _r=J({name:"KanbanPropertyOrder",props:{isDirty:Boolean,isNewMode:{type:Boolean,default:!0},kanbanBoardId:{type:Number,default:0},propertyList:Array,propertyName:String,source:String},data(){return{deleteItemId:"",destinationItemId:"",localPropertyList:this.propertyList,newCardDestinationList:[],newPropertyItem:"",singleItemId:""}},mixins:[h,Z],validations:{localPropertyList:{required:dt.required}},watch:{propertyList:function(){this.localPropertyList=this.propertyList}},methods:{addItem:function(){""!=this.newPropertyItem&&(this.isNewMode?this.newModeAddItem():this.editModeAddItem(),this.sendPropertyListUp(),document.getElementById("addItemClose"+this.propertyName).click())},deleteItem:function(){const t=new FormData;t.set("delete_item_id",this.deleteItemId),t.set("destination_item_id",this.destinationItemId.id);const e=`/kanban_${this.propertyName.toLowerCase()}/${this.kanbanBoardId}/delete/`;br.post(e,t).then(t=>{this.localPropertyList=this.localPropertyList.filter(t=>t.id!=this.deleteItemId),this.$emit("update_property_list",{source:this.source,data:this.localPropertyList}),document.getElementById("deleteItemClose"+this.propertyName).click()}).catch(t=>{this.showErrorModal(t,"kanban item delete",this.kanbanBoardId)})},editItem:function(t){this.newPropertyItem=t.target.dataset.title,this.singleItemId=t.target.dataset.id,this.openModal()},editModeAddItem:async function(){const t=`kanban_${this.propertyName.toLowerCase()}_name`,e=`kanban_${this.propertyName.toLowerCase()}_sort_number`,n=this.singleItemId,r=new FormData;if(r.set(t,this.newPropertyItem),r.set(e,this.getMaxId()+1),""==n)var i=`/kanban_${this.propertyName.toLowerCase()}/${this.kanbanBoardId}/new/`;else i=`/kanban_${this.propertyName.toLowerCase()}/${this.singleItemId}/edit/`;await br.post(i,r).then(e=>{const r=e.data[0];""==n?this.localPropertyList.push({id:r.pk,title:r.fields[t]}):this.localPropertyList.forEach(t=>{t.id==this.singleItemId&&(t.title=this.newPropertyItem)}),this.singleItemId="",this.newPropertyItem=""}).catch(t=>{this.showErrorModal(t,"kanban board",this.kanbanBoardId)})},getMaxId:function(){const t=this.localPropertyList.map(t=>t.id);return t.sort((t,e)=>t-e)[t.length-1]},newModeAddItem:function(){""==this.singleItemId?this.localPropertyList.push({id:this.getMaxId()+1,title:this.newPropertyItem}):this.localPropertyList.forEach(t=>{t.id==this.singleItemId&&(t.title=this.newPropertyItem)}),this.singleItemId="",this.newPropertyItem=""},openModal:function(){new f.a(document.getElementById("addItem"+this.propertyName)).show()},removeItem:function(t){this.isNewMode?(this.localPropertyList=this.localPropertyList.filter(e=>e.id!=t),this.sendPropertyListUp()):(this.deleteItemId=t,this.newCardDestinationList=this.localPropertyList.filter(t=>t.id!=this.deleteItemId),this.destinationItemId=this.newCardDestinationList[0],new f.a(document.getElementById("deleteItem"+this.propertyName)).show())},sendPropertyListUp:function(){if(this.$emit("update_property_list",{source:this.source,data:this.localPropertyList}),!this.isNewMode){const t=`/kanban_${this.propertyName.toLowerCase()}/${this.kanbanBoardId}/resort/`,e=new FormData;this.localPropertyList.forEach((t,n)=>{e.append("item",t.id)}),br.post(t,e).then(t=>{}).catch(t=>{})}}}},gr,[function(){var t=this.$createElement,e=this._self._c||t;return e("label",[e("strong",[this._v("Destination for Cards")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"alert alert-warning"},[e("h4",[this._v("WARNING")]),this._v(" "),e("p",[this._v("This process can not be reversed. Deleting a {propertyName} will remove it.")]),this._v(" "),e("p",[this._v("\n All existing cards will be moved to the stated location you have provided.\n Any cards that have been archived or deleted, will still be associated with\n the removed card.\n ")])])}],!1,null,"e9150b94",null);_r.options.__file="src/js/components/kanban/KanbanPropertyOrder.vue";var yr=_r.exports,wr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h1",{staticClass:"kanban-header"},[t._v(t._s(t.kanbanBoardResults[0].fields.kanban_board_name))]),t._v(" "),t.userLevel>=3?n("a",{staticClass:"kanban-edit-text",attrs:{href:"edit_board/"}},[t._v("\n Edit Kanban\n ")]):t._e(),t._v(" "),n("kanban-board",{attrs:{"column-results":t.columnResults,"kanban-board-results":t.kanbanBoardResults,"kanban-card-results":t.localKanbanCardResults,"level-results":t.levelResults,"new-card-info":t.newCardInfo},on:{double_clicked_card:function(e){return t.doubleClickedCard(e)}}}),t._v(" "),n("new-kanban-card",{attrs:{"kanban-card-results":t.kanbanCardResults,"column-results":t.columnResults,"level-results":t.levelResults,"kanban-board-results":t.kanbanBoardResults},on:{new_card:function(e){return t.newCard(e)}}}),t._v(" "),n("card-information",{attrs:{"card-information":t.cardInformation},on:{update_card:function(e){return t.updateCard(e)}}}),t._v(" "),n("new-kanban-link-wizard",{attrs:{"location-id":t.locationId,"column-results":t.columnResults,"level-results":t.levelResults},on:{new_card:function(e){return t.newCard(e)}}})],1)};wr._withStripped=!0;var xr=J({name:"KanbanInformation",props:{columnResults:Array,kanbanBoardResults:Array,kanbanCardResults:Array,levelResults:Array,locationId:Number,userLevel:Number},data(){return{cardInformation:{},localKanbanCardResults:this.kanbanCardResults,newCardInfo:[]}},methods:{doubleClickedCard:function(t){this.cardInformation=t},newCard:function(t){this.newCardInfo=t},updateCard:function(t){this.localKanbanCardResults.forEach(e=>{e.pk==t.kanban_card_id&&(e.fields.kanban_card_text=t.kanban_card_text,e.fields.kanban_column=t.kanban_column.value,e.fields.kanban_level=t.kanban_level.value)})}},mounted(){this.$store.commit({type:"updateLists",columnResults:this.columnResults,levelResults:this.levelResults})}},wr,[],!1,null,"62af6ca9",null);xr.options.__file="src/js/components/kanban/KanbanInformation.vue";var kr=xr.exports,Cr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("draggable",{staticClass:"list-group kanban-cell",attrs:{group:"tasks",list:t.masterList,id:"kanban_cell_"+t.levelId+"_"+t.columnId,"data-level":t.levelId,"data-column":t.columnId},on:{end:function(e){return t.onEnd(e)}}},[t._l(t.masterList,(function(e){return n("div",{key:e.pk,staticClass:"list-group-item",attrs:{id:e.pk,"data-sort-number":e.fields.kanban_card_sort_number,"data-card-id":e.pk},on:{dblclick:function(e){return t.doubleClickCard(e)}}},[n("b",[t._v("#"+t._s(e.pk))]),n("br"),t._v("\n "+t._s(e.fields.kanban_card_text)+"\n "),n("IconifyIcon",{staticClass:"kanban-card-info-icon",attrs:{icon:t.icons.infoCircle},on:{click:function(n){return t.singleClickCard(e.pk)},dblclick:function(n){return t.singleClickCard(e.pk)}}})],1)})),t._v(" "),n("div",{staticClass:"kanban-add-new-cards"},[n("a",{staticClass:"kanban-link btn btn-primary",attrs:{href:"javascript:void(0)"},on:{click:t.addNewKanbanCard}},[t._v("\n New Card\n ")]),t._v(" "),n("a",{staticClass:"kanban-link btn btn-warning",attrs:{href:"javascript:void(0)"},on:{click:t.addNewLink}},[t._v("\n Link Object\n ")]),t._v(" "),n("a",{staticClass:"kanban-link btn btn-danger",attrs:{href:"javascript:void(0)"},on:{click:t.archiveCards}},[t._v("\n Archive Cards\n ")])])],2)};Cr._withStripped=!0;const Mr=n(3);var Sr=J({name:"KanbanCard",props:{columnId:Number,levelId:Number,newCardInfo:Array},data:()=>({}),computed:{...Object(o.b)({allCards:"getCards"}),masterList:function(){let t=this.allCards.filter(t=>t.fields.kanban_column==this.columnId&&t.fields.kanban_level==this.levelId);return t=t.sort((t,e)=>t.fields.kanban_card_sort_number-e.fields.kanban_card_sort_number),t}},mixins:[Z],methods:{addNewKanbanCard:function(){var t;(t=document.getElementById("addKanbanCardModal")).dataset.kanbanLevel=this.levelId,t.dataset.kanbanColumn=this.columnId,(t=new f.a(t)).show()},addNewLink:function(){var t;(t=document.getElementById("newLinkModal")).dataset.kanbanLevel=this.levelId,t.dataset.kanbanColumn=this.columnId,(t=new f.a(t)).show()},archiveCards:function(){const t=new FormData;this.masterList.forEach(e=>{t.append("kanban_card_id",e.pk)}),Mr.post("/kanban_information/archive_kanban_cards/",t).then(t=>{document.location.reload(!0)}).catch(t=>{})},checkCardOrder:function(){if(0===this.masterList.length)return;const t=this.masterList.map(t=>t.fields.kanban_card_sort_number),e=Math.min.apply(null,t),n=Math.max.apply(null,t);0===e&&n===this.masterList.length-1||(document.getElementById("sort_error").style.display="flex",this.masterList.forEach((t,e)=>{const n=new FormData;n.set("new_card_column",this.columnId.toString()),n.set("new_card_level",this.levelId.toString()),n.set("new_card_sort_number",e.toString()),n.set("old_card_column",t.fields.kanban_column),n.set("old_card_level",t.fields.kanban_level),n.set("old_card_sort_number",t.fields.kanban_card_sort_number),n.set("card_id",t.pk),Mr.post(`/kanban_information/${t.pk}/move_card/`,n).then(n=>{this.$store.commit({type:"updateKanbanCard",card_id:t.pk,kanban_column:this.columnId,kanban_level:this.levelId,kanban_card_sort_number:e})})}),document.getElementById("sort_error").style.display="")},doubleClickCard:function(t){const e=this.masterList.filter(e=>e.pk==t.target.dataset.cardId)[0];this.sendDataUpstream(e)},dragDifferentColumn(t){let e=t.get("new_card_column"),n=t.get("new_card_level"),r=parseInt(t.get("new_card_sort_number")),i=t.get("old_card_column"),o=t.get("old_card_level"),a=parseInt(t.get("old_card_sort_number")),s=t.get("card_id"),l=[];return this.allCards.filter(t=>t.fields.kanban_column==e&&t.fields.kanban_level==n&&t.fields.kanban_card_sort_number>=r).forEach(t=>{l.push({card_id:t.pk,kanban_column:e,kanban_level:n,kanban_card_sort_number:t.fields.kanban_card_sort_number+1})}),this.allCards.filter(t=>t.fields.kanban_column==i&&t.fields.kanban_level==o&&t.fields.kanban_card_sort_number>=a).forEach(t=>{t.pk==s?l.push({card_id:t.pk,kanban_column:e,kanban_level:n,kanban_card_sort_number:r}):l.push({card_id:t.pk,kanban_column:i,kanban_level:o,kanban_card_sort_number:t.fields.kanban_card_sort_number-1})}),l},dragSameColumn(t){let e=parseInt(t.get("new_card_sort_number")),n=parseInt(t.get("old_card_sort_number")),r=parseInt(t.get("new_card_column")),i=parseInt(t.get("new_card_level")),o=parseInt(t.get("card_id")),a=1-2*(n=n)*e+(e=n)*n+(et.fields.kanban_column===r&&t.fields.kanban_level===i&&t.fields.kanban_card_sort_number>=l&&t.fields.kanban_card_sort_number<=s),d=[];return c.forEach(t=>{t.pk==o?d.push({card_id:t.pk,kanban_column:r,kanban_level:i,kanban_card_sort_number:e}):d.push({card_id:t.pk,kanban_column:r,kanban_level:i,kanban_card_sort_number:t.fields.kanban_card_sort_number+a})}),d},onEnd:function(t){var e=t.to,n=t.from,r=t.item.dataset.cardId;let i=e.dataset.column,o=e.dataset.level,a=t.newIndex,s=n.dataset.column,l=n.dataset.level,c=t.oldIndex;const d=new FormData;d.set("new_card_column",i),d.set("new_card_level",o),d.set("new_card_sort_number",a),d.set("old_card_column",s),d.set("old_card_level",l),d.set("old_card_sort_number",c),d.set("card_id",r),Mr.post(`/kanban_information/${r}/move_card/`,d).then(t=>{let e=[];e=i==s&&o==l?this.dragSameColumn(d):this.dragDifferentColumn(d),e.forEach(t=>{this.$store.commit({type:"updateKanbanCard",card_id:t.card_id,kanban_column:t.kanban_column,kanban_level:t.kanban_level,kanban_card_sort_number:t.kanban_card_sort_number})})}).catch(t=>{})},sendDataUpstream:function(t){this.$store.commit({type:"updateCard",cardId:t.pk,cardTitle:t.fields.kanban_card_text,cardDescription:t.fields.kanban_card_description,cardColumn:t.fields.kanban_column,cardLevel:t.fields.kanban_level});new f.a(document.getElementById("cardInformationModal")).show()},singleClickCard:function(t){const e=this.masterList.filter(e=>e.pk==t)[0];this.sendDataUpstream(e)}},watch:{newCardInfo:function(){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()}},Cr,[],!1,null,"6fbeb263",null);Sr.options.__file="src/js/components/kanban/KanbanCard.vue";var Tr=Sr.exports,Er=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"kanban-container",on:{scroll:t.scrollProcedure}},[n("div",{staticClass:"kanban-header-row"},t._l(t.columnResults,(function(e){return n("div",{key:e.pk,staticClass:"kanban-column-header"},[t._v("\n "+t._s(e.fields.kanban_column_name)+"\n ")])})),0),t._v(" "),n("div",{staticClass:"kanban-header-row kanban-sticky-row",staticStyle:{display:"none"}},t._l(t.columnResults,(function(e){return n("div",{key:e.pk,staticClass:"kanban-column-header"},[t._v("\n "+t._s(e.fields.kanban_column_name)+"\n ")])})),0),t._v(" "),t._l(t.levelResults,(function(e){return n("div",{key:e.pk},[n("div",{staticClass:"kanban-level-header"},[n("div",{staticClass:"kanban-level-div"},[t._v(t._s(e.fields.kanban_level_name))])]),t._v(" "),n("kanban-row",{attrs:{"level-id":e.pk,"new-card-info":t.newCardInfo},on:{double_clicked_card:function(e){return t.doubleClickedCard(e)}}})],1)}))],2)};Er._withStripped=!0;var jr=J({name:"KanbanBoard",props:{columnResults:Array,kanbanBoardResults:Array,kanbanCardResults:Array,levelResults:Array,newCardInfo:Array},mixins:[Z],data:()=>({}),created(){window.addEventListener("resize",this.resizeProcedure),window.addEventListener("scroll",this.scrollProcedure)},destroyed(){window.removeEventListener("resize",this.resizeProcedure),window.removeEventListener("scroll",this.scrollProcedure)},methods:{doubleClickedCard:function(t){this.$emit("double_clicked_card",t)},resizeProcedure:function(){const t=400*this.columnResults.length;let e=document.getElementsByClassName("kanban-container");if(e=e[0].clientWidth,t{e.style=`max-width: ${t}px;`})}else{let t=document.getElementsByClassName("kanban-level-div");Array.from(t).forEach(t=>{t.style="max-width: null;"})}},scrollProcedure:function(){var t=document.getElementsByClassName("kanban-sticky-row")[0],e=document.getElementsByClassName("kanban-container")[0];t.scrollLeft=e.scrollLeft;var n=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop;t.style.display=n<90?"none":""}},mounted(){this.resizeProcedure(),this.$store.commit({type:"initPayload",kanbanCardResults:this.kanbanCardResults,levelResults:this.levelResults,columnResults:this.columnResults})}},Er,[],!1,null,"3995c923",null);jr.options.__file="src/js/components/kanban/KanbanBoard.vue";var Or=jr.exports,Ir=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"kanban-row"},t._l(t.columnResults,(function(e){return n("kanban-card",{key:e.pk,attrs:{"level-id":t.levelId,"column-id":e.pk,"new-card-info":t.newCardInfo},on:{double_clicked_card:function(e){return t.doubleClickedCard(e)}}})})),1)};Ir._withStripped=!0;var Lr=J({name:"KanbanRow",props:{levelId:Number,newCardInfo:Array},computed:{...Object(o.b)({columnResults:"getColumns"})},methods:{doubleClickedCard:function(t){this.$emit("double_clicked_card",t)}}},Ir,[],!1,null,"4b574152",null);Lr.options.__file="src/js/components/kanban/KanbanRow.vue";var Dr=Lr.exports,Nr=function(){var t=this.$createElement;this._self._c;return this._m(0)};Nr._withStripped=!0;var $r=function(t,e){return te?1:t>=e?0:NaN},Ar=function(t){var e;return 1===t.length&&(e=t,t=function(t,n){return $r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[o],n)>0?i=o:r=o+1}return r}}};var Rr=Ar($r),Pr=Rr.right,qr=(Rr.left,Pr);var zr=Array.prototype,Fr=(zr.slice,zr.map,function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r0)return[t];if((r=e0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s=0?(o>=Ur?10:o>=Br?5:o>=Vr?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Ur?10:o>=Br?5:o>=Vr?2:1)}function Gr(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Ur?i*=10:o>=Br?i*=5:o>=Vr&&(i*=2),e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function ai(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;oe?1:t>=e?0:NaN}var _i="http://www.w3.org/1999/xhtml",yi={svg:"http://www.w3.org/2000/svg",xhtml:_i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},wi=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),yi.hasOwnProperty(e)?{space:yi[e],local:t}:t};function xi(t){return function(){this.removeAttribute(t)}}function ki(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ci(t,e){return function(){this.setAttribute(t,e)}}function Mi(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Si(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Ti(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var Ei=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function ji(t){return function(){this.style.removeProperty(t)}}function Oi(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Ii(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Li(t,e){return t.style.getPropertyValue(e)||Ei(t).getComputedStyle(t,null).getPropertyValue(e)}function Di(t){return function(){delete this[t]}}function Ni(t,e){return function(){this[t]=e}}function $i(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Ai(t){return t.trim().split(/^|\s+/)}function Ri(t){return t.classList||new Pi(t)}function Pi(t){this._node=t,this._names=Ai(t.getAttribute("class")||"")}function qi(t,e){for(var n=Ri(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Vi(){this.textContent=""}function Hi(t){return function(){this.textContent=t}}function Wi(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function Gi(){this.innerHTML=""}function Yi(t){return function(){this.innerHTML=t}}function Ki(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function Zi(){this.nextSibling&&this.parentNode.appendChild(this)}function Xi(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ji(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===_i&&e.documentElement.namespaceURI===_i?e.createElement(t):e.createElementNS(n,t)}}function Qi(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var to=function(t){var e=wi(t);return(e.local?Qi:Ji)(e)};function eo(){return null}function no(){var t=this.parentNode;t&&t.removeChild(this)}function ro(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function io(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var oo={},ao=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(oo={mouseenter:"mouseover",mouseleave:"mouseout"}));function so(t,e,n){return t=lo(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function lo(t,e,n){return function(r){var i=ao;ao=r;try{t.call(this,this.__data__,e,n)}finally{ao=i}}}function co(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function uo(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=w&&(w=y+1);!(_=g[w])&&++w=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=bi);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?ji:"function"==typeof e?Ii:Oi)(t,e,null==n?"":n)):Li(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Di:"function"==typeof e?$i:Ni)(t,e)):this.node()[t]},classed:function(t,e){var n=Ai(t+"");if(arguments.length<2){for(var r=Ri(this.node()),i=-1,o=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?qo(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?qo(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Eo.exec(t))?new Uo(e[1],e[2],e[3],1):(e=jo.exec(t))?new Uo(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Oo.exec(t))?qo(e[1],e[2],e[3],e[4]):(e=Io.exec(t))?qo(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Lo.exec(t))?Wo(e[1],e[2]/100,e[3]/100,1):(e=Do.exec(t))?Wo(e[1],e[2]/100,e[3]/100,e[4]):No.hasOwnProperty(t)?Po(No[t]):"transparent"===t?new Uo(NaN,NaN,NaN,0):null}function Po(t){return new Uo(t>>16&255,t>>8&255,255&t,1)}function qo(t,e,n,r){return r<=0&&(t=e=n=NaN),new Uo(t,e,n,r)}function zo(t){return t instanceof ko||(t=Ro(t)),t?new Uo((t=t.rgb()).r,t.g,t.b,t.opacity):new Uo}function Fo(t,e,n,r){return 1===arguments.length?zo(t):new Uo(t,e,n,null==r?1:r)}function Uo(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Bo(){return"#"+Ho(this.r)+Ho(this.g)+Ho(this.b)}function Vo(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Ho(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Wo(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Yo(t,e,n,r)}function Go(t){if(t instanceof Yo)return new Yo(t.h,t.s,t.l,t.opacity);if(t instanceof ko||(t=Ro(t)),!t)return new Yo;if(t instanceof Yo)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&l<1?0:a,new Yo(a,s,l,t.opacity)}function Yo(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Ko(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Zo(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}wo(ko,Ro,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:$o,formatHex:$o,formatHsl:function(){return Go(this).formatHsl()},formatRgb:Ao,toString:Ao}),wo(Uo,Fo,xo(ko,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Uo(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Uo(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Bo,formatHex:Bo,formatRgb:Vo,toString:Vo})),wo(Yo,(function(t,e,n,r){return 1===arguments.length?Go(t):new Yo(t,e,n,null==r?1:r)}),xo(ko,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Yo(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Yo(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Uo(Ko(t>=240?t-240:t+120,i,r),Ko(t,i,r),Ko(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Xo=function(t){return function(){return t}};function Jo(t,e){return function(n){return t+n*e}}function Qo(t){return 1==(t=+t)?ta:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Xo(isNaN(e)?n:e)}}function ta(t,e){var n=e-t;return n?Jo(t,n):Xo(isNaN(t)?e:t)}var ea=function t(e){var n=Qo(e);function r(t,e){var r=n((t=Fo(t)).r,(e=Fo(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=ta(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function na(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=ro&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:sa(n,r)})),o=da.lastIndex;return o=0&&e._call.call(null,t),e=e._next;--ha}()}finally{ha=0,function(){var t,e,n=ua,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:ua=e);pa=t,ja(r)}(),_a=0}}function Ea(){var t=wa.now(),e=t-ba;e>1e3&&(ya-=e,ba=t)}function ja(t){ha||(va&&(va=clearTimeout(va)),t-_a>24?(t<1/0&&(va=setTimeout(Ta,t-wa.now()-ya)),ga&&(ga=clearInterval(ga))):(ga||(ba=wa.now(),ga=setInterval(Ea,1e3)),ha=1,xa(Ta)))}Ma.prototype=Sa.prototype={constructor:Ma,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?ka():+n)+(null==e?0:+e),this._next||pa===this||(pa?pa._next=this:ua=this,pa=this),this._call=t,this._time=n,ja()},stop:function(){this._call&&(this._call=null,this._time=1/0,ja())}};var Oa=function(t,e,n){var r=new Ma;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r},Ia=li("start","end","cancel","interrupt"),La=[],Da=function(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(l){var c,d,u,p;if(1!==n.state)return s();for(c in i)if((p=i[c]).name===n.name){if(3===p.state)return Oa(o);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete i[c]):+c0)throw new Error("too late; already scheduled");return n}function $a(t,e){var n=Aa(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Aa(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var Ra,Pa,qa,za,Fa=function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}},Ua=180/Math.PI,Ba={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Va=function(t,e,n,r,i,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:sa(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,l),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:sa(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,l),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:sa(t,n)},{i:s-2,x:sa(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,n=-1,r=l.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?Na:$a;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var fs=_o.prototype.constructor;function hs(t){return function(){this.style.removeProperty(t)}}function vs(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function gs(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&vs(t,o,n)),r}return o._value=e,o}function bs(t){return function(e){this.textContent=t.call(this,e)}}function _s(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&bs(r)),e}return r._value=t,r}var ys=0;function ws(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function xs(){return++ys}var ks=_o.prototype;ws.prototype=function(t){return _o().transition(t)}.prototype={constructor:ws,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=di(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1e-6)if(Math.abs(d*s-l*c)>1e-6&&i){var p=n-o,m=r-a,f=s*s+l*l,h=p*p+m*m,v=Math.sqrt(f),g=Math.sqrt(u),b=i*Math.tan((js-Math.acos((f+u-h)/(2*v*g)))/2),_=b/g,y=b/v;Math.abs(_-1)>1e-6&&(this._+="L"+(t+_*c)+","+(e+_*d)),this._+="A"+i+","+i+",0,0,"+ +(d*p>c*m)+","+(this._x1=t+y*s)+","+(this._y1=e+y*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=t+a,c=e+s,d=1^o,u=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),n&&(u<0&&(u=u%Os+Os),u>Is?this._+="A"+n+","+n+",0,1,"+d+","+(t-a)+","+(e-s)+"A"+n+","+n+",0,1,"+d+","+(this._x1=l)+","+(this._y1=c):u>1e-6&&(this._+="A"+n+","+n+",0,"+ +(u>=js)+","+d+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};function Ns(){}function $s(t,e){var n=new Ns;if(t instanceof Ns)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i=(o=(h+g)/2))?h=o:g=o,(d=n>=(a=(v+b)/2))?v=a:b=a,i=m,!(m=m[u=d<<1|c]))return i[u]=f,t;if(s=+t._x.call(null,m.data),l=+t._y.call(null,m.data),e===s&&n===l)return f.next=m,i?i[u]=f:t._root=f,t;do{i=i?i[u]=new Array(4):t._root=new Array(4),(c=e>=(o=(h+g)/2))?h=o:g=o,(d=n>=(a=(v+b)/2))?v=a:b=a}while((u=d<<1|c)==(p=(l>=a)<<1|s>=o));return i[p]=m,i[u]=f,t}var Fs=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function Us(t){return t[0]}function Bs(t){return t[1]}function Vs(t,e,n){var r=new Hs(null==e?Us:e,null==n?Bs:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Hs(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Ws(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Gs=Vs.prototype=Hs.prototype;Gs.copy=function(){var t,e,n=new Hs(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Ws(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=Ws(e));return n},Gs.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return zs(this.cover(e,n),e,n,t)},Gs.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),s=new Array(o),l=1/0,c=1/0,d=-1/0,u=-1/0;for(n=0;nd&&(d=r),iu&&(u=i));if(l>d||c>u)return this;for(this.cover(l,c).cover(d,u),n=0;nt||t>=i||r>e||e>=o;)switch(s=(ep||(o=l.y0)>m||(a=l.x1)=g)<<1|t>=v)&&(l=f[f.length-1],f[f.length-1]=f[f.length-1-c],f[f.length-1-c]=l)}else{var b=t-+this._x.call(null,h.data),_=e-+this._y.call(null,h.data),y=b*b+_*_;if(y=(s=(f+v)/2))?f=s:v=s,(d=a>=(l=(h+g)/2))?h=l:g=l,e=m,!(m=m[u=d<<1|c]))return this;if(!m.length)break;(e[u+1&3]||e[u+2&3]||e[u+3&3])&&(n=e,p=u)}for(;m.data!==t;)if(r=m,!(m=m.next))return this;return(i=m.next)&&delete m.next,r?(i?r.next=i:delete r.next,this):e?(i?e[u]=i:delete e[u],(m=e[0]||e[1]||e[2]||e[3])&&m===(e[3]||e[2]||e[1]||e[0])&&!m.length&&(n?n[p]=m:this._root=m),this):(this._root=i,this)},Gs.removeAll=function(t){for(var e=0,n=t.length;e1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(Ys)),Zs=(function t(e){function n(){var t=Ks.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(Ys),function t(e){function n(t){return function(){for(var n=0,r=0;rr&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function dl(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i2?ul:dl,i=o=null,u}function u(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),s,l)))(t(c(e)))}return u.invert=function(n){return c(e((o||(o=r(s,a.map(t),sa)))(n)))},u.domain=function(t){return arguments.length?(a=Qs.call(t,ol),c===sl||(c=cl(a)),d()):a.slice()},u.range=function(t){return arguments.length?(s=tl.call(t),d()):s.slice()},u.rangeRound=function(t){return s=tl.call(t),l=il,d()},u.clamp=function(t){return arguments.length?(c=t?cl(a):sl,u):c!==sl},u.interpolate=function(t){return arguments.length?(l=t,d()):l},u.unknown=function(t){return arguments.length?(n=t,u):n},function(n,r){return t=n,e=r,d()}}function fl(t,e){return ml()(t,e)}var hl=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vl(t){if(!(e=hl.exec(t)))throw new Error("invalid format: "+t);var e;return new gl({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function gl(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}vl.prototype=gl.prototype,gl.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};function bl(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}var _l,yl,wl,xl,kl=function(t){return(t=bl(Math.abs(t)))?t[1]:NaN},Cl=function(t,e){var n=bl(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Ml={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Cl(100*t,e)},r:Cl,s:function(t,e){var n=bl(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(_l=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+bl(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Sl=function(t){return t},Tl=Array.prototype.map,El=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];yl=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Sl:(e=Tl.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(t.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Sl:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Tl.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",d=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=vl(t)).fill,n=t.align,u=t.sign,p=t.symbol,m=t.zero,f=t.width,h=t.comma,v=t.precision,g=t.trim,b=t.type;"n"===b?(h=!0,b="g"):Ml[b]||(void 0===v&&(v=12),g=!0,b="g"),(m||"0"===e&&"="===n)&&(m=!0,e="0",n="=");var _="$"===p?i:"#"===p&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",y="$"===p?o:/[%p]/.test(b)?l:"",w=Ml[b],x=/[defgprs%]/.test(b);function k(t){var i,o,l,p=_,k=y;if("c"===b)k=w(t)+k,t="";else{var C=(t=+t)<0||1/t<0;if(t=isNaN(t)?d:w(Math.abs(t),v),g&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),C&&0==+t&&"+"!==u&&(C=!1),p=(C?"("===u?u:c:"-"===u||"("===u?"":u)+p,k=("s"===b?El[8+_l/3]:"")+k+(C&&"("===u?")":""),x)for(i=-1,o=t.length;++i(l=t.charCodeAt(i))||l>57){k=(46===l?a+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}h&&!m&&(t=r(t,1/0));var M=p.length+t.length+k.length,S=M>1)+p+t+k+S.slice(M);break;default:t=S+p+t+k}return s(t)}return v=void 0===v?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return t+""},k}return{format:u,formatPrefix:function(t,e){var n=u(((t=vl(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(kl(e)/3))),i=Math.pow(10,-r),o=El[8+r/3];return function(t){return n(i*t)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),wl=yl.format,xl=yl.formatPrefix;var jl=function(t,e,n,r){var i,o=Gr(t,e,n);switch((r=vl(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(kl(e)/3)))-kl(Math.abs(t)))}(o,a))||(r.precision=i),xl(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,kl(e)-kl(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-kl(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return wl(r)};function Ol(t){var e=t.domain;return t.ticks=function(t){var n=e();return Hr(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return jl(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),o=0,a=i.length-1,s=i[o],l=i[a];return l0?r=Wr(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=Wr(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(l/r)*r,e(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(l*r)/r,e(i)),t},t}var Il=new Date,Ll=new Date;function Dl(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Il.setTime(+e),Ll.setTime(+r),t(Il),t(Ll),Math.floor(n(Il,Ll))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Nl=Dl((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Nl.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Dl((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var $l=Nl,Al=(Nl.range,Dl((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})));Al.range;function Rl(t){return Dl((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}var Pl=Rl(0),ql=Rl(1),zl=Rl(2),Fl=Rl(3),Ul=Rl(4),Bl=Rl(5),Vl=Rl(6),Hl=(Pl.range,ql.range,zl.range,Fl.range,Ul.range,Bl.range,Vl.range,Dl((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1}))),Wl=Hl,Gl=(Hl.range,Dl((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getHours()}))),Yl=(Gl.range,Dl((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,e){t.setTime(+t+6e4*e)}),(function(t,e){return(e-t)/6e4}),(function(t){return t.getMinutes()}))),Kl=(Yl.range,Dl((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+1e3*e)}),(function(t,e){return(e-t)/1e3}),(function(t){return t.getUTCSeconds()}))),Zl=(Kl.range,Dl((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t})));Zl.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Dl((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):Zl:null};Zl.range;function Xl(t){return Dl((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/6048e5}))}var Jl=Xl(0),Ql=Xl(1),tc=Xl(2),ec=Xl(3),nc=Xl(4),rc=Xl(5),ic=Xl(6),oc=(Jl.range,Ql.range,tc.range,ec.range,nc.range,rc.range,ic.range,Dl((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/864e5}),(function(t){return t.getUTCDate()-1}))),ac=oc,sc=(oc.range,Dl((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));sc.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Dl((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var lc=sc;sc.range;function cc(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function dc(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function uc(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var pc,mc={"-":"",_:" ",0:"0"},fc=/^\s*\d+/,hc=/^%/,vc=/[\\^$*+?|[\]().{}]/g;function gc(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function Ec(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function jc(t,e,n){var r=fc.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Oc(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ic(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Lc(t,e,n){var r=fc.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Dc(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Nc(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function $c(t,e,n){var r=fc.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Ac(t,e,n){var r=fc.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Rc(t,e,n){var r=fc.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Pc(t,e,n){var r=hc.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function qc(t,e,n){var r=fc.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function zc(t,e,n){var r=fc.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Fc(t,e){return gc(t.getDate(),e,2)}function Uc(t,e){return gc(t.getHours(),e,2)}function Bc(t,e){return gc(t.getHours()%12||12,e,2)}function Vc(t,e){return gc(1+Wl.count($l(t),t),e,3)}function Hc(t,e){return gc(t.getMilliseconds(),e,3)}function Wc(t,e){return Hc(t,e)+"000"}function Gc(t,e){return gc(t.getMonth()+1,e,2)}function Yc(t,e){return gc(t.getMinutes(),e,2)}function Kc(t,e){return gc(t.getSeconds(),e,2)}function Zc(t){var e=t.getDay();return 0===e?7:e}function Xc(t,e){return gc(Pl.count($l(t)-1,t),e,2)}function Jc(t){var e=t.getDay();return e>=4||0===e?Ul(t):Ul.ceil(t)}function Qc(t,e){return t=Jc(t),gc(Ul.count($l(t),t)+(4===$l(t).getDay()),e,2)}function td(t){return t.getDay()}function ed(t,e){return gc(ql.count($l(t)-1,t),e,2)}function nd(t,e){return gc(t.getFullYear()%100,e,2)}function rd(t,e){return gc((t=Jc(t)).getFullYear()%100,e,2)}function id(t,e){return gc(t.getFullYear()%1e4,e,4)}function od(t,e){var n=t.getDay();return gc((t=n>=4||0===n?Ul(t):Ul.ceil(t)).getFullYear()%1e4,e,4)}function ad(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+gc(e/60|0,"0",2)+gc(e%60,"0",2)}function sd(t,e){return gc(t.getUTCDate(),e,2)}function ld(t,e){return gc(t.getUTCHours(),e,2)}function cd(t,e){return gc(t.getUTCHours()%12||12,e,2)}function dd(t,e){return gc(1+ac.count(lc(t),t),e,3)}function ud(t,e){return gc(t.getUTCMilliseconds(),e,3)}function pd(t,e){return ud(t,e)+"000"}function md(t,e){return gc(t.getUTCMonth()+1,e,2)}function fd(t,e){return gc(t.getUTCMinutes(),e,2)}function hd(t,e){return gc(t.getUTCSeconds(),e,2)}function vd(t){var e=t.getUTCDay();return 0===e?7:e}function gd(t,e){return gc(Jl.count(lc(t)-1,t),e,2)}function bd(t){var e=t.getUTCDay();return e>=4||0===e?nc(t):nc.ceil(t)}function _d(t,e){return t=bd(t),gc(nc.count(lc(t),t)+(4===lc(t).getUTCDay()),e,2)}function yd(t){return t.getUTCDay()}function wd(t,e){return gc(Ql.count(lc(t)-1,t),e,2)}function xd(t,e){return gc(t.getUTCFullYear()%100,e,2)}function kd(t,e){return gc((t=bd(t)).getUTCFullYear()%100,e,2)}function Cd(t,e){return gc(t.getUTCFullYear()%1e4,e,4)}function Md(t,e){var n=t.getUTCDay();return gc((t=n>=4||0===n?nc(t):nc.ceil(t)).getUTCFullYear()%1e4,e,4)}function Sd(){return"+0000"}function Td(){return"%"}function Ed(t){return+t}function jd(t){return Math.floor(+t/1e3)}!function(t){pc=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,c=_c(i),d=yc(i),u=_c(o),p=yc(o),m=_c(a),f=yc(a),h=_c(s),v=yc(s),g=_c(l),b=yc(l),_={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Fc,e:Fc,f:Wc,g:rd,G:od,H:Uc,I:Bc,j:Vc,L:Hc,m:Gc,M:Yc,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ed,s:jd,S:Kc,u:Zc,U:Xc,V:Qc,w:td,W:ed,x:null,X:null,y:nd,Y:id,Z:ad,"%":Td},y={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:sd,e:sd,f:pd,g:kd,G:Md,H:ld,I:cd,j:dd,L:ud,m:md,M:fd,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ed,s:jd,S:hd,u:vd,U:gd,V:_d,w:yd,W:wd,x:null,X:null,y:xd,Y:Cd,Z:Sd,"%":Td},w={a:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.w=f[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=b[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.m=v[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return C(t,e,n,r)},d:Ic,e:Ic,f:Rc,g:Tc,G:Sc,H:Dc,I:Dc,j:Lc,L:Ac,m:Oc,M:Nc,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=d[r[0].toLowerCase()],n+r[0].length):-1},q:jc,Q:qc,s:zc,S:$c,u:xc,U:kc,V:Cc,w:wc,W:Mc,x:function(t,e,r){return C(t,n,e,r)},X:function(t,e,n){return C(t,r,e,n)},y:Tc,Y:Sc,Z:Ec,"%":Pc};function x(t,e){return function(n){var r,i,o,a=[],s=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=dc(uc(o.y,0,1))).getUTCDay(),r=i>4||0===i?Ql.ceil(r):Ql(r),r=ac.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=cc(uc(o.y,0,1))).getDay(),r=i>4||0===i?ql.ceil(r):ql(r),r=Wl.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?dc(uc(o.y,0,1)).getUTCDay():cc(uc(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,dc(o)):cc(o)}}function C(t,e,n,r){for(var i,o,a=0,s=e.length,l=n.length;a=l)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in mc?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return _.x=x(n,_),_.X=x(r,_),_.c=x(e,_),y.x=x(n,y),y.X=x(r,y),y.c=x(e,y),{format:function(t){var e=x(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",y);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}(t),pc.format,pc.parse,pc.utcFormat,pc.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Od=Dl((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})),Id=(Od.range,Dl((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getUTCHours()}))),Ld=(Id.range,Dl((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+6e4*e)}),(function(t,e){return(e-t)/6e4}),(function(t){return t.getUTCMinutes()})));Ld.range;var Dd=function(t){for(var e=t.length/6|0,n=new Array(e),r=0;r0)){if(o/=p,p<0){if(o0){if(o>u)return;o>d&&(d=o)}if(o=r-l,p||!(o<0)){if(o/=p,p<0){if(o>u)return;o>d&&(d=o)}else if(p>0){if(o0)){if(o/=m,m<0){if(o0){if(o>u)return;o>d&&(d=o)}if(o=i-c,m||!(o<0)){if(o/=m,m<0){if(o>u)return;o>d&&(d=o)}else if(m>0){if(o0||u<1)||(d>0&&(t[0]=[l+d*p,c+d*m]),u<1&&(t[1]=[l+u*p,c+u*m]),!0)}}}}}function Vd(t,e,n,r,i){var o=t[1];if(o)return!0;var a,s,l=t[0],c=t.left,d=t.right,u=c[0],p=c[1],m=d[0],f=d[1],h=(u+m)/2,v=(p+f)/2;if(f===p){if(h=r)return;if(u>m){if(l){if(l[1]>=i)return}else l=[h,n];o=[h,i]}else{if(l){if(l[1]1)if(u>m){if(l){if(l[1]>=i)return}else l=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(l){if(l[1]=r)return}else l=[e,a*e+s];o=[r,a*r+s]}else{if(l){if(l[0]=-pu)){var m=l*l+c*c,f=d*d+u*u,h=(u*m-c*f)/p,v=(l*f-d*m)/p,g=Kd.pop()||new Zd;g.arc=t,g.site=i,g.x=h+a,g.y=(g.cy=v+s)+Math.sqrt(h*h+v*v),t.circle=g;for(var b=null,_=cu._;_;)if(g.y<_.y||g.y===_.y&&g.x<=_.x){if(!_.L){b=_.P;break}_=_.L}else{if(!_.R){b=_;break}_=_.R}cu.insert(b,g),b||(Yd=g)}}}}function Jd(t){var e=t.circle;e&&(e.P||(Yd=e.N),cu.remove(e),Kd.push(e),$d(e),t.circle=null)}var Qd=[];function tu(){$d(this),this.edge=this.site=this.circle=null}function eu(t){var e=Qd.pop()||new tu;return e.site=t,e}function nu(t){Jd(t),su.remove(t),Qd.push(t),$d(t)}function ru(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],o=t.P,a=t.N,s=[t];nu(t);for(var l=o;l.circle&&Math.abs(n-l.circle.x)uu)s=s.L;else{if(!((i=o-au(s,a))>uu)){r>-uu?(e=s.P,n=s):i>-uu?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}!function(t){lu[t.index]={site:t,halfedges:[]}}(t);var l=eu(t);if(su.insert(e,l),e||n){if(e===n)return Jd(e),n=eu(e.site),su.insert(l,n),l.edge=n.edge=zd(e.site,l.site),Xd(e),void Xd(n);if(n){Jd(e),Jd(n);var c=e.site,d=c[0],u=c[1],p=t[0]-d,m=t[1]-u,f=n.site,h=f[0]-d,v=f[1]-u,g=2*(p*v-m*h),b=p*p+m*m,_=h*h+v*v,y=[(v*b-m*_)/g+d,(p*_-h*b)/g+u];Ud(n.edge,c,f,y),l.edge=zd(c,t,null,y),n.edge=zd(t,f,null,y),Xd(e),Xd(n)}else l.edge=zd(e.site,l.site)}}function ou(t,e){var n=t.site,r=n[0],i=n[1],o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;var s=(n=a.site)[0],l=n[1],c=l-e;if(!c)return s;var d=s-r,u=1/o-1/c,p=d/c;return u?(-p+Math.sqrt(p*p-2*u*(d*d/(-2*c)-l+c/2+i-o/2)))/u+r:(r+s)/2}function au(t,e){var n=t.N;if(n)return ou(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var su,lu,cu,du,uu=1e-6,pu=1e-12;function mu(t,e){return e[1]-t[1]||e[0]-t[0]}function fu(t,e){var n,r,i,o=t.sort(mu).pop();for(du=[],lu=new Array(t.length),su=new qd,cu=new qd;;)if(i=Yd,o&&(!i||o[1]uu||Math.abs(i[0][1]-i[1][1])>uu)||delete du[o]}(a,s,l,c),function(t,e,n,r){var i,o,a,s,l,c,d,u,p,m,f,h,v=lu.length,g=!0;for(i=0;iuu||Math.abs(h-p)>uu)&&(l.splice(s,0,du.push(Fd(a,m,Math.abs(f-t)uu?[t,Math.abs(u-t)uu?[Math.abs(p-r)uu?[n,Math.abs(u-n)uu?[Math.abs(p-e)=s)return null;var l=t-i.site[0],c=e-i.site[1],d=l*l+c*c;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(n){var r=o.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var l=t-s[0],c=e-s[1],u=l*l+c*c;u({bugResults:[]}),mixins:[h],methods:{getBugData:function(){vu.post(this.rootUrl+"dashboard/get/bug_list/").then(t=>{this.bugResults=t.data,this.renderGraph()}).catch(t=>{this.showErrorModal(t,"Dashboard Unassigned Objects")})},renderGraph:function(){var t=10,e=30,n=20,r=50,i=460-r-e,o=400-t-n,a=document.getElementById("active_bug_graph");a.innerHTML="";var s,l=yo(a).append("svg").attr("width",i+r+e).attr("height",o+t+n).attr("class","graph_body").append("g").attr("id","active_bug_d3").attr("transform","translate("+r+","+t+")"),c=rl().rangeRound([0,i],.15).paddingInner(.2).paddingOuter(.2),d=function t(){var e=fl(sl,sl);return e.copy=function(){return pl(e,t())},Xs.apply(e,arguments),Ol(e)}().range([o,0]),u=ei(3,s).scale(c),p=function(t){return ei(4,t)}().scale(d).ticks(10);nl(Dd);l.selectAll("#active_bug_d3").data(this.bugResults).enter().append("rect").attr("x",t=>1).attr("y",t=>d(t.bug_status__count)).attr("height",t=>50).attr("width","50"),l.append("g").attr("class","x-axis").attr("transform","translate(0,"+o+")").call(u),l.append("g").attr("class","y-axis").call(p).append("text").attr("transform","rotate(-90)").attr("y",6).attr("dy",".71em").style("text-anchor","end").text("Count")}},mounted(){this.getBugData()}},Nr,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("h2",[this._v("Active Bugs")]),this._v(" "),e("hr"),this._v(" "),e("div",{attrs:{id:"active_bug_graph"}})])])}],!1,null,"6bd9ef65",null);gu.options.__file="src/js/components/dashboard/DashboardBugList.vue";var bu=gu.exports,_u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addKanbanCardModal",tabindex:"-1","aria-labelledby":"addKanbanCardModalLabel","aria-hidden":"true","data-kanban-level":t.levelResults[0].pk,"data-kanban-column":t.columnResults[0].pk}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.cardChecklist}}),t._v(" Add Kanban Card Wizard")],1),t._v(" "),n("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addKanbanCardCloseButton"}})]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Kanban Card Text")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.kanbanCardTextModel,expression:"kanbanCardTextModel"}],staticClass:"form-control",domProps:{value:t.kanbanCardTextModel},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.addKanbanCard.apply(null,arguments)},input:function(e){e.target.composing||(t.kanbanCardTextModel=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.kanbanCardDescriptionModel,callback:function(e){t.kanbanCardDescriptionModel=e},expression:"kanbanCardDescriptionModel"}})],1)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableAddButton},on:{click:t.addKanbanCard}},[t._v("\n Add Link\n ")])])])])])};_u._withStripped=!0;const yu=n(3);var wu=J({name:"NewKanbanCard",props:{columnResults:Array,kanbanCardResults:Array,levelResults:Array,kanbanBoardResults:Array},mixins:[Z],data:()=>({disableAddButton:!0,kanbanCardDescriptionModel:"",kanbanCardTextModel:""}),methods:{addKanbanCard:function(){var t=document.getElementById("addKanbanCardModal");const e=new FormData;e.set("kanban_card_text",this.kanbanCardTextModel),e.set("kanban_card_description",this.kanbanCardDescriptionModel),e.set("kanban_level",t.dataset.kanbanLevel),e.set("kanban_column",t.dataset.kanbanColumn),yu.post(`/kanban_information/${this.kanbanBoardResults[0].pk}/new_card/`,e).then(t=>{this.$emit("new_card",t.data),this.kanbanCardTextModel="",this.kanbanCardDescriptionModel="",document.getElementById("addKanbanCardCloseButton").click()}).catch(t=>{})}},watch:{kanbanCardTextModel:function(){this.disableAddButton=!1,0==this.kanbanCardTextModel.length&&(this.disableAddButton=!0),this.kanbanCardResults.filter(t=>t.fields.kanban_card_text==this.kanbanCardTextModel).length>0&&(this.disableAddButton=!0),0!=this.columnResults.length&&0!=this.levelResults.length||(this.disableAddButton=!0)}}},_u,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Please note")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The card names can not be the same as something that already exists on the board.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Card Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Fill out a detailed description for the card, then click on the "Update Card" button\n to update the card.\n ')])])}],!1,null,"3f38c59c",null);wu.options.__file="src/js/components/modules/wizards/NewKanbanCard.vue";var xu=wu.exports,ku=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"cardInformationModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.usersIcon}}),t._v(" Card Information")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[t._m(1),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"tab-content",attrs:{id:"myTabContent"}},[n("div",{staticClass:"tab-pane fade show active",attrs:{id:"card_details",role:"tabpanel","aria-labelledby":"details-tab"}},[n("card-details",{on:{update_card:t.updateCard}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"card_description",role:"tabpanel","aria-labelledby":"description-tab"}},[n("card-description",{on:{update_card:t.updateCard}})],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"card_notes",role:"tabpanel","aria-labelledby":"notes-tab"}},[n("card-notes")],1)])])])])])};ku._withStripped=!0;const Cu=n(3);var Mu=J({name:"CardInformation",mixins:[Z],data:()=>({cardId:"",cardDescriptionModel:"",cardNoteModel:"",cardTitleModel:"",noteHistoryResults:[]}),methods:{updateCard:function(){const t=this.$store.getters.getAllCardData,e=new FormData;e.set("kanban_card_text",t.cardTitle),e.set("kanban_card_description",t.cardDescription),e.set("kanban_level",t.cardLevel.value),e.set("kanban_column",t.cardColumn.value),e.set("kanban_card_id",t.cardId),Cu.post("/kanban_information/update_card/",e).then(e=>{this.$emit("update_card",{kanban_card_id:t.cardId,kanban_card_text:t.cardTitle,kanban_column:t.cardColumn,kanban_level:t.cardLevel}),document.getElementById("cardInformationModalCloseButton").click()}).catch(t=>{})}}},ku,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"cardInformationModalCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("ul",{staticClass:"nav nav-tabs",attrs:{id:"card_information_tabs",role:"tablist"}},[e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link active",attrs:{id:"details-tab","data-bs-toggle":"tab","data-bs-target":"#card_details",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[this._v("Details")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"description-tab","data-bs-toggle":"tab","data-bs-target":"#card_description",type:"button",role:"tab","aria-controls":"profile","aria-selected":"false"}},[this._v("Description")])]),this._v(" "),e("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[e("button",{staticClass:"nav-link",attrs:{id:"notes-tab","data-bs-toggle":"tab","data-bs-target":"#card_notes",type:"button",role:"tab","aria-controls":"contact","aria-selected":"false"}},[this._v("Notes")])])])}],!1,null,"bc4b6c14",null);Mu.options.__file="src/js/components/card_information/CardInformation.vue";var Su=Mu.exports,Tu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Card Title")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.cardTitle,expression:"cardTitle"}],staticClass:"form-control",domProps:{value:t.cardTitle},on:{input:function(e){e.target.composing||(t.cardTitle=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12 mt-4"},[n("label",[t._v("Card Column")]),t._v(" "),n("v-select",{attrs:{options:t.listColumns,label:"column",clearable:!1},model:{value:t.cardColumn,callback:function(e){t.cardColumn=e},expression:"cardColumn"}})],1),t._v(" "),n("div",{staticClass:"col-md-12 mt-4"},[n("label",[t._v("Card Level")]),t._v(" "),n("v-select",{attrs:{options:t.listLevels,label:"level",clearable:!1},model:{value:t.cardLevel,callback:function(e){t.cardLevel=e},expression:"cardLevel"}})],1)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-secondary",on:{click:t.closeModal}},[t._v("\n Close Modal\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.updateCard}},[t._v("\n Update Card\n ")])])])])};Tu._withStripped=!0;n(3);var Eu=J({name:"CardDetails",props:{},data:()=>({tempModel:""}),computed:{...p(["cardId","cardTitle","cardColumn","cardLevel","listColumns","listLevels"])},methods:{closeModal:function(){document.getElementById("cardInformationModalCloseButton").click()},updateCard:function(){this.$store.commit({type:"updateKanbanCard",card_id:this.cardId,kanban_card_text:this.cardTitle,kanban_column:this.cardColumn,kanban_level:this.cardLevel}),this.$emit("update_card")}}},Tu,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Card Title")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Write an appropriate name for the kanban card. To update click on the "Update" button.\n ')])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Card Location")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Select the appropriate location for this card.\n ")])])}],!1,null,null,null);Eu.options.__file="src/js/components/card_information/CardDetails.vue";var ju=Eu.exports,Ou=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.cardDescription,callback:function(e){t.cardDescription=e},expression:"cardDescription"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-secondary",on:{click:t.closeModal}},[t._v("\n Close Modal\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.updateCard}},[t._v("\n Update Card\n ")])])])])};Ou._withStripped=!0;n(3);var Iu=J({name:"CardDescription",props:{},data:()=>({}),computed:{...p(["cardDescription"])},methods:{closeModal:function(){document.getElementById("cardInformationModalCloseButton").click()},updateCard:function(){this.$emit("update_card")}}},Ou,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Card Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Fill out a detailed description for the card, then click on the "Update Card" button\n to update the card.\n ')])])}],!1,null,null,null);Iu.options.__file="src/js/components/card_information/CardDescription.vue";var Lu=Iu.exports,Du=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Note Box")]),t._v(" "),n("editor",{attrs:{init:{height:250,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.cardNoteModel,callback:function(e){t.cardNoteModel=e},expression:"cardNoteModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-secondary",on:{click:t.closeModal}},[t._v("\n Close Modal\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary save-changes",attrs:{disabled:""===t.cardNoteModel},on:{click:t.addNote}},[t._v("\n Add Note\n ")])])]),t._v(" "),n("hr"),t._v(" "),n("list-notes",{attrs:{"note-history-results":t.getCardNotes(),destination:"card"}})],1)};Du._withStripped=!0;const Nu=n(3);var $u=J({name:"CardNotes",props:{},data:()=>({...Object(o.b)(["getCardNotes"]),cardNoteModel:""}),methods:{addNote:function(){const t=new FormData;t.set("note",this.cardNoteModel),Nu.post(`/object_data/kanban_card/${this.$store.state.card.cardId}/add_notes/`,t).then(t=>{this.$store.commit({type:"appendNote",newNote:t.data[0]}),this.cardNoteModel=""}).catch(t=>{})},closeModal:function(){document.getElementById("cardInformationModalCloseButton").click()}}},Du,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Notes")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n To add a note - type your note in the Note Box and hit the "Submit Note"\n button.\n ')])])}],!1,null,null,null);$u.options.__file="src/js/components/card_information/CardNotes.vue";var Au=$u.exports,Ru=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[0==t.noteHistoryResults.length?n("div",{staticClass:"module-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("\n Sorry - but there are no notes for this "+t._s(t.destination)+".\n ")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.noteHistoryResults,(function(e){return n("tr",[n("td",[n("div",{domProps:{innerHTML:t._s(e.fields.object_note.substr(0,400))}}),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n "+t._s(e.fields.date_created)+"\n ")])])])})),0)])])])};Ru._withStripped=!0;var Pu=J({name:"ListNotes",props:{destination:String,noteHistoryResults:{type:Array,default:function(){return[]}}}},Ru,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("Note")])])])}],!1,null,"343c6058",null);Pu.options.__file="src/js/components/modules/sub_modules/ListNotes.vue";var qu=Pu.exports,zu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newLinkModal",tabindex:"-1","aria-labelledby":"kanbanLinkModal","aria-hidden":"true","data-kanban-level":t.levelResults[0].pk,"data-kanban-column":t.columnResults[0].pk}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" New Kanban Link Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching?n("div",{staticClass:"alert alert-success"},[t._v("\n Searching for "+t._s(t.objectModel)+"s\n ")]):n("v-select",{staticClass:"object-selection",attrs:{options:t.objectSelection},model:{value:t.objectModel,callback:function(e){t.objectModel=e},expression:"objectModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching||null==t.objectModel?n("div",{attrs:{id:"link_wizard_results"}},[n("img",{attrs:{src:"/static/NearBeach/images/placeholder/search.svg",alt:"Searching..."}})]):t._e(),t._v(" "),0==t.objectResults.length&&null!=t.objectModel?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - there are no results.\n ")]):t._e(),t._v(" "),!t.isSearching&&t.objectResults.length>0&&null!=t.objectModel?n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",[t._v(t._s(t.objectModel)+" Description")]),t._v(" "),n("td",[t._v("Status")])])]),t._v(" "),"Project"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"radio",name:"link-option",id:"radio_project_"+e.pk},domProps:{value:e.pk,checked:t._q(t.linkModel,e.pk)},on:{change:function(n){t.linkModel=e.pk}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"radio_project_"+e.pk}},[t._v("\n "+t._s(e.fields.project_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Project "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.project_status))])])})),0):t._e(),t._v(" "),"Requirement"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"radio",name:"link-option",id:"radio_requirement_"+e.pk},domProps:{value:e.pk,checked:t._q(t.linkModel,e.pk)},on:{change:function(n){t.linkModel=e.pk}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"radio_task_"+e.pk}},[t._v("\n "+t._s(e.fields.requirement_title)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Requirement "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.requirement_status))])])})),0):t._e(),t._v(" "),"Task"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"radio",id:"radio_task_"+e.pk},domProps:{value:e.pk,checked:t._q(t.linkModel,e.pk)},on:{change:function(n){t.linkModel=e.pk}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"radio_task_"+e.pk}},[t._v("\n "+t._s(e.fields.task_short_description)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Task "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.task_status))])])})),0):t._e()]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.linkModel.length},on:{click:t.saveLinks}},[t._v("Save changes")])])])])])};zu._withStripped=!0;const Fu=n(3);var Uu=J({name:"NewKanbanLinkWizard",props:{columnResults:Array,levelResults:Array,locationId:Number},mixins:[h,Z],data:()=>({isSearching:!1,objectModel:null,objectResults:[],objectSelection:["Project","Requirement","Task"],linkModel:[]}),methods:{saveLinks:function(){const t=new FormData;var e=document.getElementById("newLinkModal");t.set(""+this.objectModel.toLowerCase(),this.linkModel),t.set("kanban_level",e.dataset.kanbanLevel),t.set("kanban_column",e.dataset.kanbanColumn),Fu.post(`/kanban_information/${this.locationId}/${this.objectModel.toLowerCase()}/add_link/`,t).then(t=>{this.$emit("new_card",t.data),this.objectModel=null,document.getElementById("requirementLinkCloseButton").click()})}},watch:{objectModel:function(){this.linkModel=[],null!==this.objectModel?(this.isSearching=!0,Fu.post(`/kanban_information/${this.locationId}/${this.objectModel}/link_list/`).then(t=>{this.objectResults=t.data,this.isSearching=!1}).catch(t=>{this.showErrorModal(t,"kanban")})):this.isSearching=!1},linkModel:function(){}}},zu,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"requirementLinkCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Object Selector")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please select which object you would like to link to this requirement.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Select Links")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please select which of the objects you want to connect to this requirement.\n ")])])}],!1,null,"49b27f11",null);Uu.options.__file="src/js/components/modules/wizards/NewKanbanLinkWizard.vue";var Bu=Uu.exports,Vu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("My Current Objects")]),t._v(" "),n("hr"),t._v(" "),t.isLoaded?t._e():n("div",{staticClass:"alert alert-dark"},[t._v("\n Still obtaining your assigned jobs.\n ")]),t._v(" "),t.objectResults.requirement.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.requirement,"import-variables":t.requirementVariables,destination:"requirement","root-url":t.rootUrl}}):t._e(),t._v(" "),t.objectResults.project.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.project,"import-variables":t.projectVariables,destination:"project","root-url":t.rootUrl}}):t._e(),t._v(" "),t.objectResults.task.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.task,"import-variables":t.taskVariables,destination:"task","root-url":t.rootUrl}}):t._e(),t._v(" "),0===t.countObjects&&t.isLoaded?n("div",{staticClass:"alert alert-primary"},[t._v("\n It looks like no one has assigned you any tasks.\n ")]):t._e()],1)])};Vu._withStripped=!0;const Hu=n(3);var Wu=J({name:"DashboardMyObjects",props:{rootUrl:{type:String,default:"/"}},data:()=>({isLoaded:!1,objectResults:{requirement:[],project:[],task:[]},projectVariables:{header:"Projects",prefix:"Pro",id:"project_id",title:"project_name",status:"project_status"},requirementVariables:{header:"Your Requirements",prefix:"Req",id:"requirement_id",title:"requirement_title",status:"requirement_status__requirement_status"},taskVariables:{header:"Tasks",prefix:"Task",id:"task_id",title:"task_short_description",status:"task_status"}}),mixins:[h],methods:{getMyObjects:function(){Hu.post(this.rootUrl+"dashboard/get/my_objects/").then(t=>{this.objectResults=t.data,this.isLoaded=!0}).catch(t=>{this.showErrorModal(t,"Dashboard My Objects")})}},computed:{countObjects:function(){return this.objectResults.requirement.length+this.objectResults.project.length+this.objectResults.task.length}},mounted(){this.getMyObjects()}},Vu,[],!1,null,null,null);Wu.options.__file="src/js/components/dashboard/DashboardMyObjects.vue";var Gu=Wu.exports,Yu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",{attrs:{width:"75%"}},[t._v(t._s(t.importVariables.header))]),t._v(" "),n("td",{attrs:{width:"25%"}},[t._v("Status")])])]),t._v(" "),n("tbody",t._l(t.searchResults,(function(e){return n("tr",{key:e.pk},[n("td",[n("a",{attrs:{href:""+t.rootUrl+t.destination+"_information/"+e[t.importVariables.id]+"/"}},[n("p",[t._v(t._s(e[t.importVariables.title]))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n "+t._s(t.importVariables.prefix)+t._s(e[t.importVariables.id])+"\n ")])])]),t._v(" "),n("td",[t._v("\n "+t._s(e[t.importVariables.status])+"\n ")])])})),0)])};Yu._withStripped=!0;var Ku=J({name:"RenderObjectTable",props:{destination:String,importVariables:Object,rootUrl:{type:String,default:"/"},searchResults:Array},data:()=>({}),methods:{}},Yu,[],!1,null,null,null);Ku.options.__file="src/js/components/render/RenderObjectTable.vue";var Zu=Ku.exports,Xu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" "+t._s(t.destination)+" Links")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are links to other objects like projects/tasks/requirements. You can link a "+t._s(t.destination)+"\n to these other objects to symbolise a connection between the two.\n ")]),t._v(" "),0==t.linkResults.length?n("div",{staticClass:"requirement-item-spacer"},[n("div",{staticClass:"alert alert-dark"},[t._v("Sorry - there are no Links for this requirement.")])]):n("div",[n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.linkResults,(function(e){return n("tr",[n("td",{domProps:{innerHTML:t._s(t.extractObjectDescription(e))}}),t._v(" "),n("td",[t._v(t._s(t.extractObjectStatus(e)))])])})),0)])]),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.newLink}},[t._v("Create new Link")])])]),t._v(" "),n("hr"),t._v(" "),n("new-link-wizard",{attrs:{destination:t.destination,"location-id":t.locationId},on:{update_link_results:t.updateLinkResults}})],1)};Xu._withStripped=!0;const Ju=n(3);var Qu=J({name:"ObjectLinks",props:{destination:String,locationId:Number},mixins:[Z],data:()=>({linkResults:[]}),methods:{extractObjectDescription:function(t){var e="",n="",r="",i="";return null!==t.project_id&&"project"!==this.destination?(e=t.project_id__project_name,n=t.project_id,r="Project "+t.project_id,i="/project_information/"):null!==t.requirement_id?(e=t.requirement_id__requirement_title,n=t.requirement_id,r="Requirement "+t.requirement_id,i="/requirement_information/"):null!==t.requirement_item_id?(e=t.requirement_item_id__requirement_item_title,n=t.requirement_item_id,r="Requirement Item "+t.requirement_item_id,i="/requirement_item_information/"):null!==t.task_id&&"task"!==this.destination&&(e=t.task_id__task_short_description,n=t.task_id,r="Task "+t.task_id,i="/task_information/"),`

${e}

${r}

`},extractObjectStatus:function(t){var e="";return null!==t.project_id&&"project"!==this.destination?e=t.project_id__project_status:null!==t.requirement_id?e=t.requirement_id__requirement_status__requirement_status:null!==t.requirement_item_id?e=t.requirement_item_id__requirement_item_status__requirement_item_status:null!==t.task_id&&"task"!==this.destination&&(e=t.task_id__task_status),""+e},newLink:function(){new f.a(document.getElementById("newLinkModal")).show()},updateLinkResults:function(){Ju.post(`/object_data/${this.destination}/${this.locationId}/object_link_list/`).then(t=>{this.linkResults=t.data.filter(t=>parseInt(0+t.project_id)+parseInt(0+t.requirement_id)+parseInt(0+t.requirement_item_id)+parseInt(0+t.task_id)>this.locationId)})}},mounted(){this.updateLinkResults()}},Xu,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Object Description")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Status")])])])}],!1,null,"1d1226e2",null);Qu.options.__file="src/js/components/modules/sub_modules/ObjectLinks.vue";var tp=Qu.exports,ep=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newLinkModal",tabindex:"-1","aria-labelledby":"linkModal","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.linkOut}}),t._v(" New "+t._s(t.destination)+" Link Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Object Selector")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please select which object you would like to link to this "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching?n("div",{staticClass:"alert alert-success"},[t._v("\n Searching for "+t._s(t.objectModel)+"s\n ")]):n("v-select",{staticClass:"object-selection",attrs:{options:t.objectSelection},model:{value:t.objectModel,callback:function(e){t.objectModel=e},expression:"objectModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Select Links")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please select which of the objects you want to connect to this "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[t.isSearching||null==t.objectModel?n("div",{attrs:{id:"link_wizard_results"}},[n("img",{attrs:{src:"/static/NearBeach/images/placeholder/search.svg",alt:"Searching..."}})]):t._e(),t._v(" "),0==t.objectResults.length&&null!=t.objectModel?n("div",{staticClass:"alert alert-warning"},[t._v("\n Sorry - there are no results.\n ")]):t._e(),t._v(" "),!t.isSearching&&t.objectResults.length>0&&null!=t.objectModel?n("table",{staticClass:"table"},[n("thead",[n("tr",[n("td",[t._v(t._s(t.objectModel)+" Description")]),t._v(" "),n("td",[t._v("Status")])])]),t._v(" "),"Project"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_project_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_project_"+e.pk}},[t._v("\n "+t._s(e.fields.project_name)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Project "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.project_status))])])})),0):t._e(),t._v(" "),"Task"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_task_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_task_"+e.pk}},[t._v("\n "+t._s(e.fields.task_short_description)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Task "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.task_status))])])})),0):t._e(),t._v(" "),"Requirement"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_requirement_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_requirement_"+e.pk}},[t._v("\n "+t._s(e.fields.requirement_title)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Requirement "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.requirement_status))])])})),0):t._e(),t._v(" "),"Requirement_Item"==t.objectModel?n("tbody",t._l(t.objectResults,(function(e){return n("tr",[n("td",[n("div",{staticClass:"form-check"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.linkModel,expression:"linkModel"}],staticClass:"form-check-input",attrs:{type:"checkbox",id:"checkbox_requirement_item_"+e.pk},domProps:{value:e.pk,checked:Array.isArray(t.linkModel)?t._i(t.linkModel,e.pk)>-1:t.linkModel},on:{change:function(n){var r=t.linkModel,i=n.target,o=!!i.checked;if(Array.isArray(r)){var a=e.pk,s=t._i(r,a);i.checked?s<0&&(t.linkModel=r.concat([a])):s>-1&&(t.linkModel=r.slice(0,s).concat(r.slice(s+1)))}else t.linkModel=o}}}),t._v(" "),n("label",{staticClass:"form-check-label",attrs:{for:"checkbox_requirement_item_"+e.pk}},[t._v("\n "+t._s(e.fields.requirement_item_title)+"\n ")])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("Requirement Item "+t._s(e.pk))])]),t._v(" "),n("td",[t._v(t._s(e.fields.requirement_item_status))])])})),0):t._e()]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("\n Close\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:0==t.linkModel.length},on:{click:t.saveLinks}},[t._v("Save changes")])])])])])};ep._withStripped=!0;const np=n(3);var rp=J({name:"NewLinkWizard",props:{destination:String,locationId:Number},mixins:[h,Z],data:()=>({isSearching:!1,objectModel:null,objectResults:[],objectSelection:["Project","Requirement","Requirement_Item","Task"],linkModel:[]}),methods:{saveLinks:function(){const t=new FormData;this.linkModel.forEach(e=>{t.append(""+this.objectModel.toLowerCase(),e)}),np.post(`/object_data/${this.destination}/${this.locationId}/add_link/`,t).then(t=>{this.$emit("update_link_results",{}),document.getElementById("linkCloseButton").click()})}},watch:{objectModel:function(){this.linkModel=[],null!==this.objectModel?(this.isSearching=!0,np.post(`/object_data/${this.destination}/${this.locationId}/${this.objectModel.toLowerCase()}/link_list/`).then(t=>{this.objectResults=t.data,this.isSearching=!1}).catch(t=>{this.showErrorModal(t,this.destination)})):this.isSearching=!1}}},ep,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"linkCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"9b35cc8c",null);rp.options.__file="src/js/components/modules/wizards/NewLinkWizard.vue";var ip=rp.exports,op=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Request for Change")]),t._v(" "),n("hr"),t._v(" "),n("form-wizard",{attrs:{title:"",subtitle:""},on:{"on-complete":t.onComplete,"on-change":t.onChange}},[n("tab-content",{attrs:{title:"Description","before-change":t.beforeChange}},[n("rfc-description",{attrs:{"static-url":t.staticUrl},on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Details","before-change":t.beforeChange}},[n("rfc-details",{attrs:{"group-results":t.groupResults,"user-group-results":t.userGroupResults,"user-results":t.userResults},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Risk","before-change":t.beforeChange}},[n("rfc-risk",{on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Implementation Plan","before-change":t.beforeChange}},[n("rfc-implementation-plan",{on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Backout Plan","before-change":t.beforeChange}},[n("rfc-backout-plan",{on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1),t._v(" "),n("tab-content",{attrs:{title:"Test Plan","before-change":t.beforeChange}},[n("rfc-test-plan",{on:{update_values:function(e){return t.updateValues(e)},update_validation:function(e){return t.updateValidation(e)}}})],1)],1)],1)])};op._withStripped=!0;var ap=n(64);const sp=n(3);var lp=J({name:"NewRequestForChange",props:{groupResults:Array,rootUrl:{type:String,default:"/"},statusUrl:{type:String,default:"/"},userGroupResults:{type:Array,default:()=>[]},userResults:Array},components:{FormWizard:ap.FormWizard,TabContent:ap.TabContent},mixins:[h],data:()=>({currentTab:0,rfcData:{groupModel:[],rfcBackoutPlan:"",rfcChangeLeadModel:{},rfcImpactModel:{},rfcImplementationEndModel:"",rfcImplementationPlanModel:"",rfcImplementationStartModel:"",rfcPriorityModel:{},rfcReleaseModel:"",rfcRiskModel:{},rfcRiskSummaryModel:"",rfcSummaryModel:"",rfcTestPlanModel:"",rfcTitleModel:"",rfcTypeModel:{},rfcVersionModel:""},validationData:{tab_0:!1,tab_1:!1,tab_2:!1,tab_3:!1,tab_4:!1,tab_5:!1}}),methods:{beforeChange:function(){return this.validationData["tab_"+this.currentTab]},onChange:function(t,e){this.currentTab=e,window.scrollTo(0,60)},onComplete:function(){const t=new FormData,e=this.rfcData;t.set("rfc_title",e.rfcTitleModel),t.set("rfc_summary",e.rfcSummaryModel),t.set("rfc_type",e.rfcTypeModel.value),t.set("rfc_implementation_start_date",e.rfcImplementationStartModel),t.set("rfc_implementation_end_date",e.rfcImplementationEndModel),t.set("rfc_implementation_release_date",e.rfcReleaseModel),t.set("rfc_version_number",e.rfcVersionModel),t.set("rfc_lead",e.rfcChangeLeadModel.value),t.set("rfc_priority",e.rfcPriorityModel.value),t.set("rfc_risk",e.rfcRiskModel.value),t.set("rfc_impact",e.rfcImpactModel.value),t.set("rfc_risk_and_impact_analysis",e.rfcRiskSummaryModel),t.set("rfc_implementation_plan",e.rfcImplementationPlanModel),t.set("rfc_backout_plan",e.rfcBackoutPlan),t.set("rfc_test_plan",e.rfcTestPlanModel),e.groupModel.forEach((e,n)=>{t.append("group_list",e.value)}),sp.post(this.rootUrl+"new_request_for_change/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,"request_for_change","")})},updateValidation:function(t){this.validationData[t.tab]=t.value},updateValues:function(t){this.rfcData[t.modelName]=t.modelValue}}},op,[],!1,null,"8b4b5646",null);lp.options.__file="src/js/components/request_for_change/NewRequestForChange.vue";var cp=lp.exports,dp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("label",[t._v("Backout Plan:\n "),!t.$v.rfcBackoutPlanModel.required&&t.$v.rfcBackoutPlanModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcBackoutPlanModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcBackoutPlanModel,callback:function(e){t.rfcBackoutPlanModel=e},expression:"rfcBackoutPlanModel"}})],1)])};dp._withStripped=!0;var up=J({name:"RfcBackoutPlan",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}}},data:()=>({rfcBackoutPlanModel:""}),validations:{rfcBackoutPlanModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)}},methods:{updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_4",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcBackoutPlanModel:function(){this.updateValues("rfcBackoutPlan",this.rfcBackoutPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcBackoutPlanModel=this.rfcResults[0].fields.rfc_backout_plan)}},dp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Backout Plan")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please outline the backout plan that will be implemented, and when it will be implemented, when something\n goes wrong with the Request for Change.\n ")])])}],!1,null,"4b3a46a5",null);up.options.__file="src/js/components/request_for_change/tabs/RfcBackoutPlan.vue";var pp=up.exports,mp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Request for Change Type:\n "),!t.$v.rfcTypeModel.required&&t.$v.rfcTypeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcType},model:{value:t.rfcTypeModel,callback:function(e){t.rfcTypeModel=e},expression:"rfcTypeModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Version/Release Number\n "),t.$v.rfcVersionModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.rfcVersionModel,expression:"rfcVersionModel"}],staticClass:"form-control",attrs:{type:"text",maxlength:"25"},domProps:{value:t.rfcVersionModel},on:{input:function(e){e.target.composing||(t.rfcVersionModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"row col-md-8"},[n("div",{staticClass:"col-md-12"},[t.checkDateValidation?n("span",{staticClass:"error"},[t._v(" Please select an appropriate date for ALL fields.")]):t._e()]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Implementation Start: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcImplementationStartModel,callback:function(e){t.rfcImplementationStartModel=e},expression:"rfcImplementationStartModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Implementation End: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcImplementationEndModel,callback:function(e){t.rfcImplementationEndModel=e},expression:"rfcImplementationEndModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Release Date: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcReleaseModel,callback:function(e){t.rfcReleaseModel=e},expression:"rfcReleaseModel"}})],1)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n LEAD:\n "),!t.$v.rfcChangeLeadModel.required&&t.$v.rfcChangeLeadModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Lead.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcChangeLeadFixList},on:{search:t.fetchOptions},model:{value:t.rfcChangeLeadModel,callback:function(e){t.rfcChangeLeadModel=e},expression:"rfcChangeLeadModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("group-permissions",{attrs:{"group-results":t.groupResults,destination:"request_for_change","is-dirty":t.$v.groupModel.$dirty,"user-group-results":t.userGroupResults},on:{update_group_model:function(e){return t.updateGroupModel(e)}}})],1)};mp._withStripped=!0;const fp=n(3);var hp=J({name:"RfcDetails",props:{groupResults:Array,userGroupResults:{type:Array,default:()=>[]},userResults:Array},mixins:[ut],data:()=>({groupModel:[],rfcChangeLeadFixList:[],rfcChangeLeadModel:"",rfcImplementationStartModel:"",rfcImplementationEndModel:"",rfcReleaseModel:"",rfcStatus:[{label:"Draft",value:1},{label:"Waiting for approval",value:2},{label:"Approved",value:3},{label:"Started",value:4},{label:"Finished",value:5},{label:"Rejected",value:6}],rfcType:[{label:"Emergency",value:4},{label:"High",value:3},{label:"Medium",value:2},{label:"Low",value:1}],rfcTypeModel:"",rfcVersionModel:"",searchTimeout:""}),validations:{groupModel:{required:dt.required},rfcChangeLeadModel:{required:dt.required},rfcImplementationStartModel:{required:dt.required},rfcImplementationEndModel:{required:dt.required},rfcReleaseModel:{required:dt.required},rfcTypeModel:{required:dt.required},rfcVersionModel:{maxLength:Object(dt.maxLength)(25)}},computed:{checkDateValidation:function(){const t=!this.$v.rfcImplementationStartModel.required&&this.$v.rfcImplementationStartModel.$dirty,e=!this.$v.rfcImplementationEndModel.required&&this.$v.rfcImplementationEndModel.$dirty,n=!this.$v.rfcReleaseModel.required&&this.$v.rfcReleaseModel.$dirty;return t||e||n}},methods:{fetchOptions:function(t,e){this.searchTrigger({return_function:this.getChangeLeadData,searchTimeout:this.searchTimeout,search:t,loading:e})},getChangeLeadData:function(t,e){const n=new FormData;n.set("search",t),fp.post("/object_data/lead_user_list/",n).then(t=>{this.rfcChangeLeadFixList=[],t.data.forEach(t=>{var e={value:t.pk,label:`${t.fields.username} - ${t.fields.first_name} ${t.fields.last_name}`};this.rfcChangeLeadFixList.push(e)})}).catch((function(t){document.getElementById("errorModalContent").innerHTML="Search Lead User Issue:
"+t,new bootstrap.Modal(document.getElementById("errorModal"),{keyboard:!1}).show(),document.getElementById("loader").style.display="none"}))},updateGroupModel:function(t){this.groupModel=t,this.updateValues("groupModel",t),this.updateValidation()},updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_1",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcChangeLeadModel:function(){this.updateValues("rfcChangeLeadModel",this.rfcChangeLeadModel),this.updateValidation()},rfcImplementationStartModel:function(){this.updateValues("rfcImplementationStartModel",this.rfcImplementationStartModel),this.updateValidation()},rfcImplementationEndModel:function(){this.updateValues("rfcImplementationEndModel",this.rfcImplementationEndModel),this.updateValidation()},rfcReleaseModel:function(){this.updateValues("rfcReleaseModel",this.rfcReleaseModel),this.updateValidation()},rfcStatus:function(){this.updateValues("rfcStatus",this.rfcStatus),this.updateValidation()},rfcType:function(){this.updateValues("rfcType",this.rfcType),this.updateValidation()},rfcTypeModel:function(){this.updateValues("rfcTypeModel",this.rfcTypeModel),this.updateValidation()},rfcVersionModel:function(){this.updateValues("rfcVersionModel",this.rfcVersionModel),this.updateValidation()}},mounted(){this.getChangeLeadData(),this.$v.$touch()}},mp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Type and Version")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please specify how urgent this RFC's status really is. Optionally you can also specify the version\n or release number.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Important Dates")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please supply the implementation start and end dates. Please also suply the release date of the\n change to the general consumer.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Change LEAD: ")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please supply the LEAD who will be leading this Request for Change.\n ")])])}],!1,null,"38d20597",null);hp.options.__file="src/js/components/request_for_change/tabs/RfcDetails.vue";var vp=hp.exports,gp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("label",[t._v("Implementation Plan:\n "),!t.$v.rfcImplementationPlanModel.required&&t.$v.rfcImplementationPlanModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcImplementationPlanModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcImplementationPlanModel,callback:function(e){t.rfcImplementationPlanModel=e},expression:"rfcImplementationPlanModel"}})],1)])};gp._withStripped=!0;var bp=J({name:"RfcImplementationPlan",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}}},data:()=>({rfcImplementationPlanModel:""}),validations:{rfcImplementationPlanModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)}},methods:{updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_3",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcImplementationPlanModel:function(){this.updateValues("rfcImplementationPlanModel",this.rfcImplementationPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcImplementationPlanModel=this.rfcResults[0].fields.rfc_implementation_plan)}},gp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Implementation Plan")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please outline your implementation plan for this request for change.\n ")])])}],!1,null,"420ae536",null);bp.options.__file="src/js/components/request_for_change/tabs/RfcImplementationPlan.vue";var _p=bp.exports,yp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("label",[t._v("\n Priority of Change\n "),!t.$v.rfcPriorityModel.required&&t.$v.rfcPriorityModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcPriority,disabled:t.isReadOnly},model:{value:t.rfcPriorityModel,callback:function(e){t.rfcPriorityModel=e},expression:"rfcPriorityModel"}})],1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("label",[t._v("\n Risk of Change\n "),!t.$v.rfcRiskModel.required&&t.$v.rfcRiskModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcRisk,disabled:t.isReadOnly},model:{value:t.rfcRiskModel,callback:function(e){t.rfcRiskModel=e},expression:"rfcRiskModel"}})],1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("label",[t._v("\n Impact of Change\n "),!t.$v.rfcImpactModel.required&&t.$v.rfcImpactModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please select a Change Type.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcImpact,disabled:t.isReadOnly},model:{value:t.rfcImpactModel,callback:function(e){t.rfcImpactModel=e},expression:"rfcImpactModel"}})],1)]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Risk Association:\n "),!t.$v.rfcRiskSummaryModel.required&&t.$v.rfcRiskSummaryModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcRiskSummaryModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcRiskSummaryModel,callback:function(e){t.rfcRiskSummaryModel=e},expression:"rfcRiskSummaryModel"}})],1)])};yp._withStripped=!0;var wp=J({name:"RfcRisk",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}}},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:dt.required},rfcRiskModel:{required:dt.required},rfcRiskSummaryModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},rfcImpactModel:{required:dt.required}},methods:{updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_2",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcPriority:function(){this.updateValues("rfcPriority",this.rfcPriority),this.updateValidation()},rfcPriorityModel:function(){this.updateValues("rfcPriorityModel",this.rfcPriorityModel),this.updateValidation()},rfcRisk:function(){this.updateValues("rfcRisk",this.rfcRisk),this.updateValidation()},rfcRiskModel:function(){this.updateValues("rfcRiskModel",this.rfcRiskModel),this.updateValidation()},rfcRiskSummaryModel:function(){this.updateValues("rfcRiskSummaryModel",this.rfcRiskSummaryModel),this.updateValidation()},rfcImpact:function(){this.updateValues("rfcImpact",this.rfcImpact),this.updateValidation()},rfcImpactModel:function(){this.updateValues("rfcImpactModel",this.rfcImpactModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcPriorityModel=this.rfcPriority.filter(t=>t.value===this.rfcResults[0].fields.rfc_priority)[0],this.rfcRiskModel=this.rfcRisk.filter(t=>t.value===this.rfcResults[0].fields.rfc_risk)[0],this.rfcRiskSummaryModel=this.rfcResults[0].fields.rfc_risk_and_impact_analysis,this.rfcImpactModel=this.rfcImpact.filter(t=>t.value===this.rfcResults[0].fields.rfc_impact)[0]),this.$v.$touch()}},yp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Risk")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please outline all risks associated with this Request for Change. A detail list of all risks should be\n noted.\n ")])])}],!1,null,"2dd96d4a",null);wp.options.__file="src/js/components/request_for_change/tabs/RfcRisk.vue";var xp=wp.exports,kp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("label",[t._v("Test Plan:\n "),!t.$v.rfcTestPlanModel.required&&t.$v.rfcTestPlanModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcTestPlanModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcTestPlanModel,callback:function(e){t.rfcTestPlanModel=e},expression:"rfcTestPlanModel"}})],1)])};kp._withStripped=!0;var Cp=J({name:"RfcTestPlan",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}}},data:()=>({rfcTestPlanModel:""}),validations:{rfcTestPlanModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)}},methods:{updateValidation:function(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_5",value:!this.$v.$invalid})},updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcTestPlanModel:function(){this.updateValues("rfcTestPlanModel",this.rfcTestPlanModel),this.updateValidation()}},mounted(){this.rfcResults.length>0&&(this.rfcTestPlanModel=this.rfcResults[0].fields.rfc_test_plan)}},kp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Test Plan")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Outline your test plan. How will you test the Request for Change once it has been implemented.\n ")])])}],!1,null,"29045dd6",null);Cp.options.__file="src/js/components/request_for_change/tabs/RfcTestPlan.vue";var Mp=Cp.exports,Sp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"min-height":"610px"}},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Request for Change Title:\n "),!t.$v.rfcTitleModel.required&&t.$v.rfcTitleModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.rfcTitleModel,expression:"rfcTitleModel"}],staticClass:"form-control",attrs:{type:"text",maxlength:"255"},domProps:{value:t.rfcTitleModel},on:{input:function(e){e.target.composing||(t.rfcTitleModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("label",[t._v("Request for Change Summary:\n "),!t.$v.rfcSummaryModel.required&&t.$v.rfcSummaryModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please supply a description.")]):t._e(),t._v(" "),t.$v.rfcSummaryModel.maxLength?t._e():n("span",{staticClass:"error"},[t._v(" Sorry - too many characters.")])]),n("br"),t._v(" "),n("img",{staticClass:"loader-image",attrs:{src:t.staticUrl+"static/NearBeach/images/placeholder/body_text.svg",alt:"loading image for Tinymce"}}),t._v(" "),n("editor",{attrs:{init:{height:500,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1,disabled:t.isReadOnly},model:{value:t.rfcSummaryModel,callback:function(e){t.rfcSummaryModel=e},expression:"rfcSummaryModel"}})],1)])};Sp._withStripped=!0;var Tp=J({name:"RfcDescription",props:{isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:function(){return[]}},staticUrl:{type:String,default:"/"}},data:()=>({rfcSummaryModel:"",rfcTitleModel:""}),validations:{rfcSummaryModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},rfcTitleModel:{required:dt.required,maxLength:Object(dt.maxLength)(250)}},methods:{updateValues:function(t,e){this.$emit("update_values",{modelName:t,modelValue:e})}},watch:{rfcSummaryModel:function(){this.updateValues("rfcSummaryModel",this.rfcSummaryModel)},rfcTitleModel:function(){this.updateValues("rfcTitleModel",this.rfcTitleModel)}},updated(){this.$v.$touch(),this.$emit("update_validation",{tab:"tab_0",value:!this.$v.$invalid})},mounted(){this.rfcResults.length>0&&(this.rfcSummaryModel=this.rfcResults[0].fields.rfc_summary,this.rfcTitleModel=this.rfcResults[0].fields.rfc_title),this.$v.$touch()}},Sp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Place a detailed description here. This should cover what your Request For Change (RFC) will entail and\n why it should be implemented within the time frames specified below.\n ")])])}],!1,null,"401203d1",null);Tp.options.__file="src/js/components/request_for_change/tabs/RfcDescription.vue";var Ep=Tp.exports,jp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Request for Change")]),t._v(" "),n("hr"),t._v(" "),n("rfc-description",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_values:function(e){return t.updateValues(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Request for Change Type:\n "),!t.$v.rfcTypeModel.required&&t.$v.rfcTypeModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a title.")]):t._e()]),t._v(" "),n("v-select",{attrs:{options:t.rfcType,disabled:t.isReadOnly},model:{value:t.rfcTypeModel,callback:function(e){t.rfcTypeModel=e},expression:"rfcTypeModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Version/Release Number")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.rfcVersionModel,expression:"rfcVersionModel"}],staticClass:"form-control",attrs:{type:"text",maxlength:"25"},domProps:{value:t.rfcVersionModel},on:{input:function(e){e.target.composing||(t.rfcVersionModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"row col-md-8"},[n("div",{staticClass:"col-md-12"},[t.checkDateValidation?n("span",{staticClass:"error"},[t._v(" Please select an appropriate date for ALL fields.")]):t._e()]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Implementation Start: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcImplementationStartModel,callback:function(e){t.rfcImplementationStartModel=e},expression:"rfcImplementationStartModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Implementation End: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcImplementationEndModel,callback:function(e){t.rfcImplementationEndModel=e},expression:"rfcImplementationEndModel"}})],1)]),t._v(" "),n("div",{staticClass:"col-sm-4"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Release Date: ")]),t._v(" "),n("datetime",{attrs:{type:"datetime","input-class":"form-control","minute-step":5},model:{value:t.rfcReleaseModel,callback:function(e){t.rfcReleaseModel=e},expression:"rfcReleaseModel"}})],1)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-4"},[n("table",{staticClass:"table user-table-module"},[n("tbody",[n("tr",[t._m(3),t._v(" "),n("td",[n("strong",[t._v(t._s(t.rfcChangeLead[0].fields.username)+": ")]),t._v(t._s(t.rfcChangeLead[0].fields.first_name)+" "+t._s(t.rfcChangeLead[0].fields.last_name)+"\n "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"user-card-email"},[t._v("\n "+t._s(t.rfcChangeLead[0].fields.email)+"\n ")])])])])])])]),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-dark",attrs:{href:"javascript:void(0)"},on:{click:t.updateRFCStatus}},[t._v("Submit RFC for Approval")]),t._v(" "),n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateRFC}},[t._v("Update Request for Change")])])])],1)])};jp._withStripped=!0;const Op=n(3);var Ip=J({name:"RfcInformation",props:{groupLeaderCount:{type:Number,default:0},isReadOnly:{type:Boolean,default:!1},rfcChangeLead:Array,rfcResults:Array},mixins:[h,ie],data(){return{rfcChangeLeadFixList:[],rfcChangeLeadModel:"",rfcTitleModel:this.rfcResults[0].fields.rfc_title,rfcSummaryModel:this.rfcResults[0].fields.rfc_summary,rfcImplementationStartModel:this.rfcResults[0].fields.rfc_implementation_start_date,rfcImplementationEndModel:this.rfcResults[0].fields.rfc_implementation_end_date,rfcReleaseModel:this.rfcResults[0].fields.rfc_implementation_release_date,rfcStatus:[{label:"Draft",value:1},{label:"Waiting for approval",value:2},{label:"Approved",value:3},{label:"Started",value:4},{label:"Finished",value:5},{label:"Rejected",value:6}],rfcType:[{label:"Emergency",value:4},{label:"High",value:3},{label:"Medium",value:2},{label:"Low",value:1}],rfcTypeModel:"",rfcVersionModel:this.rfcResults[0].fields.rfc_version_number}},validations:{rfcTitleModel:{required:dt.required},rfcSummaryModel:{required:dt.required,maxLength:Object(dt.maxLength)(63e4)},rfcImplementationStartModel:{required:dt.required},rfcImplementationEndModel:{required:dt.required},rfcReleaseModel:{required:dt.required},rfcTypeModel:{required:dt.required},rfcVersionModel:{maxLength:Object(dt.maxLength)(25)}},computed:{checkDateValidation:function(){const t=!this.$v.rfcImplementationStartModel.required&&this.$v.rfcImplementationStartModel.$dirty,e=!this.$v.rfcImplementationEndModel.required&&this.$v.rfcImplementationEndModel.$dirty,n=!this.$v.rfcReleaseModel.required&&this.$v.rfcReleaseModel.$dirty;return t||e||n}},methods:{updateRFC:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("rfc_title",this.rfcTitleModel),t.set("rfc_summary",this.rfcSummaryModel),t.set("rfc_type",this.rfcTypeModel.value),t.set("rfc_version_number",this.rfcVersionModel),t.set("rfc_implementation_start_date",this.rfcImplementationStartModel),t.set("rfc_implementation_end_date",this.rfcImplementationEndModel),t.set("rfc_implementation_release_date",this.rfcReleaseModel),this.showLoadingModal("Project"),Op.post(`/rfc_information/${this.rfcResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,this.destination)})},updateRFCStatus:function(){const t=new FormData;t.set("rfc_status","2"),Op.post(`/rfc_information/${this.rfcResults[0].pk}/update_status/`,t).then(t=>{window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,"Request for Change",this.rfcResults[0].pk)})},updateValues:function(t){this._data[t.modelName]=t.modelValue}},mounted(){this.rfcTypeModel=this.rfcType.filter(t=>t.value==this.rfcResults[0].fields.rfc_type)[0]}},jp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Type and Version")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please specify how urgent this RFC's status really is. Optionally you can also specify the version\n or release number.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Important Dates")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please supply the implementation start and end dates. Please also suply the release date of the\n change to the general consumer.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Change LEAD: ")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please supply the LEAD who will be leading this Request for Change.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",[e("img",{staticClass:"default-user-profile",attrs:{src:"/static/NearBeach/images/placeholder/people_tax.svg",alt:"default profile"}})])}],!1,null,"7d37e2ba",null);Ip.options.__file="src/js/components/request_for_change/RfcInformation.vue";var Lp=Ip.exports,Dp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[t._m(0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"tab-content",attrs:{id:"misc_module_content"}},[n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-risk",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-risk",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}}),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateRisk}},[t._v("Update Risks")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-implementation",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-implementation-plan",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}}),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateImplementation}},[t._v("Update Implementation Plan")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-backout",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-backout-plan",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}}),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateBackoutPlan}},[t._v("Update Backout Plan")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-test",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-test-plan",{attrs:{"rfc-results":t.rfcResults,"is-read-only":t.isReadOnly},on:{update_validation:function(e){return t.updateValidation(e)},update_values:function(e){return t.updateValues(e)}}}),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateTestPlan}},[t._v("Update Test Plan")])])])],1),t._v(" "),n("div",{staticClass:"tab-pane fade",attrs:{id:"rfc-run-sheet",role:"tabpanel","aria-labelledby":"home-tab"}},[n("rfc-run-sheet-list",{attrs:{"is-read-only":t.isReadOnly,"location-id":t.locationId,"user-list":t.userList,"rfc-id":t.rfcResults[0].pk,"rfc-status":t.rfcResults[0].fields.rfc_status},on:{update_values:function(e){return t.updateValues(e)}}})],1)])])])};Dp._withStripped=!0;const Np=n(3);var $p=J({name:"RfcModules",props:{locationId:Number,destination:String,isReadOnly:{type:Boolean,default:!1},rfcResults:{type:Array,default:[]},userList:Array},mixins:[h,ie],data:()=>({rfcData:{rfcBackoutPlan:"",rfcImpactModel:{},rfcImplementationPlanModel:"",rfcPriorityModel:{},rfcRiskModel:{},rfcRiskSummaryModel:"",rfcTestPlanModel:"",rfcTypeModel:{}},validationData:{tab_2:!0,tab_3:!0,tab_4:!0,tab_5:!0}}),methods:{sendData:function(t,e){this.showLoadingModal("Project"),Np.post(e,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,this.destination)})},updateBackoutPlan:function(){if(!1===this.validationData.tab_4)return void this.showErrorModal("Please fill out all data","Backout Plan","");const t=new FormData;t.set("text_input",this.rfcData.rfcBackoutPlan),this.sendData(t,`/rfc_information/${this.rfcResults[0].pk}/save/backout/`)},updateImplementation:function(){if(!1===this.validationData.tab_3)return void this.showErrorModal("Please fill out all data","Implementation","");const t=new FormData;t.set("text_input",this.rfcData.rfcImplementationPlanModel),this.sendData(t,`/rfc_information/${this.rfcResults[0].pk}/save/implementation/`)},updateRisk:function(){if(!1===this.validationData.tab_2)return void this.showErrorModal("Please fill out all data","Risk","");const t=new FormData;t.set("priority_of_change",this.rfcData.rfcPriorityModel.value),t.set("risk_of_change",this.rfcData.rfcRiskModel.value),t.set("impact_of_change",this.rfcData.rfcImpactModel.value),t.set("text_input",this.rfcData.rfcRiskSummaryModel),this.sendData(t,`/rfc_information/${this.rfcResults[0].pk}/save/risk/`)},updateValidation:function(t){this.validationData[t.tab]=t.value},updateTestPlan:function(){if(!1===this.validationData.tab_5)return void this.showErrorModal("Please fill out all data","Test Plan","");const t=new FormData;t.set("text_input",this.rfcData.rfcTestPlanModel),this.sendData(t,`/rfc_information/${this.rfcResults[0].pk}/save/test/`)},updateValues:function(t){this.rfcData[t.modelName]=t.modelValue}}},Dp,[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"nav nav-tabs",attrs:{id:"misc_module_tabs",role:"tablist"}},[n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-risk-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-risk",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Risk")])]),t._v(" "),n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-implementation-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-implementation",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Implementation")])]),t._v(" "),n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-backout-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-backout",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Backout Plan")])]),t._v(" "),n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-test-plan-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-test",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Test Plan")])]),t._v(" "),n("li",{staticClass:"nav-item",attrs:{role:"presentation"}},[n("button",{staticClass:"nav-link",attrs:{id:"rfc-run-sheet-tab","data-bs-toggle":"tab","data-bs-target":"#rfc-run-sheet",type:"button",role:"tab","aria-controls":"home","aria-selected":"true"}},[t._v("Run Sheet")])])])}],!1,null,"e5424ad6",null);$p.options.__file="src/js/components/request_for_change/RfcModules.vue";var Ap=$p.exports,Rp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"newRunItemModal",tabindex:"-1","aria-labelledby":"newRunItemModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Change Title:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeTitleModel,expression:"changeTitleModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.changeTitleModel},on:{input:function(e){e.target.composing||(t.changeTitleModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"Change Task"},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Change Task Description (Optional):")]),t._v(" "),n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.changeDescriptionModel,callback:function(e){t.changeDescriptionModel=e},expression:"changeDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Stakeholders:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeStakeholderModel,expression:"changeStakeholderModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.changeStakeholderModel},on:{input:function(e){e.target.composing||(t.changeStakeholderModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"btn-group",attrs:{role:"group","aria-label":"Basic checkbox toggle button group"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeIsDowntimeModel,expression:"changeIsDowntimeModel"}],staticClass:"btn-check",attrs:{type:"checkbox",id:"isDowntime",autocomplete:"off"},domProps:{checked:Array.isArray(t.changeIsDowntimeModel)?t._i(t.changeIsDowntimeModel,null)>-1:t.changeIsDowntimeModel},on:{change:function(e){var n=t.changeIsDowntimeModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.changeIsDowntimeModel=n.concat([null])):o>-1&&(t.changeIsDowntimeModel=n.slice(0,o).concat(n.slice(o+1)))}else t.changeIsDowntimeModel=i}}}),t._v(" "),n("label",{staticClass:"btn btn-outline-primary",attrs:{for:"isDowntime"}},[t._v(t._s(t.isDowntime()))])])])])],1),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.submitChangeTask(e)}}},[t._v("\n Add Change Task\n ")])])])])])};Rp._withStripped=!0;const Pp=n(3);var qp=J({name:"RfcNewRunItem",props:{locationId:Number},mixins:[h],data:()=>({changeDescriptionModel:"",changeEndDateModel:"",changeIsDowntimeModel:!1,changeStakeholderModel:"Stakeholder(s)",changeStartDateModel:"",changeTitleModel:""}),methods:{isDowntime:function(){return this.changeIsDowntimeModel?"Downtime Scheduled":"No Downtime"},submitChangeTask:function(t){t.preventDefault();var e=parseInt(this.changeEndDateModel)-parseInt(this.changeStartDateModel);const n=new FormData;n.set("request_for_change",this.locationId.toString()),n.set("change_task_title",this.changeTitleModel),n.set("change_task_description",this.changeDescriptionModel),n.set("change_task_start_date",this.changeStartDateModel),n.set("change_task_end_date",this.changeEndDateModel),n.set("change_task_seconds",e.toString()),n.set("change_task_required_by",this.changeStakeholderModel),n.set("is_downtime",this.changeIsDowntimeModel),Pp.post(`/rfc_information/${this.locationId}/new_change_task/`,n).then(t=>{this.$emit("update_change_task_list",t.data),this.changeDescriptionModel="",this.changeIsDowntimeModel=!1,this.changeStakeholderModel="Stakeholder(s)",this.changeTitleModel="",document.getElementById("newRunItemCloseButton").click()}).catch(t=>{this.showErrorModal(t,"Change Task")})},updateDates:function(t){this.changeStartDateModel=t.start_date,this.changeEndDateModel=t.end_date}}},Rp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h2",{staticClass:"modal-title",attrs:{id:"newRunItemModalLabel"}},[this._v("New Change Task")]),this._v(" "),e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"newRunItemCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Change Task Title")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please write a short title of the description for this task. i.e Backup of Database\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Write a detail description of this particular task.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Misc")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Please fill in the stakeholders for this particular change task. Default value will be\n "Stakeholders".\n ')]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n To state if there is downtime, please click the "No Downtime" to change it\'s statue.\n ')])])}],!1,null,"1057ced8",null);qp.options.__file="src/js/components/request_for_change/modules/RfcNewRunItem.vue";var zp=qp.exports,Fp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[t.changeTaskList.length>0?n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.changeTaskList,(function(e){return n("tr",[n("td",[n("div",[t._v("Start Time:")]),t._v(" "),n("div",{staticClass:"small-text"},[t._v(t._s(t.getNiceDate(e.fields.change_task_start_date)))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("div",[t._v("End Time:")]),t._v(" "),n("div",{staticClass:"small-text"},[t._v(t._s(t.getNiceDate(e.fields.change_task_end_date)))])]),t._v(" "),n("td",[n("a",{attrs:{href:"/change_task_information/"+e.pk+"/"}},[t._v(t._s(e.fields.change_task_title))])]),t._v(" "),n("td",[n("div",[t._v("Assigned User:")]),t._v(" "),n("div",{staticClass:"small-text"},[t._v(t._s(t.getUserName(e.fields.change_task_assigned_user)))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("div",[t._v("QA User:")]),t._v(" "),n("div",{staticClass:"small-text"},[t._v(t._s(t.getUserName(e.fields.change_task_qa_user)))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("div",[t._v("Status:")]),t._v(" "),4!==t.rfcStatus?n("div",{staticClass:"small-text"},[t._v("\n "+t._s(t.getStatus(e.fields.change_task_status))+"\n ")]):n("div",[3==e.fields.change_task_status?n("a",{staticClass:"btn btn-primary change-task-button",attrs:{href:"javascript:void(0)"},on:{click:function(n){return t.updateChangeTaskStatus(e.pk,4)}}},[t._v("Start Task")]):t._e(),t._v(" "),4==e.fields.change_task_status?n("a",{staticClass:"btn btn-warning change-task-button",attrs:{href:"javascript:void(0)"},on:{click:function(n){return t.updateChangeTaskStatus(e.pk,5)}}},[t._v("Finish Task")]):t._e(),t._v(" "),5==e.fields.change_task_status?n("a",{staticClass:"btn btn-success change-task-button",attrs:{href:"javascript:void(0)"}},[t._v("Successful")]):t._e(),t._v(" "),6==e.fields.change_task_status?n("a",{staticClass:"btn btn-danger change-task-button",attrs:{href:"javascript:void(0)"}},[t._v("Failed")]):t._e()])])])})),0)]):t._e(),t._v(" "),0==t.changeTaskList.length?n("div",{staticClass:"alert alert-primary"},[t._v("\n Currently there are no Change Tasks associated with this Request for Change. Please add some by clicking\n on the button below.\n ")]):t._e()]),t._v(" "),t.isReadOnly?t._e():n("hr"),t._v(" "),t.isReadOnly?t._e():n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewChangeItem}},[t._v("New Change Item")])])]),t._v(" "),t.isCompleted?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-warning save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.closeRfc}},[t._v("Close Request for Change")])])]):t._e(),t._v(" "),t.isReadOnly?t._e():n("rfc-new-run-item",{attrs:{"location-id":t.locationId},on:{update_change_task_list:function(e){return t.updateChangeTaskList(e)}}})],1)};Fp._withStripped=!0;var Up={methods:{getNiceDate:function(t){return Hn.DateTime.fromISO(t).toLocaleString(Hn.DateTime.DATETIME_MED)}}};const Bp=n(3);var Vp=J({name:"RfcRunSheetList",props:{isReadOnly:{type:Boolean,default:!1},locationId:Number,rfcId:Number,rfcStatus:{type:Number,default:0},userList:Array},mixins:[h,Up],data:()=>({changeTaskList:[]}),computed:{isCompleted:function(){return 0===this.changeTaskList.filter(t=>{const e=t.fields.change_task_status;return 5!==e&&6!==e}).length&&(3===this.rfcStatus||4===this.rfcStatus)}},methods:{addNewChangeItem:function(){new f.a(document.getElementById("newRunItemModal")).show()},closeRfc:function(){const t=new FormData;t.set("rfc_status",5),Bp.post(`/rfc_information/${this.rfcId}/update_status/`,t).then(t=>{window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,"request_for_change")})},getRunSheetList:function(){Bp.post(`/rfc_information/${this.locationId}/change_task_list/`).then(t=>{this.changeTaskList=t.data}).catch(t=>{this.showErrorModal(t,"request_for_change")})},getStatus:function(t){switch(t){case 1:return"Draft";case 2:return"Waiting for approval";case 3:return"Waiting to start";case 4:return"Task Started";case 5:return"Task Finished";case 6:return"Task FAILED";default:return"---"}},getUserName:function(t){var e=this.userList.filter(e=>e.pk==t);return 0==e.length?"---":`${e[0].fields.username}: ${e[0].fields.first_name} ${e[0].fields.last_name}`},updateChangeTaskList:function(t){this.changeTaskList=t},updateChangeTaskStatus:function(t,e){const n=new FormData;n.set("change_task_status",e),Bp.post(`/change_task_update_status/${t}/`,n).then(n=>{this.changeTaskList=this.changeTaskList.map(n=>n.pk==t?(n.fields.change_task_status=e,n):n)}).catch(t=>{this.showErrorModal(t,"request_for_change")})}},mounted(){this.getRunSheetList()}},Fp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Run Sheet List")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The run sheet will specify specific tasks for each user to implement. Each run item can be specified to;\n "),e("ul",[e("li",[this._v("Block other run items")]),this._v(" "),e("li",[this._v("Block out downtime")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{staticStyle:{width:"20%"}},[this._v("Timings")]),this._v(" "),e("td",{staticStyle:{width:"55%"}},[this._v("Title")]),this._v(" "),e("td",{staticStyle:{width:"25%"}},[this._v("Assigned Users")])])])}],!1,null,"1039222c",null);Vp.options.__file="src/js/components/request_for_change/modules/RfcRunSheetList.vue";var Hp=Vp.exports,Wp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.rfcApprovalsList.length>0?n("div",{staticClass:"card rfc-approvals-card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Request for Changes Waiting for Approval")]),t._v(" "),n("hr"),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following Request for Changes, require you to action them. You can either approve or reject these\n Request for Changes.\n ")]),t._v(" "),n("table",{staticClass:"table"},[t._m(0),t._v(" "),n("tbody",t._l(t.rfcApprovalsList,(function(e){return n("tr",{staticClass:"bg-white"},[n("td",[n("a",{attrs:{href:t.rootUrl+"rfc_readonly/"+e.pk+"/"}},[n("p",[t._v(t._s(e.fields.rfc_title))]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v("RFC"+t._s(e.pk))])])]),t._v(" "),n("td",[t._v(t._s(t.getNiceDate(e.fields.rfc_implementation_start_date)))])])})),0)])])]):t._e()};Wp._withStripped=!0;const Gp=n(3);var Yp=J({name:"DashboardRfcApprovals.vue",props:{rootUrl:{type:String,default:"/"}},data:()=>({rfcApprovalsList:[]}),mixins:[Up,h],methods:{getRfcApprovalsList:function(){Gp.post(this.rootUrl+"dashboard/get/rfc_approvals/").then(t=>{this.rfcApprovalsList=t.data}).catch(t=>{this.showErrorModal(t,"Dashboard","")})}},mounted(){this.getRfcApprovalsList()}},Wp,[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",{attrs:{width:"75%"}},[this._v("Request for Change")]),this._v(" "),e("td",{attrs:{width:"25%"}},[this._v("Implementation Date")])])])}],!1,null,"6e3b3604",null);Yp.options.__file="src/js/components/dashboard/DashboardRfcApprovals.vue";var Kp=Yp.exports,Zp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showApprovalButton?n("div",{staticClass:"card submit-rfc-card"},[n("div",{staticClass:"card-body"},[t._m(0),t._v(" "),n("div",{staticClass:"row submit-row rfc-submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary",attrs:{href:"javascript:void(0)"},on:{click:t.approveRfc}},[t._v("Approve RFC")]),t._v(" "),n("a",{staticClass:"btn btn-danger reject-rfc",attrs:{href:"javascript:void(0)"},on:{click:t.rejectRfc}},[t._v("REJECT RFC")])])])])]):t._e()};Zp._withStripped=!0;const Xp=n(3);var Jp=J({name:"RfcApprovalButtons",props:{rfcResults:Array,groupLeaderCount:Number},mixins:[h,ie],computed:{showApprovalButton:function(){return 2===this.rfcResults[0].fields.rfc_status&&this.groupLeaderCount>0}},methods:{approveRfc:function(){const t=new FormData;t.set("rfc_status","3"),this.sendStatus(t)},rejectRfc:function(){const t=new FormData;t.set("rfc_status","6"),this.sendStatus(t)},sendStatus:function(t){this.showLoadingModal("Request for Change"),Xp.post(`/rfc_information/${this.rfcResults[0].pk}/update_status/`,t).then(t=>{this.closeLoadingModal(),window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,this.destination)})}}},Zp,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row"},[e("h2",[this._v("Approval Process")]),this._v(" "),e("hr"),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Please read the complete process for this Request for Change. If you decided to approve, please\n click on the "Approve RFC" button. If you reject this Request for Change, please click on the\n "Reject RFC" button.\n ')])])}],!1,null,"7005f7d4",null);Jp.options.__file="src/js/components/request_for_change/modules/RfcApprovalButtons.vue";var Qp=Jp.exports,tm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Groups")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-groups",domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),t.groupList.length>0?n("div",{staticClass:"list-group"},t._l(t.groupList,(function(e){return n("a",{staticClass:"list-group-item list-group-item-action",attrs:{href:"/group_information/"+e.pk+"/"}},[n("strong",[t._v(t._s(e.fields.group_name))]),t._v(" "),n("br"),t._v(" "),n("p",{staticClass:"small-text"},[t._v("\n Parent Group: "+t._s(e.fields.parent_group)+"\n ")])])})),0):n("div",{staticClass:"alert alert-warning"},[t._v("Sorry, there are no groups.")]),t._v(" "),n("hr"),t._v(" "),t._m(0)])])};tm._withStripped=!0;const em=n(3);var nm=J({name:"SearchGroups",props:{groupResults:Array},mixins:[h,ut],data(){return{groupList:this.groupResults,searchModel:"",searchTimeout:""}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),em.post("/search/group/data/",t).then(t=>{this.groupList=t.data}).catch(t=>{this.showErrorModal(t,"Search Groups","")})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},tm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row submit-row"},[e("div",{staticClass:"col-md-12"},[e("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"/new_group/"}},[this._v("\n Add new Group\n ")])])])}],!1,null,"cf407972",null);nm.options.__file="src/js/components/search/SearchGroups.vue";var rm=nm.exports,im=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Permission Sets")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-groups",domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),t.permissionSetList.length>0?n("div",{staticClass:"list-group"},t._l(t.permissionSetList,(function(e){return n("a",{staticClass:"list-group-item list-group-item-action",attrs:{href:"/permission_set_information/"+e.pk+"/"}},[n("strong",[t._v(t._s(e.fields.permission_set_name))]),t._v(" "),n("br")])})),0):n("div",{staticClass:"alert alert-warning"},[t._v("Sorry, there are no permission sets.")]),t._v(" "),n("hr"),t._v(" "),t._m(0)])])};im._withStripped=!0;const om=n(3);var am=J({name:"SearchPermissionSets",props:{permissionSetResults:Array},mixins:[h,ut],data(){return{permissionSetList:this.permissionSetResults,searchModel:"",searchTimeout:""}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),om.post("/search/permission_set/data/",t).then(t=>{this.permissionSetList=t.data}).catch(t=>{this.showErrorModal(t,"Search Permission Set","")})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},im,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row submit-row"},[e("div",{staticClass:"col-md-12"},[e("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"/new_permission_set/"}},[this._v("\n Add new Permission Set\n ")])])])}],!1,null,"494bd99a",null);am.options.__file="src/js/components/search/SearchPermissionSets.vue";var sm=am.exports,lm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Search Groups")]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Search:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.searchModel,expression:"searchModel"}],staticClass:"form-control search-groups",domProps:{value:t.searchModel},on:{input:function(e){e.target.composing||(t.searchModel=e.target.value)}}})]),t._v(" "),n("hr"),t._v(" "),t.userList.length>0?n("div",{staticClass:"list-group"},t._l(t.userList,(function(e){return n("a",{staticClass:"list-group-item list-group-item-action",attrs:{href:"/user_information/"+e.pk+"/"}},[n("strong",[t._v("\n "+t._s(e.fields.username)+": "+t._s(e.fields.first_name)+" "+t._s(e.fields.last_name)+"\n ")]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("p",{staticClass:"small-text"},[t._v(t._s(e.fields.email))])])})),0):n("div",{staticClass:"alert alert-warning"},[t._v("Sorry, there are no groups.")]),t._v(" "),n("hr"),t._v(" "),t._m(0)])])};lm._withStripped=!0;const cm=n(3);var dm=J({name:"SearchUsers",props:{userResults:Array},mixins:[h,ut],data(){return{searchModel:"",searchTimeout:"",userList:this.userResults}},methods:{getSearchResults:function(){const t=new FormData;t.set("search",this.searchModel),cm.post("/search/user/data/",t).then(t=>{this.userList=t.data}).catch(t=>{this.showErrorModal(t,"Search Users","")})}},watch:{searchModel:function(){this.searchTrigger({return_function:this.getSearchResults,searchTimeout:this.searchTimeout})}}},lm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row submit-row"},[e("div",{staticClass:"col-md-12"},[e("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"/new_user/"}},[this._v("\n Add new User\n ")])])])}],!1,null,"12cc9736",null);dm.options.__file="src/js/components/search/SearchUsers.vue";var um=dm.exports,pm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Group")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("\n Group Name\n "),!t.$v.groupNameModel.required&&t.$v.groupNameModel.$dirty?n("span",{staticClass:"error"},[t._v("\n Please suppy a title.\n ")]):t._e(),t._v(" "),t.uniqueGroupName?t._e():n("span",{staticClass:"error"},[t._v(" Please supply a unique name")]),t._v(" "),t.checkingGroupName?n("span",{staticClass:"error"},[t._v(" Checking group name...")]):t._e()]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.groupNameModel,expression:"groupNameModel"}],staticClass:"form-control",domProps:{value:t.groupNameModel},on:{input:function(e){e.target.composing||(t.groupNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("\n Parent Group (optional)\n ")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.groupResultsFixList,label:"group_name"},model:{value:t.parentGroupModel,callback:function(e){t.parentGroupModel=e},expression:"parentGroupModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewGroup}},[t._v("Create new Group")])])])])])};pm._withStripped=!0;const mm=n(3);var fm=J({name:"NewGroup",props:{groupResults:Array},data:()=>({checkingGroupName:!1,groupNameModel:"",groupResultsFixList:[],parentGroupModel:"",uniqueGroupName:!0}),mixins:[h,ut],validations:{groupNameModel:{required:dt.required}},watch:{groupNameModel:function(){this.checkingGroupName=!0,this.searchTrigger({return_function:this.checkGroupName,searchTimeout:this.searchTimeout})}},methods:{addNewGroup:function(){if(this.$v.$touch(),this.$v.$invalid||!this.uniqueGroupName)return void this.showValidationErrorModal();const t=new FormData;t.set("group_name",this.groupNameModel),void 0!==this.parentGroupModel.value&&t.set("parent_group",this.parentGroupModel.value),mm.post("/new_group/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,"New Group","")})},checkGroupName:function(){const t=new FormData;t.set("search",this.groupNameModel),mm.post("/group_information/check_group_name/",t).then(t=>{this.uniqueGroupName=0==t.data.length,this.checkingGroupName=!1}).catch(t=>{this.showErrorModal(t,"New Group","")})}},mounted(){this.groupResultsFixList=this.groupResults.map(t=>({group_name:t.fields.group_name,value:t.pk}))}},pm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Create a new group")]),this._v(" "),e("p",{staticClass:"text-instructional"},[this._v("\n Each group should contain a unique name. If the name already exists then we won't be able\n to create the group.\n ")])])}],!1,null,"4e45c1be",null);fm.options.__file="src/js/components/groups/NewGroup.vue";var hm=fm.exports,vm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Group Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Group Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.groupNameModel,expression:"groupNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.groupNameModel},on:{input:function(e){e.target.composing||(t.groupNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",[t._v("Parent Group")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.parentGroupFixList,label:"group_name"},model:{value:t.parentGroupModel,callback:function(e){t.parentGroupModel=e},expression:"parentGroupModel"}})],1)])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateGroup}},[t._v("Update Group")])])])])])};vm._withStripped=!0;const gm=n(3);var bm=J({name:"GroupInformation",props:{groupResults:Array,parentGroupResults:Array},data(){return{groupNameModel:this.groupResults[0].fields.group_name,parentGroupFixList:[],parentGroupModel:""}},mixins:[h,ie],methods:{updateGroup:function(){const t=new FormData;t.set("group_name",this.groupNameModel),void 0!==this.parentGroupModel.value&&t.set("parent_group",this.parentGroupModel.value),this.showLoadingModal("Group Information"),gm.post(`/group_information/${this.groupResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"group_information","")})}},mounted(){const t=this.parentGroupResults.map(t=>({group_name:t.fields.group_name,value:t.pk})),e=t.filter(t=>t.value===this.groupResults[0].fields.parent_group);this.parentGroupFixList=t,this.parentGroupModel="",e.length>0&&(this.parentGroupModel=e[0])}},vm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Group Information")]),this._v(" "),e("p",{staticClass:"text-instruction"},[this._v("\n Please edit the group information here. Please note - groups have to be unique!\n ")])])}],!1,null,"2187d7a8",null);bm.options.__file="src/js/components/groups/GroupInformation.vue";var _m=bm.exports,ym=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h2",[t._v("User List")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("table",{staticClass:"table"},[t._m(1),t._v(" "),n("tbody",t._l(t.uniqueListOfUsers,(function(e){return n("tr",[n("td",[t._v(t._s(e.first_name)+" "+t._s(e.last_name))]),t._v(" "),n("td",[t._v(t._s(t.getList(e.username,"group__group_name")))]),t._v(" "),n("td",[t._v(t._s(t.getList(e.username,"permission_set__permission_set_name")))])])})),0)])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addUser}},[t._v("Add User")])])])]),t._v(" "),n("admin-add-user",{attrs:{destination:t.destination,"location-id":t.locationId}})],1)};ym._withStripped=!0;var wm=J({name:"UserList",props:{destination:String,locationId:Number,userListResults:Array},data:()=>({uniqueListOfUsers:[]}),methods:{addUser:function(){new f.a(document.getElementById("addUserModal")).show()},getList:function(t,e){const n=this.userListResults.filter(e=>e.username==t);return[...new Set(n.map(t=>t[e]))]},getUniqueListOfUsers:function(){const t=this.userListResults.map(t=>({username:t.username,first_name:t.username__first_name,last_name:t.username__last_name,email:t.email}));var e=[];t.forEach(t=>{0===e.filter(e=>e.username===t.username).length&&e.push(t)}),this.uniqueListOfUsers=e}},mounted(){this.getUniqueListOfUsers()}},ym,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("List of Users")]),this._v(" "),e("p",{attrs:{text:"text-instructions"}},[this._v('\n The following are a list of users associated to INSERT DESTINATION. To add a new user please\n click on the "Add User" at the bottom of the page.\n ')])])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("td",[this._v("User")]),this._v(" "),e("td",[this._v("Group List")]),this._v(" "),e("td",[this._v("Permission List")])])])}],!1,null,"e9580684",null);wm.options.__file="src/js/components/administration/UserList.vue";var xm=wm.exports,km=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addUserModal","data-bs-backdrop":"static","data-bs-keyboard":"false",tabindex:"-1","aria-labelledby":"addUserModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog modal-lg"},[n("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),n("div",{staticClass:"modal-body"},["user"!==t.destination?n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Search Users")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Please use the select to find the user you would like to add to this "+t._s(t.destination)+"\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Search User")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.userResults},model:{value:t.userModel,callback:function(e){t.userModel=e},expression:"userModel"}})],1)]):t._e(),t._v(" "),"user"!==t.destination?n("hr"):t._e(),t._v(" "),"group"!==t.destination?n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Search Groups")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.groupResults,multiple:""},model:{value:t.groupModel,callback:function(e){t.groupModel=e},expression:"groupModel"}})],1)]):t._e(),t._v(" "),"group"!==t.destination?n("hr"):t._e(),t._v(" "),"permission_set"!==t.destination?n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Search Permission Sets")]),t._v(" "),n("v-select",{staticClass:"form-control",attrs:{options:t.permissionSetResults,multiple:""},model:{value:t.permissionSetModel,callback:function(e){t.permissionSetModel=e},expression:"permissionSetModel"}})],1)]):t._e()]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addUser}},[t._v("Add User")])])])])])};km._withStripped=!0;const Cm=n(3);var Mm=J({name:"AdminAddUser",props:{destination:String,locationId:Number},data:()=>({groupModel:[],groupResults:[],permissionSetModel:[],permissionSetResults:[],userModel:[],userResults:[]}),mixins:[h],methods:{addUser:function(){const t=new FormData;t.set("username",this.userModel.value),this.groupModel.forEach(e=>{t.append("group",e.value)}),this.permissionSetModel.forEach(e=>{t.append("permission_set",e.value)}),Cm.post("/admin_add_user/",t).then(t=>{window.location.reload(!0)}).catch(t=>{this.showErrorModal(t,"Admin Add user","")})},getData:function(){Cm.post("/object_data/admin_add_user/").then(t=>{switch(this.groupResults=t.data.group_results.map(t=>({label:t.group_name,value:t.group_id})),this.permissionSetResults=t.data.permission_set_results.map(t=>({label:t.permission_set_name,value:t.permission_set_id})),this.userResults=t.data.user_results.map(t=>({label:`${t.id}: ${t.first_name} ${t.last_name}`,value:t.id})),this.destination){case"group":this.groupModel=this.groupResults.filter(t=>t.value===this.locationId);break;case"permission_set":this.permissionSetModel=this.permissionSetResults.filter(t=>t.value===this.locationId);break;case"user":this.userModel=this.userResults.filter(t=>t.value===this.locationId)[0]}}).catch(t=>{this.showErrorModal(t,"Admin Add User","")})}},mounted(){this.getData()}},km,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h5",{staticClass:"modal-title",attrs:{id:"addUserModalLabel"}},[this._v("Add User")]),this._v(" "),e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Search Groups")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please use the select to find the group you would like to add to this user to.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Search Permission Sets")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please use the select to find the permission set you would like to add to this user.\n ")])])}],!1,null,"b83e321c",null);Mm.options.__file="src/js/components/administration/AdminAddUser.vue";var Sm=Mm.exports,Tm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Permission Information")]),t._v(" "),n("hr"),t._v(" "),1===this.permissionSetResults[0].pk?n("div",{staticClass:"alert alert-danger"},[t._v("Can not edit administration permission set.")]):t._e(),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Permission Set Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.permissionSetNameModel,expression:"permissionSetNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.permissionSetNameModel},on:{input:function(e){e.target.composing||(t.permissionSetNameModel=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"administrationAssignUserToGroupModel","property-label":"Assign User To Group Model","property-value":t.administrationAssignUserToGroupModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"administrationCreateGroupModel","property-label":"Create Groups","property-value":t.administrationCreateGroupModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"administrationCreatePermissionSetModel","property-label":"Create Permission Sets","property-value":t.administrationCreatePermissionSetModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"administrationCreateUserModel","property-label":"Create Users","property-value":t.administrationCreateUserModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"bugClientModel","property-label":"Configure bug clients","property-value":t.bugClientModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"customerModel","property-label":"Customers","property-value":t.customerModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"organisationModel","property-label":"Organisations","property-value":t.organisationModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(4),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"kanbanModel","property-label":"Kanban Boards","property-value":t.kanbanModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"kanbanCardModel","property-label":"Kanban Cards","property-value":t.kanbanCardModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"projectModel","property-label":"Projects","property-value":t.projectModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"taskModel","property-label":"Tasks","property-value":t.taskModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"requestForChangeModel","property-label":"Request for Change","property-value":t.requestForChangeModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"requirementModel","property-label":"Requirements","property-value":t.requirementModel,"list-of-choices":t.permissionLevel},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(5),t._v(" "),n("div",{staticClass:"col-md-8"},[n("single-permission-properties",{attrs:{property:"documentModel","property-label":"Grants upload ability","property-value":t.documentModel,"list-of-choices":t.permissionBoolean},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"kanbanCommentModel","property-label":"Grants comments on Kanban Boards","property-value":t.kanbanCommentModel,"list-of-choices":t.permissionBoolean},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"projectHistoryModel","property-label":"Grants comments on Projects","property-value":t.projectHistoryModel,"list-of-choices":t.permissionBoolean},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}}),t._v(" "),n("single-permission-properties",{attrs:{property:"taskHistoryModel","property-label":"Grants comments on Tasks","property-value":t.taskHistoryModel,"list-of-choices":t.permissionBoolean},on:{update_property_value:function(e){return t.updatePropertyValue(e)}}})],1)]),t._v(" "),1!==this.permissionSetResults[0].pk?n("hr"):t._e(),t._v(" "),1!==this.permissionSetResults[0].pk?n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.saveChanges}},[t._v("Save Permission Set")])])]):t._e()])])};Tm._withStripped=!0;const Em=n(3);var jm=J({name:"PermissionInformation",props:{permissionBoolean:Array,permissionLevel:Array,permissionSetResults:Array},data(){return{permissionSetNameModel:this.permissionSetResults[0].fields.permission_set_name,administrationAssignUserToGroupModel:this.permissionSetResults[0].fields.administration_assign_user_to_group,administrationCreateGroupModel:this.permissionSetResults[0].fields.administration_create_group,administrationCreatePermissionSetModel:this.permissionSetResults[0].fields.administration_create_permission_set,administrationCreateUserModel:this.permissionSetResults[0].fields.administration_create_user,bugClientModel:this.permissionSetResults[0].fields.bug_client,customerModel:this.permissionSetResults[0].fields.customer,kanbanModel:this.permissionSetResults[0].fields.kanban_board,kanbanCardModel:this.permissionSetResults[0].fields.kanban_card,organisationModel:this.permissionSetResults[0].fields.organisation,projectModel:this.permissionSetResults[0].fields.project,requestForChangeModel:this.permissionSetResults[0].fields.request_for_change,requirementModel:this.permissionSetResults[0].fields.requirement,taskModel:this.permissionSetResults[0].fields.task,documentModel:this.permissionSetResults[0].fields.document,kanbanCommentModel:this.permissionSetResults[0].fields.kanban_comment,projectHistoryModel:this.permissionSetResults[0].fields.project_history,taskHistoryModel:this.permissionSetResults[0].fields.task_history}},mixins:[h,ie],methods:{saveChanges:function(){const t=new FormData;t.set("permission_set_id",this.permissionSetResults[0].pk),t.set("permission_set_name",this.permissionSetNameModel),t.set("administration_assign_user_to_group",this.administrationAssignUserToGroupModel),t.set("administration_create_group",this.administrationCreateGroupModel),t.set("administration_create_permission_set",this.administrationCreatePermissionSetModel),t.set("administration_create_user",this.administrationCreateUserModel),t.set("bug_client",this.bugClientModel),t.set("customer",this.customerModel),t.set("kanban_board",this.kanbanModel),t.set("kanban_card",this.kanbanCardModel),t.set("organisation",this.organisationModel),t.set("project",this.projectModel),t.set("requirement",this.requirementModel),t.set("request_for_change",this.requestForChangeModel),t.set("task",this.taskModel),t.set("document",this.documentModel),t.set("kanban_comment",this.kanbanCommentModel),t.set("project_history",this.projectHistoryModel),t.set("task_history",this.taskHistoryModel),this.showLoadingModal("permission set"),Em.post(`/permission_set_information/${this.permissionSetResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"Permission Set","")})},updatePropertyValue:function(t){this._data[t.property]=t.value}}},Tm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Permission Set Details")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("Please supply a unique name for the permission set.")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Administration Permissions")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The following are administration permissions. These should be only applied to permission sets\n where they are only granted to administrators.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Bug Permissions")]),this._v(" "),e("p",{staticClass:"text-instructions"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Customers and Organisations")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Object Permissions")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Extra Permissions")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n The following permissions are added permissions on top of any read only. For example, if a read\n only user requires the ability to upload documentation, then you will need to enable the\n "Document" permissions here.\n ')])])}],!1,null,"59588476",null);jm.options.__file="src/js/components/permissions/PermissionInformation.vue";var Om=jm.exports,Im=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},[n("label",[t._v(t._s(t.propertyLabel))]),t._v(" "),n("v-select",{staticClass:"form-group",attrs:{options:t.fixListOfChoices},model:{value:t.propertyModel,callback:function(e){t.propertyModel=e},expression:"propertyModel"}})],1)};Im._withStripped=!0;var Lm=J({name:"SinglePermissionProperties",props:{property:String,propertyLabel:String,propertyValue:{Type:Number,default:0},listOfChoices:Array},data(){return{propertyModel:{label:this.getLabel(this.propertyValue),value:this.propertyValue},fixListOfChoices:[]}},watch:{propertyModel:function(){null===this.propertyModel&&(this.propertyModel={label:this.getLabel(0),value:0}),this.$emit("update_property_value",{property:this.property,value:this.propertyModel.value})}},methods:{getLabel:function(t){const e=this.listOfChoices.filter(e=>e[0]===t);return 0===e.length?"":e[0][1]}},mounted(){this.fixListOfChoices=this.listOfChoices.map(t=>({label:t[1],value:t[0]}))}},Im,[],!1,null,"3a9a8a81",null);Lm.options.__file="src/js/components/permissions/SinglePermissionProperties.vue";var Dm=Lm.exports,Nm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New Permission Set")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Permission Set Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.permissionSetNameModel,expression:"permissionSetNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.permissionSetNameModel},on:{input:function(e){e.target.composing||(t.permissionSetNameModel=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addNewPermissionSet}},[t._v("Create new Permission Set")])])])])])};Nm._withStripped=!0;const $m=n(3);var Am=J({name:"NewPermissionSet",props:{},data:()=>({permissionSetNameModel:""}),mixins:[h],methods:{addNewPermissionSet:function(){const t=new FormData;t.set("permission_set_name",this.permissionSetNameModel),$m.post("/new_permission_set/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,"New Permission Set","")})}}},Nm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("New Permission Set")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please enter in a unique permission set name. Please note - all values are default permission\n level of 0.\n ")])])}],!1,null,"f57e636c",null);Am.options.__file="src/js/components/permissions/NewPermissionSet.vue";var Rm=Am.exports,Pm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("New User")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Username: ")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.usernameModel,expression:"usernameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.usernameModel},on:{input:function(e){e.target.composing||(t.usernameModel=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("First Name:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.firstNameModel,expression:"firstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.firstNameModel},on:{input:function(e){e.target.composing||(t.firstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Last Name:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.lastNameModel,expression:"lastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.lastNameModel},on:{input:function(e){e.target.composing||(t.lastNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Email:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.emailModel,expression:"emailModel"}],staticClass:"form-control",attrs:{type:"email"},domProps:{value:t.emailModel},on:{input:function(e){e.target.composing||(t.emailModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("Password")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password1Model,expression:"password1Model"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password1Model},on:{input:function(e){e.target.composing||(t.password1Model=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Retype Password")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password2Model,expression:"password2Model"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password2Model},on:{input:function(e){e.target.composing||(t.password2Model=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.addUser}},[t._v("\n Add new User\n ")])])])])])};Pm._withStripped=!0;const qm=n(3);var zm=J({name:"NewUser",props:{},data:()=>({emailModel:"",firstNameModel:"",lastNameModel:"",password1Model:"",password2Model:"",usernameModel:""}),mixins:[h],methods:{addUser:function(){const t=new FormData;t.set("username",this.usernameModel),t.set("email",this.emailModel),t.set("first_name",this.firstNameModel),t.set("last_name",this.lastNameModel),t.set("password1",this.password1Model),t.set("password2",this.password2Model),qm.post("/new_user/save/",t).then(t=>{window.location.href=t.data}).catch(t=>{this.showErrorModal(t,"New User","")})}}},Pm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("New User")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please create a unique username, followed by the basic user details.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("User Details")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out the user details.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Passwords")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please type in a user password. The user will be able to reset their password to log in.\n ")])])}],!1,null,"9f037d30",null);zm.options.__file="src/js/components/users/NewUser.vue";var Fm=zm.exports,Um=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("User Information")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("strong",[t._v("Username:")]),t._v(" "+t._s(t.userResults[0].fields.username)+"\n "),n("strong",[t._v(" | ID:")]),t._v(" "+t._s(t.userResults[0].pk)+"\n ")])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("First Name:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.firstNameModel,expression:"firstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.firstNameModel},on:{input:function(e){e.target.composing||(t.firstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Last Name:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.lastNameModel,expression:"lastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.lastNameModel},on:{input:function(e){e.target.composing||(t.lastNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Email:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.emailModel,expression:"emailModel"}],staticClass:"form-control",attrs:{type:"email"},domProps:{value:t.emailModel},on:{input:function(e){e.target.composing||(t.emailModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Is User Active? ")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.isActiveModel,expression:"isActiveModel"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.isActiveModel)?t._i(t.isActiveModel,null)>-1:t.isActiveModel},on:{change:function(e){var n=t.isActiveModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.isActiveModel=n.concat([null])):o>-1&&(t.isActiveModel=n.slice(0,o).concat(n.slice(o+1)))}else t.isActiveModel=i}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Is User a Superuser? ")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.isSuperuserModel,expression:"isSuperuserModel"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.isSuperuserModel)?t._i(t.isSuperuserModel,null)>-1:t.isSuperuserModel},on:{change:function(e){var n=t.isSuperuserModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.isSuperuserModel=n.concat([null])):o>-1&&(t.isSuperuserModel=n.slice(0,o).concat(n.slice(o+1)))}else t.isSuperuserModel=i}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateUser}},[t._v("\n Update User Details\n ")])])])])])};Um._withStripped=!0;const Bm=n(3);var Vm=J({name:"UserInformation",props:{userResults:Array},data(){return{emailModel:this.userResults[0].fields.email,isActiveModel:this.userResults[0].fields.is_active,isSuperuserModel:this.userResults[0].fields.is_superuser,firstNameModel:this.userResults[0].fields.first_name,lastNameModel:this.userResults[0].fields.last_name}},mixins:[h,ie],methods:{updateUser:function(){this.showLoadingModal("User Information");const t=new FormData;t.set("email",this.emailModel),t.set("is_active",this.isActiveModel),t.set("is_superuser",this.isSuperuserModel),t.set("first_name",this.firstNameModel),t.set("last_name",this.lastNameModel),Bm.post(`/user_information/${this.userResults[0].pk}/save/`,t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"Update User",this.userResults[0].pk)})}}},Um,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("UserName")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The username is set and can not be changed from this location. If you need to change the\n username, please go to the Django Admin Panel.\n ")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n The ID is the primary key assigned to the username. This can not be edited. It can be ignored.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("User Details")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please fill out the user details.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Active User")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Untick this option if the user is no longer active.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Is User a Superuser")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Tick this functionality if you would like the user to gain access to the /admin/ functionality.\n This is not recommended for anyone outside of an IT team.\n ")])])}],!1,null,"698a8c3e",null);Vm.options.__file="src/js/components/users/UserInformation.vue";var Hm=Vm.exports,Wm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h2",[t._v("Reset Password")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("button",{staticClass:"btn btn-warning",attrs:{type:"button"},on:{click:t.passwordResetClicked}},[t._v("\n Password Reset\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"passwordResetModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.passwordIcon}}),t._v(" Reset User Password")],1),t._v(" "),t._m(1)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("Password")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password1Model,expression:"password1Model"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password1Model},on:{input:function(e){e.target.composing||(t.password1Model=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("Confirm Password")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.password2Model,expression:"password2Model"}],staticClass:"form-control",attrs:{type:"password"},domProps:{value:t.password2Model},on:{input:function(e){e.target.composing||(t.password2Model=e.target.value)}}})])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},on:{click:t.closeModal}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.disableButton},on:{click:t.updatePassword}},[t._v("Update Password")])])])])])])};Wm._withStripped=!0;const Gm=n(3);var Ym=J({name:"ResetUserPassword",props:{location:String,username:Number},mixins:[h,Z],data:()=>({password1Model:"",password2Model:""}),computed:{disableButton:function(){let t=this.password1Model==this.password2Model,e=this.password1Model.length>=8;return!(t&&1==e)}},methods:{closeModal:function(){this.password1Model="",this.password2Model="",document.getElementById("passwordResetCloseButton").click()},passwordResetClicked:function(){new f.a(document.getElementById("passwordResetModal")).show()},updatePassword:function(){const t=new FormData;t.set("password",this.password1Model),t.set("username",this.username),Gm.post(`/${this.location}/update_user_password/`,t).then(t=>{this.closeModal()}).catch(t=>{this.showErrorModal(t,"Saving Password Issue","")})}}},Wm,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Passwords")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Users have the ability to reset their password from the login page. If needed, please click on\n the link to be taken to the password reset form.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"passwordResetCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"7580d9dc",null);Ym.options.__file="src/js/components/users/ResetUserPassword.vue";var Km=Ym.exports,Zm=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Unassigned Objects")]),t._v(" "),n("hr"),t._v(" "),t.isLoaded?t._e():n("div",{staticClass:"alert alert-dark"},[t._v("\n Still obtaining a list of assigned objects\n ")]),t._v(" "),t.objectResults.requirement.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.requirement,"import-variables":t.requirementVariables,destination:"requirement","root-url":t.rootUrl}}):t._e(),t._v(" "),t.objectResults.project.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.project,"import-variables":t.projectVariables,destination:"project","root-url":t.rootUrl}}):t._e(),t._v(" "),t.objectResults.task.length>0?n("render-object-table",{attrs:{"search-results":t.objectResults.task,"import-variables":t.taskVariables,destination:"task","root-url":t.rootUrl}}):t._e(),t._v(" "),0===t.countObjects&&t.isLoaded?n("div",{staticClass:"alert alert-primary"},[t._v("\n Good Work - all objects have been assigned to at least one user.\n ")]):t._e()],1)])};Zm._withStripped=!0;const Xm=n(3);var Jm=J({name:"DashboardUnassignedObjects",props:{rootUrl:{type:String,default:"/"}},data:()=>({isLoaded:!1,objectResults:{requirement:[],project:[],task:[]},projectVariables:{header:"Projects",prefix:"Pro",id:"project_id",title:"project_name",status:"project_status"},requirementVariables:{header:"Your Requirements",prefix:"Req",id:"requirement_id",title:"requirement_title",status:"requirement_status__requirement_status"},taskVariables:{header:"Tasks",prefix:"Task",id:"task_id",title:"task_short_description",status:"task_status"}}),mixins:[h],methods:{getMyObjects:function(){Xm.post("/dashboard/get/unassigned_objects/").then(t=>{this.objectResults=t.data,this.isLoaded=!0}).catch(t=>{this.showErrorModal(t,"Dashboard Unassigned Objects")})}},computed:{countObjects:function(){return this.objectResults.requirement.length+this.objectResults.project.length+this.objectResults.task.length}},mounted(){this.getMyObjects()}},Zm,[],!1,null,null,null);Jm.options.__file="src/js/components/dashboard/DashboardUnassignedObjects.vue";var Qm=Jm.exports,tf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.userList.length>0?n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Users with no groups")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8 user-card-layouts"},t._l(t.userList,(function(e){return n("div",{staticClass:"user-card",on:{click:function(n){return t.goToUser(e.id)}}},[n("img",{staticClass:"default-user-profile",attrs:{src:t.staticUrl+"NearBeach/images/placeholder/people_tax.svg",alt:"default profile"}}),t._v(" "),n("div",{staticClass:"user-details"},[n("strong",[t._v(t._s(e.first_name)+" "+t._s(e.last_name))]),n("br"),t._v("\n "+t._s(e.username)+"\n "),n("div",{staticClass:"spacer"}),t._v("\n "+t._s(e.email)+"\n ")])])})),0)])])]):t._e()};tf._withStripped=!0;const ef=n(3);var nf=J({name:"DashboardUsersWithNoGroups",props:{rootUrl:{type:String,default:"/"},staticUrl:{type:String,default:"/"}},data:()=>({userList:[]}),methods:{getUserList:function(){ef.post(this.rootUrl+"dashboard/get/users_with_no_groups/").then(t=>{this.userList=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},goToUser:function(t){window.location.href=`${this.rootUrl}user_information/${t}/`}},mounted(){this.getUserList()}},tf,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Users with no groups")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please take action! The following users DO NOT have any groups associated with them. They will\n not be able to log in.\n ")])])}],!1,null,null,null);nf.options.__file="src/js/components/dashboard/DashboardUsersWithNoGroups.vue";var rf=nf.exports,of=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v(t._s(t.kanbanBoardResults[0].fields.kanban_board_name))]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-4"},[n("kanban-property-order",{attrs:{"property-name":"Column","property-list":t.columnModel,source:"columnModel","is-dirty":t.$v.columnModel.$dirty,"is-new-mode":!1,"kanban-board-id":t.kanbanBoardResults[0].pk},on:{update_property_list:function(e){return t.updatePropertyList(e)}}})],1),t._v(" "),n("div",{staticClass:"col-md-4"},[n("kanban-property-order",{attrs:{"property-name":"Level","property-list":t.levelModel,source:"levelModel","is-dirty":t.$v.columnModel.$dirty,"is-new-mode":!1,"kanban-board-id":t.kanbanBoardResults[0].pk},on:{update_property_list:function(e){return t.updatePropertyList(e)}}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("button",{staticClass:"btn btn-danger",on:{click:t.closeKanban}},[t._v("\n Close Kanban Board\n ")]),t._v(" "),n("button",{staticClass:"btn btn-primary save-changes",on:{click:t.backToBoard}},[t._v("\n Back to Kanban Board\n ")])])])])])};of._withStripped=!0;const af=n(3);var sf=J({name:"KanbanEditBoard",props:{columnResults:Array,kanbanBoardResults:Array,levelResults:Array,rootUrl:{type:String,default:"/"}},mixins:[h,ut],data:()=>({columnModel:[],levelModel:[]}),validations:{columnModel:{required:dt.required},levelModel:{required:dt.required}},methods:{backToBoard:function(){window.location.href=`${this.rootUrl}kanban_information/${this.kanbanBoardResults[0].pk}/`},closeKanban:function(){af.post(`/kanban_information/${this.kanbanBoardResults[0].pk}/close_board/`).then(t=>{window.location.href="/"}).catch(t=>{this.showErrorModal(t,this.destination)})},updatePropertyList:function(t){this[t.source]=t.data}},mounted(){this.columnModel=this.columnResults.map(t=>({id:t.pk,title:t.fields.kanban_column_name})),this.levelModel=this.levelResults.map(t=>({id:t.pk,title:t.fields.kanban_level_name}))}},of,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("h2",[this._v("Columns & Levels")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Drag the cards around to sort out the columns how you want them.\n ")])])}],!1,null,"599a688e",null);sf.options.__file="src/js/components/kanban/KanbanEditBoard.vue";var lf=sf.exports,cf=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card kanban-group-permissions"},[e("div",{staticClass:"card-body"},[e("groups-and-users-module",{attrs:{"location-id":this.locationId,destination:"kanban_board"}})],1)])};cf._withStripped=!0;var df=J({name:"KanbanGroupPermissions",props:{locationId:Number}},cf,[],!1,null,null,null);df.options.__file="src/js/components/kanban/KanbanGroupPermissions.vue";var uf=df.exports,pf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("My Profile")]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("p",[n("strong",[t._v("Username: ")]),t._v(t._s(t.userResults[0].username)+"\n ")]),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("\n First Name:\n "),!t.$v.firstNameModel.required&&t.$v.firstNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a first name.")]):t._e(),t._v(" "),n("br")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.firstNameModel,expression:"firstNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.firstNameModel},on:{input:function(e){e.target.composing||(t.firstNameModel=e.target.value)}}})]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("label",[t._v("\n Last Name:\n "),!t.$v.lastNameModel.required&&t.$v.lastNameModel.$dirty?n("span",{staticClass:"error"},[t._v(" Please suppy a last name.")]):t._e(),t._v(" "),n("br")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.lastNameModel,expression:"lastNameModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.lastNameModel},on:{input:function(e){e.target.composing||(t.lastNameModel=e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"spacer"}),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6"},[n("label",[t._v("\n Email:\n ")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.emailModel,expression:"emailModel"}],staticClass:"form-control",attrs:{type:"email",disabled:"true"},domProps:{value:t.emailModel},on:{input:function(e){e.target.composing||(t.emailModel=e.target.value)}}})])])])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.updateUser}},[t._v("\n Update User Details\n ")])])])])])};pf._withStripped=!0;const mf=n(3);var ff=J({name:"ProfileInformation",props:{userResults:Array},data(){return{emailModel:this.userResults[0].email,firstNameModel:this.userResults[0].first_name,lastNameModel:this.userResults[0].last_name}},mixins:[h,ie],validations:{lastNameModel:{required:dt.required,maxLength:Object(dt.maxLength)(255)},firstNameModel:{required:dt.required,maxLength:Object(dt.maxLength)(255)}},methods:{updateUser:function(){if(this.$v.$touch(),this.$v.$invalid)return void this.showValidationErrorModal();const t=new FormData;t.set("username",this.userResults[0].id),t.set("first_name",this.firstNameModel),t.set("last_name",this.lastNameModel),this.showLoadingModal("Project"),mf.post("/profile_information/update_data/",t).then(t=>{this.closeLoadingModal()}).catch(t=>{this.showErrorModal(t,"profile")})}}},pf,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("User Details")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please update your details.\n ")])])}],!1,null,null,null);ff.options.__file="src/js/components/profile/ProfileInformation.vue";var hf=ff.exports,vf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h1",[t._v("Change Task - "+t._s(t.changeTaskResults[0].pk))]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Change Title:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeTitleModel,expression:"changeTitleModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.changeTitleModel},on:{input:function(e){e.target.composing||(t.changeTitleModel=e.target.value)}}})])])]),t._v(" "),n("hr"),t._v(" "),n("between-dates",{attrs:{destination:"Change Task"},on:{update_dates:function(e){return t.updateDates(e)}}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Change Task Description (Optional):")]),t._v(" "),n("editor",{attrs:{init:{height:300,menubar:!1,toolbar:"undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | "},content_css:!1,skin:!1},model:{value:t.changeDescriptionModel,callback:function(e){t.changeDescriptionModel=e},expression:"changeDescriptionModel"}})],1)]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"form-group"},[n("label",[t._v("Stakeholders:")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeStakeholderModel,expression:"changeStakeholderModel"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.changeStakeholderModel},on:{input:function(e){e.target.composing||(t.changeStakeholderModel=e.target.value)}}})]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"btn-group",attrs:{role:"group","aria-label":"Basic checkbox toggle button group"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeIsDowntimeModel,expression:"changeIsDowntimeModel"}],staticClass:"btn-check",attrs:{type:"checkbox",id:"isDowntime",autocomplete:"off"},domProps:{checked:Array.isArray(t.changeIsDowntimeModel)?t._i(t.changeIsDowntimeModel,null)>-1:t.changeIsDowntimeModel},on:{change:function(e){var n=t.changeIsDowntimeModel,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.changeIsDowntimeModel=n.concat([null])):o>-1&&(t.changeIsDowntimeModel=n.slice(0,o).concat(n.slice(o+1)))}else t.changeIsDowntimeModel=i}}}),t._v(" "),n("label",{staticClass:"btn btn-outline-primary",attrs:{for:"isDowntime"}},[t._v(t._s(t.isDowntime()))])])])]),t._v(" "),n("hr"),t._v(" "),n("a",{staticClass:"btn btn-secondary",attrs:{href:"/rfc_information/"+t.changeTaskResults[0].fields.request_for_change+"/"}},[t._v("Cancel")]),t._v(" "),1==t.changeTaskResults[0].fields.change_task_status?n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.saveChangeTask}},[t._v("Save")]):t._e(),t._v(" "),3==t.changeTaskResults[0].fields.change_task_status?n("a",{staticClass:"btn btn-danger save-changes",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.updateStatus(4)}}},[t._v("Start Task")]):t._e(),t._v(" "),4==t.changeTaskResults[0].fields.change_task_status?n("a",{staticClass:"btn btn-success save-changes",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.updateStatus(5)}}},[t._v("Finish Task")]):t._e(),t._v(" "),4==t.changeTaskResults[0].fields.change_task_status?n("a",{staticClass:"btn btn-danger save-changes",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.updateStatus(6)}}},[t._v("REJECT Task")]):t._e()],1)])};vf._withStripped=!0;const gf=n(3);var bf={name:"ChangeTaskInformation",props:{changeTaskResults:Array},data(){return{changeTitleModel:this.changeTaskResults[0].fields.change_task_title,changeDescriptionModel:this.changeTaskResults[0].fields.change_task_description,changeStakeholderModel:this.changeTaskResults[0].fields.change_task_required_by,changeIsDowntimeModel:this.changeTaskResults[0].fields.is_downtime}},methods:{isDowntime:function(){return this.changeIsDowntimeModel?"Downtime Scheduled":"No Downtime"},saveChangeTask:function(t){t.preventDefault();var e=parseInt(this.changeEndDateModel)-parseInt(this.changeStartDateModel);const n=new FormData;n.set("change_task_title",this.changeTitleModel),n.set("change_task_description",this.changeDescriptionModel),n.set("change_task_start_date",this.changeStartDateModel),n.set("change_task_end_date",this.changeEndDateModel),n.set("change_task_seconds",e.toString()),n.set("change_task_required_by",this.changeStakeholderModel),n.set("is_downtime",this.changeIsDowntimeModel),gf.post(`/change_task_information/${this.changeTaskResults[0].pk}/save/`,n).then(t=>{window.location.href=`/rfc_information/${this.changeTaskResults[0].fields.request_for_change}/`}).catch(t=>{})},updateStatus:function(t){const e=new FormData;e.set("change_task_status",t),gf.post(`/change_task_update_status/${this.changeTaskResults[0].pk}/`,e).then(t=>{window.location.reload(!0)}).catch(t=>{})},updateDates:function(t){this.changeStartDateModel=t.start_date,this.changeEndDateModel=t.end_date}}},_f=(n(187),J(bf,vf,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Change Task Title")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please write a short title of the description for this task. i.e Backup of Database\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Description")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Write a detail description of this particular task.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Misc")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n Please fill in the stakeholders for this particular change task. Default value will be\n "Stakeholders".\n ')]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v('\n To state if there is downtime, please click the "No Downtime" to change it\'s statue.\n ')])])}],!1,null,"7905d66a",null));_f.options.__file="src/js/components/request_for_change/ChangeTaskInformation.vue";var yf=_f.exports,wf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.noteAdd}}),t._v(" Note History")],1),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n The following are saved notes against this "+t._s(t.destination)+". Add notes by clicking on the button below.\n ")]),t._v(" "),n("list-notes",{attrs:{"note-history-results":t.noteHistoryResults,destination:t.destination}}),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.createNewNote}},[t._v("Add Note to "+t._s(t.destination))])])]),t._v(" "),n("new-history-note-wizard",{attrs:{"location-id":t.locationId,destination:t.destination},on:{update_note_history_results:function(e){return t.updateNoteHistoryResults(e)}}})],1)};wf._withStripped=!0;const xf=n(3);var kf=J({name:"NotesModule",components:{},props:["destination","locationId"],mixins:[h,Z],data:()=>({noteHistoryResults:[]}),methods:{createNewNote:function(){new f.a(document.getElementById("newNoteModal")).show()},getNoteHistoryResults:function(){xf.post(`/object_data/${this.destination}/${this.locationId}/note_list/`).then(t=>{this.noteHistoryResults=t.data}).catch(t=>{this.showErrorModal(t,this.destination)})},updateNoteHistoryResults:function(t){this.noteHistoryResults.push(t[0])}},mounted(){this.getNoteHistoryResults()}},wf,[],!1,null,"29486be2",null);kf.options.__file="src/js/components/modules/sub_modules/NotesModule.vue";var Cf=kf.exports,Mf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h2",[t._v("Assigned Tags")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Here are all tags associated with this "+t._s(t.destination)+'. You can add more\n tags by clicking on the "Add Tag" button.\n ')]),t._v(" "),n("div",{staticClass:"tag-list"},t._l(t.tagList,(function(e){return n("div",{key:e.pk,staticClass:"single-tag",style:"background-color: "+e.fields.tag_colour+";"},[t._v("\n "+t._s(e.fields.tag_name)+"\n "),n("span",{on:{click:function(n){return t.removeTag(e.pk)}}},[n("IconifyIcon",{attrs:{icon:t.icons.xCircle}})],1)])})),0),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row submit-row"},[n("div",{staticClass:"col-md-12"},[n("a",{staticClass:"btn btn-primary save-changes",attrs:{href:"javascript:void(0)"},on:{click:t.createNewTag}},[t._v("Add Tag to "+t._s(t.destination))])])]),t._v(" "),n("add-tag-wizard",{attrs:{destination:t.destination,"location-id":t.locationId,"assigned-tags":t.tagList},on:{add_tags:function(e){return t.addTags(e)}}})],1)};Mf._withStripped=!0;var Sf=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"addTagModal",tabindex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[n("h2",[n("IconifyIcon",{attrs:{icon:t.icons.usersIcon}}),t._v(" Add Tags Wizard")],1),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4"},[n("strong",[t._v("Add Tag")]),t._v(" "),n("p",{staticClass:"text-instructions"},[t._v("\n Use the dropdown to select one or many lables to add to the "+t._s(t.destination)+".\n ")])]),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("All Tag List")]),t._v(" "),n("v-select",{attrs:{label:"tag",multiple:"",options:t.tagList},model:{value:t.tagModel,callback:function(e){t.tagModel=e},expression:"tagModel"}})],1)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addTag}},[t._v("Add Tag")])])])])])};Sf._withStripped=!0;const Tf=n(3);var Ef=J({name:"AddTagWizard",props:{assignedTags:{type:Array,default:()=>[]},destination:String,locationId:Number},mixins:[h,Z],data:()=>({allTagList:[],tagModel:[]}),computed:{tagList:function(){return this.allTagList.filter(t=>this.assignedTags.findIndex(e=>e.pk==t.value)<0)}},methods:{addTag:function(){const t=new FormData;this.tagModel.forEach(e=>{t.append("tag_id",e.value)}),Tf.post(`/object_data/${this.destination}/${this.locationId}/add_tags/`,t).then(t=>{this.$emit("add_tags",t.data),document.getElementById("addTagsCloseButton").click(),this.tagModel=[]})},getTagList:function(){Tf.post("/object_data/tag_list_all/").then(t=>{this.allTagList=t.data.map(t=>({value:t.pk,tag:t.fields.tag_name}))}).catch(t=>{})}},mounted(){this.getTagList()}},Sf,[function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-close",attrs:{type:"button","data-bs-dismiss":"modal","aria-label":"Close",id:"addTagsCloseButton"}},[e("span",{attrs:{"aria-hidden":"true"}})])}],!1,null,"21d92d1f",null);Ef.options.__file="src/js/components/modules/wizards/AddTagWizard.vue";var jf=Ef.exports;const Of=n(3);var If=J({components:{AddTagWizard:jf},name:"ListTagsModule",props:{destination:String,locationId:Number},data:()=>({tagList:[]}),mixins:[Z],methods:{addTags:function(t){this.tagList=t},createNewTag:function(){new f.a(document.getElementById("addTagModal")).show()},getAssignedTags:function(){Of.post(`/object_data/${this.destination}/${this.locationId}/tag_list/`).then(t=>{this.tagList=t.data}).catch(t=>{})},removeTag:function(t){const e=new FormData;e.set("tag",t),e.set("object_enum",this.destination),e.set("object_id",this.locationId),Of.post("/object_data/delete_tag/",e).then(e=>{this.tagList=this.tagList.filter(e=>e.pk!==t)}).catch(t=>{})}},mounted(){this.getAssignedTags()}},Mf,[],!1,null,null,null);If.options.__file="src/js/components/modules/sub_modules/ListTagsModule.vue";var Lf=If.exports,Df=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"modal fade",attrs:{id:"editTagModal","data-bs-backdrop":"static","data-bs-keyboard":"false",tabindex:"-1","aria-labelledby":"editTagModalLabel","aria-hidden":"true"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),n("div",{staticClass:"modal-body"},[n("div",{staticClass:"row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-8"},[n("label",[t._v("Tag Name")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.tagNameModel,expression:"tagNameModel"}],staticClass:"form-control",domProps:{value:t.tagNameModel},on:{input:function(e){e.target.composing||(t.tagNameModel=e.target.value)}}})])]),t._v(" "),n("hr"),t._v(" "),n("div",{staticClass:"row"},[t._m(2),t._v(" "),n("div",{staticClass:"colour-picker col-md-8"},t._l(t.colourList,(function(e){return n("div",{key:e,class:t.getClasses(e),style:"background-color: "+e+";",on:{click:function(n){return t.updateColour(e)}}})})),0)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[0!==t.tagId?n("button",{staticClass:"btn btn-danger delete-tag",attrs:{type:"button"},on:{click:t.deleteTag}},[t._v("Delete Tag")]):t._e(),t._v(" "),n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-bs-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:!t.canSave},on:{click:t.saveTag}},[t._v("Save Tag")])])])])])};Df._withStripped=!0;const Nf=n(3);var $f=J({name:"EditTagModal",props:{existingTags:Array,tagColour:String,tagId:Number,tagName:String},data(){return{colourList:["#37cbd2","#8b8295","#6f84bb","#1fc4b5","#651794","#7ea52c","#6df79e","#53ef5f","#79c121","#91fbde","#e01059","#33ae24"],tagColourModel:this.tagColour,tagNameModel:this.tagName}},watch:{tagColour:function(){this.tagColourModel=this.tagColour},tagName:function(){this.tagNameModel=this.tagName}},computed:{canSave:function(){return 0===this.existingTags.filter(t=>t.fields.tag_name.toUpperCase()===this.tagNameModel.toUpperCase()&&t.pk!==this.tagId).length}},methods:{deleteTag:function(){Nf.post(`/tag/delete/${this.tagId}/`).then(t=>{this.$emit("delete_tag",{tag_id:this.tagId}),document.getElementById("editTagCloseModal").click()}).catch(t=>{})},getClasses:function(t){let e="single-colour";return t==this.tagColourModel&&(e+=" selected-colour"),e},newTag:function(t){Nf.post("/tag/new/",t).then(t=>{this.$emit("new_tag",t.data),document.getElementById("editTagCloseModal").click()}).catch(t=>{})},saveTag:function(){const t=new FormData;t.set("tag_id",this.tagId),t.set("tag_name",this.tagNameModel),t.set("tag_colour",this.tagColourModel),0===this.tagId?this.newTag(t):this.updateTag(t)},updateColour:function(t){this.tagColourModel=t},updateTag:function(t){Nf.post("/tag/save/",t).then(t=>{this.$emit("update_tags",{tag_id:this.tagId,tag_name:this.tagNameModel,tag_colour:this.tagColourModel}),document.getElementById("editTagCloseModal").click()}).catch(t=>{})}}},Df,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h5",{staticClass:"modal-title",attrs:{id:"editTagModalLabel"}},[this._v("Edit Tag")]),this._v(" "),e("button",{staticClass:"btn-close",attrs:{type:"button",id:"editTagCloseModal","data-bs-dismiss":"modal","aria-label":"Close"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Edit Tags")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please give the tag an appropriate name. Please do not\n pick an existing tag name.\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-4"},[e("strong",[this._v("Pick Colour")]),this._v(" "),e("p",{staticClass:"text-instructions"},[this._v("\n Please click on a preferred colour. This will be tags colour.\n ")])])}],!1,null,null,null);$f.options.__file="src/js/components/tags/EditTagModal.vue";var Af,Rf=$f.exports,Pf=(n(189),n(116)),qf=["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"],zf=function(t){return-1!==qf.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())},Ff=function(t,e,n){var r=e.$props.value?e.$props.value:"",i=e.$props.initialValue?e.$props.initialValue:"";n.setContent(r||(e.initialized?e.cache:i)),e.$watch("value",(function(t,r){n&&"string"==typeof t&&t!==r&&t!==n.getContent({format:e.$props.outputFormat})&&n.setContent(t)})),e.$listeners.input&&function(t,e){var n=t.$props.modelEvents?t.$props.modelEvents:null,r=Array.isArray(n)?n.join(" "):n;e.on(r||"change input undo redo",(function(){t.$emit("input",e.getContent({format:t.$props.outputFormat}))}))}(e,n),function(t,e,n){Object.keys(e).filter(zf).forEach((function(r){var i=e[r];"function"==typeof i&&("onInit"===r?i(t,n):n.on(r.substring(2),(function(t){return i(t,n)})))}))}(t,e.$listeners,n),e.initialized=!0},Uf=0,Bf=function(t){var e=Date.now();return t+"_"+Math.floor(1e9*Math.random())+ ++Uf+String(e)},Vf=function(t){return void 0===t||""===t?[]:Array.isArray(t)?t:t.split(" ")},Hf=function(){return{listeners:[],scriptId:Bf("tiny-script"),scriptLoaded:!1}},Wf=(Af=Hf(),{load:function(t,e,n){Af.scriptLoaded?n():(Af.listeners.push(n),t.getElementById(Af.scriptId)||function(t,e,n,r){var i=e.createElement("script");i.referrerPolicy="origin",i.type="application/javascript",i.id=t,i.src=n;var o=function(){i.removeEventListener("load",o),r()};i.addEventListener("load",o),e.head&&e.head.appendChild(i)}(Af.scriptId,t,e,(function(){Af.listeners.forEach((function(t){return t()})),Af.scriptLoaded=!0})))},reinitialize:function(){Af=Hf()}}),Gf=n(51),Yf={apiKey:String,cloudChannel:String,id:String,init:Object,initialValue:String,inline:Boolean,modelEvents:[String,Array],plugins:[String,Array],tagName:String,toolbar:[String,Array],value:String,disabled:Boolean,tinymceScriptSrc:String,outputFormat:{type:String,validator:function(t){return"html"===t||"text"===t}}},Kf=function(){return(Kf=Object.assign||function(t){for(var e,n=1,r=arguments.length;n({cardId:0,cardTitle:"",cardColumn:0,cardLevel:0,cardDescription:"",cardNotes:[],listColumns:[],listLevels:[]}),mutations:{appendNote(t,e){t.cardNotes.push(e.newNote)},updateCard(t,e){t.cardId=e.cardId,t.cardTitle=e.cardTitle,t.cardDescription=e.cardDescription;try{t.cardColumn=t.listColumns.filter(t=>e.cardColumn==t.value)[0],t.cardLevel=t.listLevels.filter(t=>e.cardLevel==t.value)[0]}catch{t.cardColumn=0,t.cardLevel=0}dh.post(`/object_data/kanban_card/${e.cardId}/note_list/`).then(e=>{t.cardNotes=e.data}).catch(t=>{})},updateField:u,updateLists(t,e){t.listColumns=e.columnResults.map(t=>({value:t.pk,column:t.fields.kanban_column_name})),t.listLevels=e.levelResults.map(t=>({value:t.pk,level:t.fields.kanban_level_name}))}},actions:{},getters:{getField:d,getAllCardData:t=>({cardId:t.cardId,cardTitle:t.cardTitle,cardDescription:t.cardDescription,cardLevel:t.cardLevel,cardColumn:t.cardColumn}),getCardId:t=>t.cardId,getCardNotes:t=>t.cardNotes}},ah={state:()=>({destination:"unknown",locationId:0}),mutations:{updateDestination(t,e){t.destination=e.destination,t.locationId=e.locationId}},actions:{},getters:{getDestination:t=>t.destination,getLocationId:t=>t.locationId}},sh={state:()=>({kanbanCardResults:[],columnResults:[],levelResults:[]}),mutations:{creationCard(t,e){},updateKanbanCard(t,e){const n=t.kanbanCardResults.findIndex(t=>t.pk==e.card_id),r=["type","card_id"];Object.keys(e).forEach(i=>{r.includes(i)||(t.kanbanCardResults[n].fields[i]=e[i])})},deletedCard(t,e){},initPayload(t,e){t.kanbanCardResults=e.kanbanCardResults,t.columnResults=e.columnResults,t.levelResults=e.levelResults}},actions:{},getters:{getCards:t=>t.kanbanCardResults,getColumns:t=>t.columnResults}},lh={state:()=>({rootUrl:"/",staticUrl:"/"}),mutations:{updateUrl(t,e){t.rootUrl=e.rootUrl,t.staticUrl=e.staticUrl}},actions:{},getters:{getRootUrl:t=>t.rootUrl,getStaticUrl:t=>t.staticUrl}},ch=new o.a.Store({modules:{card:oh,destination:ah,kanban:sh,url:lh}}),dh=n(3);dh.defaults.xsrfHeaderName="X-CSRFTOKEN",dh.defaults.xsrfCookieName="csrftoken",i.a.component("vSelect",Qf.a),i.a.component("Editor",Xf),i.a.component("draggable",eh.a),i.a.component("AddBugWizard",Lt),i.a.component("AddCustomerWizard",At),i.a.component("AddFolderWizard",zt),i.a.component("AddGroupWizard",Vt),i.a.component("AddLinkWizard",Yt),i.a.component("AddUserWizard",Jt),i.a.component("BugsModule",tt),i.a.component("CustomersModule",it),i.a.component("DocumentsModule",lt),i.a.component("GetStakeholders",ft),i.a.component("GroupPermissions",gt),i.a.component("GroupsAndUsersModule",wt),i.a.component("ParentModules",Ct),i.a.component("MiscModule",Et),i.a.component("NewCustomer",ne),i.a.component("NewOrganisation",se),i.a.component("NewRequirements",ue),i.a.component("NewHistoryNoteWizard",he),i.a.component("NewRequirementItemWizard",_e),i.a.component("NewRequirementLinkWizard",ke),i.a.component("RequirementInformation",Te),i.a.component("RequirementItemsModule",$e),i.a.component("RequirementItemLinksModule",Ie),i.a.component("RequirementLinksModule",qe),i.a.component("UploadDocumentWizard",Be),i.a.component("RequirementItemInformation",Ge),i.a.component("ListOrganisations",Ze),i.a.component("SearchOrganisations",tn),i.a.component("OrganisationInformation",ln),i.a.component("OrganisationModules",un),i.a.component("CustomersListModule",fn),i.a.component("AssociatedObjects",bn),i.a.component("NewCustomerForm",wn),i.a.component("NewCustomerModal",Mn),i.a.component("SearchCustomers",jn),i.a.component("ListCustomers",Ln),i.a.component("CustomerInformation",An),i.a.component("SearchObjects",zn),i.a.component("ListSearchResults",Bn),i.a.component("ProjectInformation",Yn),i.a.component("NewProject",Jn),i.a.component("TaskInformation",nr),i.a.component("NewTask",ar),i.a.component("BetweenDates",cr),i.a.component("StakeholderInformation",pr),i.a.component("NewKanban",vr),i.a.component("KanbanPropertyOrder",yr),i.a.component("KanbanInformation",kr),i.a.component("KanbanCard",Tr),i.a.component("KanbanBoard",Or),i.a.component("KanbanRow",Dr),i.a.component("DashboardBugList",bu),i.a.component("NewKanbanCard",xu),i.a.component("CardInformation",Su),i.a.component("ListNotes",qu),i.a.component("NewKanbanLinkWizard",Bu),i.a.component("DashboardMyObjects",Gu),i.a.component("RenderObjectTable",Zu),i.a.component("ObjectLinks",tp),i.a.component("NewLinkWizard",ip),i.a.component("NewRequestForChange",cp),i.a.component("RfcBackoutPlan",pp),i.a.component("RfcDetails",vp),i.a.component("RfcImplementationPlan",_p),i.a.component("RfcRisk",xp),i.a.component("RfcTestPlan",Mp),i.a.component("RfcDescription",Ep),i.a.component("RfcInformation",Lp),i.a.component("RfcModules",Ap),i.a.component("RfcNewRunItem",zp),i.a.component("RfcRunSheetList",Hp),i.a.component("DashboardRfcApprovals",Kp),i.a.component("RfcApprovalButtons",Qp),i.a.component("SearchGroups",rm),i.a.component("SearchPermissionSets",sm),i.a.component("SearchUsers",um),i.a.component("NewGroup",hm),i.a.component("GroupInformation",_m),i.a.component("UserList",xm),i.a.component("AdminAddUser",Sm),i.a.component("PermissionInformation",Om),i.a.component("SinglePermissionProperties",Dm),i.a.component("NewPermissionSet",Rm),i.a.component("NewUser",Fm),i.a.component("UserInformation",Hm),i.a.component("ResetUserPassword",Km),i.a.component("IconifyIcon",Pf.a),i.a.component("DashboardUnassignedObjects",Qm),i.a.component("DashboardUsersWithNoGroups",rf),i.a.component("KanbanEditBoard",lf),i.a.component("KanbanGroupPermissions",uf),i.a.component("ProfileInformation",hf),i.a.component("ChangeTaskInformation",yf),i.a.component("CardDetails",ju),i.a.component("CardDescription",Lu),i.a.component("CardNotes",Au),i.a.component("NotesModule",Cf),i.a.component("ListTagsModule",Lf),i.a.component("AddTagWizard",jf),i.a.component("SearchTags",rn),i.a.component("EditTagModal",Rf),i.a.use(rh.a),i.a.use(ih.Datetime),i.a.component("datetime",ih.Datetime),window.vm=new i.a({el:"#app",components:{Vuelidate:rh.a},data:()=>({}),store:ch,methods:{},mounted(){var t=document.getElementById("loader");t.style.transform="translateY(-100vh)",setTimeout(()=>{t.remove()},500)}})}]); \ No newline at end of file diff --git a/NearBeach/static/NearBeach/NearBeach.min.js.gz b/NearBeach/static/NearBeach/NearBeach.min.js.gz index 28de62f7146de847e52eebe94b218451dd94bbe7..8257f038f394d07c054b4ec5d3d5bcdcdd493b09 100644 GIT binary patch delta 79341 zcmV)6K*+!Dsu1$35P*aMv;s5Qe`M#vrQjg)L7**9DNruG<>WQ8r6hWAq*PK!Qt*HO zX7;|TT}gJF5L%x1yd{=ayR*BqvvVJV9g-2E#)}!rfk8CR+HIzkFEo7HNkl&{F%YEP8>;+~&k zi8X#lsI4gF;|(YoJl_U~e^G?n3;UXz`^qBGX>GU>uUzIa643Lt#eGb(wJfI|S%s1j zP11jtVs~+-QSVQtAmTP9Ob5vUL%ltwj?h#)@Nk>*_5Sj|D&0m@gzc9+P`4^HShbn>gvaA#pcIp%37cm^+2oBP`e>N zdw0k8)`WrJ={(v@8YEY&s%(bTWj-r|r&5>s`0{m`dd;cNqtKl0UrmLka4TK5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^PK3G)ZBX+gEi!O2v~ynC4j+~q zLEm&|J`XM2=rB$gOG>U{xq)1QHqIN%O3+(ewr5B!hLhc~E==1VKX_+tL}&KGzAkM} zKMgH+JC6!z_%_V*vlMRTFXdKR_KmkT`9uKF`-Dff3zYKfu%drCoa=9Kaq>D9z|wc% zU8O$!z}2SAkB|E{8d@qvcT#TVNU(k0x1wx;Z~huP-Ycl!rM(S9=}#>vUCo)c-M111 zHA?wq-zHZn$rS$TJ8l{}6bD&i6+vYT&^z`$Xty&VcEYdtqy>Bd object: + response = c.post( + reverse('login'), + self.credentials, + follow=True, + ) + self.assertTrue(response.context['user'].is_active) + + +class TestObjectData(TestCase): + fixtures = ['NearBeach_basic_setup.json'] + + def setUp(self): + self.credentials = { + 'username': username, + 'password': password + } + + def test_incorrect_location_data(self): + c = Client() + + # User wil be logged in + login_user(c, self) + + # Get data of wrong location + response = c.post(reverse('associated_objects', args=['taks', 1])) + self.assertEqual(response.status_code, 200) + print("\n\n") + print(response.content) + print("\n\n") + + def test_team_leader_searches(self): + c = Client() + + # User will be logged in + login_user(c, self) + + # Go to an existing customer -> user should have access + response = c.get(reverse('search')) + self.assertEqual(response.status_code, 200) diff --git a/NearBeach/views/object_data_views.py b/NearBeach/views/object_data_views.py index 4c11df786..f1983e75f 100644 --- a/NearBeach/views/object_data_views.py +++ b/NearBeach/views/object_data_views.py @@ -16,6 +16,18 @@ import urllib import urllib3 +OBJECT_ARRAY = [ + 'customer', + 'kanban', + 'requirement', + 'requirement_item', + 'request_for_change', + 'organisation', + 'project', + 'task', +] + + @require_http_methods(['POST']) @login_required(login_url='login', redirect_field_name="") def add_bug(request, destination, location_id): @@ -316,6 +328,9 @@ def associated_objects(request, destination, location_id): if destination == 'organisation': return associated_objects_organisations(location_id) + if not destination in OBJECT_ARRAY: + return HttpResponseBadRequest("Object does not exist") + # Get the data object_assignment_results = object_assignment.objects.filter( is_deleted=False, @@ -613,6 +628,12 @@ def get_user_list_all(destination, location_id): group_id__in=group_results.values('group_id'), ).values('username_id'), is_active=True, + ).values( + 'id', + 'username', + 'first_name', + 'last_name', + 'email', ).exclude( id__in=object_results.values('assigned_user_id') ) @@ -935,4 +956,7 @@ def user_list_all(request, destination, location_id): # Get Data we want user_results = get_user_list_all(destination, location_id) - return HttpResponse(serializers.serialize('json', user_results), content_type='application/json') + # Send back json data + json_results = json.dumps(list(user_results), cls=DjangoJSONEncoder) + + return HttpResponse(json_results, content_type='application/json') \ No newline at end of file diff --git a/src/js/components/modules/wizards/AddUserWizard.vue b/src/js/components/modules/wizards/AddUserWizard.vue index 7dce8ca98..d65a9da37 100644 --- a/src/js/components/modules/wizards/AddUserWizard.vue +++ b/src/js/components/modules/wizards/AddUserWizard.vue @@ -130,18 +130,11 @@ `/object_data/${this.destination}/${this.locationId}/user_list_all/`, ).then(response => { //Clear the user fix list - this.userFixList = []; - - //Loop through the response data and add each result to the userFixList - response['data'].forEach(row => { - //Construct object array - var construction_object = { - 'value': row['pk'], - 'label': `${row['fields']['username']}: ${row['fields']['first_name']} ${row['fields']['last_name']}` - }; - - //Push the changes - this.userFixList.push(construction_object); + this.userFixList = response['data'].map(row => { + return { + 'value': row['id'], + 'label': `${row['username']}: ${row['first_name']} ${row['last_name']}` + } }); }); }