vandal_ui 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d5189c372a472c1fe5b58819abea869462392b04de0edb1128ca43fa9425c523
|
4
|
+
data.tar.gz: 390de33ba16ce22a929f854c48fd1b4a01f8580f4a9b7eb68d7f0b2999755459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 915ab0514d3a4814f5bbfb2beaff58b1db47c4528c9681e01f3e1579aed7ae24cc2c235ff1fe0e46c7fd027cd852faf430908a123b20d7fec2ef2f91e26aa44d
|
7
|
+
data.tar.gz: cbfb56852c0bd050f74f066ed686e186aed5a8a65695176834319a7fa268f9b2c3a56257180cd3ee55d1730d8d74403718b461aac9ad20de4947d5369ab59984
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=schema content=__SCHEMA_PATH__><link rel=stylesheet href=https://use.fontawesome.com/releases/v5.4.1/css/all.css integrity=sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz crossorigin=anonymous><title>vandal</title><link href=css/app.59d17783.css rel=preload as=style><link href=css/chunk-vendors.e6a6ca22.css rel=preload as=style><link href=js/app.
|
1
|
+
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><meta name=schema content=__SCHEMA_PATH__><link rel=stylesheet href=https://use.fontawesome.com/releases/v5.4.1/css/all.css integrity=sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz crossorigin=anonymous><title>vandal</title><link href=css/app.59d17783.css rel=preload as=style><link href=css/chunk-vendors.e6a6ca22.css rel=preload as=style><link href=js/app.f85601e5.js rel=preload as=script><link href=js/chunk-vendors.326f67bb.js rel=preload as=script><link href=css/chunk-vendors.e6a6ca22.css rel=stylesheet><link href=css/app.59d17783.css rel=stylesheet></head><body><noscript><strong>We're sorry but vandal doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script>if (window.location.href.indexOf('#') === -1) {
|
2
2
|
window.location.href = window.location.href + '/#/'
|
3
|
-
}</script><script src=js/chunk-vendors.326f67bb.js></script><script src=js/app.
|
3
|
+
}</script><script src=js/chunk-vendors.326f67bb.js></script><script src=js/app.f85601e5.js></script></body></html>
|
@@ -0,0 +1,2 @@
|
|
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],a[r]&&d.push(a[r][0]),a[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 n.push.apply(n,l||[]),s()}function s(){for(var e,t=0;t<n.length;t++){for(var s=n[t],i=!0,o=1;o<s.length;o++){var c=s[o];0!==a[c]&&(i=!1)}i&&(n.splice(t--,1),e=r(r.s=s[0]))}return e}var i={},a={app:0},n=[];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;n.push([0,"chunk-vendors"]),s()})({0:function(e,t,s){e.exports=s("cd49")},"0bab":function(e,t,s){},"18d4":function(e,t,s){},2856:function(e,t,s){},3956:function(e,t,s){"use strict";var i=s("63fa"),a=s.n(i);a.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 a(e){var t=n(e);return s(t)}function n(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}a.keys=function(){return Object.keys(i)},a.resolve=n,e.exports=a,a.id="4678"},"5c0b":function(e,t,s){"use strict";var i=s("2856"),a=s.n(i);a.a},"63fa":function(e,t,s){},"64c3":function(e,t,s){"use strict";var i=s("85cb"),a=s.n(i);a.a},"73b3":function(e,t,s){"use strict";var i=s("18d4"),a=s.n(i);a.a},"85cb":function(e,t,s){},"87d0":function(e,t,s){},"9e92":function(e,t,s){"use strict";var i=s("87d0"),a=s.n(i);a.a},cd49:function(e,t,s){"use strict";s.r(t);s("cadf"),s("551c"),s("097d");var i=s("2b0e"),a=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)},n=[],r=(s("5c0b"),s("2877")),o={},c=Object(r["a"])(o,a,n,!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],a=s[1],n=this.json.endpoints[i]["actions"][a].resource;return this.getResource(n)}},{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,a,n,r,o;return regeneratorRuntime.wrap(function(e){while(1)switch(e.prev=e.next){case 0:if(!s.remote){e.next=23;break}return i=s.remote.split("/"),i.shift(),i.shift(),i.shift(),a="/".concat(i.join("/")),i.pop(),n="/".concat(i.join("/")),i.pop(),e.prev=9,r="".concat(n,"/vandal/schema.json"),e.next=13,t._fetch(r);case 13:o=e.sent,e.next=22;break;case 16:return e.prev=16,e.t0=e["catch"](9),r="".concat(n,"/schema.json"),e.next=21,t._fetch(r);case 21:o=e.sent;case 22:Object.keys(o.json.endpoints).forEach(function(e){var i=o.json.endpoints[e];if(e===a){var n=o.getResource(i.actions.index.resource);t._addRemoteResource(o,s,n)}});case 23:case"end":return e.stop()}},e,this,[[9,16]])}));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){s=Object.assign({},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 a=t[i],n=s.getResource(a.resource);if(!n){var r=e.getResource(a.resource);r?(s.json.resources.push(r),s._addRemoteRelationships(e,r.relationships)):console.log("Remote Resource Not Found: ",a.resource)}})}},{key:"_fetch",value:function(){var t=Object(f["a"])(regeneratorRuntime.mark(function t(s){var i,a,n,r;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"),a={method:"GET",headers:i},n=new Request(s),t.next=7,fetch(n,a);case 7:return t.next=9,t.sent.json();case 9:return r=t.sent,t.abrupt("return",new e(r));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 a in t)if(t.hasOwnProperty(a)){var n=t[a];void 0!==n&&null!==n&&""!==n&&(s&&(a="".concat(s,"[").concat(a,"]")),Array.isArray(n)?n.length>0&&i.push("".concat(a,"=").concat(n.join(","))):"object"===Object(j["a"])(n)?i.push(e(n,a)):i.push("".concat(a,"=").concat(n)))}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,a,n){Object(v["a"])(this,e),this.schema=t,this.resource=s,this.selectedRow=null,this.json=i,this.includeHash=n,this._buildRows(a),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,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 a=s._resourceAttributes()[e].type,n=Object(y["a"])({},e,{value:t,type:a});Object.assign(i,n)}),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,a=t.relationships||{};w(a,function(e,t){var a=i.includeHash[e];if(a){var n=i._resourceRelationships()[e],r=i.schema.json.resources.filter(function(e){return e.name===n.resource})[0];"polymorphic_belongs_to"===n.type&&(r={polymorphic:!0,children:n.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,a)):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,a,n,r){s.relationships[i]=new e(t.schema,a,t.json,n,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,a){Object(v["a"])(this,e),this.resource=s,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=a,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],a=(s[1],_(e));return this.endpointIdParam&&(i="".concat(i,"/").concat(this.endpointIdParam)),a.length>0&&(i="".concat(i,"?").concat(a)),i}},{key:"generateCurl",value:function(){var e=this.urlWithDomain,t=e.split("?"),s=Object(p["a"])(t,2),i=s[0],a=s[1];return e=i,a&&"undefined"!=a&&(e="".concat(e,"?").concat(a)),"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,a,n;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],a=i.detail,n=i.meta.__raw_error__,n&&(a=n.message,this.hasRawError=!0),this.error=a):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 a=s.name;e.relationshipPath&&(a="".concat(e.relationshipPath,".").concat(a)),t[a]=i}}),Object.keys(this.relationships).forEach(function(s){var i=e.relationships[s],a=i.filterParams();Object.assign(t,a)}),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),a=i[0],n=i.slice(1);Object.assign(e,n.reduce(function(e,t){return Object(y["a"])({},t,e)},Object(y["a"])({},a,{})))}}),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,a=s.target,n=!!a.checked;if(Array.isArray(i)){var r=null,o=t._i(i,r);a.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",n)}}}),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:(a={selected:t.query.relationships[s],hide:t.query.editingRelationship&&t.query.editingRelationship!=t.query.relationships[s]},a["depth-"+t.depth]=!0,a)},[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 a})],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 a={};t.resources.forEach(function(e){var t=s.schema.getResource(e);Object.assign(a,t.relationships)}),i={polymorphic:!0,children:t.resources,relationships:a}}var n=e;this.query.relationshipPath&&(n="".concat(this.query.relationshipPath,".").concat(e));var r=new C(this.schema,i,null,n);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]):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("fd6a"),Object(r["a"])(E,O,x,!1,null,"c7fe1220",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:(a={},a["type-"+e.type]=!0,a)},[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 a}))}))])]):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("9e92"),Object(r["a"])(Y,T,$,!1,null,"2f86ad40",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,a;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 a=e.sent,this.schema=new b(a),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,a=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(){a.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 ae=ie.exports;i["a"].use(u["a"]);var ne=new u["a"]({base:"",routes:[{path:"/",name:"vandal",component:ae}]}),re=s("998c");i["a"].use(re),i["a"].config.productionTip=!1,i["a"].mixin({methods:{tempSet:function(e,t,s,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=e[t];null!==a&&(n=a),e[t]=s;var r=function(){e[t]=n};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:ne,render:function(e){return e(l)}}).$mount("#app")},fd6a:function(e,t,s){"use strict";var i=s("0bab"),a=s.n(i);a.a}});
|
2
|
+
//# sourceMappingURL=app.f85601e5.js.map
|
@@ -0,0 +1 @@
|
|
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?88dc","webpack:///./src/App.vue?5570","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?8bb2","webpack:///./src/components/ResourceForm.vue?5de3","webpack:///./src/components/ResourceForm.vue?9663","webpack:///./src/components/ResourceForm.vue","webpack:///./src/components/DataTable.vue?b5cb","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","webpack:///./src/components/ResourceForm.vue?903a"],"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_2f86ad40_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_2f86ad40_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","Appvue_type_template_id_52416ecd_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","t0","k","config","remoteResourceJson","actions","index","_addRemoteResource","stop","_x","arguments","localRemoteResource","remoteResource","assign","_addRemoteRelationships","relationships","_this2","relationship","existing","console","log","_fetch2","_callee3","headers","init","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_c7fe1220_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_c7fe1220_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_2f86ad40_scoped_true_render","inactive","label","jsonView","has-selection","is-sub-table","isSubTable","header","has-relationships","toggleRow","_f","rowClick","onSubRowClick","DataTablevue_type_template_id_2f86ad40_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","_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_c7fe1220_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_c7fe1220_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default"],"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,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAGAe,KAAAhB,GAEA,MAAAO,EAAAC,OACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,OAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,EAAAQ,OAAApB,IAAA,GACAe,EAAAM,IAAAC,EAAAN,EAAA,KAGA,OAAAD,EAIA,IAAAQ,KAKApB,GACAqB,IAAA,GAGAZ,KAGA,SAAAS,EAAA1B,GAGA,GAAA4B,EAAA5B,GACA,OAAA4B,EAAA5B,GAAA8B,QAGA,IAAAC,EAAAH,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OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,gBAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,UAAA,OACAC,aAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,UAAA,OACAC,aAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,aAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACAC,UAAA,OACAC,OAAA,OACA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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,EAAE3I,MACd+Y,OAAO,2CCzCV,IAAAC,EAAA5sB,EAAA,QAAA6sB,EAAA7sB,EAAA2B,EAAAirB,GAAwiBC,EAAG","file":"js/app.f85601e5.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=2f86ad40&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=2f86ad40&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=52416ecd&\"\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 }\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 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\n // Try fetching from the dynamic vandal schema\n // If that fails, fall back to regular schema\n let url\n let remoteSchema\n try {\n url = `${baseUrl}/vandal/schema.json`\n remoteSchema = await this._fetch(url) as any\n } catch(e) {\n url = `${baseUrl}/schema.json`\n remoteSchema = await this._fetch(url) as any\n }\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 remoteResource = Object.assign({}, 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('Remote Resource 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, init)).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 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 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 url = base\n if (params && 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\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 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=c7fe1220&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=c7fe1220&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 \"c7fe1220\",\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=2f86ad40&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=2f86ad40&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 \"2f86ad40\",\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","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=c7fe1220&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=c7fe1220&lang=scss&scoped=true&\""],"sourceRoot":""}
|
data/lib/vandal_ui/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vandal_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,6 +80,8 @@ files:
|
|
80
80
|
- lib/vandal_ui/static/index.html
|
81
81
|
- lib/vandal_ui/static/js/app.d38ac258.js
|
82
82
|
- lib/vandal_ui/static/js/app.d38ac258.js.map
|
83
|
+
- lib/vandal_ui/static/js/app.f85601e5.js
|
84
|
+
- lib/vandal_ui/static/js/app.f85601e5.js.map
|
83
85
|
- lib/vandal_ui/static/js/chunk-vendors.326f67bb.js
|
84
86
|
- lib/vandal_ui/static/js/chunk-vendors.326f67bb.js.map
|
85
87
|
- lib/vandal_ui/tasks.rb
|
@@ -104,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
106
|
version: '0'
|
105
107
|
requirements: []
|
106
108
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.6
|
109
|
+
rubygems_version: 2.7.6
|
108
110
|
signing_key:
|
109
111
|
specification_version: 4
|
110
112
|
summary: UI for Graphiti
|