vandal_ui 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +0,0 @@
1
- (function(e){function t(t){for(var i,r,o=t[0],c=t[1],l=t[2],h=0,d=[];h<o.length;h++)r=o[h],n[r]&&d.push(n[r][0]),n[r]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);u&&u(t);while(d.length)d.shift()();return a.push.apply(a,l||[]),s()}function s(){for(var e,t=0;t<a.length;t++){for(var s=a[t],i=!0,o=1;o<s.length;o++){var c=s[o];0!==n[c]&&(i=!1)}i&&(a.splice(t--,1),e=r(r.s=s[0]))}return e}var i={},n={app:0},a=[];function r(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return e[t].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=i,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(s,i,function(t){return e[t]}.bind(null,i));return s},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var l=0;l<o.length;l++)t(o[l]);var u=c;a.push([0,"chunk-vendors"]),s()})({0:function(e,t,s){e.exports=s("cd49")},"0986":function(e,t,s){},"18d4":function(e,t,s){},2856:function(e,t,s){},"2b7e":function(e,t,s){},3956:function(e,t,s){"use strict";var i=s("63fa"),n=s.n(i);n.a},4678:function(e,t,s){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function n(e){var t=a(e);return s(t)}function a(e){var t=i[e];if(!(t+1)){var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}return t}n.keys=function(){return Object.keys(i)},n.resolve=a,e.exports=n,n.id="4678"},"5c0b":function(e,t,s){"use strict";var i=s("2856"),n=s.n(i);n.a},"63fa":function(e,t,s){},"64c3":function(e,t,s){"use strict";var i=s("85cb"),n=s.n(i);n.a},"73b3":function(e,t,s){"use strict";var i=s("18d4"),n=s.n(i);n.a},"7bf0":function(e,t,s){"use strict";var i=s("0986"),n=s.n(i);n.a},"85cb":function(e,t,s){},b52e:function(e,t,s){"use strict";var i=s("2b7e"),n=s.n(i);n.a},cd49:function(e,t,s){"use strict";s.r(t);s("cadf"),s("551c"),s("097d");var i=s("2b0e"),n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"d-flex flex-column h-100",attrs:{id:"app"}},[s("router-view")],1)},a=[],r=(s("5c0b"),s("2877")),o={},c=Object(r["a"])(o,n,a,!1,null,null,null);c.options.__file="App.vue";var l=c.exports,u=s("8c4f"),h=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"vandal",class:{creating:e.creating,modalIsOpen:e.modalIsOpen}},[s("div",{staticClass:"overlay"}),e.schema?s("div",{staticClass:"top-level-contents",class:{resetting:e.resetting}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-3 left-rail"},[s("div",{staticClass:"card"},[s("endpoint-list",{attrs:{endpoints:e.schema.endpoints},on:{toggle:e.toggleEndpoint}},[s("div",{staticClass:"submission clearfix"},[s("a",{staticClass:"reset",on:{click:function(t){e.reset(e.query.endpoint)}}},[e._v("Reset")]),s("button",{staticClass:"col-6 float-right btn btn-primary",attrs:{type:"submit"},on:{click:function(t){e.fetch()}}},[e._v("\n Submit »\n ")])]),s("resource-form",{attrs:{query:e.query,schema:e.schema,depth:0,isShowAction:e.isShowAction},on:{submit:e.fetch}})],1)],1)]),s("div",{staticClass:"col-9 main"},[s("url-bar",{attrs:{schema:e.schema,query:e.query,firing:e.firing}}),s("div",{class:"request card "+e.currentTab.name},[s("transition",{attrs:{name:"request-card"}},[e.query&&e.query.ready&&!e.query.error?s("div",{key:"1",staticClass:"is-ready"},[s("div",{staticClass:"card-header"},[s("ul",{staticClass:"nav nav-tabs card-header-tabs"},[s("li",{staticClass:"nav-item"},[s("a",{staticClass:"nav-link",class:{active:"results"==e.currentTab.name},on:{click:function(t){e.tab(0)}}},[e._v("\n Results\n ")])]),s("li",{staticClass:"nav-item"},[s("a",{staticClass:"nav-link",class:{active:"raw"==e.currentTab.name},on:{click:function(t){e.tab(1)}}},[e._v("\n Raw\n ")])])])]),s("div",{staticClass:"card-body"},["raw"==e.currentTab.name?s("div",[e.query.data.json?s("pre",{directives:[{name:"highlightjs",rawName:"v-highlightjs"}]},[e._v(" "),s("code",{staticClass:"json"},[e._v(e._s(e.query.data.json))]),e._v("\n ")]):e._e()]):e._e(),"results"==e.currentTab.name?s("div",{staticClass:"loading-area",class:{"loading-area-active":e.isLoading}},[s("data-table",{attrs:{depth:0,object:e.query.data,isShowAction:e.isShowAction}})],1):e._e()])]):s("div",{staticClass:"is-not-ready"},[e._v("\n Use the left side to configure and fire a request.\n ")])]),e.query&&e.query.error?s("div",[s("div",{staticClass:"alert alert-danger",attrs:{role:"alert"}},[e._v("\n "+e._s(e.query.error)+"\n\n "),e.query.hasRawError?e._e():s("div",[s("br"),s("span",{staticClass:"text-muted"},[e._v("Server configured to hide additional debug information.")])])])]):e._e()],1)],1)])]):s("div",[e._v("\n Loading...\n ")]),s("transition",{attrs:{name:"modal"}},[e.modalIsOpen?s("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog"}},[s("div",{staticClass:"modal-dialog",attrs:{role:"document"}},[s("div",{staticClass:"modal-content"},[s("div",{staticClass:"modal-header"},[s("button",{staticClass:"close",attrs:{type:"button"},on:{click:function(t){e.onModalToggle()}}},[s("span",{attrs:{"aria-hidden":"true"}},[e._v("×")])])]),s("div",{staticClass:"modal-body"},[s("pre",{directives:[{name:"highlightjs",rawName:"v-highlightjs"}]},[e._v(" "),s("code",{staticClass:"json"},[e._v(e._s(e.modalContent))]),e._v("\n ")])])])])]):e._e()])],1)},d=[],f=(s("7f7f"),s("96cf"),s("3040")),p=(s("6762"),s("2fdb"),s("f751"),s("456d"),s("ac6a"),s("28a5"),s("9393")),v=(s("7514"),s("c665")),m=s("aa9a"),b=function(){function e(t){Object(v["a"])(this,e),this.json=t}return Object(m["a"])(e,[{key:"getResource",value:function(e){var t=this.json.resources.find(function(t){return t.name==e});return t}},{key:"resourceFor",value:function(e){var t=e.split("#"),s=Object(p["a"])(t,2),i=s[0],n=s[1],a=this.json.endpoints[i]["actions"][n].resource;return this.getResource(a)}},{key:"_processRemoteResources",value:function(){var e=Object(f["a"])(regeneratorRuntime.mark(function e(){var t=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:this.json.resources.forEach(function(){var e=Object(f["a"])(regeneratorRuntime.mark(function e(s){var i,n,a,r,o;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(!s.remote){e.next=14;break}return i=s.remote.split("/"),i.shift(),i.shift(),i.shift(),n="/".concat(i.join("/")),i.pop(),a="/".concat(i.join("/")),i.pop(),r="".concat(a,"/schema.json"),e.next=12,t._fetch(r);case 12:o=e.sent,Object.keys(o.json.endpoints).forEach(function(e){var i=o.json.endpoints[e];if(e===n){var a=o.getResource(i.actions.index.resource);t._addRemoteResource(o,s,a)}});case 14:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"_addRemoteResource",value:function(e,t,s){delete s.name,Object.assign(t,s),this._addRemoteRelationships(e,s.relationships)}},{key:"_addRemoteRelationships",value:function(e,t){var s=this;Object.keys(t).forEach(function(i){var n=t[i],a=s.getResource(n.resource);if(!a){var r=e.getResource(n.resource);r?(s.json.resources.push(r),s._addRemoteRelationships(e,r.relationships)):console.log("NOT FOUND",n.resource)}})}},{key:"_fetch",value:function(){var t=Object(f["a"])(regeneratorRuntime.mark(function t(s){var i,n,a;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return i=new Headers,i.append("pragma","no-cache"),i.append("cache-control","no-cache"),{method:"GET",headers:i},n=new Request(s),t.next=7,fetch(n);case 7:return t.next=9,t.sent.json();case 9:return a=t.sent,t.abrupt("return",new e(a));case 11:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()},{key:"endpoints",get:function(){var e=this,t=[];return Object.keys(this.json.endpoints).forEach(function(s){Object.keys(e.json.endpoints[s].actions).forEach(function(e){t.push("".concat(s,"#").concat(e))})}),t}}]),e}(),y=s("a322"),g=s("4cf6"),j=s("6bde"),_=function e(t,s){var i=[];for(var n in t)if(t.hasOwnProperty(n)){var a=t[n];void 0!==a&&null!==a&&""!==a&&(s&&(n="".concat(s,"[").concat(n,"]")),Array.isArray(a)?a.length>0&&i.push("".concat(n,"=").concat(a.join(","))):"object"===Object(j["a"])(a)?i.push(e(a,n)):i.push("".concat(n,"=").concat(a)))}return i=i.filter(function(e){return!!e}),i.join("&")},w=(s("55dd"),s("6b54"),function(e,t){Object.keys(e).forEach(function(s){var i=e[s];t(s,i)})}),k=function(){function e(t,s,i,n,a){Object(v["a"])(this,e),this.schema=t,this.resource=s,this.selectedRow=null,this.json=i,this.includeHash=a,this._buildRows(n),this._buildRelationships(),this._buildHeaders(),this._buildCSS()}return Object(m["a"])(e,[{key:"formattedJSON",value:function(){var e={},t=this.rows;return this.selectedRow&&(t=[this.selectedRow]),t=t.map(function(e){var t={};return w(e.attrs,function(e,s){t[e]=s.value}),w(e.relationships,function(e,s){t[e]=s.formattedJSON().data}),t}),e.data=t,e}},{key:"_buildRows",value:function(e){var t=this;Array.isArray(e)||(e=[e]),this.rows=e.map(function(e){return t.buildRow(t.resource,e)})}},{key:"_buildHeaders",value:function(){var e=[];this.rows.length>0&&this.rows.forEach(function(t){Object.keys(t.attrs).forEach(function(t){-1===e.indexOf(t)&&e.push(t)})}),this.headers=e}},{key:"_buildCSS",value:function(){var e=this.rows.map(function(e){return e.attrs.id.value.toString().length}),t=e.sort()[e.length-1];this.css="columns-".concat(this.headers.length," id-length-").concat(t)}},{key:"_resourceAttributes",value:function(){var e=this;if(this.resource.polymorphic){var t=this.resource.attributes;return this.resource.children.forEach(function(s){var i=e.schema.getResource(s);t=Object.assign({},t,i.attributes)}),t}return this.resource.attributes}},{key:"_resourceRelationships",value:function(){var e=this;if(this.resource.polymorphic){var t=this.resource.relationships||{};return this.resource.children.forEach(function(s){var i=e.schema.getResource(s);t=Object.assign({},t,i.relationships)}),t}return this.resource.relationships}},{key:"_buildRowAttributes",value:function(e,t){var s=this;console.log("schema",e),console.log("json",t);var i={id:{value:t.id,type:this._resourceAttributes().id.type}};return e.polymorphic&&(i._type={value:t.type,type:"string"}),w(t.attributes,function(e,t){var n=s._resourceAttributes()[e].type,a=Object(y["a"])({},e,{value:t,type:n});Object.assign(i,a)}),i}},{key:"_buildRelationshipNode",value:function(e){var t=this.json.data;Array.isArray(t)||(t=[t]),t=t.concat(this.json.included);var s=t.filter(function(t){return t.type===e.type&&t.id===e.id})[0];return s}},{key:"_eachRelationship",value:function(e,t,s){var i=this,n=t.relationships||{};w(n,function(e,t){var n=i.includeHash[e];if(n){var a=i._resourceRelationships()[e],r=i.schema.json.resources.filter(function(e){return e.name===a.resource})[0];"polymorphic_belongs_to"===a.type&&(r={polymorphic:!0,children:a.resources});var o=t.data,c=[];o?(Array.isArray(o)||(o=[o]),o.forEach(function(e){c.push(i._buildRelationshipNode(e))}),s(e,r,c,n)):s(e,r,[])}})}},{key:"_buildRelationships",value:function(){var t=this;this.rows.forEach(function(s){s.relationships={},t._eachRelationship(s.schemaResource,s.jsonResource,function(i,n,a,r){s.relationships[i]=new e(t.schema,n,t.json,a,r)}),s.hasRelationships=Object.keys(s.relationships).length>0})}},{key:"buildRow",value:function(e,t){var s=this._buildRowAttributes(e,t),i={attrs:s,schemaResource:e,jsonResource:t};return i}}]),e}(),R=s("c1df"),q=s.n(R),C=function(){function e(t,s,i,n){Object(v["a"])(this,e),this.resource=s,console.log(this.resource),this.endpoint=i,this.ready=!1,this.sorts=[{name:null,dir:"asc"}],this.filters=[{name:null,operator:"eq",error:null}],this.data={},this.headers=[],this.url=null,this.urlWithDomain=null,this.page={},this.relationships={},this.fields={},this.relationshipPath=n,this.editingRelationship=!1,this.schema=t,this.endpointIdParam=null,this.error=null,this.hasRawError=!1,this.possibleRelationships=this.derivePossibleRelationships(),this.isShowRoute()&&(this.filters=[{name:"id",operator:"eq",required:!0,error:null}])}return Object(m["a"])(e,[{key:"derivePossibleRelationships",value:function(){var e=this;if(this.resource.polymorphic){var t=Object.assign({},this.resource.relationships);return this.resource.children.forEach(function(s){var i=e.schema.getResource(s);Object.assign(t,i.relationships)}),t}return this.resource.relationships}},{key:"isShowRoute",value:function(){return this.endpoint&&this.endpoint.includes("#show")}},{key:"hasFilterValue",value:function(e){var t=this.filters.filter(function(t){return t.name===e})[0];return!(!t||!t.value)}},{key:"generateParams",value:function(){var e={};return Object.assign(e,{filter:this.filterParams()}),Object.assign(e,{sort:this.sortParams().join(",")}),Object.assign(e,{page:this.paginationParams()}),Object.assign(e,{include:this.includes().join(",")}),Object.assign(e,{fields:this.fieldParams()}),e}},{key:"generateUrl",value:function(){var e=this.generateParams(),t=this.endpoint.split("#"),s=Object(p["a"])(t,2),i=s[0],n=(s[1],_(e));return this.endpointIdParam&&(i="".concat(i,"/").concat(this.endpointIdParam)),n.length>0&&(i="".concat(i,"?").concat(n)),i}},{key:"generateCurl",value:function(){var e=this.urlWithDomain,t=e.split("?"),s=Object(p["a"])(t,2),i=s[0],n=s[1];return e=i,"undefined"!=n&&(e="".concat(e,"?").concat(n)),"curl -g -H 'Content-Type: application/json' '".concat(e,"'")}},{key:"fire",value:function(){var e=Object(f["a"])(regeneratorRuntime.mark(function e(){var t,s,i,n,a;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return this.url=this.generateUrl(),this.urlWithDomain="".concat(window.location.origin).concat(this.url),t=new Headers,t.append("pragma","no-cache"),t.append("cache-control","no-cache"),{method:"GET",headers:t},s=new Request(this.url),e.next=9,fetch(s);case 9:return e.next=11,e.sent.json();case 11:this.json=e.sent,this.ready=!0,this.hasRawError=!1,this.error=null,this.json.errors?(i=this.json.errors[0],n=i.detail,a=i.meta.__raw_error__,a&&(n=a.message,this.hasRawError=!0),this.error=n):this.data=new k(this.schema,this.resource,this.json,this.json.data,this.includeHash());case 16:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"filterParams",value:function(){var e=this,t={};return this.filters.forEach(function(s){if(s.name)if("id"===s.name&&e.isShowRoute())e.endpointIdParam=s.value;else{var i={};"datetime"===e.resource.filters[s.name].type?i[s.operator]=q()(s.value,"M/D/YYYY h:mma").toISOString():i[s.operator]=s.value;var n=s.name;e.relationshipPath&&(n="".concat(e.relationshipPath,".").concat(n)),t[n]=i}}),Object.keys(this.relationships).forEach(function(s){var i=e.relationships[s],n=i.filterParams();Object.assign(t,n)}),t}},{key:"sortParams",value:function(){var e=this,t=[];return this.sorts.forEach(function(s){if(s.name){var i=s.name;e.relationshipPath&&(i="".concat(e.relationshipPath,".").concat(i)),"desc"==s.dir&&(i="-".concat(i)),t.push(i)}}),Object.keys(this.relationships).forEach(function(s){var i=e.relationships[s];i.sortParams().forEach(function(e){t.push(e)})}),t}},{key:"paginationParams",value:function(){var e=this,t={};return Object.keys(this.page).forEach(function(s){var i=s;e.relationshipPath&&(i="".concat(e.relationshipPath,".").concat(i)),t[i]=e.page[s]}),Object.keys(this.relationships).forEach(function(s){var i=e.relationships[s];Object.assign(t,i.paginationParams())}),t}},{key:"includes",value:function(){var e=this,t=[];return Object.keys(this.relationships).forEach(function(s){var i=e.relationships[s];i.includes().forEach(function(e){t.push(e)})}),0===t.length&&t.push(this.relationshipPath),t}},{key:"includeHash",value:function(){var e={};return this.includes().forEach(function(t){if(t){var s=t.split(".").reverse(),i=Object(g["a"])(s),n=i[0],a=i.slice(1);Object.assign(e,a.reduce(function(e,t){return Object(y["a"])({},t,e)},Object(y["a"])({},n,{})))}}),e}},{key:"fieldParams",value:function(){var e=this,t={},s=Object.keys(this.fields);return s.length>0&&(t[this.resource.type]=s.join(",")),Object.keys(this.relationships).forEach(function(s){var i=e.relationships[s];Object.assign(t,i.fieldParams())}),t}}]),e}(),O=function(){var e,t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"resource-form"},[i("form",{staticClass:"config",on:{submit:function(e){e.preventDefault(),t.$emit("submit")}}},[t.isRelationship?t._e():i("button",{staticClass:"btn btn-primary",staticStyle:{display:"none"},attrs:{type:"hidden"}},[t._v("Submit")]),i("div",{staticClass:"query-inputs",class:{hide:t.query.editingRelationship}},[i("div",{staticClass:"section filters first form-group"},[i("label",[t._v("Filters")]),i("a",{staticClass:"add",on:{click:t.addFilter}},[t._v("Add +")]),i("transition-group",{attrs:{name:"form-input-section"}},t._l(t.query.filters,function(e,s){return i("div",{key:s,staticClass:"form-group filter",class:{error:e.error}},[i("div",{staticClass:"clearfix form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"filter.name"}],staticClass:"filter-name col-8 float-left form-control",on:{change:function(s){var i=Array.prototype.filter.call(s.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});t.$set(e,"name",s.target.multiple?i:i[0])}}},[i("option",{attrs:{disabled:"",value:"null"}},[t._v("Choose")]),t._l(t.query.resource.filters,function(e,s){return i("option",{key:s},[t._v("\n "+t._s(s)+"\n ")])})],2),e.name?i("select",{directives:[{name:"model",rawName:"v-model",value:e.operator,expression:"filter.operator"}],staticClass:"col-3 float-left form-control",on:{change:function(s){var i=Array.prototype.filter.call(s.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});t.$set(e,"operator",s.target.multiple?i:i[0])}}},t._l(t.query.resource.filters[e.name].operators,function(e){return i("option",{key:e},[t._v("\n "+t._s(e)+"\n ")])})):i("select",{staticClass:"col-3 float-left form-control"},[i("option",{attrs:{selected:"",disabled:""}},[t._v("eq")])])]),i("div",{staticClass:"clearfix"},[e.name&&"boolean"===t.query.resource.filters[e.name].type?i("div",{staticClass:"boolean-toggle"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"filter.value"}],staticClass:"ios-toggle",attrs:{type:"checkbox",name:e.name,id:e.name},domProps:{checked:Array.isArray(e.value)?t._i(e.value,null)>-1:e.value},on:{change:function(s){var i=e.value,n=s.target,a=!!n.checked;if(Array.isArray(i)){var r=null,o=t._i(i,r);n.checked?o<0&&t.$set(e,"value",i.concat([r])):o>-1&&t.$set(e,"value",i.slice(0,o).concat(i.slice(o+1)))}else t.$set(e,"value",a)}}}),i("label",{staticClass:"checkbox-label",attrs:{for:e.name,"data-off":"off","data-on":"on"}})]):e.name&&t.query.resource.filters[e.name].allow?i("div",[i("select",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"filter.value"}],staticClass:"filter-value form-control col-10 float-left",on:{change:function(s){var i=Array.prototype.filter.call(s.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});t.$set(e,"value",s.target.multiple?i:i[0])}}},[i("option",{attrs:{disabled:"",value:"undefined"}},[t._v("Choose")]),t._l(t.query.resource.filters[e.name].allow,function(e){return i("option",{key:e},[t._v("\n "+t._s(e)+"\n ")])})],2)]):e.name&&"date"===t.query.resource.filters[e.name].type?i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"filter.value"}],staticClass:"filter-value float-left col-10 form-control",attrs:{type:"text",placeholder:"M/D/YYYY"},domProps:{value:e.value},on:{input:function(s){s.target.composing||t.$set(e,"value",s.target.value)}}})]):e.name&&"datetime"===t.query.resource.filters[e.name].type?i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"filter.value"}],staticClass:"filter-value float-left col-10 form-control",attrs:{type:"text",placeholder:"M/D/YYYY h:mma"},domProps:{value:e.value},on:{input:function(s){s.target.composing||t.$set(e,"value",s.target.value)}}})]):i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"filter.value"}],staticClass:"filter-value float-left col-10 form-control",attrs:{type:"text",placeholder:"Enter Filter Value Here"},domProps:{value:e.value},on:{input:function(s){s.target.composing||t.$set(e,"value",s.target.value)}}})]),i("a",{staticClass:"remove col-1",on:{click:function(s){t.removeFilter(e)}}},[t._v("x")])]),e.required?i("div",{staticClass:"required-filter text-muted"},[t._v("\n Required\n ")]):t._e()])}))],1),i("div",{staticClass:"section sorts form-group"},[i("label",[t._v("Sorts")]),i("a",{staticClass:"add",on:{click:t.addSort}},[t._v("Add +")]),i("transition-group",{attrs:{name:"form-input-section"}},t._l(t.query.sorts,function(e,s){return i("div",{key:s,staticClass:"form-group clearfix"},[i("select",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"sort.name"}],staticClass:"filter-name col-7 float-left form-control",on:{change:function(s){var i=Array.prototype.filter.call(s.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});t.$set(e,"name",s.target.multiple?i:i[0])}}},[i("option",{attrs:{disabled:"",value:"null"}},[t._v("Choose")]),t._l(t.query.resource.sorts,function(e,s){return i("option",{key:s},[t._v("\n "+t._s(s)+"\n ")])})],2),i("select",{directives:[{name:"model",rawName:"v-model",value:e.dir,expression:"sort.dir"}],staticClass:"col-3 float-left form-control",on:{change:function(s){var i=Array.prototype.filter.call(s.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});t.$set(e,"dir",s.target.multiple?i:i[0])}}},[i("option",{attrs:{selected:""}},[t._v("asc")]),i("option",[t._v("desc")])]),i("a",{staticClass:"remove col-1",on:{click:function(s){t.removeSort(e)}}},[t._v("x")])])}))],1),i("div",{staticClass:"section form-pagination form-group"},[i("label",[t._v("Pagination")]),t.isShowAction||!t.isRelationship?i("div",{staticClass:"form-group clearfix"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.query.page.number,expression:"query.page.number"}],staticClass:"col-5 float-left form-control",attrs:{type:"number",placeholder:"Number"},domProps:{value:t.query.page.number},on:{input:function(e){e.target.composing||t.$set(t.query.page,"number",e.target.value)}}}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.query.page.size,expression:"query.page.size"}],staticClass:"col-5 float-left size form-control",attrs:{type:"number",placeholder:"Size"},domProps:{value:t.query.page.size},on:{input:function(e){e.target.composing||t.$set(t.query.page,"size",e.target.value)}}}),i("a",{staticClass:"remove col-1",on:{click:function(e){t.removePagination()}}},[t._v("x")])]):i("div",{staticClass:"form-group clearfix text-muted"},[t._v("\n Only #show supports nested pagination\n ")])])]),i("div",{staticClass:"relationships section form-group",class:(e={"editing-subrelationship":t.query.editingRelationship,nested:t.query.editingRelationship&&t.isRelationship,"active-subrelationship":t.isActiveSubrelationship,"inactive-subrelationship":!t.isActiveSubrelationship},e["depth-"+t.depth]=!0,e)},[t.query.editingRelationship&&t.isRelationship?t._e():i("label",[t._v("Relationships")]),t._l(t.query.possibleRelationships,function(e,s){return i("div",{key:s,staticClass:"relationship clearfix",class:(n={selected:t.query.relationships[s],hide:t.query.editingRelationship&&t.query.editingRelationship!=t.query.relationships[s]},n["depth-"+t.depth]=!0,n)},[i("a",{staticClass:"toggle clearfix",on:{click:function(i){t.toggleRelationship(s,e)}}},[i("div",{staticClass:"float-left name"},[t._v(t._s(s))]),t.isActiveSubrelationship?i("span",[t.query.relationships[s]?i("div",{staticClass:"badge badge-pill badge-info"},[t._v("✓")]):t._e()]):t._e()]),t.query.relationships[s]?i("a",{staticClass:"remove-field",on:{click:function(e){t.removeRelationship(s)}}},[t._v("Remove")]):t._e()]);var n})],2),t._l(t.query.relationships,function(e,s){return i("div",{key:s},[t.query.relationships[s]?i("div",{class:{hidden:t.query.editingRelationship!=t.query.relationships[s]}},[i("resource-form",{attrs:{query:t.query.relationships[s],schema:t.schema,"is-relationship":!0,isShowAction:t.isShowAction,depth:t.depth+1},on:{editRelationship:t.onSubrelationshipEdit,doneEditRelationship:t.onSubrelationshipDoneEdit}})],1):t._e()])}),i("div",{staticClass:"fields section form-group",class:{hide:t.query.editingRelationship}},[i("label",[t._v("Fields")]),t._l(t.query.resource.attributes,function(e,s){return e.readable&&"id"!=s?i("div",{key:s,staticClass:"field clearfix",class:{selected:t.query.fields[s]}},[i("a",{staticClass:"toggle clearfix",on:{click:function(i){t.toggleField(s,e)}}},[i("span",{staticClass:"name"},[t._v(t._s(s))]),t.query.fields[s]?i("span",{staticClass:"badge badge-pill badge-info"},[t._v("✓")]):t._e()])]):t._e()})],2)],2)])},x=[],S=i["a"].extend({name:"resource-form",props:["query","isShowAction","isRelationship","schema","depth"],data:function(){return{subRelationshipNames:[],isActiveSubrelationship:!1}},created:function(){},computed:{},methods:{addFilter:function(){this.query.filters.push({name:null,operator:"eq",error:null})},removeFilter:function(e){if(e.required)e.value=null;else{var t=this.query.filters.indexOf(e);this.query.filters.splice(t,1),this.query.filters.length<1&&this.addFilter()}},addSort:function(){this.query.sorts.push({name:null,dir:"asc",delete:!1})},removeSort:function(e){var t=this.query.sorts.indexOf(e);this.query.sorts.splice(t,1),0===this.query.sorts.length&&this.addSort()},removePagination:function(){this.query.page={number:null,size:null}},selectRelationship:function(e,t){var s=this,i=this.schema.getResource(t.resource);if("polymorphic_belongs_to"===t.type){var n={};t.resources.forEach(function(e){var t=s.schema.getResource(e);Object.assign(n,t.relationships)}),i={polymorphic:!0,children:t.resources,relationships:n}}var a=e;this.query.relationshipPath&&(a="".concat(this.query.relationshipPath,".").concat(e));var r=new C(this.schema,i,null,a);this.$set(this.query.relationships,e,r)},removeRelationship:function(e){this.$delete(this.query.relationships,e),this.doneEditingRelationship(e)},toggleRelationship:function(e,t){this.query.editingRelationship?this.doneEditingRelationship(e):this.query.relationships[e]?this.editRelationship(e,this.query.relationships[e]):(console.log("here",e,t),this.selectRelationship(e,t))},editRelationship:function(e,t){this.$emit("editRelationship",e),this.query.editingRelationship=t,this.isActiveSubrelationship=!0},doneEditingRelationship:function(e){this.query.editingRelationship=!1,this.isActiveSubrelationship=!1,this.$emit("doneEditRelationship",e)},toggleField:function(e){this.query.fields[e]?this.$delete(this.query.fields,e):this.$set(this.query.fields,e,!0)},onSubrelationshipEdit:function(e){this.isActiveSubrelationship=!1},onSubrelationshipDoneEdit:function(e){this.isActiveSubrelationship=!0}}}),E=S,A=(s("b52e"),Object(r["a"])(E,O,x,!1,null,"96f535e6",null));A.options.__file="ResourceForm.vue";var P=A.exports,T=function(){var e,t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"data-table",class:{inactive:!t.active}},[i("div",{staticClass:"contents"},[t.label?i("div",{staticClass:"relationship-label"},[i("span",{staticClass:"arrow"},[t._v("↳")]),t._v(" "+t._s(t.label)+"\n ")]):t._e(),t.object.rows.length>0?i("div",{staticClass:"clearfix view-as-json"},[i("a",{on:{click:function(e){t.jsonView(t.object)}}},[t._v("View as JSON")])]):t._e(),t.object.rows.length>0?i("div",{staticClass:"table-wrapper"},[i("table",{staticClass:"results table table-hover table-borderless",class:(e={"has-selection":t.object.selectedRow,"is-sub-table":t.isSubTable},e[t.object.css]=!0,e)},[i("thead",[i("tr",t._l(t.object.headers,function(e){return i("th",{key:e},[t._v("\n "+t._s(e)+"\n ")])}))]),i("tbody",t._l(t.object.rows,function(e){return i("tr",{key:e.attrs.id.value,staticClass:"data-row",class:{selected:t.object.selectedRow===e,"has-relationships":e.hasRelationships},on:{click:function(s){t.toggleRow(e)}}},t._l(e.attrs,function(e,s){return i("td",{key:s,class:(n={},n["type-"+e.type]=!0,n)},[i("div",{staticClass:"td-contents"},["datetime"==e.type?i("div",[t._v("\n "+t._s(t._f("dateTimeType")(e.value))+"\n ")]):"date"==e.type?i("div",[t._v("\n "+t._s(t._f("dateType")(e.value))+"\n ")]):i("div",[t._v("\n "+t._s(e.value)+"\n ")])])]);var n}))}))])]):i("div",{staticClass:"card"},[t._v("\n No Data\n ")]),i("transition",{attrs:{name:"relationship-table"}},[0===t.depth&&t.isShowAction||t.object.selectedRow?i("span",t._l(t.relationships,function(e,s){return i("data-table",{key:s,attrs:{label:s,object:e,isSubTable:!0,depth:t.depth+1,isShowAction:t.isShowAction},on:{rowClick:t.onSubRowClick}})})):t._e()])],1)])},$=[],z=new i["a"],N=z,D=i["a"].extend({name:"data-table",props:["object","depth","label","isShowAction","isSubTable"],data:function(){return{active:!0}},computed:{relationships:function(){return this.isShowAction&&0===this.depth?this.object.rows[0].relationships:this.object.selectedRow.relationships}},methods:{jsonView:function(e){N.$emit("modalToggle",e.formattedJSON())},toggleRow:function(e){this.object.selectedRow?this.object.selectedRow=null:(this.active=!0,this.object.selectedRow=e)},onSubRowClick:function(e){this.active=!e}}}),Y=D,F=(s("7bf0"),Object(r["a"])(Y,T,$,!1,null,"177480b1",null));F.options.__file="DataTable.vue";var M=F.exports,H=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"endpoints",class:{"has-selection":e.selection}},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"form-control search",attrs:{type:"search",placeholder:"Search"},domProps:{value:e.query},on:{input:function(t){t.target.composing||(e.query=t.target.value)}}}),e._l(e.filteredEndpoints,function(t){return s("a",{key:t,staticClass:"endpoint",class:{selected:e.selection===t}},[s("div",{staticClass:"path",on:{click:function(s){e.toggle(t)}}},[e.selection===t?s("span",[e._v("« ")]):e._e(),e._v("\n "+e._s(e._f("endpointDisplay")(t))+"\n ")]),e.selection===t?s("span",[e._t("default")],2):e._e()])})],2)},I=[],U=i["a"].extend({name:"endpoint-list",props:["endpoints"],data:function(){return{selection:null,query:null}},filters:{endpointDisplay:function(e){var t=e.split("/");return t[t.length-1]}},computed:{filteredEndpoints:function(){var e=this,t=this.endpoints.filter(function(e){return e.includes("#index")||e.includes("#show")});return this.query?t.filter(function(t){return t.includes(e.query)}):t}},methods:{toggle:function(e){this.selection?this.selection=null:this.selection=e,this.$emit("toggle",this.selection)}}}),L=U,J=(s("3956"),Object(r["a"])(L,H,I,!1,null,"a79b1f96",null));J.options.__file="EndpointList.vue";var V=J.exports,W=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"url-bar"},[e.query&&e.query.endpoint?s("form",{staticClass:"query clearfix"},[s("input",{attrs:{id:"copy-url",type:"hidden"},domProps:{value:e.schema.json.base_url+e.query.url}}),s("input",{directives:[{name:"model",rawName:"v-model",value:e.query.url,expression:"query.url"}],staticClass:"form-control url",class:{firing:e.firing},attrs:{type:"text",placeholder:"URL"},domProps:{value:e.query.url},on:{input:[function(t){t.target.composing||e.$set(e.query,"url",t.target.value)},e.buildQueryObject]}}),s("div",{staticClass:"btn-group url-controls"},[s("a",{staticClass:"btn btn-secondary",attrs:{title:"Copy"},on:{click:function(t){e.copyUrl()}}},[s("i",{staticClass:"fas fa-copy"})]),s("a",{staticClass:"btn btn-secondary",attrs:{href:e.query.urlWithDomain,target:"_blank",title:"Open in new tab"}},[s("i",{staticClass:"fas fa-external-link-alt"})]),s("a",{staticClass:"btn btn-secondary",attrs:{title:"Copy as Curl"},on:{click:function(t){e.copyAsCurl()}}},[s("i",{staticClass:"fas fa-copyright"})])])]):e._e()])},G=[],B=function(e){},Q=i["a"].extend({name:"url-bar",props:["schema","query","firing"],data:function(){return{}},computed:{},methods:{copyUrl:function(){navigator["clipboard"].writeText(this.query.urlWithDomain)},copyAsCurl:function(){navigator["clipboard"].writeText(this.query.generateCurl())},buildQueryObject:function(){B(this.query)}}}),K=Q,X=(s("64c3"),Object(r["a"])(K,W,G,!1,null,"79f5869a",null));X.options.__file="UrlBar.vue";var Z=X.exports,ee=[{name:"results"},{name:"raw"},{name:"debug"}],te=i["a"].extend({name:"vandal",components:{EndpointList:V,DataTable:M,ResourceForm:P,UrlBar:Z},data:function(){return{schema:null,query:null,currentTab:ee[0],creating:!0,isLoading:!1,path:null,resource:null,modalIsOpen:!1,modalContent:null,firing:!1,resetting:!1}},created:function(){var e=this;this.fetchSchema();var t=function(){e.creating=!1};setTimeout(t,1e3),N.$on("modalToggle",this.onModalToggle)},computed:{isShowAction:function(){if(this.query)return this.query.endpoint.includes("#show")}},methods:{onModalToggle:function(e){this.modalContent=e,this.modalIsOpen=!this.modalIsOpen},toggleEndpoint:function(e){e?(this.resource=this.schema.resourceFor(e),this.reset(e,!1)):(this.resource=null,this.query=null)},fetchSchema:function(){var e=Object(f["a"])(regeneratorRuntime.mark(function e(){var t,s,i,n;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return t=new Headers,t.append("pragma","no-cache"),t.append("cache-control","no-cache"),{method:"GET",headers:t},s=document.querySelector("meta[name='schema']").getAttribute("content"),i=new Request(s),e.next=8,fetch(i);case 8:return e.next=10,e.sent.json();case 10:return n=e.sent,this.schema=new b(n),this.schema._processRemoteResources(),e.abrupt("return",this.schema);case 14:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),reset:function(e){var t=this,s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];s&&(this.resetting=!0),this.query=new C(this.schema,this.resource,e);var i=function(){t.resetting=!1};s&&setTimeout(i,100)},fetch:function(){var e=Object(f["a"])(regeneratorRuntime.mark(function e(){var t,s,i,n=this;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(!this.validate()){e.next=12;break}return this.firing=!0,t=function(){n.firing=!1},setTimeout(t,100),this.isLoading=!0,s=Date.now(),e.next=8,this.query.fire();case 8:return i=Date.now(),e.next=11,this.stall(100-(i-s));case 11:this.isLoading=!1;case 12:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),validate:function(){if(this.isShowAction){var e=this.query.filters.filter(function(e){return"id"===e.name})[0];return e.value?(e.error=!1,!0):(this["tempSet"](e,"error",!0,1e3),!1)}return!0},tab:function(e){this.currentTab=ee[e]},stall:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return new Promise(function(t){return setTimeout(t,e)})}}}),se=te,ie=(s("73b3"),Object(r["a"])(se,h,d,!1,null,null,null));ie.options.__file="All.vue";var ne=ie.exports;i["a"].use(u["a"]);var ae=new u["a"]({base:"",routes:[{path:"/",name:"vandal",component:ne}]}),re=s("998c");i["a"].use(re),i["a"].config.productionTip=!1,i["a"].mixin({methods:{tempSet:function(e,t,s,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=e[t];null!==n&&(a=n),e[t]=s;var r=function(){e[t]=a};setTimeout(r,i)}}}),i["a"].filter("dateTimeType",function(e){if(e)return q()(String(e)).format("M/D/YYYY h:mma")}),i["a"].filter("dateType",function(e){if(e)return q()(String(e)).format("M/D/YYYY")}),new i["a"]({router:ae,render:function(e){return e(l)}}).$mount("#app")}});
2
- //# sourceMappingURL=app.e0b6f2db.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/EndpointList.vue?8c6d","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/App.vue?c0ea","webpack:///./src/components/UrlBar.vue?f5f3","webpack:///./src/views/All.vue?418a","webpack:///./src/components/DataTable.vue?f381","webpack:///./src/components/ResourceForm.vue?4c9d","webpack:///./src/App.vue?fda1","webpack:///./src/App.vue","webpack:///./src/views/All.vue?bc4e","webpack:///./src/schema.ts","webpack:///./src/util/parameterize.ts","webpack:///./src/util/each-pair.ts","webpack:///./src/response-table.ts","webpack:///./src/query.ts","webpack:///./src/components/ResourceForm.vue?7f9c","webpack:///./src/components/ResourceForm.vue?5de3","webpack:///./src/components/ResourceForm.vue?9663","webpack:///./src/components/ResourceForm.vue","webpack:///./src/components/DataTable.vue?58a0","webpack:///./src/event-bus.ts","webpack:///./src/components/DataTable.vue?5af2","webpack:///./src/components/DataTable.vue?12f6","webpack:///./src/components/DataTable.vue","webpack:///./src/components/EndpointList.vue?0ef8","webpack:///./src/components/EndpointList.vue?9e03","webpack:///./src/components/EndpointList.vue?3d5a","webpack:///./src/components/EndpointList.vue","webpack:///./src/components/UrlBar.vue?f6e1","webpack:///./src/util/url-to-query.ts","webpack:///./src/components/UrlBar.vue?8f39","webpack:///./src/components/UrlBar.vue?a4c8","webpack:///./src/components/UrlBar.vue","webpack:///./src/views/All.vue?62cc","webpack:///./src/views/All.vue?016d","webpack:///./src/views/All.vue","webpack:///./src/router.ts","webpack:///./src/main.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","app","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EndpointList_vue_vue_type_style_index_0_id_a79b1f96_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_EndpointList_vue_vue_type_style_index_0_id_a79b1f96_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","map","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-kw","./ar-kw.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bm","./bm.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de-ch","./de-ch.js","./de.js","./dv","./dv.js","./el","./el.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-il","./en-il.js","./en-nz","./en-nz.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es-us","./es-us.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./gd","./gd.js","./gl","./gl.js","./gom-latn","./gom-latn.js","./gu","./gu.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./kn","./kn.js","./ko","./ko.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mn","./mn.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./mt","./mt.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./sd","./sd.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./tg","./tg.js","./th","./th.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./ug-cn","./ug-cn.js","./uk","./uk.js","./ur","./ur.js","./uz","./uz-latn","./uz-latn.js","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-tw","./zh-tw.js","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UrlBar_vue_vue_type_style_index_0_id_79f5869a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UrlBar_vue_vue_type_style_index_0_id_79f5869a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_All_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_All_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DataTable_vue_vue_type_style_index_0_id_177480b1_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DataTable_vue_vue_type_style_index_0_id_177480b1_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ResourceForm_vue_vue_type_style_index_0_id_96f535e6_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_lib_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ResourceForm_vue_vue_type_style_index_0_id_96f535e6_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","Appvue_type_template_id_2b1e888b_render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","staticRenderFns","script","component","componentNormalizer","options","__file","App","Allvue_type_template_id_33f082c2_render","class","creating","modalIsOpen","resetting","endpoints","schema","on","toggle","toggleEndpoint","click","$event","reset","query","endpoint","_v","type","fetch","depth","isShowAction","submit","firing","currentTab","ready","error","active","tab","directives","rawName","_s","json","_e","loading-area-active","isLoading","role","hasRawError","tabindex","onModalToggle","aria-hidden","modalContent","Allvue_type_template_id_33f082c2_staticRenderFns","schema_Schema","Schema","classCallCheck","createClass","resource","resources","find","_endpoint$split","split","_endpoint$split2","slicedToArray","path","action","resourceName","getResource","_processRemoteResources2","asyncToGenerator","regeneratorRuntime","mark","_callee2","_this","wrap","_context2","prev","next","forEach","_ref","_callee","baseUrl","url","remoteSchema","_context","remote","concat","join","pop","_fetch","sent","k","config","remoteResourceJson","actions","index","_addRemoteResource","stop","_x","arguments","localRemoteResource","remoteResource","assign","_addRemoteRelationships","relationships","_this2","relationship","existing","console","log","_fetch2","_callee3","headers","request","schemaJson","_context3","Headers","append","method","Request","abrupt","_x2","_this3","parameterize_parameterize","parameterize","obj","prefix","str","undefined","Array","isArray","es6_typeof","filter","eachPair","callback","response_table_ResponseTable","ResponseTable","rowData","includeHash","selectedRow","_buildRows","_buildRelationships","_buildHeaders","_buildCSS","rows","row","formattedJSON","buildRow","h","indexOf","sorted","toString","max","sort","css","polymorphic","attributes","children","childResource","rels","schemaResource","jsonResource","_this4","_resourceAttributes","_type","jsonRel","allNodes","included","node","_this5","rel","nested","_resourceRelationships","relSchemaResource","relData","relRows","rd","_buildRelationshipNode","_this6","_eachRelationship","nestedInclude","hasRelationships","_buildRowAttributes","query_Query","Query","relationshipPath","sorts","dir","filters","operator","urlWithDomain","page","fields","editingRelationship","endpointIdParam","possibleRelationships","derivePossibleRelationships","isShowRoute","required","includes","found","f","params","filterParams","sortParams","paginationParams","include","fieldParams","generateParams","_this$endpoint$split","_this$endpoint$split2","paramStr","_url$split","_url$split2","base","_fire","message","raw","generateUrl","location","origin","errors","detail","meta","__raw_error__","_filters","param","moment_default","toISOString","nestedRequest","_sorts","_includes","hash","_path$split$reverse","reverse","_path$split$reverse2","toArray","last","paths","reduce","acc","el","_fields","selectedFields","ResourceFormvue_type_template_id_96f535e6_scoped_true_render","_obj","preventDefault","$emit","isRelationship","staticStyle","display","hide","addFilter","_l","expression","change","$$selectedVal","target","selected","val","_value","$set","multiple","disabled","domProps","checked","_i","$$a","$$el","$$c","$$v","$$i","for","data-off","data-on","allow","placeholder","input","composing","removeFilter","addSort","removeSort","removePagination","editing-subrelationship","active-subrelationship","isActiveSubrelationship","inactive-subrelationship","toggleRelationship","removeRelationship","hidden","is-relationship","editRelationship","onSubrelationshipEdit","doneEditRelationship","onSubrelationshipDoneEdit","readable","toggleField","ResourceFormvue_type_template_id_96f535e6_scoped_true_staticRenderFns","ResourceFormvue_type_script_lang_ts_","vue_runtime_esm","extend","props","subRelationshipNames","created","computed","methods","delete","number","size","selectRelationship","subResource","subQuery","$delete","doneEditingRelationship","components_ResourceFormvue_type_script_lang_ts_","ResourceForm_component","ResourceForm","DataTablevue_type_template_id_177480b1_scoped_true_render","inactive","label","jsonView","has-selection","is-sub-table","isSubTable","header","has-relationships","toggleRow","_f","rowClick","onSubRowClick","DataTablevue_type_template_id_177480b1_scoped_true_staticRenderFns","EventBus","event_bus","DataTablevue_type_script_lang_ts_","components_DataTablevue_type_script_lang_ts_","DataTable_component","DataTable","EndpointListvue_type_template_id_a79b1f96_scoped_true_render","selection","_t","EndpointListvue_type_template_id_a79b1f96_scoped_true_staticRenderFns","EndpointListvue_type_script_lang_ts_","endpointDisplay","filteredEndpoints","filtered","components_EndpointListvue_type_script_lang_ts_","EndpointList_component","EndpointList","UrlBarvue_type_template_id_79f5869a_scoped_true_render","base_url","buildQueryObject","title","copyUrl","href","copyAsCurl","UrlBarvue_type_template_id_79f5869a_scoped_true_staticRenderFns","urlToQuery","UrlBarvue_type_script_lang_ts_","navigator","writeText","generateCurl","components_UrlBarvue_type_script_lang_ts_","UrlBar_component","UrlBar","tabs","Allvue_type_script_lang_ts_","components","fetchSchema","doneCreating","setTimeout","$on","content","resourceFor","_fetchSchema","schemaPath","document","querySelector","getAttribute","_processRemoteResources","animate","doReset","unfire","then","now","validate","Date","fire","stall","stallTime","Promise","views_Allvue_type_script_lang_ts_","All_component","All","use","vue_router_esm","router","routes","VueHighlightJS","productionTip","mixin","tempSet","prop","duration","after","valueAfter","String","format","render","$mount"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,KACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA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8F,IAAIC,EAAA,MAEO,IAAAC,GAAA,IAAID,EAAA,MACjBpL,KAAM,GACNsL,SAEI5U,KAAM,IACNzW,KAAM,SACNgT,UAAWiY,OCRXK,GAAiBhsB,EAAQ,QAE/B8lB,EAAA,KAAI8F,IAAII,IAERlG,EAAA,KAAI/M,OAAOkT,eAAgB,EAE3BnG,EAAA,KAAIoG,OACF9F,SACE+F,QADO,SACCnR,EAAKoR,EAAM9I,EAAK+I,GAAsB,IAAZC,EAAYhT,UAAAza,OAAA,QAAAsc,IAAA7B,UAAA,GAAAA,UAAA,GAAJ,KACpCiT,EAAavR,EAAIoR,GACP,OAAVE,IACFC,EAAaD,GAEftR,EAAIoR,GAAQ9I,EACZ,IAAI3O,EAAQ,WACVqG,EAAIoR,GAAQG,GAEdnC,WAAWzV,EAAO0X,OAKxBvG,EAAA,KAAIvK,OAAO,eAAgB,SAACpa,GAC1B,GAAIA,EACF,OAAOmgB,IAAOkL,OAAOrrB,IAAQsrB,OAAO,oBAIxC3G,EAAA,KAAIvK,OAAO,WAAY,SAACpa,GACtB,GAAIA,EACF,OAAOmgB,IAAOkL,OAAOrrB,IAAQsrB,OAAO,cAIxC,IAAI3G,EAAA,MACFgG,UACAY,OAAQ,SAAAnQ,GAAA,OAAKA,EAAEzI,MACd6Y,OAAO","file":"js/app.e0b6f2db.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EndpointList.vue?vue&type=style&index=0&id=a79b1f96&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EndpointList.vue?vue&type=style&index=0&id=a79b1f96&lang=scss&scoped=true&\"","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) { // check for number or string\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn id;\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UrlBar.vue?vue&type=style&index=0&id=79f5869a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UrlBar.vue?vue&type=style&index=0&id=79f5869a&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./All.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./All.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=style&index=0&id=177480b1&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=style&index=0&id=177480b1&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceForm.vue?vue&type=style&index=0&id=96f535e6&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/lib/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceForm.vue?vue&type=style&index=0&id=96f535e6&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex flex-column h-100\",attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2b1e888b&\"\nvar script = {}\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"App.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vandal\",class:{ creating: _vm.creating, modalIsOpen: _vm.modalIsOpen }},[_c('div',{staticClass:\"overlay\"}),(_vm.schema)?_c('div',{staticClass:\"top-level-contents\",class:{ resetting: _vm.resetting }},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-3 left-rail\"},[_c('div',{staticClass:\"card\"},[_c('endpoint-list',{attrs:{\"endpoints\":_vm.schema.endpoints},on:{\"toggle\":_vm.toggleEndpoint}},[_c('div',{staticClass:\"submission clearfix\"},[_c('a',{staticClass:\"reset\",on:{\"click\":function($event){_vm.reset(_vm.query.endpoint)}}},[_vm._v(\"Reset\")]),_c('button',{staticClass:\"col-6 float-right btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){_vm.fetch()}}},[_vm._v(\"\\n Submit »\\n \")])]),_c('resource-form',{attrs:{\"query\":_vm.query,\"schema\":_vm.schema,\"depth\":0,\"isShowAction\":_vm.isShowAction},on:{\"submit\":_vm.fetch}})],1)],1)]),_c('div',{staticClass:\"col-9 main\"},[_c('url-bar',{attrs:{\"schema\":_vm.schema,\"query\":_vm.query,\"firing\":_vm.firing}}),_c('div',{class:'request card '+ _vm.currentTab.name+''},[_c('transition',{attrs:{\"name\":\"request-card\"}},[(_vm.query && _vm.query.ready && !_vm.query.error)?_c('div',{key:\"1\",staticClass:\"is-ready\"},[_c('div',{staticClass:\"card-header\"},[_c('ul',{staticClass:\"nav nav-tabs card-header-tabs\"},[_c('li',{staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link\",class:{ active: _vm.currentTab.name == 'results' },on:{\"click\":function($event){_vm.tab(0)}}},[_vm._v(\"\\n Results\\n \")])]),_c('li',{staticClass:\"nav-item\"},[_c('a',{staticClass:\"nav-link\",class:{ active: _vm.currentTab.name == 'raw' },on:{\"click\":function($event){_vm.tab(1)}}},[_vm._v(\"\\n Raw\\n \")])])])]),_c('div',{staticClass:\"card-body\"},[(_vm.currentTab.name == 'raw')?_c('div',[(_vm.query.data.json)?_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_vm._v(\" \"),_c('code',{staticClass:\"json\"},[_vm._v(_vm._s(_vm.query.data.json))]),_vm._v(\"\\n \")]):_vm._e()]):_vm._e(),(_vm.currentTab.name == 'results')?_c('div',{staticClass:\"loading-area\",class:{ 'loading-area-active': _vm.isLoading }},[_c('data-table',{attrs:{\"depth\":0,\"object\":_vm.query.data,\"isShowAction\":_vm.isShowAction}})],1):_vm._e()])]):_c('div',{staticClass:\"is-not-ready\"},[_vm._v(\"\\n Use the left side to configure and fire a request.\\n \")])]),(_vm.query && _vm.query.error)?_c('div',[_c('div',{staticClass:\"alert alert-danger\",attrs:{\"role\":\"alert\"}},[_vm._v(\"\\n \"+_vm._s(_vm.query.error)+\"\\n\\n \"),(!_vm.query.hasRawError)?_c('div',[_c('br'),_c('span',{staticClass:\"text-muted\"},[_vm._v(\"Server configured to hide additional debug information.\")])]):_vm._e()])]):_vm._e()],1)],1)])]):_c('div',[_vm._v(\"\\n Loading...\\n \")]),_c('transition',{attrs:{\"name\":\"modal\"}},[(_vm.modalIsOpen)?_c('div',{staticClass:\"modal\",attrs:{\"tabindex\":\"-1\",\"role\":\"dialog\"}},[_c('div',{staticClass:\"modal-dialog\",attrs:{\"role\":\"document\"}},[_c('div',{staticClass:\"modal-content\"},[_c('div',{staticClass:\"modal-header\"},[_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){_vm.onModalToggle()}}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"modal-body\"},[_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_vm._v(\" \"),_c('code',{staticClass:\"json\"},[_vm._v(_vm._s(_vm.modalContent))]),_vm._v(\"\\n \")])])])])]):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export class Schema {\n json: any\n\n constructor(json: any) {\n this.json = json\n // this._processRemoteResources()\n }\n\n getResource(name: string) {\n let resource = this.json.resources.find((r: any) => {\n return r.name == name\n })\n return resource\n }\n\n resourceFor(endpoint: any) {\n let [path, action] = endpoint.split('#')\n let resourceName = this.json.endpoints[path]['actions'][action].resource\n return this.getResource(resourceName)\n }\n\n get endpoints() {\n let endpoints = [] as any\n Object.keys(this.json.endpoints).forEach((path) => {\n Object.keys(this.json.endpoints[path].actions).forEach((action) => {\n endpoints.push(`${path}#${action}`)\n })\n })\n return endpoints\n }\n\n async _processRemoteResources() {\n this.json.resources.forEach( async (r) => {\n if (r.remote) {\n // TODO: need some manual schema option server-side\n // maybe 'remote' is option, but also schema (in our shcma)\n // TODO CORS (at least docs)\n let split = r.remote.split('/')\n split.shift()\n split.shift()\n split.shift()\n let path = `/${split.join('/')}`\n split.pop()\n let baseUrl = `/${split.join('/')}`\n\n split.pop()\n let url = `${baseUrl}/schema.json`\n let remoteSchema = await this._fetch(url) as any\n\n Object.keys(remoteSchema.json.endpoints).forEach((k) => {\n let config = remoteSchema.json.endpoints[k]\n if (k === path) {\n let remoteResourceJson = remoteSchema.getResource(config.actions.index.resource)\n this._addRemoteResource(remoteSchema, r, remoteResourceJson)\n }\n })\n }\n })\n }\n\n _addRemoteResource(remoteSchema, localRemoteResource, remoteResource) {\n // We're going to merge this to the local remote\n // but we want to keep the local remote name\n delete remoteResource.name\n\n // The local remote now has all info\n Object.assign(localRemoteResource, remoteResource)\n\n // Add further sideloads to the schema\n this._addRemoteRelationships(remoteSchema, remoteResource.relationships)\n }\n\n _addRemoteRelationships(remoteSchema, relationships) {\n Object.keys(relationships).forEach((k) => {\n let relationship = relationships[k]\n let existing = this.getResource(relationship.resource)\n if (!existing) {\n let resource = remoteSchema.getResource(relationship.resource)\n if (resource) {\n this.json.resources.push(resource)\n this._addRemoteRelationships(remoteSchema, resource.relationships)\n } else {\n console.log('NOT FOUND', relationship.resource)\n }\n }\n })\n }\n\n async _fetch(url) {\n let headers = new Headers()\n headers.append('pragma', 'no-cache')\n headers.append('cache-control', 'no-cache')\n let init = { method: 'GET', headers }\n let request = new Request(url)\n let schemaJson = await (await fetch(request)).json()\n return new Schema(schemaJson)\n }\n}","const parameterize = (obj: any, prefix?: string): string => {\n let str = []\n\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n const value = obj[key]\n\n if (value !== undefined && value !== null && value !== \"\") {\n if (prefix) {\n key = `${prefix}[${key}]`\n }\n\n if (Array.isArray(value)) {\n if (value.length > 0) {\n str.push(`${key}=${value.join(\",\")}`)\n }\n } else if (typeof value === \"object\") {\n str.push(parameterize(value, key))\n } else {\n str.push(`${key}=${value}`)\n }\n }\n }\n }\n\n // remove blanks\n str = str.filter(p => {\n return !!p\n })\n\n return str.join(\"&\")\n}\n\nexport { parameterize as default }","export const eachPair = (object: any, callback: Function) => {\n Object.keys(object).forEach((k) => {\n let value = object[k]\n callback(k, value)\n })\n}","import { eachPair } from \"@/util/each-pair\"\n\nexport class ResponseTable {\n schema: any\n resource: any\n json: any\n rows: any[]\n includeHash: any\n headers: string[]\n selectedRow: any\n css: any\n\n constructor(schema: any, resource: any, json: any, rowData: any, includeHash: any) {\n this.schema = schema\n this.resource = resource\n this.selectedRow = null\n this.json = json\n this.includeHash = includeHash\n\n this._buildRows(rowData)\n this._buildRelationships()\n this._buildHeaders()\n this._buildCSS()\n }\n\n // Used by Modal\n formattedJSON() {\n let json = {} as any\n let rows = this.rows\n if (this.selectedRow) rows = [this.selectedRow]\n rows = rows.map((r) => {\n let row = {} as any\n eachPair(r.attrs, (key, value) => { row[key] = value.value })\n eachPair(r.relationships, (key, value) => {\n row[key] = value.formattedJSON().data\n })\n return row\n })\n\n json.data = rows\n return json\n }\n\n private _buildRows(rowData: any[]) {\n if (!Array.isArray(rowData)) rowData = [rowData]\n this.rows = rowData.map((r: any) => {\n return this.buildRow(this.resource, r)\n })\n }\n\n private _buildHeaders() {\n let headers = [] as any\n if (this.rows.length > 0) {\n this.rows.forEach((r) => {\n Object.keys(r.attrs).forEach((h) => {\n if (headers.indexOf(h) === -1) headers.push(h)\n })\n })\n }\n this.headers = headers\n }\n\n private _buildCSS() {\n let sorted = this.rows.map((r) => {\n return r.attrs.id.value.toString().length\n })\n let max = sorted.sort()[sorted.length-1]\n this.css = `columns-${this.headers.length} id-length-${max}`\n }\n\n // row building\n\n private _resourceAttributes() {\n if (this.resource.polymorphic) {\n let attrs = this.resource.attributes\n this.resource.children.forEach((resourceName: string) => {\n let childResource = this.schema.getResource(resourceName)\n attrs = Object.assign({}, attrs, childResource.attributes)\n })\n return attrs\n } else {\n return this.resource.attributes\n }\n }\n\n private _resourceRelationships() {\n if (this.resource.polymorphic) {\n let rels = this.resource.relationships || {}\n this.resource.children.forEach((resourceName: string) => {\n let childResource = this.schema.getResource(resourceName)\n rels = Object.assign({}, rels, childResource.relationships)\n })\n return rels\n } else {\n return this.resource.relationships\n }\n }\n\n private _buildRowAttributes(schemaResource, jsonResource) {\n console.log('schema', schemaResource)\n console.log('json', jsonResource)\n let attrs = {\n id: {\n value: jsonResource.id,\n type: this._resourceAttributes().id.type\n }\n } as any\n\n if (schemaResource.polymorphic) {\n attrs._type = {\n value: jsonResource.type,\n type: 'string'\n }\n }\n\n eachPair(jsonResource.attributes, (name, value) => {\n let type = this._resourceAttributes()[name].type\n let obj = { [name]: { value, type } } as any\n Object.assign(attrs, obj)\n })\n\n return attrs\n }\n\n private _buildRelationshipNode(jsonRel) {\n let allNodes = this.json.data\n if (!Array.isArray(allNodes)) allNodes = [allNodes]\n allNodes = allNodes.concat(this.json.included)\n let node = allNodes.filter((n: any) => {\n return n.type === jsonRel.type && n.id === jsonRel.id\n })[0]\n return node\n }\n\n private _eachRelationship(schemaResource, jsonResource, callback) {\n let relationships = jsonResource.relationships || {}\n eachPair(relationships, (name, rel) => {\n let nested = this.includeHash[name]\n if (nested) {\n let config = this._resourceRelationships()[name]\n let relSchemaResource = this.schema.json.resources.filter((r: any) => {\n return r.name === config.resource\n })[0]\n if (config.type === 'polymorphic_belongs_to') {\n relSchemaResource = { polymorphic: true, children: config.resources }\n }\n\n let relData = rel.data\n let relRows = [] as any\n if (relData) {\n if (!Array.isArray(relData)) relData = [relData]\n relData.forEach((rd: any) => {\n relRows.push(this._buildRelationshipNode(rd))\n })\n callback(name, relSchemaResource, relRows, nested)\n } else {\n callback(name, relSchemaResource, [])\n }\n }\n })\n }\n\n private _buildRelationships() {\n this.rows.forEach((row) => {\n row.relationships = {} as any\n this._eachRelationship(row.schemaResource, row.jsonResource, (name, schemaResource, rows, nestedInclude) => {\n row.relationships[name] = new ResponseTable(this.schema, schemaResource, this.json, rows, nestedInclude)\n })\n row.hasRelationships = Object.keys(row.relationships).length > 0\n })\n }\n\n private buildRow(schemaResource: any, jsonResource: any) {\n let attrs = this._buildRowAttributes(schemaResource, jsonResource)\n let row = { attrs, schemaResource, jsonResource }\n return row\n }\n}","import parameterize from \"@/util/parameterize\"\nimport { ResponseTable } from \"@/response-table\"\nimport moment from \"moment\"\n\nexport class Query {\n resource: any\n endpoint: string\n schema: any\n\n sorts: any[]\n filters: any[]\n page: any\n fields: any\n\n data: any\n headers: any[]\n json: any\n error: string\n hasRawError: boolean\n\n url: string | null\n urlWithDomain: string | null\n relationships: any\n possibleRelationships: any\n relationshipPath: string\n\n ready: boolean\n editingRelationship: boolean\n endpointIdParam: any\n\n constructor(schema: any, resource: any, endpoint?: string, relationshipPath?: string) {\n this.resource = resource\n console.log(this.resource)\n this.endpoint = endpoint\n this.ready = false\n this.sorts = [{ name: null, dir: 'asc' }]\n this.filters = [{ name: null, operator: 'eq', error: null }]\n this.data = {}\n this.headers = []\n this.url = null\n this.urlWithDomain = null\n this.page = {}\n this.relationships = {}\n this.fields = {}\n this.relationshipPath = relationshipPath\n this.editingRelationship = false\n this.schema = schema\n this.endpointIdParam = null\n this.error = null\n this.hasRawError = false\n this.possibleRelationships = this.derivePossibleRelationships()\n\n if (this.isShowRoute()) {\n this.filters = [{ name: 'id', operator: 'eq', required: true, error: null }]\n }\n }\n\n derivePossibleRelationships() : any {\n if (this.resource.polymorphic) {\n let relationships = Object.assign({}, this.resource.relationships)\n this.resource.children.forEach((name: string) => {\n let childResource = this.schema.getResource(name)\n Object.assign(relationships, childResource.relationships)\n })\n return relationships\n } else {\n return this.resource.relationships\n }\n }\n\n isShowRoute() : boolean {\n return this.endpoint && this.endpoint.includes('#show')\n }\n\n hasFilterValue(name: string) {\n let found = this.filters.filter((f) => {\n return f.name === name\n })[0]\n return !!(found && found.value)\n }\n\n generateParams() {\n let params = {}\n Object.assign(params, { filter: this.filterParams() })\n Object.assign(params, { sort: this.sortParams().join(',') })\n Object.assign(params, { page: this.paginationParams() })\n Object.assign(params, { include: this.includes().join(',') })\n Object.assign(params, { fields: this.fieldParams() })\n return params\n }\n\n generateUrl() {\n let params = this.generateParams()\n let [path, action] = this.endpoint.split('#')\n let paramStr = parameterize(params)\n if (this.endpointIdParam) path = `${path}/${this.endpointIdParam}`\n if (paramStr.length > 0) path = `${path}?${paramStr}`\n return path\n }\n\n generateCurl() {\n let url = this.urlWithDomain\n let [base, params] = url.split('?')\n // params = encodeURIComponent(params)\n url = base\n if (params != 'undefined') {\n url = `${url}?${params}`\n }\n return `curl -g -H 'Content-Type: application/json' '${url}'`\n }\n\n async fire() {\n this.url = this.generateUrl()\n this.urlWithDomain = `${window.location.origin}${this.url}`\n\n let headers = new Headers()\n headers.append('pragma', 'no-cache')\n headers.append('cache-control', 'no-cache')\n let init = { method: 'GET', headers }\n let request = new Request(this.url)\n this.json = await (await fetch(request)).json()\n this.ready = true\n this.hasRawError = false\n this.error = null\n\n if (this.json.errors) {\n let error = this.json.errors[0]\n let message = error.detail\n let raw = error.meta.__raw_error__\n if (raw) {\n message = raw.message\n this.hasRawError = true\n }\n this.error = message\n } else {\n this.data = new ResponseTable(this.schema, this.resource, this.json, this.json.data, this.includeHash())\n }\n }\n\n // param generation\n\n filterParams() {\n let _filters = {} as any\n this.filters.forEach((filter) => {\n if (filter.name) {\n if (filter.name === 'id' && this.isShowRoute()) {\n this.endpointIdParam = filter.value\n } else {\n let param = {} as any\n\n if (this.resource.filters[filter.name].type === 'datetime') {\n param[filter.operator] = moment(filter.value, 'M/D/YYYY h:mma').toISOString()\n } else {\n param[filter.operator] = filter.value\n }\n\n let name = filter.name\n if (this.relationshipPath) {\n name = `${this.relationshipPath}.${name}`\n }\n\n _filters[name] = param\n }\n }\n })\n\n Object.keys(this.relationships).forEach((k) => {\n let nestedRequest = this.relationships[k]\n let nested = nestedRequest.filterParams()\n Object.assign(_filters, nested)\n })\n\n return _filters\n }\n\n sortParams() {\n let _sorts = [] as any\n this.sorts.forEach((sort) => {\n if (sort.name) {\n let param = sort.name\n\n if (this.relationshipPath) {\n param = `${this.relationshipPath}.${param}`\n }\n\n if (sort.dir == 'desc') {\n param = `-${param}`\n }\n _sorts.push(param)\n }\n })\n\n Object.keys(this.relationships).forEach((k) => {\n let nestedRequest = this.relationships[k]\n nestedRequest.sortParams().forEach((s: string) => {\n _sorts.push(s)\n })\n })\n\n return _sorts\n }\n\n paginationParams() {\n let params = {} as any\n Object.keys(this.page).forEach((k) => {\n let name = k\n\n if (this.relationshipPath) {\n name = `${this.relationshipPath}.${name}`\n }\n\n params[name] = this.page[k]\n })\n\n Object.keys(this.relationships).forEach((k) => {\n let nestedRequest = this.relationships[k]\n Object.assign(params, nestedRequest.paginationParams())\n })\n\n return params\n }\n\n includes() : string[] {\n let _includes = [] as any\n\n Object.keys(this.relationships).forEach((k) => {\n let nestedRequest = this.relationships[k]\n nestedRequest.includes().forEach((i: string) => {\n _includes.push(i)\n })\n })\n\n if (_includes.length === 0) {\n _includes.push(this.relationshipPath)\n }\n\n return _includes\n }\n\n includeHash() {\n let hash = {}\n this.includes().forEach((path) => {\n if (path) {\n const [last, ...paths] = path.split('.').reverse()\n Object.assign(hash, paths.reduce((acc, el) => ({ [el]: acc }), { [last]: {} }))\n }\n })\n return hash\n }\n\n fieldParams() {\n let _fields = {} as any\n\n let selectedFields = Object.keys(this.fields)\n if (selectedFields.length > 0) {\n _fields[this.resource.type] = selectedFields.join(',')\n }\n\n Object.keys(this.relationships).forEach((k) => {\n let nestedRequest = this.relationships[k]\n Object.assign(_fields, nestedRequest.fieldParams())\n })\n\n return _fields\n }\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"resource-form\"},[_c('form',{staticClass:\"config\",on:{\"submit\":function($event){$event.preventDefault();_vm.$emit('submit')}}},[(!_vm.isRelationship)?_c('button',{staticClass:\"btn btn-primary\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"hidden\"}},[_vm._v(\"Submit\")]):_vm._e(),_c('div',{staticClass:\"query-inputs\",class:{ hide: _vm.query.editingRelationship }},[_c('div',{staticClass:\"section filters first form-group\"},[_c('label',[_vm._v(\"Filters\")]),_c('a',{staticClass:\"add\",on:{\"click\":_vm.addFilter}},[_vm._v(\"Add +\")]),_c('transition-group',{attrs:{\"name\":\"form-input-section\"}},_vm._l((_vm.query.filters),function(filter,index){return _c('div',{key:index,staticClass:\"form-group filter\",class:{ error: filter.error }},[_c('div',{staticClass:\"clearfix form-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(filter.name),expression:\"filter.name\"}],staticClass:\"filter-name col-8 float-left form-control\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(filter, \"name\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"disabled\":\"\",\"value\":\"null\"}},[_vm._v(\"Choose\")]),_vm._l((_vm.query.resource.filters),function(config,name){return _c('option',{key:name},[_vm._v(\"\\n \"+_vm._s(name)+\"\\n \")])})],2),(filter.name)?_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(filter.operator),expression:\"filter.operator\"}],staticClass:\"col-3 float-left form-control\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(filter, \"operator\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.query.resource.filters[filter.name].operators),function(operator){return _c('option',{key:operator},[_vm._v(\"\\n \"+_vm._s(operator)+\"\\n \")])})):_c('select',{staticClass:\"col-3 float-left form-control\"},[_c('option',{attrs:{\"selected\":\"\",\"disabled\":\"\"}},[_vm._v(\"eq\")])])]),_c('div',{staticClass:\"clearfix\"},[(filter.name && _vm.query.resource.filters[filter.name].type === 'boolean')?_c('div',{staticClass:\"boolean-toggle\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(filter.value),expression:\"filter.value\"}],staticClass:\"ios-toggle\",attrs:{\"type\":\"checkbox\",\"name\":filter.name,\"id\":filter.name},domProps:{\"checked\":Array.isArray(filter.value)?_vm._i(filter.value,null)>-1:(filter.value)},on:{\"change\":function($event){var $$a=filter.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(filter, \"value\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(filter, \"value\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(filter, \"value\", $$c)}}}}),_c('label',{staticClass:\"checkbox-label\",attrs:{\"for\":filter.name,\"data-off\":\"off\",\"data-on\":\"on\"}})]):(filter.name && _vm.query.resource.filters[filter.name].allow)?_c('div',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(filter.value),expression:\"filter.value\"}],staticClass:\"filter-value form-control col-10 float-left\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(filter, \"value\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"disabled\":\"\",\"value\":\"undefined\"}},[_vm._v(\"Choose\")]),_vm._l((_vm.query.resource.filters[filter.name].allow),function(value){return _c('option',{key:value},[_vm._v(\"\\n \"+_vm._s(value)+\"\\n \")])})],2)]):(filter.name && _vm.query.resource.filters[filter.name].type === 'date')?_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(filter.value),expression:\"filter.value\"}],staticClass:\"filter-value float-left col-10 form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"M/D/YYYY\"},domProps:{\"value\":(filter.value)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(filter, \"value\", $event.target.value)}}})]):(filter.name && _vm.query.resource.filters[filter.name].type === 'datetime')?_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(filter.value),expression:\"filter.value\"}],staticClass:\"filter-value float-left col-10 form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"M/D/YYYY h:mma\"},domProps:{\"value\":(filter.value)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(filter, \"value\", $event.target.value)}}})]):_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(filter.value),expression:\"filter.value\"}],staticClass:\"filter-value float-left col-10 form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"Enter Filter Value Here\"},domProps:{\"value\":(filter.value)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(filter, \"value\", $event.target.value)}}})]),_c('a',{staticClass:\"remove col-1\",on:{\"click\":function($event){_vm.removeFilter(filter)}}},[_vm._v(\"x\")])]),(filter.required)?_c('div',{staticClass:\"required-filter text-muted\"},[_vm._v(\"\\n Required\\n \")]):_vm._e()])}))],1),_c('div',{staticClass:\"section sorts form-group\"},[_c('label',[_vm._v(\"Sorts\")]),_c('a',{staticClass:\"add\",on:{\"click\":_vm.addSort}},[_vm._v(\"Add +\")]),_c('transition-group',{attrs:{\"name\":\"form-input-section\"}},_vm._l((_vm.query.sorts),function(sort,index){return _c('div',{key:index,staticClass:\"form-group clearfix\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(sort.name),expression:\"sort.name\"}],staticClass:\"filter-name col-7 float-left form-control\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(sort, \"name\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"disabled\":\"\",\"value\":\"null\"}},[_vm._v(\"Choose\")]),_vm._l((_vm.query.resource.sorts),function(config,name){return _c('option',{key:name},[_vm._v(\"\\n \"+_vm._s(name)+\"\\n \")])})],2),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(sort.dir),expression:\"sort.dir\"}],staticClass:\"col-3 float-left form-control\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(sort, \"dir\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{\"selected\":\"\"}},[_vm._v(\"asc\")]),_c('option',[_vm._v(\"desc\")])]),_c('a',{staticClass:\"remove col-1\",on:{\"click\":function($event){_vm.removeSort(sort)}}},[_vm._v(\"x\")])])}))],1),_c('div',{staticClass:\"section form-pagination form-group\"},[_c('label',[_vm._v(\"Pagination\")]),(_vm.isShowAction || !_vm.isRelationship)?_c('div',{staticClass:\"form-group clearfix\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query.page.number),expression:\"query.page.number\"}],staticClass:\"col-5 float-left form-control\",attrs:{\"type\":\"number\",\"placeholder\":\"Number\"},domProps:{\"value\":(_vm.query.page.number)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.query.page, \"number\", $event.target.value)}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query.page.size),expression:\"query.page.size\"}],staticClass:\"col-5 float-left size form-control\",attrs:{\"type\":\"number\",\"placeholder\":\"Size\"},domProps:{\"value\":(_vm.query.page.size)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.query.page, \"size\", $event.target.value)}}}),_c('a',{staticClass:\"remove col-1\",on:{\"click\":function($event){_vm.removePagination()}}},[_vm._v(\"x\")])]):_c('div',{staticClass:\"form-group clearfix text-muted\"},[_vm._v(\"\\n Only #show supports nested pagination\\n \")])])]),_c('div',{staticClass:\"relationships section form-group\",class:( _obj = { 'editing-subrelationship': _vm.query.editingRelationship, nested: (_vm.query.editingRelationship && _vm.isRelationship), 'active-subrelationship': _vm.isActiveSubrelationship, 'inactive-subrelationship': !_vm.isActiveSubrelationship }, _obj['depth-'+_vm.depth] = true, _obj )},[(!(_vm.query.editingRelationship && _vm.isRelationship))?_c('label',[_vm._v(\"Relationships\")]):_vm._e(),_vm._l((_vm.query.possibleRelationships),function(config,name){return _c('div',{key:name,staticClass:\"relationship clearfix\",class:( _obj = { selected: _vm.query.relationships[name], hide: (_vm.query.editingRelationship && _vm.query.editingRelationship != _vm.query.relationships[name]) }, _obj['depth-'+_vm.depth] = true, _obj )},[_c('a',{staticClass:\"toggle clearfix\",on:{\"click\":function($event){_vm.toggleRelationship(name, config)}}},[_c('div',{staticClass:\"float-left name\"},[_vm._v(_vm._s(name))]),(_vm.isActiveSubrelationship)?_c('span',[(_vm.query.relationships[name])?_c('div',{staticClass:\"badge badge-pill badge-info\"},[_vm._v(\"✓\")]):_vm._e()]):_vm._e()]),(_vm.query.relationships[name])?_c('a',{staticClass:\"remove-field\",on:{\"click\":function($event){_vm.removeRelationship(name)}}},[_vm._v(\"Remove\")]):_vm._e()])\nvar _obj;})],2),_vm._l((_vm.query.relationships),function(config,name){return _c('div',{key:name},[(_vm.query.relationships[name])?_c('div',{class:{ hidden: _vm.query.editingRelationship != _vm.query.relationships[name] }},[_c('resource-form',{attrs:{\"query\":_vm.query.relationships[name],\"schema\":_vm.schema,\"is-relationship\":true,\"isShowAction\":_vm.isShowAction,\"depth\":_vm.depth+1},on:{\"editRelationship\":_vm.onSubrelationshipEdit,\"doneEditRelationship\":_vm.onSubrelationshipDoneEdit}})],1):_vm._e()])}),_c('div',{staticClass:\"fields section form-group\",class:{ hide: _vm.query.editingRelationship }},[_c('label',[_vm._v(\"Fields\")]),_vm._l((_vm.query.resource.attributes),function(config,name){return (config.readable && name != 'id')?_c('div',{key:name,staticClass:\"field clearfix\",class:{ selected: _vm.query.fields[name] }},[_c('a',{staticClass:\"toggle clearfix\",on:{\"click\":function($event){_vm.toggleField(name, config)}}},[_c('span',{staticClass:\"name\"},[_vm._v(_vm._s(name))]),(_vm.query.fields[name])?_c('span',{staticClass:\"badge badge-pill badge-info\"},[_vm._v(\"✓\")]):_vm._e()])]):_vm._e()})],2)],2)])\nvar _obj;}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Query } from '@/query'\n\nexport default Vue.extend({\n name: 'resource-form',\n props: ['query', 'isShowAction', 'isRelationship', 'schema', 'depth'],\n data() {\n return {\n subRelationshipNames: [] as string[],\n isActiveSubrelationship: false as boolean\n }\n },\n created() {\n },\n computed: {\n },\n methods: {\n addFilter() {\n this.query.filters.push({ name: null, operator: 'eq', error: null })\n },\n removeFilter(filter: any) {\n if (filter.required) {\n filter.value = null\n } else {\n let index = this.query.filters.indexOf(filter)\n this.query.filters.splice(index, 1)\n if (this.query.filters.length < 1) {\n this.addFilter()\n }\n }\n },\n addSort() {\n this.query.sorts.push({ name: null, dir: 'asc', delete: false })\n },\n removeSort(sort: any) {\n let index = this.query.sorts.indexOf(sort)\n this.query.sorts.splice(index, 1)\n if (this.query.sorts.length === 0) {\n this.addSort()\n }\n },\n removePagination() {\n this.query.page = { number: null, size: null}\n },\n selectRelationship(name: string, config: any) {\n let subResource = this.schema.getResource(config.resource)\n // NB: doesn't support fields yet b/c ?fields[type] - dont know type\n if (config.type === 'polymorphic_belongs_to') {\n let relationships = {}\n config.resources.forEach((r: any) => {\n let resource = this.schema.getResource(r)\n Object.assign(relationships, resource.relationships)\n })\n subResource = {\n polymorphic: true,\n children: config.resources,\n relationships\n }\n }\n let relationshipPath = name\n if (this.query.relationshipPath) {\n relationshipPath = `${this.query.relationshipPath}.${name}`\n }\n let subQuery = new Query(this.schema, subResource, null, relationshipPath)\n this.$set(this.query.relationships, name, subQuery)\n },\n removeRelationship(name: string) {\n this.$delete(this.query.relationships, name)\n this.doneEditingRelationship(name)\n },\n toggleRelationship(name: string, config: any) {\n if (this.query.editingRelationship) {\n this.doneEditingRelationship(name)\n } else if (this.query.relationships[name]) {\n this.editRelationship(name, this.query.relationships[name])\n } else {\n console.log('here', name, config)\n this.selectRelationship(name, config)\n }\n },\n editRelationship(name: string, subQuery: any) {\n this.$emit('editRelationship', name)\n this.query.editingRelationship = subQuery\n this.isActiveSubrelationship = true\n },\n doneEditingRelationship(name: string) {\n this.query.editingRelationship = false\n this.isActiveSubrelationship = false\n this.$emit('doneEditRelationship', name)\n },\n toggleField(name: string) {\n if (this.query.fields[name]) {\n this.$delete(this.query.fields, name)\n } else {\n this.$set(this.query.fields, name, true)\n }\n },\n onSubrelationshipEdit(name: string) {\n this.isActiveSubrelationship = false\n },\n onSubrelationshipDoneEdit(name: string) {\n this.isActiveSubrelationship = true\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResourceForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ResourceForm.vue?vue&type=template&id=96f535e6&scoped=true&\"\nimport script from \"./ResourceForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./ResourceForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ResourceForm.vue?vue&type=style&index=0&id=96f535e6&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"96f535e6\",\n null\n \n)\n\ncomponent.options.__file = \"ResourceForm.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"data-table\",class:{ inactive: !_vm.active }},[_c('div',{staticClass:\"contents\"},[(_vm.label)?_c('div',{staticClass:\"relationship-label\"},[_c('span',{staticClass:\"arrow\"},[_vm._v(\"↳\")]),_vm._v(\" \"+_vm._s(_vm.label)+\"\\n \")]):_vm._e(),(_vm.object.rows.length > 0)?_c('div',{staticClass:\"clearfix view-as-json\"},[_c('a',{on:{\"click\":function($event){_vm.jsonView(_vm.object)}}},[_vm._v(\"View as JSON\")])]):_vm._e(),(_vm.object.rows.length > 0)?_c('div',{staticClass:\"table-wrapper\"},[_c('table',{staticClass:\"results table table-hover table-borderless\",class:( _obj = { 'has-selection': _vm.object.selectedRow, 'is-sub-table': _vm.isSubTable }, _obj[_vm.object.css] = true, _obj )},[_c('thead',[_c('tr',_vm._l((_vm.object.headers),function(header){return _c('th',{key:header},[_vm._v(\"\\n \"+_vm._s(header)+\"\\n \")])}))]),_c('tbody',_vm._l((_vm.object.rows),function(row){return _c('tr',{key:row.attrs.id.value,staticClass:\"data-row\",class:{ selected: _vm.object.selectedRow === row, 'has-relationships': row.hasRelationships },on:{\"click\":function($event){_vm.toggleRow(row)}}},_vm._l((row.attrs),function(config,key){return _c('td',{key:key,class:( _obj = {}, _obj['type-'+config.type] = true, _obj )},[_c('div',{staticClass:\"td-contents\"},[(config.type == 'datetime')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm._f(\"dateTimeType\")(config.value))+\"\\n \")]):(config.type == 'date')?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm._f(\"dateType\")(config.value))+\"\\n \")]):_c('div',[_vm._v(\"\\n \"+_vm._s(config.value)+\"\\n \")])])])\nvar _obj;}))}))])]):_c('div',{staticClass:\"card\"},[_vm._v(\"\\n No Data\\n \")]),_c('transition',{attrs:{\"name\":\"relationship-table\"}},[((_vm.depth === 0 && _vm.isShowAction) || _vm.object.selectedRow)?_c('span',_vm._l((_vm.relationships),function(data,key){return _c('data-table',{key:key,attrs:{\"label\":key,\"object\":data,\"isSubTable\":true,\"depth\":_vm.depth+1,\"isShowAction\":_vm.isShowAction},on:{\"rowClick\":_vm.onSubRowClick}})})):_vm._e()])],1)])\nvar _obj;}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nconst EventBus = new Vue()\nexport default EventBus","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport EventBus from '@/event-bus.ts'\n\nexport default Vue.extend({\n name: 'data-table',\n props: ['object', 'depth', 'label', 'isShowAction', 'isSubTable'],\n data() {\n return {\n active: true\n }\n },\n computed: {\n relationships() : any {\n if (this.isShowAction && this.depth === 0) {\n return this.object.rows[0].relationships\n } else {\n return this.object.selectedRow.relationships\n }\n }\n },\n methods: {\n jsonView(object: any) {\n EventBus.$emit('modalToggle', object.formattedJSON())\n },\n toggleRow(row: any) {\n if (this.object.selectedRow) {\n this.object.selectedRow = null\n } else {\n this.active = true\n this.object.selectedRow = row\n }\n },\n onSubRowClick(row: any) {\n if (row) {\n this.active = false\n } else {\n this.active = true\n }\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DataTable.vue?vue&type=template&id=177480b1&scoped=true&\"\nimport script from \"./DataTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./DataTable.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DataTable.vue?vue&type=style&index=0&id=177480b1&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"177480b1\",\n null\n \n)\n\ncomponent.options.__file = \"DataTable.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"endpoints\",class:{ 'has-selection': _vm.selection }},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control search\",attrs:{\"type\":\"search\",\"placeholder\":\"Search\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._l((_vm.filteredEndpoints),function(e){return _c('a',{key:e,staticClass:\"endpoint\",class:{ selected: _vm.selection === e }},[_c('div',{staticClass:\"path\",on:{\"click\":function($event){_vm.toggle(e)}}},[(_vm.selection === e)?_c('span',[_vm._v(\"« \")]):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm._f(\"endpointDisplay\")(e))+\"\\n \")]),(_vm.selection === e)?_c('span',[_vm._t(\"default\")],2):_vm._e()])})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\n\nexport default Vue.extend({\n name: 'endpoint-list',\n props: ['endpoints'],\n data() {\n return {\n selection: null as any,\n query: null as string | null\n }\n },\n filters: {\n endpointDisplay: function (endpoint: string) {\n let split = endpoint.split('/')\n return split[split.length-1]\n }\n },\n computed: {\n filteredEndpoints() : string[] {\n let filtered = this.endpoints.filter((e: string) => {\n // only reads for now\n return e.includes('#index') || e.includes('#show')\n })\n\n if (this.query) {\n return filtered.filter((e: string) => {\n return e.includes(this.query)\n })\n } else {\n return filtered\n }\n },\n },\n methods: {\n toggle(endpoint: string) {\n if (this.selection) {\n this.selection = null\n } else {\n this.selection = endpoint\n }\n this.$emit('toggle', this.selection)\n }\n }\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EndpointList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EndpointList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EndpointList.vue?vue&type=template&id=a79b1f96&scoped=true&\"\nimport script from \"./EndpointList.vue?vue&type=script&lang=ts&\"\nexport * from \"./EndpointList.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EndpointList.vue?vue&type=style&index=0&id=a79b1f96&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a79b1f96\",\n null\n \n)\n\ncomponent.options.__file = \"EndpointList.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"url-bar\"},[(_vm.query && _vm.query.endpoint)?_c('form',{staticClass:\"query clearfix\"},[_c('input',{attrs:{\"id\":\"copy-url\",\"type\":\"hidden\"},domProps:{\"value\":_vm.schema.json.base_url + _vm.query.url}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query.url),expression:\"query.url\"}],staticClass:\"form-control url\",class:{ firing: _vm.firing },attrs:{\"type\":\"text\",\"placeholder\":\"URL\"},domProps:{\"value\":(_vm.query.url)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.query, \"url\", $event.target.value)},_vm.buildQueryObject]}}),_c('div',{staticClass:\"btn-group url-controls\"},[_c('a',{staticClass:\"btn btn-secondary\",attrs:{\"title\":\"Copy\"},on:{\"click\":function($event){_vm.copyUrl()}}},[_c('i',{staticClass:\"fas fa-copy\"})]),_c('a',{staticClass:\"btn btn-secondary\",attrs:{\"href\":_vm.query.urlWithDomain,\"target\":\"_blank\",\"title\":\"Open in new tab\"}},[_c('i',{staticClass:\"fas fa-external-link-alt\"})]),_c('a',{staticClass:\"btn btn-secondary\",attrs:{\"title\":\"Copy as Curl\"},on:{\"click\":function($event){_vm.copyAsCurl()}}},[_c('i',{staticClass:\"fas fa-copyright\"})])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// this.query = new Query(this.schema, this.resource, endpoint)\n\nexport const urlToQuery = (url:string) => {\n url = '/api/v1/employees?sort=id&include=positions'\n let endpoint = '/'\n\n\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { urlToQuery } from \"@/util/url-to-query\"\n\nexport default Vue.extend({\n name: 'url-bar',\n props: ['schema', 'query', 'firing'],\n data() {\n return {\n }\n },\n computed: {\n },\n methods: {\n copyUrl() {\n navigator['clipboard'].writeText(this.query.urlWithDomain)\n },\n copyAsCurl() {\n navigator['clipboard'].writeText(this.query.generateCurl())\n },\n buildQueryObject() {\n let query = urlToQuery(this.query)\n }\n }\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UrlBar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UrlBar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./UrlBar.vue?vue&type=template&id=79f5869a&scoped=true&\"\nimport script from \"./UrlBar.vue?vue&type=script&lang=ts&\"\nexport * from \"./UrlBar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./UrlBar.vue?vue&type=style&index=0&id=79f5869a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"79f5869a\",\n null\n \n)\n\ncomponent.options.__file = \"UrlBar.vue\"\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Schema } from '@/schema'\nimport { Query } from '@/query'\nimport ResourceForm from '@/components/ResourceForm.vue'\nimport DataTable from '@/components/DataTable.vue'\nimport EndpointList from '@/components/EndpointList.vue'\nimport UrlBar from '@/components/UrlBar.vue'\nimport EventBus from '@/event-bus.ts'\n\nconst tabs = [\n { name: 'results' },\n { name: 'raw' },\n { name: 'debug' }\n]\n\nexport default Vue.extend({\n name: 'vandal',\n components: {\n EndpointList,\n DataTable,\n ResourceForm,\n UrlBar\n },\n data() {\n return {\n schema: null as any,\n query: null as null | Query,\n currentTab: tabs[0],\n creating: true,\n isLoading: false,\n path: null as any,\n resource: null as any,\n modalIsOpen: false,\n modalContent: null as string | null,\n firing: false as boolean,\n resetting: false as boolean\n }\n },\n created() {\n this.fetchSchema()\n let doneCreating = () => { this.creating = false }\n setTimeout(doneCreating, 1000)\n EventBus.$on('modalToggle', this.onModalToggle)\n },\n computed: {\n isShowAction() : any {\n if (this.query) return this.query.endpoint.includes('#show')\n }\n },\n methods: {\n onModalToggle(content: string) {\n this.modalContent = content\n this.modalIsOpen = !this.modalIsOpen\n },\n toggleEndpoint(endpoint: string) {\n if (endpoint) {\n this.resource = this.schema.resourceFor(endpoint)\n this.reset(endpoint, false)\n } else {\n this.resource = null\n this.query = null\n }\n },\n async fetchSchema() {\n let headers = new Headers()\n headers.append('pragma', 'no-cache')\n headers.append('cache-control', 'no-cache')\n let init = { method: 'GET', headers }\n let schemaPath = document.querySelector(\"meta[name='schema']\").getAttribute(\"content\");\n let request = new Request(schemaPath)\n let schemaJson = await (await fetch(request)).json()\n this.schema = new Schema(schemaJson)\n this.schema._processRemoteResources()\n return this.schema\n },\n reset(endpoint: string, animate: boolean = true) {\n if (animate) this.resetting = true\n this.query = new Query(this.schema, this.resource, endpoint)\n let doReset = () => { this.resetting = false }\n if (animate) setTimeout(doReset, 100)\n },\n async fetch() {\n if (this.validate()) {\n this.firing = true\n let unfire = () => {\n this.firing = false\n }\n setTimeout(unfire, 100)\n this.isLoading = true\n let then = Date.now()\n await this.query.fire()\n let now = Date.now()\n // Force min of 100ms\n await this.stall(100-(now - then))\n this.isLoading = false\n }\n },\n validate() {\n // Object.keys(this.query.resource.filters).forEach((k) => {\n // let filter = this.query.resource.filters[k]\n // if (filter.required && !this.query.hasFilterValue(k)) {\n // filter.error = true\n // }\n // })\n\n if (this.isShowAction) {\n let filter = this.query.filters.filter((f) => { return f.name === 'id' })[0]\n if (!filter.value) {\n this['tempSet'](filter, 'error', true, 1000)\n return false\n } else {\n filter.error = false\n return true\n }\n } else {\n return true\n }\n },\n tab(index: number) {\n this.currentTab = tabs[index]\n },\n stall(stallTime = 3000) {\n return new Promise(resolve => setTimeout(resolve, stallTime));\n }\n }\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./All.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./All.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./All.vue?vue&type=template&id=33f082c2&\"\nimport script from \"./All.vue?vue&type=script&lang=ts&\"\nexport * from \"./All.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./All.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"All.vue\"\nexport default component.exports","import Vue from 'vue'\nimport Router from 'vue-router'\nimport All from './views/All.vue'\n\nVue.use(Router)\n\nexport default new Router({\n base: '',\n routes: [\n {\n path: '/',\n name: 'vandal',\n component: All\n }\n ]\n})","import Vue from 'vue'\nimport App from './App.vue'\nimport router from './router'\nimport moment from 'moment'\nconst VueHighlightJS = require('vue-highlightjs')\n\nVue.use(VueHighlightJS)\n\nVue.config.productionTip = false\n\nVue.mixin({\n methods: {\n tempSet(obj, prop, val, duration, after = null) {\n let valueAfter = obj[prop]\n if (after !== null) {\n valueAfter = after\n }\n obj[prop] = val\n let reset = () => {\n obj[prop] = valueAfter\n }\n setTimeout(reset, duration)\n }\n }\n})\n\nVue.filter('dateTimeType', (value: any) => {\n if (value) {\n return moment(String(value)).format('M/D/YYYY h:mma')\n }\n})\n\nVue.filter('dateType', (value: any) => {\n if (value) {\n return moment(String(value)).format('M/D/YYYY')\n }\n})\n\nnew Vue({\n router,\n render: h => h(App)\n}).$mount('#app')\n"],"sourceRoot":""}