1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +08:00
Files
sqliteviz/js/app.4af55177.js
2021-04-30 17:47:40 +00:00

2 lines
106 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(e){function t(t){for(var a,r,o=t[0],c=t[1],u=t[2],l=0,d=[];l<o.length;l++)r=o[l],Object.prototype.hasOwnProperty.call(n,r)&&n[r]&&d.push(n[r][0]),n[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);M&&M(t);while(d.length)d.shift()();return s.push.apply(s,u||[]),i()}function i(){for(var e,t=0;t<s.length;t++){for(var i=s[t],a=!0,r=1;r<i.length;r++){var c=i[r];0!==n[c]&&(a=!1)}a&&(s.splice(t--,1),e=o(o.s=i[0]))}return e}var a={},n={app:0},s=[];function r(e){return o.p+"js/"+({}[e]||e)+"."+{"chunk-60ca3258":"f41b7822"}[e]+".js"}function o(t){if(a[t])return a[t].exports;var i=a[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.e=function(e){var t=[],i=n[e];if(0!==i)if(i)t.push(i[2]);else{var a=new Promise((function(t,a){i=n[e]=[t,a]}));t.push(i[2]=a);var s,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=r(e);var u=new Error;s=function(t){c.onerror=c.onload=null,clearTimeout(l);var i=n[e];if(0!==i){if(i){var a=t&&("load"===t.type?"missing":t.type),s=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+a+": "+s+")",u.name="ChunkLoadError",u.type=a,u.request=s,i[1](u)}n[e]=void 0}};var l=setTimeout((function(){s({type:"timeout",target:c})}),12e4);c.onerror=c.onload=s,document.head.appendChild(c)}return Promise.all(t)},o.m=e,o.c=a,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(i,a,function(t){return e[t]}.bind(null,a));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var c=window["webpackJsonp"]=window["webpackJsonp"]||[],u=c.push.bind(c);c.push=t,c=c.slice();for(var l=0;l<c.length;l++)t(c[l]);var M=u;s.push([0,"chunk-vendors"]),i()})({0:function(e,t,i){e.exports=i("56d7")},"006c":function(e,t,i){},"017d":function(e,t,i){},"034f":function(e,t,i){"use strict";var a=i("85ec"),n=i.n(a);n.a},"0370":function(e,t,i){},"048e":function(e,t,i){},"060a":function(e,t,i){"use strict";var a=i("fe5b"),n=i.n(a);n.a},"0720":function(e,t,i){},"0a19":function(e,t,i){"use strict";var a=i("f213"),n=i.n(a);n.a},"0a47":function(e,t,i){},"0bf4":function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjQ5OTggMTYuNjY2N0M2LjgyNDg0IDE2LjY2NjcgMy44MzMxNyAxMy42NzUgMy44MzMxNyAxMEMzLjgzMzE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c5NjEgMCA5Nkg3NEM3MS43NDE2IDYyLjEwODUgNTcuNSAyNCA0MiA0WiIgZmlsbD0iI0M4RDRFMyIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazApIj4KPHBhdGggZD0iTTMyLjAwMDEgNjAuNUMzOC41MDAxIDczIDYzLjUwMDEgNzYuNDk5OSA3My40OTk5IDczQzczLjQ5OTkgNzMgNzUuNzk5MiA2MC43OTk0IDc1LjUgNjAuNTAwMkM2OS43MzM5IDU0LjczMzggNDMuMDAwMyA1Ny45OTk4IDMyLjAwMDEgNjAuNVoiIGZpbGw9IiNBMkIxQzYiLz4KPC9nPgo8L3N2Zz4K"},1973:function(e,t,i){"use strict";var a=i("8aab"),n=i.n(a);n.a},2335:function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTA2IiBoZWlnaHQ9IjU2IiB2aWV3Qm94PSIwIDAgMTA2IDU2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTA0LjI1MiAxLjQwODU1QzEwMC4yNjIgLTIuMDQ5NCA5My43NzczIDEuNDA4NTQgOTEuMjgzMiA1Ljg1NDI2TDEwMC4yNjIgMTQuMzkzOUMxMDQuNzUxIDEwLjc5NDEgMTA4LjI0MyA0Ljg2NjQ2IDEwNC4yNTIgMS40MDg1NVoiIGZpbGw9IiNGM0M2QkYiLz4KPHBhdGggZD0iTTkxLjAxMjMgNC4zNzIwN0M3Mi40NTY4IDI1LjE3MDQgMzAuNDI3OSAyMi45MjYzIDE5Ljk1MjcgNC4zNzIwN0wwIDQ0LjY2MTVDMzguNDA5IDY5Ljg1NDcgODYuNzk0NCA1MC4wOTU0IDEwMi4yNTggMTQuNTI4Nkw5MS4wMTIzIDQuMzcyMDdaIiBmaWxsPSIjQzhENEUzIi8+Cjwvc3ZnPgo="},"2a13":function(e,t,i){"use strict";var a=i("70c9"),n=i.n(a);n.a},"2edc":function(e,t,i){"use strict";var a=i("8fcc"),n=i.n(a);n.a},"33da":function(e,t,i){},"36c1":function(e,t,i){"use strict";var a=i("e349"),n=i.n(a);n.a},"375f":function(e,t,i){"use strict";var a=i("58d0"),n=i.n(a);n.a},"3a01":function(e,t,i){},"3a016":function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDUwIiBoZWlnaHQ9IjE3NSIgdmlld0JveD0iMCAwIDQ1MCAxNzUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxtYXNrIGlkPSJtYXNrMCIgbWFzay10eXBlPSJhbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjQ1MCIgaGVpZ2h0PSIxNzUiPgo8cmVjdCB3aWR0aD0iNDUwIiBoZWlnaHQ9IjE3NSIgZmlsbD0iI0M0QzRDNCIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazApIj4KPHBhdGggZD0iTTEyOC4yMDcgMS45OTI3MkM3MC4xOTcyIC05Ljg0ODk3IDE4Ljc0NSAzMC44ODk1IDQuMzE5ODUgOTIuNjY3OEMtMTAuMTA1NCAxNTQuNDQ2IDE0LjMzMzcgMTg2LjMzMiAzNy4zMjE4IDIyNi4xODlDNzIuMzc4NCAyODYuOTcxIDE4MS41NTEgMzQxLjIzNyAyNjUuMDgzIDMzNy43ODlDMzM3LjUxNyAzMzQuOCAzODkuMDI4IDMxNi41MTQgNDI1LjkzNiAyNDguMTExQzQ4OS4zNzggMTMwLjUzMiA0MTcuNDQ0IDUzLjkwNjUgMzI1LjUyNyA2OC4yNTUxQzIxNC41NzEgODUuNTc2IDIxMy42MjkgMTkuNDMwMiAxMjguMjA3IDEuOTkyNzJaIiBmaWxsPSIjREZFOEYzIi8+CjxwYXRoIGQ9Ik0xNTYuMjg0IDE2OS40MjZDMTU4LjE1OCAxNjcuNTUzIDE2M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HRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KPGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiLz4KPGZlT2Zmc2V0IGR5PSIxIi8+CjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEiLz4KPGZlQ29sb3JNYXRyaXggdHlwZT0ibWF0cml4IiB2YWx1ZXM9IjAgMCAwIDAgMC4xNjQ3MDYgMCAwIDAgMCAwLjI0NzA1OSAwIDAgMCAwIDAuMzcyNTQ5IDAgMCAwIDAuMiAwIi8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0iZWZmZWN0MV9kcm9wU2hhZG93Ii8+CjxmZUJsZW5kIG1vZGU9Im5vcm1hbCIgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iZWZmZWN0MV9kcm9wU2hhZG93IiByZXN1bHQ9InNoYXBlIi8+CjwvZmlsdGVyPgo8L2RlZnM+Cjwvc3ZnPgo="},"42cf":function(e,t,i){"use strict";var a=i("0a47"),n=i.n(a);n.a},4501:function(e,t,i){"use strict";var a=i("d679"),n=i.n(a);n.a},4531:function(e,t,i){},"47b0":function(e,t,i){"use strict";var a=i("d2c9"),n=i.n(a);n.a},"493e":function(e,t,i){"use strict";var a=i("8c0b"),n=i.n(a);n.a},"4a8d":function(e,t,i){},"52c7":function(e,t,i){"use strict";var a=i("048e"),n=i.n(a);n.a},5349:function(e,t,i){},"56d7":function(e,t,i){"use strict";i.r(t);i("e260"),i("e6cf"),i("cca6"),i("a79d"),i("caad"),i("d3b7"),i("3ca3"),i("ddb0");var a=i("2b0e"),n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"app"}},[i("router-view")],1)},s=[],r=(i("034f"),i("2877")),o={},c=Object(r["a"])(o,n,s,!1,null,null,null),u=c.exports,l=i("8c4f"),M=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("splitpanes",{staticClass:"schema-tabs-splitter",attrs:{before:{size:20,max:30},after:{size:80,max:100}},scopedSlots:e._u([{key:"left-pane",fn:function(){return[e.$store.state.schema?i("schema"):i("div",{attrs:{id:"empty-schema-container"}},[i("div",{staticClass:"warning"},[e._v(" Database is not loaded. Queries cant be run without database. ")]),i("db-uploader",{attrs:{id:"db-uploader",width:"100%"}})],1)]},proxy:!0},{key:"right-pane",fn:function(){return[i("tabs")]},proxy:!0}])})],1)},d=[],g=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{ref:"container",class:["splitpanes","splitpanes-"+(e.horizontal?"horizontal":"vertical"),{"splitpanes-dragging":e.dragging}]},[a("div",{ref:"movableSplitter",staticClass:"movable-splitter",style:e.movableSplitterStyle}),a("div",{ref:"left",staticClass:"splitpanes-pane",style:e.styles.before,attrs:{size:e.paneBefore.size,"max-size":"30"}},[e._t("left-pane")],2),a("div",{staticClass:"splitpanes-splitter",on:{mousedown:e.bindEvents,touchstart:e.bindEvents}},[a("div",{class:["toggle-btns",{both:100===e.after.max&&100===e.before.max&&e.paneAfter.size>0&&e.paneBefore.size>0}]},[100===e.after.max&&e.paneAfter.size>0?a("div",{staticClass:"toggle-btn",on:{click:function(t){return e.togglePane(e.paneBefore)}}},[a("img",{staticClass:"direction-icon",style:e.directionBeforeIconStyle,attrs:{src:i("0ca3")}})]):e._e(),100===e.before.max&&e.paneBefore.size>0?a("div",{staticClass:"toggle-btn",on:{click:function(t){return e.togglePane(e.paneAfter)}}},[a("img",{staticClass:"direction-icon",style:e.directionAfterIconStyle,attrs:{src:i("0ca3")}})]):e._e()])]),a("div",{ref:"right",staticClass:"splitpanes-pane",style:e.styles.after},[e._t("right-pane")],2)])},N=[],I=i("5530"),D=i("ade3"),j={getCurrentMouseDrag:function(e,t){var i=t.getBoundingClientRect(),a="ontouchstart"in window&&e.touches?e.touches[0]:e,n=a.clientX,s=a.clientY;return{x:n-i.left,y:s-i.top}},getCurrentDragPercentage:function(e,t,i){var a=this.getCurrentMouseDrag(e,t);a=a[i?"y":"x"];var n=t[i?"clientHeight":"clientWidth"];return 100*a/n},calculateOffset:function(e,t){var i=t.container,a=t.isHorisontal,n=t.paneBeforeMax,s=t.paneAfterMax,r=this.getCurrentDragPercentage(e,i,a),o=n<100&&r>=n,c=s<100&&r<=100-s;return o||c?o?n:Math.max(100-s,0):Math.min(Math.max(r,0),n)}},h={name:"Splitpanes",props:{horizontal:{type:Boolean,default:!1},before:{type:Object},after:{type:Object}},data:function(){return{container:null,paneBefore:this.before,paneAfter:this.after,beforeMinimising:{before:this.before.size,after:this.after.size},dragging:!1,movableSplitter:{top:0,left:0,visibility:"hidden"}}},computed:{styles:function(){return{before:Object(D["a"])({},this.horizontal?"height":"width","".concat(this.paneBefore.size,"%")),after:Object(D["a"])({},this.horizontal?"height":"width","".concat(this.paneAfter.size,"%"))}},movableSplitterStyle:function(){var e=Object(I["a"])({},this.movableSplitter);return e.top+="%",e.left+="%",e},directionBeforeIconStyle:function(){var e=0!==this.paneBefore.size,t="translate(-50%, -50%) ",i="";return i=this.horizontal?e?"rotate(90deg)":"rotate(-90deg)":e?"rotate(0deg)":"rotate(180deg)",{transform:t+i}},directionAfterIconStyle:function(){var e=0!==this.paneAfter.size,t="translate(-50%, -50%)",i="";return i=this.horizontal?e?"rotate(-90deg)":"rotate(90deg)":e?"rotate(180deg)":"rotate(0deg)",{transform:t+i}}},methods:{bindEvents:function(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents:function(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseMove:function(e){e.preventDefault(),this.dragging=!0,this.movableSplitter.visibility="visible",this.moveSplitter(e)},onMouseUp:function(){if(this.dragging){var e=this.horizontal?this.movableSplitter.top:this.movableSplitter.left;this.paneBefore.size=e,this.paneAfter.size=100-e,this.movableSplitter={top:0,left:0,visibility:"hidden"},this.dragging=!1}this.unbindEvents()},moveSplitter:function(e){var t={container:this.container,paneBeforeMax:this.paneBefore.max,paneAfterMax:this.paneAfter.max,isHorisontal:this.horizontal},i=j.calculateOffset(e,t),a=this.horizontal?"top":"left";this.movableSplitter[a]=i},togglePane:function(e){if(e.size>0){this.beforeMinimising.before=this.paneBefore.size,this.beforeMinimising.after=this.paneAfter.size,e.size=0;var t=e===this.paneBefore?this.paneAfter:this.paneBefore;t.size=100-e.size}else this.paneBefore.size=this.beforeMinimising.before,this.paneAfter.size=this.beforeMinimising.after}},mounted:function(){this.container=this.$refs.container}},m=h,y=(i("8e6c"),Object(r["a"])(m,g,N,!1,null,null,null)),p=y.exports,z=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"schema-container"}},[i("div",{attrs:{id:"schema-filter"}},[i("text-field",{attrs:{placeholder:"Search table",width:"100%"},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1),i("div",{attrs:{id:"db"}},[i("div",{staticClass:"db-name",on:{click:function(t){e.schemaVisible=!e.schemaVisible}}},[i("tree-chevron",{attrs:{expanded:e.schemaVisible}}),e._v(" "+e._s(e.dbName)+" ")],1),i("db-uploader",{attrs:{id:"db-edit",type:"small"}}),i("export-icon",{attrs:{tooltip:"Export database"},on:{click:e.exportToFile}})],1),i("div",{directives:[{name:"show",rawName:"v-show",value:e.schemaVisible,expression:"schemaVisible"}],staticClass:"schema"},e._l(e.schema,(function(e){return i("table-description",{key:e.name,attrs:{name:e.name,columns:e.columns}})})),1)])},f=[],v=(i("4de4"),i("b0c0"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"table-name",on:{click:function(t){e.colVisible=!e.colVisible}}},[i("tree-chevron",{attrs:{expanded:e.colVisible}}),e._v(" "+e._s(e.name)+" ")],1),i("div",{directives:[{name:"show",rawName:"v-show",value:e.colVisible,expression:"colVisible"}],staticClass:"columns"},e._l(e.columns,(function(t,a){return i("div",{key:a,staticClass:"column"},[e._v(" "+e._s(t.name)+" "),i("span",{staticClass:"column-type"},[e._v(e._s(t.type))])])})),0)])}),T=[],x=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("svg",{staticClass:"chevron-icon",style:{transform:e.expanded?"rotate(90deg)":"rotate(0)"},attrs:{width:"9",height:"9",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"M0.721924 9.93097L4.85292 5.79997L0.721924 1.66897L1.99992 0.399973L7.39992 5.79997L1.99992 11.2L0.721924 9.93097Z",fill:e.expanded?"#506784":"rgba(80, 103, 132, 0.5)"}})])},b=[],w={name:"treeChevron",props:{expanded:{type:Boolean,required:!0}}},C=w,A=(i("2edc"),Object(r["a"])(C,x,b,!1,null,"bfc135e8",null)),O=A.exports,L={name:"TableDescription",components:{TreeChevron:O},props:["name","columns"],data:function(){return{colVisible:!1}}},E=L,Q=(i("fe2a"),Object(r["a"])(E,v,T,!1,null,"6ba6da33",null)),S=Q.exports,k=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.label?i("div",{class:["text-field-label",{error:e.errorMsg},{disabled:e.disabled}]},[e._v(" "+e._s(e.label)+" "),e.hint?i("hint-icon",{staticClass:"hint",attrs:{hint:e.hint,"max-width":e.maxHintWidth||"149px"}}):e._e()],1):e._e(),i("input",{class:{error:e.errorMsg},style:{width:e.width},attrs:{type:"text",placeholder:e.placeholder,disabled:e.disabled},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)}}}),i("div",{directives:[{name:"show",rawName:"v-show",value:e.errorMsg,expression:"errorMsg"}],staticClass:"text-field-error"},[e._v(e._s(e.errorMsg))])])},Y=[],U=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("svg",{staticClass:"hint-icon",attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},on:{mouseover:e.showTooltip,mouseout:e.hideTooltip}},[i("path",{attrs:{d:"M8.75 14.1666H10.4167V12.5H8.75V14.1666ZM9.58333 16.25C5.90833 16.25 2.91667 13.2583 2.91667 9.58333C2.91667 5.90833 5.90833 2.91667 9.58333 2.91667C13.2583 2.91667 16.25 5.90833 16.25 9.58333C16.25 13.2583 13.2583 16.25 9.58333 16.25ZM9.58333 1.25C8.48898 1.25 7.40535 1.46555 6.3943 1.88434C5.38326 2.30313 4.4646 2.91696 3.69078 3.69078C2.12797 5.25358 1.25 7.3732 1.25 9.58333C1.25 11.7935 2.12797 13.9131 3.69078 15.4759C4.4646 16.2497 5.38326 16.8635 6.3943 17.2823C7.40535 17.7011 8.48898 17.9167 9.58333 17.9167C11.7935 17.9167 13.9131 17.0387 15.4759 15.4759C17.0387 13.9131 17.9167 11.7935 17.9167 9.58333C17.9167 8.48898 17.7011 7.40535 17.2823 6.3943C16.8635 5.38326 16.2497 4.4646 15.4759 3.69078C14.7021 2.91696 13.7834 2.30313 12.7724 1.88434C11.7613 1.46555 10.6777 1.25 9.58333 1.25Z",fill:"#A2B1C6"}}),i("path",{attrs:{d:"M9.91601 4.51787C8.98167 4.42606 8.05144 4.69097 7.36309 5.24472C6.68735 5.78828 6.2998 6.56661 6.2998 7.38012H7.92488C7.92488 6.97463 8.11059 6.60187 8.44779 6.33061C8.79784 6.049 9.25647 5.92005 9.73896 5.96755C10.4832 6.04076 11.0828 6.57277 11.1647 7.23265C11.2306 7.764 10.9661 8.28194 10.4744 8.58426C9.38676 9.25303 8.73742 10.343 8.73742 11.5H10.3625C10.3625 10.8243 10.7477 10.184 11.3929 9.78733C12.3808 9.17985 12.9122 8.13913 12.7798 7.07124C12.6144 5.73863 11.41 4.66476 9.91601 4.51787Z",fill:"#A2B1C6"}})]),i("span",{staticClass:"icon-tooltip",style:Object.assign({},e.tooltipStyle,{maxWidth:e.maxWidth})},[e._v(" "+e._s(e.hint)+" ")])])},Z=[],P={data:function(){return{tooltipStyle:{visibility:"hidden"}}},methods:{showTooltip:function(e){this.tooltipStyle.top=e.clientY-12+"px",this.tooltipStyle.left=e.clientX+12+"px",this.tooltipStyle.visibility="visible"},hideTooltip:function(){this.tooltipStyle.visibility="hidden"}}},G={name:"HintIcon",props:["hint","maxWidth"],mixins:[P]},V=G,_=(i("2a13"),Object(r["a"])(V,U,Z,!1,null,"038857ac",null)),R=_.exports,B={name:"textField",props:["placeholder","label","errorMsg","value","width","hint","maxHintWidth","disabled"],components:{HintIcon:R}},W=B,H=(i("d80a"),Object(r["a"])(W,k,Y,!1,null,"61527e0f",null)),$=H.exports,q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"db-uploader-container",style:{width:e.width}},["small"===e.type?a("change-db-icon",{nativeOn:{click:function(t){return e.browse(t)}}}):e._e(),["regular","illustrated"].includes(e.type)?a("div",{staticClass:"drop-area-container"},[a("div",{staticClass:"drop-area",on:{dragover:function(t){t.preventDefault(),e.state="dragover"},dragleave:function(t){t.preventDefault(),e.state=""},drop:function(t){return t.preventDefault(),e.drop(t)},click:e.browse}},[a("div",{staticClass:"text"},[e._v(" Drop the database or CSV file here or click to choose a file from your computer. ")])])]):e._e(),"illustrated"===e.type?a("div",{attrs:{id:"img-container"}},[a("img",{attrs:{id:"drop-file-top-img",src:i("3a016")}}),a("img",{class:{swing:"dragover"===e.state},attrs:{id:"left-arm-img",src:i("9bf4")}}),a("img",{ref:"fileImg",class:{swing:"dragover"===e.state,fly:"drop"===e.state},attrs:{id:"file-img",src:i("87d4")}}),a("img",{attrs:{id:"drop-file-bottom-img",src:i("6a0b")}}),a("img",{attrs:{id:"body-img",src:i("1678")}}),a("img",{class:{swing:"dragover"===e.state},attrs:{id:"right-arm-img",src:i("2335")}})]):e._e(),a("div",{staticClass:"error",attrs:{id:"error"}}),a("modal",{attrs:{name:"parse",classes:"dialog",height:"auto",width:"60%",clickToClose:!1}},[a("div",{staticClass:"dialog-header"},[e._v(" Import CSV "),a("close-icon",{attrs:{disabled:e.disableDialog},on:{click:e.cancelCsvImport}})],1),a("div",{staticClass:"dialog-body"},[a("div",{staticClass:"chars"},[a("delimiter-selector",{staticClass:"char-input",attrs:{width:"210px",disabled:e.disableDialog},on:{input:e.previewCSV},model:{value:e.delimiter,callback:function(t){e.delimiter=t},expression:"delimiter"}}),a("text-field",{staticClass:"char-input",attrs:{label:"Quote char",hint:"The character used to quote fields.",width:"93px",disabled:e.disableDialog,id:"quote-char"},model:{value:e.quoteChar,callback:function(t){e.quoteChar=t},expression:"quoteChar"}}),a("text-field",{staticClass:"char-input",attrs:{label:"Escape char",hint:'The character used to escape the quote character within a field (e.g. "column with ""quotes"" in text").',"max-hint-width":"242px",width:"93px",disabled:e.disableDialog,id:"escape-char"},model:{value:e.escapeChar,callback:function(t){e.escapeChar=t},expression:"escapeChar"}})],1),a("check-box",{attrs:{init:!0,label:"Use first row as column headers",disabled:e.disableDialog},on:{click:function(t){e.header=t}}}),e.previewData?a("sql-table",{staticClass:"preview-table",attrs:{"data-set":e.previewData,height:"160",preview:!0}}):e._e(),e.previewData?e._e():a("div",{staticClass:"no-data"},[e._v("No data")]),a("logs",{staticClass:"import-csv-errors",attrs:{messages:e.importCsvMessages}})],1),a("div",{staticClass:"dialog-buttons-container"},[a("button",{staticClass:"secondary",attrs:{disabled:e.disableDialog,id:"csv-cancel"},on:{click:e.cancelCsvImport}},[e._v(" Cancel ")]),a("button",{directives:[{name:"show",rawName:"v-show",value:!e.importCsvCompleted,expression:"!importCsvCompleted"}],staticClass:"primary",attrs:{disabled:e.disableDialog,id:"csv-import"},on:{click:function(t){return e.loadFromCsv(e.file)}}},[e._v(" Import ")]),a("button",{directives:[{name:"show",rawName:"v-show",value:e.importCsvCompleted,expression:"importCsvCompleted"}],staticClass:"primary",attrs:{disabled:e.disableDialog,id:"csv-finish"},on:{click:e.finish}},[e._v(" Finish ")])])])],1)},J=[],F=i("3835"),X=i("1da1"),K=(i("96cf"),i("2ca0"),i("99af"),i("ac1f"),i("5319"),i("2b3d"),{exportToFile:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"octet/stream",a=document.createElement("a"),n=new Blob([e],{type:i}),s=URL.createObjectURL(n);a.href=s,a.download=t,a.click(),URL.revokeObjectURL(s)},getFileFromUser:function(e){return new Promise((function(t){var i=document.createElement("input");i.type="file",i.accept=e,i.addEventListener("change",(function(){var e=i.files[0];t(e)})),i.click()}))},importFile:function(){var e=new FileReader;return this.getFileFromUser(".json").then((function(t){return new Promise((function(i,a){e.onload=function(e){i(e.target.result)},e.readAsText(t)}))}))},readFile:function(e){return fetch(e)},readAsArrayBuffer:function(e){var t=new FileReader;return new Promise((function(i,a){t.onerror=function(){t.abort(),a(new Error("Problem parsing input file."))},t.onload=function(){i(t.result)},t.readAsArrayBuffer(e)}))}}),ee=(i("d81d"),i("159b"),i("369b")),te=i.n(ee),ie={MissingQuotes:"Edit your CSV so that the field has a closing quote char.",TooFewFields:"Add fields or try another delimiter.",TooManyFields:"Edit your CSV or try another delimiter."},ae={getResult:function(e){var t={};if(e.meta.fields)t.columns=e.meta.fields,t.values=e.data.map((function(e){var i=[];return t.columns.forEach((function(t){i.push(e[t])})),i}));else{t.values=e.data,t.columns=[];for(var i=1;i<=e.data[0].length;i++)t.columns.push("col".concat(i))}return t},parse:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(a,n){var s={delimiter:"",newline:"",quoteChar:'"',escapeChar:'"',header:!1,transformHeader:void 0,dynamicTyping:!0,preview:0,encoding:"UTF-8",worker:!0,comments:!1,step:void 0,complete:function(e){var i={data:t.getResult(e),delimiter:e.meta.delimiter,hasErrors:!1};i.messages=e.errors.map((function(e){return e.type="UndetectableDelimiter"===e.code?"info":"error","error"===e.type&&(i.hasErrors=!0),e.hint=ie[e.code],e})),a(i)},error:function(e,t){n(e)},download:!1,downloadRequestHeaders:void 0,downloadRequestBody:void 0,skipEmptyLines:"greedy",chunk:void 0,chunkSize:void 0,fastMode:void 0,beforeFirstChunk:void 0,withCredentials:void 0,transform:void 0,delimitersToGuess:[",","\t","|",";",te.a.RECORD_SEP,te.a.UNIT_SEP]};te.a.parse(e,Object(I["a"])(Object(I["a"])({},s),i))}))}},ne=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("svg",{class:["icon",{disabled:e.disabled}],attrs:{width:e.size,height:e.size,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return t.stopPropagation(),e.$emit("click")}}},[i("path",{attrs:{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#A2B1C6"}})])},se=[],re=(i("a9e3"),{name:"CloseIcon",props:{size:{type:Number,required:!1,default:14},disabled:{type:Boolean,required:!1,default:!1}}}),oe=re,ce=(i("f4da"),Object(r["a"])(oe,ne,se,!1,null,"86f3a16c",null)),ue=ce.exports,le=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:{disabled:e.disabled}},[i("div",{staticClass:"text-field-label"},[e._v("Delimiter")]),i("div",{staticClass:"delimiter-selector-container",style:{width:e.width},on:{click:e.onContainerClick}},[i("div",{staticClass:"value"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.inputValue,expression:"inputValue"}],ref:"delimiterInput",class:{filled:e.filled},attrs:{type:"text",maxlength:"1",disabled:e.disabled},domProps:{value:e.inputValue},on:{click:function(e){e.stopPropagation()},input:function(t){t.target.composing||(e.inputValue=t.target.value)}}}),i("div",{staticClass:"name"},[e._v(e._s(e.getSymbolName(e.value)))])]),i("div",{staticClass:"controls",on:{click:function(e){e.stopPropagation()}}},[i("clear-icon",{attrs:{disabled:e.disabled},nativeOn:{click:function(t){return e.clear(t)}}}),i("drop-down-chevron",{attrs:{disabled:e.disabled},nativeOn:{click:function(t){!e.disabled&&(e.showOptions=!e.showOptions)}}})],1)]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showOptions,expression:"showOptions"}],staticClass:"options",style:{width:e.width}},e._l(e.options,(function(t,a){return i("div",{key:a,staticClass:"option",on:{click:function(i){return e.chooseOption(t)}}},[i("pre",[e._v(e._s(t))]),i("div",[e._v(e._s(e.getSymbolName(t)))])])})),0)])},Me=[],de=(i("25f0"),{0:{name:"null character"},1:{name:"start of header"},2:{name:"start of text"},3:{name:"end of text"},4:{name:"end of transmission"},5:{name:"enquiry"},6:{name:"acknowledge"},7:{name:"bell (ring)"},8:{name:"backspace"},9:{name:"horizontal tab"},10:{name:"line feed"},11:{name:"vertical tab"},12:{name:"form feed"},13:{name:"carriage return"},14:{name:"shift out"},15:{name:"shift in"},16:{name:"data link escape"},17:{name:"device control 1"},18:{name:"device control 2"},19:{name:"device control 3"},20:{name:"device control 4"},21:{name:"negative acknowledge"},22:{name:"synchronize"},23:{name:"end transmission block"},24:{name:"cancel"},25:{name:"end of medium"},26:{name:"substitute"},27:{name:"escape"},28:{name:"file separator"},29:{name:"group separator"},30:{name:"record separator"},31:{name:"unit separator"},32:{name:"space"},33:{name:"exclamation mark"},34:{name:"quotation mark"},35:{name:"number sign"},36:{name:"dollar sign"},37:{name:"percent sign"},38:{name:"ampersand"},39:{name:"apostrophe"},40:{name:"left parenthesis"},41:{name:"right parenthesis"},42:{name:"asterisk"},43:{name:"plus sign"},44:{name:"comma"},45:{name:"hyphen"},46:{name:"period"},47:{name:"slash"},48:{name:"digit 0"},49:{name:"digit 1"},50:{name:"digit 2"},51:{name:"digit 3"},52:{name:"digit 4"},53:{name:"digit 5"},54:{name:"digit 6"},55:{name:"digit 7"},56:{name:"digit 8"},57:{name:"digit 9"},58:{name:"colon"},59:{name:"semicolon"},60:{name:"less-than"},61:{name:"equals-to"},62:{name:"greater-than"},63:{name:"question mark"},64:{name:"at sign"},65:{name:"uppercase A"},66:{name:"uppercase B"},67:{name:"uppercase C"},68:{name:"uppercase D"},69:{name:"uppercase E"},70:{name:"uppercase F"},71:{name:"uppercase G"},72:{name:"uppercase H"},73:{name:"uppercase I"},74:{name:"uppercase J"},75:{name:"uppercase K"},76:{name:"uppercase L"},77:{name:"uppercase M"},78:{name:"uppercase N"},79:{name:"uppercase O"},80:{name:"uppercase P"},81:{name:"uppercase Q"},82:{name:"uppercase R"},83:{name:"uppercase S"},84:{name:"uppercase T"},85:{name:"uppercase U"},86:{name:"uppercase V"},87:{name:"uppercase W"},88:{name:"uppercase X"},89:{name:"uppercase Y"},90:{name:"uppercase Z"},91:{name:"left square bracket"},92:{name:"backslash"},93:{name:"right square bracket"},94:{name:"caret"},95:{name:"underscore"},96:{name:"grave accent"},97:{name:"lowercase a"},98:{name:"lowercase b"},99:{name:"lowercase c"},100:{name:"lowercase d"},101:{name:"lowercase e"},102:{name:"lowercase f"},103:{name:"lowercase g"},104:{name:"lowercase h"},105:{name:"lowercase i"},106:{name:"lowercase j"},107:{name:"lowercase k"},108:{name:"lowercase l"},109:{name:"lowercase m"},110:{name:"lowercase n"},111:{name:"lowercase o"},112:{name:"lowercase p"},113:{name:"lowercase q"},114:{name:"lowercase r"},115:{name:"lowercase s"},116:{name:"lowercase t"},117:{name:"lowercase u"},118:{name:"lowercase v"},119:{name:"lowercase w"},120:{name:"lowercase x"},121:{name:"lowercase y"},122:{name:"lowercase z"},123:{name:"left curly brace"},124:{name:"vertical bar"},125:{name:"right curly brace"},126:{name:"tilde"},127:{name:"delete (rubout)"}}),ge=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("svg",{class:["chevron-icon",{disabled:e.disabled}],attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"M6.175 7.15002L10 10.975L13.825 7.15002L15 8.33336L10 13.3334L5 8.33336L6.175 7.15002Z",fill:"#C8D4E3"}})])},Ne=[],Ie={name:"DropDownChevron",props:["disabled"]},De=Ie,je=(i("493e"),Object(r["a"])(De,ge,Ne,!1,null,"29bdb7bf",null)),he=je.exports,me=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("svg",{class:["clear-icon",{disabled:e.disabled}],attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"M14.3481 14.849C13.8791 15.318 13.1191 15.318 12.6511 14.849L10.0001 11.819L7.34907 14.848C6.88007 15.317 6.12007 15.317 5.65207 14.848C5.18307 14.379 5.18307 13.619 5.65207 13.151L8.41007 10.001L5.65107 6.84898C5.18207 6.37998 5.18207 5.62098 5.65107 5.15198C6.12007 4.68298 6.87907 4.68298 7.34807 5.15198L10.0001 8.18298L12.6511 5.15198C13.1201 4.68298 13.8791 4.68298 14.3481 5.15198C14.8171 5.62098 14.8171 6.38098 14.3481 6.84898L11.5901 10.001L14.3481 13.151C14.8171 13.62 14.8171 14.38 14.3481 14.849V14.849Z",fill:"#C8D4E3"}})])},ye=[],pe={name:"ClearIcon",props:["disabled"]},ze=pe,fe=(i("f7a6"),Object(r["a"])(ze,me,ye,!1,null,"69060e4e",null)),ve=fe.exports,Te={name:"DelimiterSelector",props:["value","width","disabled"],components:{DropDownChevron:he,ClearIcon:ve},data:function(){return{showOptions:!1,options:[",","\t"," ","|",";","",""],filled:!1,inputValue:""}},watch:{inputValue:function(){this.inputValue?(this.filled=!0,this.inputValue!==this.value&&this.$emit("input",this.inputValue)):this.filled=!1}},created:function(){this.inputValue=this.value},methods:{getSymbolName:function(e){return e?de[e.charCodeAt(0).toString()].name:""},chooseOption:function(e){this.inputValue=e,this.showOptions=!1},onContainerClick:function(e){this.$refs.delimiterInput.focus()},clear:function(){this.disabled||(this.inputValue="",this.$refs.delimiterInput.focus())}}},xe=Te,be=(i("c183"),Object(r["a"])(xe,le,Me,!1,null,"3cc834fb",null)),we=be.exports,Ce=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["checkbox-container",{checked:e.checked},{disabled:e.disabled}],on:{click:function(t){return t.stopPropagation(),e.onClick(t)}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:!e.checked,expression:"!checked"}],staticClass:"unchecked"}),a("img",{directives:[{name:"show",rawName:"v-show",value:e.checked&&!e.disabled,expression:"checked && !disabled"}],attrs:{src:"light"===e.theme?i("69e6"):i("93dd")}}),a("img",{directives:[{name:"show",rawName:"v-show",value:e.checked&&e.disabled,expression:"checked && disabled"}],attrs:{src:i("3d10")}}),e.label?a("span",{staticClass:"label"},[e._v(e._s(e.label))]):e._e()])},Ae=[],Oe={name:"CheckBox",props:{theme:{type:String,required:!1,default:"accent",validator:function(e){return["accent","light"].includes(e)}},init:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1}},data:function(){return{checked:this.init}},methods:{onClick:function(){this.disabled||(this.checked=!this.checked,this.$emit("click",this.checked))}}},Le=Oe,Ee=(i("a96d"),Object(r["a"])(Le,Ce,Ae,!1,null,"0dd86013",null)),Qe=Ee.exports,Se=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"rounded-bg"},[i("div",{ref:"header-container",staticClass:"header-container"},[i("div",e._l(e.header,(function(t,a){return i("div",{key:a,staticClass:"fixed-header",style:{width:t.width+"px"}},[e._v(" "+e._s(t.name)+" ")])})),0)]),i("div",{ref:"table-container",staticClass:"table-container",style:{maxHeight:e.height+"px"},on:{scroll:e.onScrollTable}},[i("table",{ref:"table"},[i("thead",[i("tr",e._l(e.dataSet.columns,(function(t,a){return i("th",{key:a,ref:"th",refInFor:!0},[i("div",{staticClass:"cell-data",style:e.cellStyle},[e._v(e._s(t))])])})),0)]),i("tbody",e._l(e.currentPageData,(function(t,a){return i("tr",{key:a},e._l(t,(function(t,a){return i("td",{key:a},[i("div",{staticClass:"cell-data",style:e.cellStyle},[e._v(e._s(t))])])})),0)})),0)])])]),i("div",{staticClass:"table-footer"},[i("div",{staticClass:"table-footer-count"},[e._v(" "+e._s(e.dataSet.values.length)+" "+e._s(1===e.dataSet.values.length?"row":"rows")+" retrieved "),e.preview?i("span",[e._v("for preview")]):e._e()]),i("pager",{directives:[{name:"show",rawName:"v-show",value:e.pageCount>1,expression:"pageCount > 1"}],attrs:{"page-count":e.pageCount},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}})],1)])},ke=[],Ye=(i("fb6a"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("paginate",{attrs:{"page-count":e.pageCount,"page-range":5,"margin-pages":1,"prev-text":e.chevron,"next-text":e.chevron,"no-li-surround":!0,"container-class":"paginator-continer","page-link-class":"paginator-page-link","active-class":"paginator-active-page","break-view-link-class":"paginator-break","next-link-class":"paginator-next","prev-link-class":"paginator-prev","disabled-class":"paginator-disabled"},model:{value:e.page,callback:function(t){e.page=t},expression:"page"}})}),Ue=[],Ze=i("8832"),Pe=i.n(Ze),Ge={name:"Pager",components:{Paginate:Pe.a},props:["pageCount","value"],data:function(){return{page:this.value,chevron:'\n <svg width="9" height="9" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0.721924 9.93097L4.85292 5.79997L0.721924 1.66897L1.99992 0.399973L7.39992 5.79997L1.99992 11.2L0.721924 9.93097Z" fill="#506784"/>\n </svg>\n '}},watch:{page:function(){this.$emit("input",this.page)},value:function(){this.page=this.value}}},Ve=Ge,_e=(i("b7c0"),Object(r["a"])(Ve,Ye,Ue,!1,null,"526c1dd2",null)),Re=_e.exports,Be={name:"SqlTable",components:{Pager:Re},props:["dataSet","height","preview"],data:function(){return{header:null,tableWidth:null,currentPage:1,resizeObserver:null}},computed:{cellStyle:function(){var e=this.tableWidth/this.dataSet.columns.length;return{maxWidth:"".concat(Math.max(e,100),"px")}},pageSize:function(){return Math.max(Math.floor(this.height/40),20)},pageCount:function(){return Math.ceil(this.dataSet.values.length/this.pageSize)},currentPageData:function(){var e=(this.currentPage-1)*this.pageSize;return this.dataSet.values.slice(e,e+this.pageSize)}},methods:{calculateHeadersWidth:function(){var e=this;this.tableWidth=this.$refs["table-container"].offsetWidth,this.$nextTick((function(){e.header=e.$refs.th.map((function(e){return{name:e.innerText,width:e.getBoundingClientRect().width}}))}))},onScrollTable:function(){this.$refs["header-container"].scrollLeft=this.$refs["table-container"].scrollLeft}},mounted:function(){this.resizeObserver=new ResizeObserver(this.calculateHeadersWidth),this.resizeObserver.observe(this.$refs.table),this.calculateHeadersWidth()},beforeDestroy:function(){this.resizeObserver.unobserve(this.$refs.table)},watch:{currentPageData:"calculateHeadersWidth",dataSet:function(){this.currentPage=1}}},We=Be,He=Object(r["a"])(We,Se,ke,!1,null,"31926931",null),$e=He.exports,qe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{ref:"logsContainer",staticClass:"logs-container"},e._l(e.messages,(function(t,n){return a("div",{key:n,staticClass:"msg"},["error"===t.type?a("img",{attrs:{src:i("7314")}}):e._e(),"info"===t.type?a("img",{attrs:{src:i("db39"),width:"20px"}}):e._e(),"success"===t.type?a("img",{attrs:{src:i("0bf4")}}):e._e(),"loading"===t.type?a("loading-indicator",{attrs:{progress:t.progress}}):e._e(),a("span",{staticClass:"msg-text"},[e._v(e._s(e.serializeMessage(t)))])],1)})),0)},Je=[],Fe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("svg",{class:e.animationClass,attrs:{height:"20",width:"20",viewBox:"0 0 20 20"}},[i("circle",{staticClass:"loader-svg bg",attrs:{cx:"10",cy:"10",r:"8"}}),i("circle",{staticClass:"loader-svg front",style:{strokeDasharray:e.circleProgress},attrs:{cx:"10",cy:"10",r:"8"}})])},Xe=[],Ke={name:"LoadingIndicator",props:["progress"],computed:{circleProgress:function(){var e=50.24*this.progress/100,t=50.24-e;return"".concat(e,"px, ").concat(t,"px")},animationClass:function(){return void 0===this.progress?"loading":"progress"}}},et=Ke,tt=(i("b61c"),Object(r["a"])(et,Fe,Xe,!1,null,"70cafda4",null)),it=tt.exports,at={name:"logs",props:["messages"],components:{LoadingIndicator:it},watch:{"messages.length":"scrollToBottom"},mounted:function(){this.scrollToBottom()},methods:{scrollToBottom:function(){var e=this;return Object(X["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.$refs.logsContainer,!i){t.next=5;break}return t.next=4,e.$nextTick();case 4:i.scrollTop=i.scrollHeight;case 5:case"end":return t.stop()}}),t)})))()},serializeMessage:function(e){var t="";return null!==e.row&&void 0!==e.row&&("error"===e.type?t+="Error in row ".concat(e.row,". "):t+="Information about row ".concat(e.row,". ")),t+=e.message,/(\.|!|\?)$/.test(t)||(t+="."),e.hint&&(t+=" ".concat(e.hint)),t}}},nt=at,st=(i("bd8e"),Object(r["a"])(nt,qe,Je,!1,null,"1b416337",null)),rt=st.exports,ot=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("svg",{staticClass:"db-edit-icon",attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},on:{mouseover:e.showTooltip,mouseout:e.hideTooltip}},[i("path",{attrs:{d:"M3 10.5V12.75C3 14.25 5.2875 15.54 8.25 15.75V13.5825L8.3475 13.5C5.34 13.32 3 12.045 3 10.5ZM9 9.75C5.685 9.75 3 8.4075 3 6.75V9C3 10.6575 5.685 12 9 12C9.2925 12 9.5775 12 9.87 12L12.75 9.09C11.55 9.54 10.2825 9.75 9 9.75ZM9 2.25C5.685 2.25 3 3.5925 3 5.25C3 6.9075 5.685 8.25 9 8.25C12.315 8.25 15 6.9075 15 5.25C15 3.5925 12.315 2.25 9 2.25ZM15.75 8.3475C15.6375 8.3475 15.5325 8.3925 15.4575 8.475L14.7075 9.225L16.245 10.725L16.995 9.975C17.1525 9.825 17.16 9.57 16.995 9.3975L16.065 8.475C15.99 8.3925 15.885 8.3475 15.78 8.3475H15.75ZM14.28 9.66L9.75 14.205V15.75H11.295L15.84 11.1975L14.28 9.66Z",fill:"#A2B1C6"}})]),i("span",{staticClass:"icon-tooltip",style:e.tooltipStyle},[e._v(" Change database ")])])},ct=[],ut={name:"changeDbIcon",mixins:[P]},lt=ut,Mt=(i("42cf"),Object(r["a"])(lt,ot,ct,!1,null,"6f2bcded",null)),dt=Mt.exports,gt={getPeriod:function(e,t){var i=t.getTime()-e.getTime(),a="",n=Math.floor(i/864e5);i-=864e5*n,n&&(a+=n+" d ");var s=Math.floor(i/36e5);i-=36e5*s,s&&(a+=s+" h ");var r=Math.floor(i/6e4);i-=6e4*r,r&&(a+=r+" m ");var o=Math.floor(i/1e3);return i-=1e3*o,o&&(a+=o+" s "),i&&(a+=i+" ms "),a.replace(/\s$/,"")}},Nt=i("d4ec"),It=i("bee2"),Dt=i("6283"),jt=i.n(Dt);function ht(){return new Worker(i.p+"js/db.worker.56787e4a.worker.js")}var mt=i("ebb0"),yt=i.n(mt);function pt(){var e=new ht;return new vt(e)}var zt={getNewDatabase:pt},ft=0,vt=function(){function e(t){var i=this;Object(Nt["a"])(this,e),this.worker=t,this.pw=new yt.a(t),this.importProgresses={},t.addEventListener("message",(function(e){var t=e.data.progress;if(void 0!==t){var a=e.data.id;i.importProgresses[a].dispatchEvent(new CustomEvent("progress",{detail:t}))}}))}return Object(It["a"])(e,[{key:"shutDown",value:function(){this.worker.terminate()}},{key:"createProgressCounter",value:function(e){var t=ft++;return this.importProgresses[t]=new EventTarget,this.importProgresses[t].addEventListener("progress",(function(t){e(t.detail)})),t}},{key:"deleteProgressCounter",value:function(e){delete this.importProgresses[e]}},{key:"createDb",value:function(){var e=Object(X["a"])(regeneratorRuntime.mark((function e(t,i,a){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pw.postMessage({action:"import",columns:i.columns,values:i.values,progressCounterId:a});case 2:if(n=e.sent,!n.error){e.next=5;break}throw new Error(n.error);case 5:return e.next=7,this.getSchema(t);case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e,this)})));function t(t,i,a){return e.apply(this,arguments)}return t}()},{key:"loadDb",value:function(){var e=Object(X["a"])(regeneratorRuntime.mark((function e(t){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,K.readAsArrayBuffer(t);case 2:return i=e.sent,e.next=5,this.pw.postMessage({action:"open",buffer:i});case 5:if(a=e.sent,!a.error){e.next=8;break}throw new Error(a.error);case 8:return e.abrupt("return",this.getSchema(t.name.replace(/\.[^.]+$/,"")));case 9:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getSchema",value:function(){var e=Object(X["a"])(regeneratorRuntime.mark((function e(t){var i,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i="\n SELECT name, sql\n FROM sqlite_master\n WHERE type='table' AND name NOT LIKE 'sqlite_%';\n ",e.next=3,this.execute(i);case 3:return a=e.sent,n=[],a.values.forEach((function(e){n.push({name:e[0],columns:xt(e[1])})})),e.abrupt("return",{dbName:t,schema:n});case 7:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"execute",value:function(){var e=Object(X["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pw.postMessage({action:"exec",sql:t});case 2:if(i=e.sent,!i.error){e.next=5;break}throw new Error(i.error);case 5:return e.abrupt("return",i[i.length-1]);case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"export",value:function(){var e=Object(X["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.pw.postMessage({action:"export"});case 2:if(i=e.sent,!i.error){e.next=5;break}throw new Error(i.error);case 5:K.exportToFile(i,t);case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()}]),e}();function Tt(e){var t=e.replace(/(?<=tokenize=.+)"tokenchars=.+"/,"").replace(/(?<=tokenize=.+)"remove_diacritics=.+"/,"").replace(/(?<=tokenize=.+)"separators=.+"/,"").replace(/tokenize=.+(?=(,|\)))/,"tokenize=unicode61");return jt()(t)}function xt(e){var t=[],i=Tt(e),a="table"===i.statement[0].format?i.statement[0].definition:i.statement[0].result.args.expression;return a.forEach((function(e){if("column"===e.variant&&["identifier","definition"].includes(e.type)){var i=e.datatype?e.datatype.variant:"N/A";e.datatype&&e.datatype.args&&(i=i+"("+e.datatype.args.expression[0].value,2===e.datatype.args.expression.length&&(i=i+", "+e.datatype.args.expression[1].value),i+=")"),t.push({name:e.name,type:i})}})),t}var bt=["text/csv","text/x-csv","application/x-csv","application/csv","text/x-comma-separated-values","text/comma-separated-values"],wt={name:"DbUploader",props:{type:{type:String,required:!1,default:"regular",validator:function(e){return["regular","illustrated","small"].includes(e)}},width:{type:String,required:!1,default:"unset"}},components:{ChangeDbIcon:dt,TextField:$,DelimiterSelector:we,CloseIcon:ue,CheckBox:Qe,SqlTable:$e,Logs:rt},data:function(){return{state:"",animationPromise:Promise.resolve(),file:null,schema:null,delimiter:"",quoteChar:'"',escapeChar:'"',header:!0,previewData:null,importCsvMessages:[],disableDialog:!1,importCsvCompleted:!1,newDb:null}},mounted:function(){var e=this;"illustrated"===this.type&&(this.animationPromise=new Promise((function(t){e.$refs.fileImg.addEventListener("animationend",(function(e){e.animationName.startsWith("fly")&&t()}))})))},watch:{quoteChar:function(){this.previewCSV()},escapeChar:function(){this.previewCSV()},header:function(){this.previewCSV()}},methods:{cancelCsvImport:function(){this.disableDialog||(this.$modal.hide("parse"),this.newDb&&(this.newDb.shutDown(),this.newDb=null))},finish:function(){var e=this;return Object(X["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.$store.commit("setDb",e.newDb),e.$store.commit("saveSchema",e.schema),!e.importCsvCompleted){t.next=8;break}return e.$modal.hide("parse"),t.next=6,e.$store.dispatch("addTab",{query:"select * from csv_import"});case 6:i=t.sent,e.$store.commit("setCurrentTabId",i);case 8:"/editor"!==e.$route.path&&e.$router.push("/editor");case 9:case"end":return t.stop()}}),t)})))()},previewCSV:function(){var e=this;return Object(X["a"])(regeneratorRuntime.mark((function t(){var i,a,n,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.importCsvCompleted=!1,i={preview:3,quoteChar:e.quoteChar||'"',escapeChar:e.escapeChar,header:e.header,delimiter:e.delimiter},t.prev=2,a=new Date,t.next=6,ae.parse(e.file,i);case 6:n=t.sent,s=new Date,e.previewData=n.data,e.delimiter=n.delimiter,e.importCsvMessages=n.messages||[],n.hasErrors||e.importCsvMessages.push({message:"Preview parsing is completed in ".concat(gt.getPeriod(a,s),"."),type:"success"}),t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](2),e.importCsvMessages=[{message:t.t0,type:"error"}];case 17:case"end":return t.stop()}}),t,null,[[2,14]])})))()},loadDb:function(e){var t=this;return this.newDb=zt.getNewDatabase(),Promise.all([this.newDb.loadDb(e),this.animationPromise]).then((function(e){var i=Object(F["a"])(e,1),a=i[0];t.schema=a,t.finish()}))},loadFromCsv:function(e){var t=this;return Object(X["a"])(regeneratorRuntime.mark((function i(){var a,n,s,r,o,c,u,l,M,d,g,N,I;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return t.disableDialog=!0,a={quoteChar:t.quoteChar||'"',escapeChar:t.escapeChar,header:t.header,delimiter:t.delimiter},n={message:"Parsing CSV...",type:"info"},t.importCsvMessages.push(n),s=setTimeout((function(){n.type="loading"}),1e3),r={message:"Importing CSV into a SQLite database...",type:"info"},o=null,c=function(e){t.$set(r,"progress",e)},t.newDb=zt.getNewDatabase(),u=t.newDb.createProgressCounter(c),i.prev=10,l=new Date,i.next=14,ae.parse(t.file,a);case 14:if(M=i.sent,d=new Date,M.hasErrors){i.next=37;break}return g=M.data.values.length,N=gt.getPeriod(l,d),n.type="success",M.messages.length>0?(t.importCsvMessages=t.importCsvMessages.concat(M.messages),n.message="".concat(g," rows are parsed in ").concat(N,".")):n.message="".concat(g," rows are parsed successfully in ").concat(N,"."),clearTimeout(s),t.importCsvMessages.push(r),o=setTimeout((function(){r.type="loading"}),1e3),I=e.name.replace(/\.[^.]+$/,""),l=new Date,i.next=28,t.newDb.createDb(I,M.data,u);case 28:t.schema=i.sent,d=new Date,N=gt.getPeriod(l,d),r.message="Importing CSV into a SQLite database is completed in ".concat(N,"."),r.type="success",clearTimeout(o),t.importCsvCompleted=!0,i.next=40;break;case 37:n.message="Parsing ended with errors.",n.type="info",t.importCsvMessages=t.importCsvMessages.concat(M.messages);case 40:i.next=47;break;case 42:i.prev=42,i.t0=i["catch"](10),"loading"===n.type&&(n.type="info"),"loading"===r.type&&(r.type="info"),t.importCsvMessages.push({message:i.t0,type:"error"});case 47:clearTimeout(s),clearTimeout(o),t.newDb.deleteProgressCounter(u),t.disableDialog=!1;case 51:case"end":return i.stop()}}),i,null,[[10,42]])})))()},checkFile:function(e){var t=this;return Object(X["a"])(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(t.state="drop",!bt.includes(e.type)){i.next=10;break}return t.file=e,t.header=!0,t.quoteChar='"',t.escapeChar='"',t.delimiter="",i.abrupt("return",Promise.all([t.previewCSV(),t.animationPromise]).then((function(){t.$modal.show("parse")})));case 10:t.loadDb(e);case 11:case"end":return i.stop()}}),i)})))()},browse:function(){K.getFileFromUser(".db,.sqlite,.sqlite3,.csv").then(this.checkFile)},drop:function(e){this.checkFile(e.dataTransfer.files[0])}}},Ct=wt,At=(i("36c1"),Object(r["a"])(Ct,q,J,!1,null,"57c480ec",null)),Ot=At.exports,Lt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",[i("svg",{staticClass:"icon",attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return t.stopPropagation(),e.$emit("click")},mouseover:e.showTooltip,mouseout:e.hideTooltip}},[i("path",{attrs:{d:"M10.5 1.5H4.5C3.675 1.5 3 2.175 3 3V15C3 15.825 3.675 16.5 4.5 16.5H13.5C14.325 16.5 15 15.825 15 15V6L10.5 1.5ZM13.5 15H4.5V3H9.75V6.75H13.5V15ZM12 8.25V13.575L10.425 12L8.325 14.1L6.225 12L8.325 9.9L6.675 8.25H12Z",fill:"#A2B1C6"}})]),i("span",{staticClass:"icon-tooltip",style:e.tooltipStyle},[e._v(" "+e._s(e.tooltip)+" ")])])},Et=[],Qt={name:"ExportIcon",mixins:[P],props:["tooltip"]},St=Qt,kt=(i("4501"),Object(r["a"])(St,Lt,Et,!1,null,"31670b06",null)),Yt=kt.exports,Ut={name:"Schema",components:{TableDescription:S,TextField:$,TreeChevron:O,DbUploader:Ot,ExportIcon:Yt},data:function(){return{schemaVisible:!0,filter:null}},computed:{schema:function(){var e=this;return this.$store.state.schema?this.filter?this.$store.state.schema.filter((function(t){return-1!==t.name.toUpperCase().indexOf(e.filter.toUpperCase())})):this.$store.state.schema:[]},dbName:function(){return this.$store.state.dbName}},methods:{exportToFile:function(){this.$store.state.db.export("".concat(this.dbName,".sqlite"))}}},Zt=Ut,Pt=(i("c6a4"),Object(r["a"])(Zt,z,f,!1,null,"6fe132f3",null)),Gt=Pt.exports,Vt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"tabs"}},[e.tabs.length>0?i("div",{attrs:{id:"tabs-header"}},e._l(e.tabs,(function(t,a){return i("div",{key:a,class:[{"tab-selected":t.id===e.selectedIndex},"tab"],on:{click:function(i){return e.selectTab(t.id)}}},[i("div",{staticClass:"tab-name"},[i("span",{directives:[{name:"show",rawName:"v-show",value:t.isUnsaved,expression:"tab.isUnsaved"}],staticClass:"star"},[e._v("*")]),t.name?i("span",[e._v(e._s(t.name))]):i("span",{staticClass:"tab-untitled"},[e._v(e._s(t.tempName))])]),i("div",[i("close-icon",{staticClass:"close-icon",attrs:{size:10},on:{click:function(t){return e.beforeCloseTab(a)}}})],1)])})),0):e._e(),e._l(e.tabs,(function(e,t){return i("tab",{key:e.id,attrs:{id:e.id,"init-name":e.name,"init-query":e.query,"init-chart":e.chart,"is-predefined":e.isPredefined,"tab-index":t}})})),i("div",{directives:[{name:"show",rawName:"v-show",value:0===e.tabs.length,expression:"tabs.length === 0"}],attrs:{id:"start-guide"}},[i("span",{staticClass:"link",on:{click:function(t){return e.$root.$emit("createNewQuery")}}},[e._v("Create")]),e._v(" a new query from scratch or open the one from "),i("router-link",{staticClass:"link",attrs:{to:"/my-queries"}},[e._v("My queries")])],1),i("modal",{attrs:{name:"close-warn",classes:"dialog",height:"auto"}},[i("div",{staticClass:"dialog-header"},[e._v(" Close tab "+e._s(null!==e.closingTabIndex?e.tabs[e.closingTabIndex].name||"["+e.tabs[e.closingTabIndex].tempName+"]":"")+" "),i("close-icon",{on:{click:function(t){return e.$modal.hide("close-warn")}}})],1),i("div",{staticClass:"dialog-body"},[e._v(" You have unsaved changes. Save changes in "+e._s(null!==e.closingTabIndex?e.tabs[e.closingTabIndex].name||"["+e.tabs[e.closingTabIndex].tempName+"]":"")+" before closing? ")]),i("div",{staticClass:"dialog-buttons-container"},[i("button",{staticClass:"secondary",on:{click:function(t){return e.closeTab(e.closingTabIndex)}}},[e._v(" Close without saving ")]),i("button",{staticClass:"secondary",on:{click:function(t){return e.$modal.hide("close-warn")}}},[e._v("Cancel")]),i("button",{staticClass:"primary",on:{click:function(t){return e.saveAndClose(e.closingTabIndex)}}},[e._v("Save and close")])])])],2)},_t=[],Rt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"tab-content-container"},[i("splitpanes",{staticClass:"query-results-splitter",attrs:{horizontal:"",before:{size:50,max:100},after:{size:50,max:100}},scopedSlots:e._u([{key:"left-pane",fn:function(){return[i("div",{staticClass:"query-editor"},[i("sql-editor",{model:{value:e.query,callback:function(t){e.query=t},expression:"query"}})],1)]},proxy:!0},{key:"right-pane",fn:function(){return[i("div",{ref:"bottomPane",attrs:{id:"bottomPane"}},[i("view-switcher",{attrs:{view:e.view},on:{"update:view":function(t){e.view=t}}}),i("div",{directives:[{name:"show",rawName:"v-show",value:"table"===e.view,expression:"view === 'table'"}],staticClass:"table-view"},[i("div",{directives:[{name:"show",rawName:"v-show",value:null===e.result&&!e.isGettingResults&&!e.error,expression:"result === null && !isGettingResults && !error"}],staticClass:"table-preview result-before"},[e._v(" Run your query and get results here ")]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.isGettingResults,expression:"isGettingResults"}],staticClass:"table-preview result-in-progress"},[e._v(" Fetching results... ")]),i("div",{directives:[{name:"show",rawName:"v-show",value:void 0===e.result&&!e.isGettingResults&&!e.error,expression:"result === undefined && !isGettingResults && !error"}],staticClass:"table-preview result-empty"},[e._v(" No rows retrieved according to your query ")]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.error,expression:"error"}],staticClass:"table-preview error"},[e._v(" "+e._s(e.error)+" ")]),e.result?i("sql-table",{attrs:{"data-set":e.result,height:e.tableViewHeight}}):e._e()],1),i("chart",{ref:"chart",attrs:{visible:"chart"===e.view,"sql-result":e.result,"init-chart":e.initChart},on:{update:function(t){return e.$store.commit("updateTab",{index:e.tabIndex,isUnsaved:!0})}}})],1)]},proxy:!0}])})],1)},Bt=[],Wt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"codemirror-container"},[i("codemirror",{attrs:{options:e.cmOptions},on:{changes:e.onChange},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}})],1)},Ht=[],$t=i("56b3"),qt=i.n($t),Jt=(i("9b74"),i("991c"),i("a434"),i("2f62")),Ft=i("e1bd");a["default"].use(Jt["a"]);var Xt={schema:null,dbFile:null,dbName:null,tabs:[],currentTab:null,currentTabId:null,untitledLastIndex:0,predefinedQueries:[],db:null},Kt={setDb:function(e,t){e.db&&e.db.shutDown(),e.db=t},saveSchema:function(e,t){var i=t.dbName,a=t.schema;e.dbName=i,e.schema=a},updateTab:function(e,t){var i=t.index,n=t.name,s=t.id,r=t.query,o=t.chart,c=t.isUnsaved,u=e.tabs[i],l=u.id;s&&e.currentTabId===l&&(e.currentTabId=s),s&&(u.id=s),n&&(u.name=n),r&&(u.query=r),o&&(u.chart=o),void 0!==c&&(u.isUnsaved=c),c||delete u.isPredefined,a["default"].set(e.tabs,i,u)},deleteTab:function(e,t){e.tabs[t].id===e.currentTabId&&(t<e.tabs.length-1?e.currentTabId=e.tabs[t+1].id:t>0?e.currentTabId=e.tabs[t-1].id:(e.currentTabId=null,e.currentTab=null,e.untitledLastIndex=0)),e.tabs.splice(t,1)},setCurrentTabId:function(e,t){e.currentTabId=t},setCurrentTab:function(e,t){e.currentTab=t},updatePredefinedQueries:function(e,t){Array.isArray(t)?e.predefinedQueries=t:e.predefinedQueries=[t]}},ei={addTab:function(e,t){return Object(X["a"])(regeneratorRuntime.mark((function i(){var a,n;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=e.state,n=t?JSON.parse(JSON.stringify(t)):{},t&&t.id?n.isUnsaved=!1:(n.id=Object(Ft["a"])(),n.name=null,n.tempName=a.untitledLastIndex?"Untitled ".concat(a.untitledLastIndex):"Untitled",n.isUnsaved=!0),a.tabs.some((function(e){return e.id===n.id}))||(a.tabs.push(n),n.name||(a.untitledLastIndex+=1)),i.abrupt("return",n.id);case 5:case"end":return i.stop()}}),i)})))()}},ti=new Jt["a"].Store({state:Xt,mutations:Kt,actions:ei}),ii=i("b012");function ai(e,t){var i=e.getTokenAt(e.getCursor()).string.toUpperCase(),a=qt.a.hint.sql(e,t);return 1===a.list.length&&a.list[0].text.toUpperCase()===i&&(a.list=[]),a}var ni={get tables(){var e={};return ti.state.schema&&ti.state.schema.forEach((function(t){e[t.name]=t.columns.map((function(e){return e.name}))})),e},completeSingle:!1,completeOnSingleClick:!0,alignWithWord:!1},si={show:Object(ii["debounce"])((function(e){var t=e.getTokenAt(e.getCursor()),i=t.string.slice(-1),a=t.type;"string"!==a&&i&&" "!==i&&";"!==i&&qt.a.showHint(e,ai,ni)}),400)},ri=i("8f94"),oi=(i("a7be"),i("ffda"),i("d5db"),i("f6b6"),i("f4ba"),{name:"SqlEditor",props:["value"],components:{codemirror:ri["codemirror"]},data:function(){return{query:this.value,cmOptions:{tabSize:4,mode:"text/x-mysql",theme:"neo",lineNumbers:!0,line:!0,autofocus:!0,autoRefresh:!0}}},watch:{query:function(){this.$emit("input",this.query)}},methods:{onChange:si.show}}),ci=oi,ui=(i("0a19"),Object(r["a"])(ci,Wt,Ht,!1,null,"4ca067fd",null)),li=ui.exports,Mi=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"view-switcher"},[i("div",{class:["table-mode",{"active-mode":"table"===e.view}],on:{click:function(t){return e.$emit("update:view","table")}}},[e._v(" Table ")]),i("div",{class:["chart-mode",{"active-mode":"chart"===e.view}],on:{click:function(t){return e.$emit("update:view","chart")}}},[e._v(" Chart ")])])},di=[],gi={name:"ViewSwitcher",props:["view"]},Ni=gi,Ii=(i("76c2"),Object(r["a"])(Ni,Mi,di,!1,null,"6204f3ca",null)),Di=Ii.exports,ji=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"chart-container"},[i("div",{directives:[{name:"show",rawName:"v-show",value:!e.sqlResult&&e.visible,expression:"!sqlResult && visible"}],staticClass:"warning chart-warning"},[e._v(" There is no data to build a chart. Run your sql query and make sure the result is not empty. ")]),i("PlotlyEditor",{ref:"plotlyEditor",staticClass:"chart",style:{height:e.sqlResult?"100%":"calc(100% - 40px)"},attrs:{data:e.state.data,layout:e.state.layout,frames:e.state.frames,config:{editable:!0,displaylogo:!1},dataSources:e.dataSources,dataSourceOptions:e.dataSourceOptions,plotly:e.plotly,useResizeHandler:!0,debug:!0,advancedTraceTypeSelector:!0},on:{onUpdate:e.update,onRender:e.go}})],1)},hi=[],mi=i("f794"),yi=i.n(mi),pi=(i("0848"),i("b1c6")),zi=i.n(pi),fi=(i("b64b"),i("662f")),vi=i.n(fi);function Ti(e){if(!e)return{};var t={},i=e.values,a=Object(F["a"])(i,1),n=a[0],s=n.map((function(e,t){return i.map((function(e){return e[t]}))}));return e.columns.forEach((function(e,i){t[e]=s[i]})),t}function xi(e){return Object.keys(e).map((function(e){return{value:e,label:e}}))}function bi(e,t){var i=JSON.parse(JSON.stringify(e)),a={};for(var n in t)a[n]=[];return vi()(i.data,a),i}var wi={getDataSourcesFromSqlResult:Ti,getOptionsFromDataSources:xi,getChartStateForSave:bi},Ci={name:"Chart",props:["sqlResult","initChart","visible"],components:{PlotlyEditor:zi.a},data:function(){return{plotly:yi.a,state:this.initChart||{data:[],layout:{},frames:[]}}},computed:{dataSources:function(){return wi.getDataSourcesFromSqlResult(this.sqlResult)},dataSourceOptions:function(){return wi.getOptionsFromDataSources(this.dataSources)}},watch:{dataSources:function(){vi()(this.state.data,this.dataSources)}},methods:{go:function(e,t,i){},update:function(e,t,i){this.state={data:e,layout:t,frames:i},this.$emit("update")},getChartStateForSave:function(){return wi.getChartStateForSave(this.state,this.dataSources)}}},Ai=Ci,Oi=(i("375f"),Object(r["a"])(Ai,ji,hi,!1,null,"14c5040b",null)),Li=Oi.exports,Ei={name:"Tab",props:["id","initName","initQuery","initChart","tabIndex","isPredefined"],components:{SqlEditor:li,SqlTable:$e,Splitpanes:p,ViewSwitcher:Di,Chart:Li},data:function(){return{query:this.initQuery,result:null,view:"table",tableViewHeight:0,isGettingResults:!1,error:null,resizeObserver:null}},computed:{isActive:function(){return this.id===this.$store.state.currentTabId}},created:function(){this.$store.commit("setCurrentTab",this)},mounted:function(){this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.$refs.bottomPane),this.calculateTableHeight()},beforeDestroy:function(){this.resizeObserver.unobserve(this.$refs.bottomPane)},watch:{isActive:function(){this.isActive&&this.$store.commit("setCurrentTab",this)},query:function(){this.$store.commit("updateTab",{index:this.tabIndex,isUnsaved:!0})}},methods:{execute:function(){var e=this;return Object(X["a"])(regeneratorRuntime.mark((function t(){var i,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.isGettingResults=!0,e.result=null,e.error=null,i=e.$store.state,t.prev=4,t.next=7,i.db.execute(e.query+";");case 7:return e.result=t.sent,t.next=10,i.db.getSchema(i.dbName);case 10:a=t.sent,e.$store.commit("saveSchema",a),t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](4),e.error=t.t0;case 17:e.isGettingResults=!1;case 18:case"end":return t.stop()}}),t,null,[[4,14]])})))()},handleResize:function(){var e=this;"chart"===this.view&&(this.view="not chart",this.$nextTick((function(){e.view="chart"}))),this.calculateTableHeight()},calculateTableHeight:function(){var e=this.$refs.bottomPane,t=e.offsetHeight-88-42-30-5-40;this.tableViewHeight=t-t%40}}},Qi=Ei,Si=(i("8ab7"),Object(r["a"])(Qi,Rt,Bt,!1,null,"62750484",null)),ki=Si.exports,Yi={components:{Tab:ki,CloseIcon:ue},data:function(){return{closingTabIndex:null}},computed:{tabs:function(){return this.$store.state.tabs},selectedIndex:function(){return this.$store.state.currentTabId}},created:function(){window.addEventListener("beforeunload",this.leavingSqliteviz)},methods:{leavingSqliteviz:function(e){this.tabs.some((function(e){return e.isUnsaved}))&&(e.preventDefault(),e.returnValue="")},selectTab:function(e){this.$store.commit("setCurrentTabId",e)},beforeCloseTab:function(e){this.closingTabIndex=e,this.tabs[e].isUnsaved?this.$modal.show("close-warn"):this.closeTab(e)},closeTab:function(e){this.$modal.hide("close-warn"),this.closingTabIndex=null,this.$store.commit("deleteTab",e)},saveAndClose:function(e){var t=this;this.$root.$on("querySaved",(function(){t.closeTab(e),t.$root.$off("querySaved")})),this.selectTab(this.tabs[e].id),this.$modal.hide("close-warn"),this.$nextTick((function(){t.$root.$emit("saveQuery")}))}}},Ui=Yi,Zi=(i("47b0"),Object(r["a"])(Ui,Vt,_t,!1,null,null,null)),Pi=Zi.exports,Gi={name:"Editor",components:{Schema:Gt,Splitpanes:p,Tabs:Pi,DbUploader:Ot}},Vi=Gi,_i=(i("060a"),Object(r["a"])(Vi,M,d,!1,null,"6d3669dd",null)),Ri=_i.exports,Bi=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[0===e.showedQueries.length?a("div",{attrs:{id:"start-guide"}},[e._v(" You don't have saved queries so far. "),a("span",{staticClass:"link",on:{click:function(t){return e.$root.$emit("createNewQuery")}}},[e._v("Create")]),e._v(" the one from scratch or "),a("span",{staticClass:"link",on:{click:e.importQueries}},[e._v("import")]),e._v(" from a file. ")]):e._e(),a("div",{directives:[{name:"show",rawName:"v-show",value:e.showedQueries.length>0,expression:"showedQueries.length > 0"}],ref:"my-queries-content",attrs:{id:"my-queries-content"}},[a("div",{attrs:{id:"my-queries-toolbar"}},[a("div",{attrs:{id:"toolbar-buttons"}},[a("button",{staticClass:"toolbar",attrs:{id:"toolbar-btns-import"},on:{click:e.importQueries}},[e._v(" Import ")]),a("button",{directives:[{name:"show",rawName:"v-show",value:e.selectedQueriesCount>0,expression:"selectedQueriesCount > 0"}],staticClass:"toolbar",attrs:{id:"toolbar-btns-export"},on:{click:function(t){return e.exportSelectedQueries()}}},[e._v(" Export ")]),a("button",{directives:[{name:"show",rawName:"v-show",value:e.selectedNotPredefinedCount>0,expression:"selectedNotPredefinedCount > 0"}],staticClass:"toolbar",attrs:{id:"toolbar-btns-delete"},on:{click:function(t){return e.showDeleteDialog(e.selectedQueriesIds)}}},[e._v(" Delete ")])]),a("div",{attrs:{id:"toolbar-search"}},[a("text-field",{attrs:{placeholder:"Search query by name",width:"300px"},model:{value:e.filter,callback:function(t){e.filter=t},expression:"filter"}})],1)]),a("div",{staticClass:"rounded-bg"},[a("div",{staticClass:"header-container"},[a("div",[a("div",{ref:"name-th",staticClass:"fixed-header"},[a("check-box",{ref:"mainCheckBox",attrs:{theme:"light"},on:{click:e.toggleSelectAll}}),a("div",{staticClass:"name-th"},[e._v("Name")])],1),a("div",{staticClass:"fixed-header"},[e._v(" Created at ")])])]),a("div",{staticClass:"table-container",style:{"max-height":e.maxTableHeight+"px"}},[a("table",{ref:"table"},[a("tbody",e._l(e.showedQueries,(function(t,i){return a("tr",{key:t.id,on:{click:function(t){return e.openQuery(i)}}},[a("td",{ref:"name-td",refInFor:!0},[a("div",{staticClass:"cell-data"},[a("check-box",{ref:"rowCheckBox",refInFor:!0,attrs:{init:e.selectAll||e.selectedQueriesIds.has(t.id)},on:{click:function(i){return e.toggleRow(i,t.id)}}}),a("div",{staticClass:"name"},[e._v(e._s(t.name))]),t.isPredefined?a("div",{staticClass:"badge",on:{mouseover:e.showTooltip,mouseout:e.hideTooltip}},[e._v(" Predefined "),a("span",{staticClass:"icon-tooltip",style:e.tooltipStyle},[e._v(" Predefined queries come from the server. These queries cant be deleted or renamed. ")])]):e._e()],1)]),a("td",[a("div",{staticClass:"second-column"},[a("div",{staticClass:"date-container"},[e._v(e._s(e._f("date")(t.createdAt)))]),a("div",{staticClass:"icons-container"},[t.isPredefined?e._e():a("rename-icon",{on:{click:function(i){return e.showRenameDialog(t.id)}}}),a("copy-icon",{on:{click:function(t){return e.duplicateQuery(i)}}}),a("export-icon",{attrs:{tooltip:"Export query to file"},on:{click:function(i){return e.exportToFile([t],t.name+".json")}}}),t.isPredefined?e._e():a("delete-icon",{on:{click:function(i){e.showDeleteDialog((new Set).add(t.id))}}})],1)])])])})),0)])])])]),a("modal",{attrs:{name:"rename",classes:"dialog",height:"auto"}},[a("div",{staticClass:"dialog-header"},[e._v(" Rename query "),a("close-icon",{on:{click:function(t){return e.$modal.hide("rename")}}})],1),a("div",{staticClass:"dialog-body"},[a("text-field",{attrs:{label:"New query name","error-msg":e.errorMsg,width:"100%"},model:{value:e.newName,callback:function(t){e.newName=t},expression:"newName"}})],1),a("div",{staticClass:"dialog-buttons-container"},[a("button",{staticClass:"secondary",on:{click:function(t){return e.$modal.hide("rename")}}},[e._v("Cancel")]),a("button",{staticClass:"primary",on:{click:e.renameQuery}},[e._v("Rename")])])]),a("modal",{attrs:{name:"delete",classes:"dialog",height:"auto"}},[a("div",{staticClass:"dialog-header"},[e._v(" Delete "+e._s(e.deleteGroup?"queries":"query")+" "),a("close-icon",{on:{click:function(t){return e.$modal.hide("delete")}}})],1),a("div",{staticClass:"dialog-body"},[e._v(" "+e._s(e.deleteDialogMsg)+" "),a("div",{directives:[{name:"show",rawName:"v-show",value:e.selectedQueriesCount>e.selectedNotPredefinedCount,expression:"selectedQueriesCount > selectedNotPredefinedCount"}],attrs:{id:"note"}},[a("img",{attrs:{src:i("db39")}}),e._v(" Note: Predefined queries you've selected won't be deleted ")])]),a("div",{staticClass:"dialog-buttons-container"},[a("button",{staticClass:"secondary",on:{click:function(t){return e.$modal.hide("delete")}}},[e._v("Cancel")]),a("button",{staticClass:"primary",on:{click:e.deleteQuery}},[e._v("Delete")])])])],1)},Wi=[],Hi=(i("6062"),i("c740"),function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",[i("svg",{staticClass:"icon",attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return t.stopPropagation(),e.$emit("click")},mouseover:e.showTooltip,mouseout:e.hideTooltip}},[i("path",{attrs:{d:"M10.545 6.75L11.25 7.455L4.44 14.25H3.75V13.56L10.545 6.75ZM13.245 2.25C13.0575 2.25 12.8625 2.325 12.72 2.4675L11.3475 3.84L14.16 6.6525L15.5325 5.28C15.825 4.9875 15.825 4.5 15.5325 4.2225L13.7775 2.4675C13.6275 2.3175 13.44 2.25 13.245 2.25ZM10.545 4.6425L2.25 12.9375V15.75H5.0625L13.3575 7.455L10.545 4.6425Z",fill:"#A2B1C6"}})]),i("span",{staticClass:"icon-tooltip",style:e.tooltipStyle},[e._v(" Rename query ")])])}),$i=[],qi={name:"RenameIcon",mixins:[P]},Ji=qi,Fi=(i("d275"),Object(r["a"])(Ji,Hi,$i,!1,null,"8de5327e",null)),Xi=Fi.exports,Ki=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",[i("svg",{staticClass:"icon",attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return t.stopPropagation(),e.$emit("click")},mouseover:e.showTooltip,mouseout:e.hideTooltip}},[i("path",{attrs:{d:"M14.25 15.75H6V5.25H14.25V15.75ZM14.25 3.75H6C5.60218 3.75 5.22064 3.90804 4.93934 4.18934C4.65804 4.47064 4.5 4.85218 4.5 5.25V15.75C4.5 16.1478 4.65804 16.5294 4.93934 16.8107C5.22064 17.092 5.60218 17.25 6 17.25H14.25C14.6478 17.25 15.0294 17.092 15.3107 16.8107C15.592 16.5294 15.75 16.1478 15.75 15.75V5.25C15.75 4.85218 15.592 4.47064 15.3107 4.18934C15.0294 3.90804 14.6478 3.75 14.25 3.75ZM12 0.75H3C2.60218 0.75 2.22064 0.908035 1.93934 1.18934C1.65804 1.47064 1.5 1.85218 1.5 2.25V12.75H3V2.25H12V0.75Z",fill:"#A2B1C6"}})]),i("span",{staticClass:"icon-tooltip",style:e.tooltipStyle},[e._v(" Duplicate query ")])])},ea=[],ta={name:"CopyIcon",mixins:[P]},ia=ta,aa=(i("86b5"),Object(r["a"])(ia,Ki,ea,!1,null,"40bbfe5e",null)),na=aa.exports,sa=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",[i("svg",{staticClass:"icon",attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(t){return t.stopPropagation(),e.$emit("click")},mouseover:e.showTooltip,mouseout:e.hideTooltip}},[i("path",{attrs:{d:"M6.75 2.25V3H3V4.5H3.75V14.25C3.75 14.6478 3.90804 15.0294 4.18934 15.3107C4.47064 15.592 4.85218 15.75 5.25 15.75H12.75C13.1478 15.75 13.5294 15.592 13.8107 15.3107C14.092 15.0294 14.25 14.6478 14.25 14.25V4.5H15V3H11.25V2.25H6.75ZM5.25 4.5H12.75V14.25H5.25V4.5ZM6.75 6V12.75H8.25V6H6.75ZM9.75 6V12.75H11.25V6H9.75Z",fill:"#A2B1C6"}})]),i("span",{staticClass:"icon-tooltip",style:e.tooltipStyle},[e._v(" Delete query ")])])},ra=[],oa={name:"DeleteIcon",mixins:[P]},ca=oa,ua=(i("b53a"),Object(r["a"])(ca,sa,ra,!1,null,"50e733b4",null)),la=ua.exports,Ma=(i("2532"),{getStoredQueries:function(){return JSON.parse(localStorage.getItem("myQueries"))||[]},duplicateQuery:function(e){var t=JSON.parse(JSON.stringify(e));return t.name=t.name+" Copy",t.id=Object(Ft["a"])(),t.createdAt=new Date,delete t.isPredefined,t},isTabNeedName:function(e){var t=!e.initName;return e.isPredefined||t},save:function(e,t){var i={id:e.isPredefined?Object(Ft["a"])():e.id,query:e.query,chart:e.$refs.chart.getChartStateForSave(),name:t||e.initName},a=this.getStoredQueries();if(t)i.createdAt=new Date;else{var n=a.findIndex((function(t){return t.id===e.id}));i.createdAt=a[n].createdAt}return t?a.push(i):a[n]=i,this.updateStorage(a),i},updateStorage:function(e){localStorage.setItem("myQueries",JSON.stringify(e))},serialiseQueries:function(e){var t=JSON.parse(JSON.stringify(e));return t.forEach((function(e){return delete e.isPredefined})),JSON.stringify(t,null,4)},deserialiseQueries:function(e){var t=this,i=JSON.parse(e);return Array.isArray(i)||(i=[i]),i.forEach((function(e){var i=t.getStoredQueries().map((function(e){return e.id}));i.includes(e.id)&&(e.id=Object(Ft["a"])())})),i},importQueries:function(){var e=this;return K.importFile().then((function(t){return e.deserialiseQueries(t)}))},readPredefinedQueries:function(){return K.readFile("./queries.json").then((function(e){return e.json()}))}}),da={name:"MyQueries",components:{RenameIcon:Xi,CopyIcon:na,ExportIcon:Yt,DeleteIcon:la,CloseIcon:ue,TextField:$,CheckBox:Qe},mixins:[P],data:function(){return{queries:[],filter:null,newName:null,processedQueryId:null,errorMsg:null,selectedQueriesIds:new Set,selectedQueriesCount:0,selectedNotPredefinedCount:0,selectAll:!1,deleteGroup:!1,resizeObserver:null,maxTableHeight:0}},computed:{predefinedQueries:function(){return this.$store.state.predefinedQueries.map((function(e){return e.isPredefined=!0,e}))},predefinedQueriesIds:function(){return new Set(this.predefinedQueries.map((function(e){return e.id})))},showedQueries:function(){var e=this,t=this.allQueries;return this.filter&&(t=t.filter((function(t){return t.name.toUpperCase().indexOf(e.filter.toUpperCase())>=0}))),t},allQueries:function(){return this.predefinedQueries.concat(this.queries)},processedQueryIndex:function(){var e=this;return this.queries.findIndex((function(t){return t.id===e.processedQueryId}))},deleteDialogMsg:function(){if(!this.deleteGroup&&(null===this.processedQueryIndex||this.processedQueryIndex<0||this.processedQueryIndex>this.queries.length))return"";var e=this.deleteGroup?"".concat(this.selectedNotPredefinedCount," ").concat(this.selectedNotPredefinedCount>1?"queries":"query"):'"'.concat(this.queries[this.processedQueryIndex].name,'"');return"Are you sure you want to delete ".concat(e,"?")}},created:function(){var e=this;Ma.readPredefinedQueries().then((function(t){e.$store.commit("updatePredefinedQueries",t)})).catch(console.error).finally((function(){e.queries=Ma.getStoredQueries()}))},mounted:function(){this.resizeObserver=new ResizeObserver(this.calcMaxTableHeight),this.resizeObserver.observe(this.$refs["my-queries-content"]),this.tableResizeObserver=new ResizeObserver(this.calcNameWidth),this.tableResizeObserver.observe(this.$refs.table),this.calcNameWidth(),this.calcMaxTableHeight()},beforeDestroy:function(){this.resizeObserver.unobserve(this.$refs["my-queries-content"]),this.tableResizeObserver.unobserve(this.$refs.table)},filters:{date:function(e){if(!e)return"";var t={year:"numeric",month:"long",day:"numeric"},i={hour12:!1,hour:"2-digit",minute:"2-digit"};return new Date(e).toLocaleDateString("en-GB",t)+" "+new Date(e).toLocaleTimeString("en-GB",i)}},methods:{calcNameWidth:function(){var e=this.$refs["name-td"]?this.$refs["name-td"][0].getBoundingClientRect().width:0;this.$refs["name-th"].style="width: ".concat(e,"px")},calcMaxTableHeight:function(){var e=this.$refs["my-queries-content"].offsetHeight-200;this.maxTableHeight=e-e%40+1},openQuery:function(e){var t=this,i=this.showedQueries[e];this.$store.dispatch("addTab",i).then((function(e){t.$store.commit("setCurrentTabId",e),t.$router.push("/editor")}))},showRenameDialog:function(e){this.errorMsg=null,this.processedQueryId=e,this.newName=this.queries[this.processedQueryIndex].name,this.$modal.show("rename")},renameQuery:function(){if(this.newName){var e=this.queries[this.processedQueryIndex];e.name=this.newName,this.$set(this.queries,this.processedQueryIndex,e),Ma.updateStorage(this.queries);var t=this.findTabIndex(e.id);t>=0&&this.$store.commit("updateTab",{index:t,name:this.newName,id:e.id}),this.$modal.hide("rename")}else this.errorMsg="Query name can't be empty"},duplicateQuery:function(e){var t=Ma.duplicateQuery(this.showedQueries[e]);this.selectAll&&(this.selectedQueriesIds.add(t.id),this.selectedQueriesCount=this.selectedQueriesIds.size),this.queries.push(t),Ma.updateStorage(this.queries)},showDeleteDialog:function(e){this.deleteGroup=e.size>1,this.deleteGroup||(this.processedQueryId=e.values().next().value),this.$modal.show("delete")},deleteQuery:function(){var e=this;if(this.$modal.hide("delete"),this.deleteGroup){this.queries=this.selectAll?[]:this.queries.filter((function(t){return!e.selectedQueriesIds.has(t.id)}));for(var t=this.$store.state.tabs,i=t.length-1;i>=0;i--)this.selectedQueriesIds.has(t[i].id)&&this.$store.commit("deleteTab",i);this.selectedQueriesIds.clear()}else{this.queries.splice(this.processedQueryIndex,1);var a=this.findTabIndex(this.processedQueryId);a>=0&&this.$store.commit("deleteTab",a),this.selectedQueriesIds.has(this.processedQueryId)&&this.selectedQueriesIds.delete(this.processedQueryId)}this.selectedQueriesCount=this.selectedQueriesIds.size,Ma.updateStorage(this.queries)},findTabIndex:function(e){return this.$store.state.tabs.findIndex((function(t){return t.id===e}))},exportToFile:function(e,t){var i=Ma.serialiseQueries(e);K.exportToFile(i,t)},exportSelectedQueries:function(){var e=this,t=this.selectAll?this.allQueries:this.allQueries.filter((function(t){return e.selectedQueriesIds.has(t.id)}));this.exportToFile(t,"My sqliteviz queries.json")},importQueries:function(){var e=this;Ma.importQueries().then((function(t){e.selectAll&&(t.forEach((function(t){e.selectedQueriesIds.add(t.id)})),e.selectedQueriesCount=e.selectedQueriesIds.size),e.queries=e.queries.concat(t),Ma.updateStorage(e.queries)}))},toggleSelectAll:function(e){this.selectAll=e,this.$refs.rowCheckBox.forEach((function(t){t.checked=e})),this.selectedQueriesIds=e?new Set(this.allQueries.map((function(e){return e.id}))):new Set,this.selectedQueriesCount=this.selectedQueriesIds.size,this.selectedNotPredefinedCount=e?this.queries.length:0},toggleRow:function(e,t){var i=this.predefinedQueriesIds.has(t);e?(this.selectedQueriesIds.add(t),i||(this.selectedNotPredefinedCount+=1)):(this.selectedQueriesIds.size===this.allQueries.length&&(this.$refs.mainCheckBox.checked=!1,this.selectAll=!1),this.selectedQueriesIds.delete(t),i||(this.selectedNotPredefinedCount-=1)),this.selectedQueriesCount=this.selectedQueriesIds.size}}},ga=da,Na=(i("6973"),Object(r["a"])(ga,Bi,Wi,!1,null,"6b9faaa0",null)),Ia=Na.exports,Da=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"dbloader-container"}},[i("db-uploader",{attrs:{type:"illustrated"}}),i("div",{attrs:{id:"note"}},[e._v(" Sqliteviz is fully client-side. Your database never leaves your computer. ")]),i("button",{staticClass:"secondary",attrs:{id:"skip"},on:{click:function(t){return e.$router.push("/editor")}}},[e._v(" Skip database loading ")])],1)},ja=[],ha={name:"Home",components:{DbUploader:Ot}},ma=ha,ya=(i("1973"),Object(r["a"])(ma,Da,ja,!1,null,"0874a31b",null)),pa=ya.exports,za=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("main-menu"),i("keep-alive",{attrs:{include:"Editor"}},[i("router-view",{attrs:{id:"main-view"}})],1)],1)},fa=[],va=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("nav",[a("div",[a("router-link",{attrs:{to:"/editor"}},[e._v("Editor")]),a("router-link",{attrs:{to:"/my-queries"}},[e._v("My queries")])],1),a("div",[e.currentQuery&&"/editor"===e.$route.path?a("button",{staticClass:"primary",attrs:{id:"run-btn",disabled:e.runDisabled},on:{click:e.currentQuery.execute}},[e._v(" Run ")]):e._e(),a("button",{directives:[{name:"show",rawName:"v-show",value:e.currentQuery&&"/editor"===e.$route.path,expression:"currentQuery && $route.path === '/editor'"}],staticClass:"primary",attrs:{id:"save-btn",disabled:!e.isUnsaved},on:{click:e.checkQueryBeforeSave}},[e._v(" Save ")]),a("button",{staticClass:"primary",attrs:{id:"create-btn"},on:{click:e.createNewQuery}},[e._v(" Create ")])]),a("modal",{attrs:{name:"save",classes:"dialog",height:"auto"}},[a("div",{staticClass:"dialog-header"},[e._v(" Save query "),a("close-icon",{on:{click:e.cancelSave}})],1),a("div",{staticClass:"dialog-body"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isPredefined,expression:"isPredefined"}],attrs:{id:"save-note"}},[a("img",{attrs:{src:i("db39")}}),e._v(" Note: Predefined queries can't be edited. That's why your modifications will be saved as a new query. Enter the name for it. ")]),a("text-field",{attrs:{label:"Query name","error-msg":e.errorMsg,width:"100%"},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),a("div",{staticClass:"dialog-buttons-container"},[a("button",{staticClass:"secondary",on:{click:e.cancelSave}},[e._v("Cancel")]),a("button",{staticClass:"primary",on:{click:e.saveQuery}},[e._v("Save")])])])],1)},Ta=[],xa={name:"MainMenu",components:{TextField:$,CloseIcon:ue},data:function(){return{name:"",errorMsg:null}},computed:{currentQuery:function(){return this.$store.state.currentTab},isUnsaved:function(){if(!this.currentQuery)return!1;var e=this.currentQuery.tabIndex,t=this.$store.state.tabs[e];return t&&t.isUnsaved},isPredefined:function(){return!!this.currentQuery&&this.currentQuery.isPredefined},runDisabled:function(){return this.currentQuery&&(!this.$store.state.schema||!this.currentQuery.query)}},created:function(){this.$root.$on("createNewQuery",this.createNewQuery),this.$root.$on("saveQuery",this.checkQueryBeforeSave),document.addEventListener("keydown",this._keyListener)},beforeDestroy:function(){document.removeEventListener("keydown",this._keyListener)},methods:{createNewQuery:function(){var e=this;this.$store.dispatch("addTab").then((function(t){e.$store.commit("setCurrentTabId",t),"/editor"!==e.$route.path&&e.$router.push("/editor")}))},cancelSave:function(){this.$modal.hide("save"),this.$root.$off("querySaved")},checkQueryBeforeSave:function(){this.errorMsg=null,this.name="",Ma.isTabNeedName(this.currentQuery)?this.$modal.show("save"):this.saveQuery()},saveQuery:function(){var e=this,t=Ma.isTabNeedName(this.currentQuery);if(!t||this.name){var i=this.currentQuery.result,a=this.currentQuery.view,n=Ma.save(this.currentQuery,this.name);this.$store.commit("updateTab",{index:this.currentQuery.tabIndex,name:n.name,id:n.id,query:n.query,chart:n.chart,isUnsaved:!1}),this.$nextTick((function(){e.currentQuery.result=i,e.currentQuery.view=a})),this.$modal.hide("save"),this.$root.$emit("querySaved")}else this.errorMsg="Query name can't be empty"},_keyListener:function(e){if("/editor"===this.$route.path){if(("r"===e.key||"Enter"===e.key)&&(e.ctrlKey||e.metaKey))return e.preventDefault(),void(this.runDisabled||this.currentQuery.execute());if("s"===e.key&&(e.ctrlKey||e.metaKey))return e.preventDefault(),void(this.isUnsaved&&this.checkQueryBeforeSave())}"b"===e.key&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),this.createNewQuery())}}},ba=xa,wa=(i("82e5"),Object(r["a"])(ba,va,Ta,!1,null,"7a03a47c",null)),Ca=wa.exports,Aa=(i("e506"),{name:"MainView",components:{MainMenu:Ca}}),Oa=Aa,La=(i("52c7"),Object(r["a"])(Oa,za,fa,!1,null,"91443d3a",null)),Ea=La.exports;a["default"].use(l["a"]);var Qa=[{path:"/",name:"Welcome",component:pa},{path:"/",name:"MainView",component:Ea,children:[{path:"/editor",name:"Editor",component:Ri},{path:"/my-queries",name:"MyQueries",component:Ia}]}],Sa=new l["a"]({routes:Qa}),ka=Sa,Ya=i("b8ae"),Ua=i("1881"),Za=i.n(Ua);i("017d"),i("33da"),i("6d26"),i("bebf"),i("7432"),i("4a8d");["localhost","127.0.0.1"].includes(location.hostname)||i.e("chunk-60ca3258").then(i.t.bind(null,"fc00",7)),a["default"].use(Ya["VuePlugin"]),a["default"].use(Za.a),a["default"].config.productionTip=!1,new a["default"]({router:ka,store:ti,render:function(e){return e(u)}}).$mount("#app")},"58d0":function(e,t,i){},6782:function(e,t,i){},6973:function(e,t,i){"use strict";var a=i("5349"),n=i.n(a);n.a},"69e6":function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNyIgcng9IjIuNSIgZmlsbD0iI0YzRjZGQSIgc3Ryb2tlPSIjQzhENEUzIi8+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2QpIj4KPHBhdGggZD0iTTE1Ljc1IDUuMjQ5ODhMNi43NSAxNC4yNDk5TDIuNjI1IDEwLjEyNDlMMy42ODI1IDkuMDY3MzhMNi43NSAxMi4xMjc0TDE0LjY5MjUgNC4xOTIzOEwxNS43NSA1LjI0OTg4WiIgZmlsbD0iIzExOURGRiIvPgo8L2c+CjxkZWZzPgo8ZmlsdGVyIGlkPSJmaWx0ZXIwX2QiIHg9IjAuNjI1IiB5PSIzLjE5M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HJhbnNmb3JtPSJyb3RhdGUoNDUgMTIuNDUxNyA2LjM2NzcxKSIgZmlsbD0iI0VGNTUzQiIvPgo8L3N2Zz4K"},"73cf":function(e,t,i){},7432:function(e,t,i){},"76c2":function(e,t,i){"use strict";var a=i("9790"),n=i.n(a);n.a},"82e5":function(e,t,i){"use strict";var a=i("6782"),n=i.n(a);n.a},8444:function(e,t,i){},"85ec":function(e,t,i){},"86b5":function(e,t,i){"use strict";var a=i("9cdd"),n=i.n(a);n.a},"87d4":function(e,t,i){e.exports=i.p+"img/file.f5540c43.png"},"88ba":function(e,t,i){},8913:function(e,t,i){},"8aab":function(e,t,i){},"8ab7":function(e,t,i){"use strict";var a=i("73cf"),n=i.n(a);n.a},"8c0b":function(e,t,i){},"8e6c":function(e,t,i){"use strict";var a=i("fc59"),n=i.n(a);n.a},"8fcc":function(e,t,i){},"93dd":function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNyIgcng9IjIuNSIgZmlsbD0iIzExOURGRiIgc3Ryb2tlPSIjMEQ3NkJGIi8+CjxnIGZpbHRlcj0idXJsKCNmaWx0ZXIwX2QpIj4KPHBhdGggZD0iTTE1Ljc1IDUuMjVMNi43NSAxNC4yNUwyLjYyNSAxMC4xMjVMMy42ODI1IDkuMDY3NUw2Ljc1IDEyLjEyNzVMMTQuNjkyNSA0LjE5MjVMMTUuNzUgNS4yNVoiIGZpbGw9IndoaXRlIi8+CjwvZz4KPGRlZnM+CjxmaWx0ZXIgaWQ9ImZpbHRlcjBfZCIgeD0iMC42MjUiIHk9IjMuMTkyNSIgd2lkdGg9IjE3LjEyNSIgaGVpZ2h0PSIxNC4wNTc1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QzEwMC4xOTQgMTAuNTg1NiAxMDEuMzQxIDMuNzg1MDggOTYuMzgyOCAxLjkzODk1WiIgZmlsbD0iI0YzQzZCRiIvPgo8cGF0aCBkPSJNODQuOTc3NSA5LjEyNDEzQzc1LjA2NTMgMzUuMjAzNSAzMC43MTc5IDQ2LjczNTkgMjEuNDEwNiAzNy43MjY1TDE0LjUzNTkgNzkuNDg1N0M2Ny43NjA3IDg2LjQ5MTIgOTEuOTI2NCA1NS40MTExIDk5LjA5NzMgMTQuNzEzOEw4NC45Nzc1IDkuMTI0MTNaIiBmaWxsPSIjQTJCMUM2Ii8+Cjwvc3ZnPgo="},"9cdd":function(e,t,i){},a96d:function(e,t,i){"use strict";var a=i("3a01"),n=i.n(a);n.a},b19c:function(e,t,i){},b53a:function(e,t,i){"use strict";var a=i("8444"),n=i.n(a);n.a},b61c:function(e,t,i){"use strict";var a=i("ec73"),n=i.n(a);n.a},b7c0:function(e,t,i){"use strict";var a=i("4531"),n=i.n(a);n.a},b872:function(e,t,i){},bd8e:function(e,t,i){"use strict";var a=i("c847"),n=i.n(a);n.a},bebf:function(e,t,i){},c183:function(e,t,i){"use strict";var a=i("88ba"),n=i.n(a);n.a},c6a4:function(e,t,i){"use strict";var a=i("b19c"),n=i.n(a);n.a},c847:function(e,t,i){},d275:function(e,t,i){"use strict";var a=i("006c"),n=i.n(a);n.a},d2c9:function(e,t,i){},d679:function(e,t,i){},d80a:function(e,t,i){"use strict";var a=i("0370"),n=i.n(a);n.a},db39:function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExIDlIMTNWN0gxMVY5Wk0xMiAyMEM3LjU5IDIwIDQgMTYuNDEgNCAxMkM0IDcuNTkgNy41OSA0IDEyIDRDMTYuNDEgNCAyMCA3LjU5IDIwIDEyQzIwIDE2LjQxIDE2LjQxIDIwIDEyIDIwWk0xMiAyQzEwLjY4NjggMiA5LjM4NjQyIDIuMjU4NjYgOC4xNzMxNyAyLjc2MTJDNi45NTk5MSAzLjI2Mzc1IDUuODU3NTIgNC4wMDAzNSA0LjkyODkzIDQuOTI4OTNDMy4wNTM1NyA2LjgwNDMgMiA5LjM0Nzg0IDIgMTJDMiAxNC42NTIyIDMuMDUzNTcgMTcuMTk1NyA0LjkyODkzIDE5LjA3MTFDNS44NTc1MiAxOS45OTk3IDYuOTU5OTEgMjAuNzM2MiA4LjE3MzE3IDIxLjIzODhDOS4zODY0MiAyMS43NDEzIDEwLjY4NjggMjIgMTIgMjJDMTQuNjUyMiAyMiAxNy4xOTU3IDIwLjk0NjQgMTkuMDcxMSAxOS4wNzExQzIwLjk0NjQgMTcuMTk1NyAyMiAxNC42NTIyIDIyIDEyQzIyIDEwLjY4NjggMjEuNzQxMyA5LjM4NjQyIDIxLjIzODggOC4xNzMxN0MyMC43MzYyIDYuOTU5OTEgMTkuOTk5NyA1Ljg1NzUyIDE5LjA3MTEgNC45Mjg5M0MxOC4xNDI1IDQuMDAwMzUgMTcuMDQwMSAzLjI2Mzc1IDE1LjgyNjggMi43NjEyQzE0LjYxMzYgMi4yNTg2NiAxMy4zMTMyIDIgMTIgMlYyWk0xMSAxN0gxM1YxMUgxMVYxN1oiIGZpbGw9IiNBMkIxQzYiLz4KPC9zdmc+Cg=="},e349:function(e,t,i){},e506:function(e,t,i){},ec73:function(e,t,i){},f213:function(e,t,i){},f4da:function(e,t,i){"use strict";var a=i("8913"),n=i.n(a);n.a},f7a6:function(e,t,i){"use strict";var a=i("0720"),n=i.n(a);n.a},fc59:function(e,t,i){},fe2a:function(e,t,i){"use strict";var a=i("b872"),n=i.n(a);n.a},fe5b:function(e,t,i){}});
//# sourceMappingURL=app.4af55177.js.map