403Webshell
Server IP : 34.87.99.72  /  Your IP : 216.73.217.31
Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n
System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64
User : bitnami ( 1000)
PHP Version : 7.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/apache2/htdocs/app/public/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/bitnami/apache2/htdocs/app/public/js/939.js
(self.webpackChunk=self.webpackChunk||[]).push([[939],{6399:(t,e,r)=>{"use strict";function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{v:()=>n});var n={methods:{errorHandler_:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=this.errorSeparator_(t,e),o=r.a,n=r.b;return Object.keys(n).length>0&&this.alertErrorMessages_(this.computeErrorMessages_(n)),o},errorSeparator_:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r="Something Is Not Right. Please Try Again Later.",n={},a={};if(null==t)this.defaultNotify_(r);else if(t.status&&t.data){var i=t.status,s=t.data;if(422==i){var c=s.errors||s.message;Object.keys(c).forEach((function(t){if(e.includes(t))if(-1!==t.indexOf(".")){var r=t.split(".");void 0===n[r[0]]?n[r[0]]=o({},r[1],c[t]):n[r[0]][r[1]]=c[t]}else n[t]=c[t];else a[t]=c[t]}))}else r=[400,403].includes(i)?s.message:r,this.defaultNotify_(r)}else console.error(t);return{a:n,b:a}},defaultNotify_:function(t){return this.$toast.warning(t),null},computeErrorMessages_:function(t){var e=Object.keys(t);if(e.length>0){var r=[];return e.forEach((function(e){r.push(t[e][0])})),r}return[]},alertErrorMessages_:function(t){this.$toast.warning(t.join("<br>"))}}}},7753:(t,e,r)=>{"use strict";r.d(e,{S:()=>a});var o=r(361),n=r.n(o),a={data:function(){return{form_dialog_:!1,form_item_:{},form_action_:null}},methods:{emptyModel_:function(){return{}},archiveModel_:function(t){console.log("archiveModel_ :: remember to overwrite me.",t)},newItem_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.cloneDeep_(t);this.bindAction_("new",e)},editItem_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.cloneDeep_(t);this.bindAction_("edit",e)},duplicateItem_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.cloneDeep_(t);this.form_item_.id=null,this.bindAction_("new",e)},bindAction_:function(t,e){this.form_action_=t,this.form_item_=e,this.form_dialog_=!0},confirmArchive_:function(t){var e=this;this.$swal({title:"Are you sure?",text:"You won't be able to revert this!",type:"warning",showCancelButton:!0}).then((function(r){r.value&&e.archiveModel_(t)}))},cloneDeep_:function(t){return n()(t)}}}},5748:(t,e,r)=>{"use strict";r.d(e,{b:()=>o});var o={data:function(){return{view_item_:{},view_dialog_:!1,model_loading_:!1,settings_:{},totalData_:0,resourceData_:{},resourceDataSet_:[],options_:{},filters_:{},sort_:{},search_:{search:null,searchBy:null},isReady:!1}},watch:{settings_:{handler:function(){this.isReady?this.getResourceData_():this.isReady=!0},deep:!0}},methods:{initialize_:function(){this.getResourceData_()},getAllRefs_:function(t){return Promise.allSettled(t)},row_classes_:function(t){if(t.deleted_at)return"grey--text font-italic opacity-7"},searchData_:function(){""==this.search_.search&&(this.search_.search=null),this.settings_.page=1,this.getResourceData_()},getResourceData_:function(){console.log("getResourceData_ :: remember to overwrite me.")},viewMore_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.view_item_=this.cloneDeep_(t),this.view_dialog_=!0},setPagination_:function(){var t=this.settings_;return{page:t.page,itemsPerPage:t.itemsPerPage}},getActivityRefs_:function(){return[{value:1,text:"Active Only"},{value:0,text:"Archived Only"},{value:2,text:"All"}]},downloadFile_:function(t,e){var r=document.createElement("a");r.setAttribute("download",e),r.setAttribute("href",t),document.body.appendChild(r),r.click(),document.body.removeChild(r)}}}},8552:(t,e,r)=>{var o=r(852)(r(5639),"DataView");t.exports=o},1989:(t,e,r)=>{var o=r(1789),n=r(401),a=r(7667),i=r(1327),s=r(1866);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}c.prototype.clear=o,c.prototype.delete=n,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,t.exports=c},9423:(t,e,r)=>{var o=r(7040),n=r(4125),a=r(2117),i=r(7518),s=r(4705);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}c.prototype.clear=o,c.prototype.delete=n,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,t.exports=c},7071:(t,e,r)=>{var o=r(852)(r(5639),"Map");t.exports=o},3369:(t,e,r)=>{var o=r(4785),n=r(1285),a=r(6e3),i=r(9916),s=r(5265);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}c.prototype.clear=o,c.prototype.delete=n,c.prototype.get=a,c.prototype.has=i,c.prototype.set=s,t.exports=c},3818:(t,e,r)=>{var o=r(852)(r(5639),"Promise");t.exports=o},8525:(t,e,r)=>{var o=r(852)(r(5639),"Set");t.exports=o},6384:(t,e,r)=>{var o=r(9423),n=r(7465),a=r(3779),i=r(7599),s=r(4758),c=r(4309);function u(t){var e=this.__data__=new o(t);this.size=e.size}u.prototype.clear=n,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=c,t.exports=u},1149:(t,e,r)=>{var o=r(5639).Uint8Array;t.exports=o},577:(t,e,r)=>{var o=r(852)(r(5639),"WeakMap");t.exports=o},7412:t=>{t.exports=function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o&&!1!==e(t[r],r,t););return t}},4963:t=>{t.exports=function(t,e){for(var r=-1,o=null==t?0:t.length,n=0,a=[];++r<o;){var i=t[r];e(i,r,t)&&(a[n++]=i)}return a}},4636:(t,e,r)=>{var o=r(2545),n=r(5694),a=r(1469),i=r(4144),s=r(5776),c=r(6719),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),l=!r&&n(t),p=!r&&!l&&i(t),f=!r&&!l&&!p&&c(t),v=r||l||p||f,d=v?o(t.length,String):[],_=d.length;for(var h in t)!e&&!u.call(t,h)||v&&("length"==h||p&&("offset"==h||"parent"==h)||f&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||s(h,_))||d.push(h);return d}},2488:t=>{t.exports=function(t,e){for(var r=-1,o=e.length,n=t.length;++r<o;)t[n+r]=e[r];return t}},4865:(t,e,r)=>{var o=r(9465),n=r(7813),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var i=t[e];a.call(t,e)&&n(i,r)&&(void 0!==r||e in t)||o(t,e,r)}},8470:(t,e,r)=>{var o=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(o(t[r][0],e))return r;return-1}},4037:(t,e,r)=>{var o=r(8363),n=r(3674);t.exports=function(t,e){return t&&o(e,n(e),t)}},3886:(t,e,r)=>{var o=r(8363),n=r(1704);t.exports=function(t,e){return t&&o(e,n(e),t)}},9465:(t,e,r)=>{var o=r(8777);t.exports=function(t,e,r){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},5990:(t,e,r)=>{var o=r(6384),n=r(7412),a=r(4865),i=r(4037),s=r(3886),c=r(4626),u=r(278),l=r(8805),p=r(1911),f=r(8234),v=r(6904),d=r(4160),_=r(3824),h=r(9148),y=r(8517),b=r(1469),m=r(4144),x=r(6688),g=r(3218),j=r(2928),w=r(3674),A=r(1704),O="[object Arguments]",D="[object Function]",S="[object Object]",k={};k[O]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[S]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[D]=k["[object WeakMap]"]=!1,t.exports=function t(e,r,P,I,z,E){var U,C=1&r,M=2&r,R=4&r;if(P&&(U=z?P(e,I,z,E):P(e)),void 0!==U)return U;if(!g(e))return e;var B=b(e);if(B){if(U=_(e),!C)return u(e,U)}else{var $=d(e),F=$==D||"[object GeneratorFunction]"==$;if(m(e))return c(e,C);if($==S||$==O||F&&!z){if(U=M||F?{}:y(e),!C)return M?p(e,s(U,e)):l(e,i(U,e))}else{if(!k[$])return z?e:{};U=h(e,$,C)}}E||(E=new o);var T=E.get(e);if(T)return T;E.set(e,U),j(e)?e.forEach((function(o){U.add(t(o,r,P,o,e,E))})):x(e)&&e.forEach((function(o,n){U.set(n,t(o,r,P,n,e,E))}));var L=B?void 0:(R?M?v:f:M?A:w)(e);return n(L||e,(function(o,n){L&&(o=e[n=o]),a(U,n,t(o,r,P,n,e,E))})),U}},3118:(t,e,r)=>{var o=r(3218),n=Object.create,a=function(){function t(){}return function(e){if(!o(e))return{};if(n)return n(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},8866:(t,e,r)=>{var o=r(2488),n=r(1469);t.exports=function(t,e,r){var a=e(t);return n(t)?a:o(a,r(t))}},9454:(t,e,r)=>{var o=r(4239),n=r(7005);t.exports=function(t){return n(t)&&"[object Arguments]"==o(t)}},5588:(t,e,r)=>{var o=r(4160),n=r(7005);t.exports=function(t){return n(t)&&"[object Map]"==o(t)}},8458:(t,e,r)=>{var o=r(3560),n=r(7724),a=r(3218),i=r(346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||n(t))&&(o(t)?f:s).test(i(t))}},9221:(t,e,r)=>{var o=r(4160),n=r(7005);t.exports=function(t){return n(t)&&"[object Set]"==o(t)}},8749:(t,e,r)=>{var o=r(4239),n=r(1780),a=r(7005),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&n(t.length)&&!!i[o(t)]}},280:(t,e,r)=>{var o=r(5726),n=r(6916),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!o(t))return n(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},313:(t,e,r)=>{var o=r(3218),n=r(5726),a=r(3498),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!o(t))return a(t);var e=n(t),r=[];for(var s in t)("constructor"!=s||!e&&i.call(t,s))&&r.push(s);return r}},2545:t=>{t.exports=function(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}},1717:t=>{t.exports=function(t){return function(e){return t(e)}}},4318:(t,e,r)=>{var o=r(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}},4626:(t,e,r)=>{t=r.nmd(t);var o=r(5639),n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,i=a&&a.exports===n?o.Buffer:void 0,s=i?i.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,o=s?s(r):new t.constructor(r);return t.copy(o),o}},7157:(t,e,r)=>{var o=r(4318);t.exports=function(t,e){var r=e?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},3147:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},419:(t,e,r)=>{var o=r(2705),n=o?o.prototype:void 0,a=n?n.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},7133:(t,e,r)=>{var o=r(4318);t.exports=function(t,e){var r=e?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},278:t=>{t.exports=function(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e}},8363:(t,e,r)=>{var o=r(4865),n=r(9465);t.exports=function(t,e,r,a){var i=!r;r||(r={});for(var s=-1,c=e.length;++s<c;){var u=e[s],l=a?a(r[u],t[u],u,r,t):void 0;void 0===l&&(l=t[u]),i?n(r,u,l):o(r,u,l)}return r}},8805:(t,e,r)=>{var o=r(8363),n=r(9551);t.exports=function(t,e){return o(t,n(t),e)}},1911:(t,e,r)=>{var o=r(8363),n=r(1442);t.exports=function(t,e){return o(t,n(t),e)}},4429:(t,e,r)=>{var o=r(5639)["__core-js_shared__"];t.exports=o},8777:(t,e,r)=>{var o=r(852),n=function(){try{var t=o(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=n},8234:(t,e,r)=>{var o=r(8866),n=r(9551),a=r(3674);t.exports=function(t){return o(t,a,n)}},6904:(t,e,r)=>{var o=r(8866),n=r(1442),a=r(1704);t.exports=function(t){return o(t,a,n)}},5050:(t,e,r)=>{var o=r(7019);t.exports=function(t,e){var r=t.__data__;return o(e)?r["string"==typeof e?"string":"hash"]:r.map}},852:(t,e,r)=>{var o=r(8458),n=r(7801);t.exports=function(t,e){var r=n(t,e);return o(r)?r:void 0}},5924:(t,e,r)=>{var o=r(5569)(Object.getPrototypeOf,Object);t.exports=o},9551:(t,e,r)=>{var o=r(4963),n=r(479),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(t){return null==t?[]:(t=Object(t),o(i(t),(function(e){return a.call(t,e)})))}:n;t.exports=s},1442:(t,e,r)=>{var o=r(2488),n=r(5924),a=r(9551),i=r(479),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)o(e,a(t)),t=n(t);return e}:i;t.exports=s},4160:(t,e,r)=>{var o=r(8552),n=r(7071),a=r(3818),i=r(8525),s=r(577),c=r(4239),u=r(346),l="[object Map]",p="[object Promise]",f="[object Set]",v="[object WeakMap]",d="[object DataView]",_=u(o),h=u(n),y=u(a),b=u(i),m=u(s),x=c;(o&&x(new o(new ArrayBuffer(1)))!=d||n&&x(new n)!=l||a&&x(a.resolve())!=p||i&&x(new i)!=f||s&&x(new s)!=v)&&(x=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,o=r?u(r):"";if(o)switch(o){case _:return d;case h:return l;case y:return p;case b:return f;case m:return v}return e}),t.exports=x},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},1789:(t,e,r)=>{var o=r(4536);t.exports=function(){this.__data__=o?o(null):{},this.size=0}},401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:(t,e,r)=>{var o=r(4536),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(o){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return n.call(e,t)?e[t]:void 0}},1327:(t,e,r)=>{var o=r(4536),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return o?void 0!==e[t]:n.call(e,t)}},1866:(t,e,r)=>{var o=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,o=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(o.index=t.index,o.input=t.input),o}},9148:(t,e,r)=>{var o=r(4318),n=r(7157),a=r(3147),i=r(419),s=r(7133);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return o(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return n(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Set]":return new c;case"[object Symbol]":return i(t)}}},8517:(t,e,r)=>{var o=r(3118),n=r(5924),a=r(5726);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:o(n(t))}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var o=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==o||"symbol"!=o&&e.test(t))&&t>-1&&t%1==0&&t<r}},7019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7724:(t,e,r)=>{var o,n=r(4429),a=(o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";t.exports=function(t){return!!a&&a in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,r)=>{var o=r(8470),n=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=o(e,t);return!(r<0)&&(r==e.length-1?e.pop():n.call(e,r,1),--this.size,!0)}},2117:(t,e,r)=>{var o=r(8470);t.exports=function(t){var e=this.__data__,r=o(e,t);return r<0?void 0:e[r][1]}},7518:(t,e,r)=>{var o=r(8470);t.exports=function(t){return o(this.__data__,t)>-1}},4705:(t,e,r)=>{var o=r(8470);t.exports=function(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}},4785:(t,e,r)=>{var o=r(1989),n=r(9423),a=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(a||n),string:new o}}},1285:(t,e,r)=>{var o=r(5050);t.exports=function(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,r)=>{var o=r(5050);t.exports=function(t){return o(this,t).get(t)}},9916:(t,e,r)=>{var o=r(5050);t.exports=function(t){return o(this,t).has(t)}},5265:(t,e,r)=>{var o=r(5050);t.exports=function(t,e){var r=o(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}},4536:(t,e,r)=>{var o=r(852)(Object,"create");t.exports=o},6916:(t,e,r)=>{var o=r(5569)(Object.keys,Object);t.exports=o},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},1167:(t,e,r)=>{t=r.nmd(t);var o=r(1957),n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,i=a&&a.exports===n&&o.process,s=function(){try{var t=a&&a.require&&a.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();t.exports=s},5569:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},7465:(t,e,r)=>{var o=r(9423);t.exports=function(){this.__data__=new o,this.size=0}},3779:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},7599:t=>{t.exports=function(t){return this.__data__.get(t)}},4758:t=>{t.exports=function(t){return this.__data__.has(t)}},4309:(t,e,r)=>{var o=r(9423),n=r(7071),a=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof o){var i=r.__data__;if(!n||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(t,e),this.size=r.size,this}},346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},361:(t,e,r)=>{var o=r(5990);t.exports=function(t){return o(t,5)}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},5694:(t,e,r)=>{var o=r(9454),n=r(7005),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=o(function(){return arguments}())?o:function(t){return n(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,r)=>{var o=r(3560),n=r(1780);t.exports=function(t){return null!=t&&n(t.length)&&!o(t)}},4144:(t,e,r)=>{t=r.nmd(t);var o=r(5639),n=r(5062),a=e&&!e.nodeType&&e,i=a&&t&&!t.nodeType&&t,s=i&&i.exports===a?o.Buffer:void 0,c=(s?s.isBuffer:void 0)||n;t.exports=c},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6688:(t,e,r)=>{var o=r(5588),n=r(1717),a=r(1167),i=a&&a.isMap,s=i?n(i):o;t.exports=s},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},2928:(t,e,r)=>{var o=r(9221),n=r(1717),a=r(1167),i=a&&a.isSet,s=i?n(i):o;t.exports=s},6719:(t,e,r)=>{var o=r(8749),n=r(1717),a=r(1167),i=a&&a.isTypedArray,s=i?n(i):o;t.exports=s},3674:(t,e,r)=>{var o=r(4636),n=r(280),a=r(8612);t.exports=function(t){return a(t)?o(t):n(t)}},1704:(t,e,r)=>{var o=r(4636),n=r(313),a=r(8612);t.exports=function(t){return a(t)?o(t,!0):n(t)}},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},6024:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var o=r(6399),n=r(5748);const a={components:{},mixins:[o.v,n.b],props:{visible:{type:Boolean,required:!0}},data:function(){return{form:{},errors:{},submit_loading:!1,search_loading:!1,search_input:null,resourceData_:[]}},computed:{},watch:{visible:{handler:function(t){t||(this.form={},this.errors={})},immediate:!0},search_input:{handler:function(t){t&&this.searchWithTimer()},immediate:!0}},created:function(){this.initialize_()},methods:{getResourceData_:function(){var t=this;this.model_loading_=!0,this.$api.getCourierAll().then((function(e){var r=e.data.result;t.resourceData_=r,console.log(r)})).catch((function(e){t.errorHandler_(e)})).finally((function(){t.model_loading_=!1}))},searchWithTimer:function(){var t=this;this.timer&&(clearTimeout(this.timer),this.timer=null),this.timer=setTimeout((function(){t.searchData()}),1e3)},closeDialog:function(){this.$emit("update:visible",!1)},submitForm:function(t){this.download(t)},download:function(t){var e=this;this.submit_loading=!0,this.errors={};var r={delivery_partner_id:t.delivery_partner_id};this.$api.exportBoxDeliveryInstruction(r).then((function(t){var r=t.data.result;e.downloadFile_(r.fileUrl,r.fileName),e.closeDialog()})).catch((function(t){e.errors=e.errorHandler_(t,["delivery_partner_id"])})).finally((function(){e.submit_loading=!1}))}}};const i=(0,r(1900).Z)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("v-card",{staticClass:"radius-10"},[r("v-card-title",[r("span",{staticClass:"headline"},[t._v(t._s("Generate Delivery Instruction"))])]),t._v(" "),r("v-divider",{staticClass:"mb-2"}),t._v(" "),r("v-card-text",{staticClass:"py-4"},[r("v-row",{attrs:{dense:""}},[r("v-col",{attrs:{cols:"12",md:"12"}},[r("v-autocomplete",{attrs:{placeholder:"Delivery Partner","prepend-inner-icon":"mdi-magnify",items:t.resourceData_,"item-value":"id","item-text":"name",loading:t.model_loading_,"error-messages":t.errors.delivery_partner_id},model:{value:t.form.delivery_partner_id,callback:function(e){t.$set(t.form,"delivery_partner_id",e)},expression:"form.delivery_partner_id"}})],1)],1)],1),t._v(" "),r("v-card-actions",[r("v-spacer"),t._v(" "),r("v-btn",{attrs:{color:"blue darken-1",text:"",title:"Cancel"},on:{click:function(e){return t.closeDialog()}}},[t._v("\n\t\t\t\tCancel\n\t\t\t")]),t._v(" "),r("v-btn",{attrs:{color:"blue darken-1",text:"",title:"Save",loading:t.submit_loading},on:{click:function(e){return t.submitForm(t.form)}}},[t._v("\n\t\t\t\tSave\n\t\t\t")])],1)],1)],1)}),[],!1,null,null,null).exports},1992:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>c});var o=r(6024),n=r(5748),a=r(7753),i=r(6399);const s={components:{DeliveryInstructionExport:o.Z},mixins:[n.b,a.S,i.v],data:function(){return{table_headers:[{text:"#",value:"id"},{text:"Name",value:"name"},{text:"Download",value:"download",class:"text-center"}],show_statistics:!1,view_module:!1,delivery_form:!1}},created:function(){this.initialize_()},methods:{getResourceData_:function(){this.resourceDataSet_=[{id:1,name:"User (All)",download:"exportUserList",payload:{}},{id:2,name:"User (Partner)",download:"exportUserList",payload:{role_id:2}},{id:3,name:"User (Customer)",download:"exportUserList",payload:{role_id:1}},{id:4,name:"Locker",download:"exportLockerList",payload:{}},{id:5,name:"Booking History (Inventory)",download:"exportBoxInventoryOverviewList",payload:{}},{id:6,name:"Booking History (Delivery)",download:"exportBoxDeliveryOverviewList",payload:{}},{id:6,name:"Delivery Instruction",download:"toggle_form",payload:{}}]},download:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("toggle_form"!=t){console.log(this.resourceDataSet_);var o=this.$api[t](r);this.model_loading_=!0,o.then((function(t){var r=t.data.result;e.downloadFile_(r.fileUrl,r.fileName)})).catch((function(t){e.errorHandler_(t)})).finally((function(){e.model_loading_=!1}))}else this.delivery_form=!0}}};const c=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-container",[r("v-row",{attrs:{align:"end"}},[r("v-col",[r("div",{staticClass:"headline font-weight-bold"},[t._v("Report")]),t._v(" "),r("div",{staticClass:"subtitle-2 grey--text"},[t._v("Reports that can be generated by the system.")])])],1),t._v(" "),r("v-card",{staticClass:"mt-4",attrs:{color:"transparent",flat:""}},[r("v-data-table",{ref:"dataTable",class:t.view_module?"row-gap":"",attrs:{headers:t.table_headers,items:t.resourceDataSet_,"footer-props":{"items-per-page-options":[5,10,25,50]},loading:t.model_loading_,"disable-sort":"","hide-default-header":t.view_module,"item-class":t.row_classes_},scopedSlots:t._u([t.view_module?{key:"body",fn:function(e){var o=e.items,n=e.headers;return[r("td",{attrs:{colspan:n.length}},[r("v-row",{staticClass:"ma-0",attrs:{dense:""}},t._l(o,(function(t){return r("v-col",{key:t.id,attrs:{cols:"12",sm:"6",md:"4",lg:"3"}})})),1)],1)]}}:null,{key:"item.download",fn:function(e){var o=e.item;return[r("v-btn",{attrs:{icon:"",small:""},on:{click:function(e){return t.download(o.download,o.payload)}}},[r("v-icon",{attrs:{small:""}},[t._v("mdi-download")])],1)]}}],null,!0)})],1),t._v(" "),r("v-dialog",{attrs:{"max-width":"550px",persistent:""},model:{value:t.delivery_form,callback:function(e){t.delivery_form=e},expression:"delivery_form"}},[r("DeliveryInstructionExport",{attrs:{visible:t.delivery_form},on:{"update:visible":function(e){t.delivery_form=e}}})],1)],1)}),[],!1,null,null,null).exports}}]);

Youez - 2016 - github.com/yon3zu
LinuXploit