From a48e440107f88c738213a2bd7fe5227b21567c70 Mon Sep 17 00:00:00 2001 From: Arunmozhi Date: Tue, 1 Feb 2022 10:44:21 +0530 Subject: [PATCH] bugfix: setting separator to empty line breaks the app --- docs/index.html | 2 +- docs/js/{app.d2554073.js => app.704735a2.js} | 4 ++-- docs/js/app.704735a2.js.map | 1 + docs/js/app.d2554073.js.map | 1 - package.json | 2 +- src-tauri/tauri.conf.json | 2 +- src/components/AnnotationPage.vue | 3 +-- 7 files changed, 7 insertions(+), 8 deletions(-) rename docs/js/{app.d2554073.js => app.704735a2.js} (98%) create mode 100644 docs/js/app.704735a2.js.map delete mode 100644 docs/js/app.d2554073.js.map diff --git a/docs/index.html b/docs/index.html index 4c8d5f6..758d6c8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -NER Annotator for SpaCy
\ No newline at end of file +NER Annotator for SpaCy
\ No newline at end of file diff --git a/docs/js/app.d2554073.js b/docs/js/app.704735a2.js similarity index 98% rename from docs/js/app.d2554073.js rename to docs/js/app.704735a2.js index 8ffd280..33bd652 100644 --- a/docs/js/app.d2554073.js +++ b/docs/js/app.704735a2.js @@ -1,2 +1,2 @@ -(function(e){function t(t){for(var c,r,s=t[0],l=t[1],i=t[2],b=0,d=[];be?t:e,s=0;s=a&&l.start<=r?c.push(l):l.start>a&&c.length?(o.push({type:"token-block",start:c[0].start,end:c[c.length-1].end,tokens:c,label:n&&n.name?n.name:"Unlabelled",classId:n&&n.id?n.id:0,backgroundColor:n&&n.color?n.color:null}),c=[],o.push(l)):o.push(l)}c.length&&o.push({type:"token-block",start:c[0].start,end:c[c.length-1].end,tokens:c,label:n&&n.name?n.name:"Unlabelled",classId:n&&n.id?n.id:0,backgroundColor:n&&n.color?n.color:null}),this.tokens=o}},{key:"removeBlock",value:function(e){for(var t=[],n=0;n=this.inputSentences.length)alert("You have completed all the sentences");else{this.currentSentence=this.inputSentences[this.currentIndex];var e=this.tokenizer.tokenize(this.currentSentence.text),t=this.tokenizer.span_tokenize(this.currentSentence.text),n=e.map((function(e,n){return[t[n][0],t[n][1],e]}));this.tm=new Me(n)}},selectTokens:function(){var e=document.getSelection();if(e.anchorOffset!==e.focusOffset||e.anchorNode!==e.focusNode){var t,n;try{t=parseInt(e.anchorNode.parentElement.id.replace("t","")),n=parseInt(e.focusNode.parentElement.id.replace("t",""))}catch(c){return void console.log("selected text were not tokens")}if(!this.classes.length&&e.anchorNode)return alert("There are no Tags available. Kindly add some Tags before tagging."),void e.empty();this.tm.addNewBlock(t,n,this.currentClass),e.empty()}},onRemoveBlock:function(e){this.tm.removeBlock(e)},resetBlocks:function(){this.tm.resetBlocks()},skipCurrentSentence:function(){this.nextSentence(),this.tokenizeCurrentSentence()},saveTags:function(){this.$store.commit("addAnnotation",[this.currentSentence.text,{entities:this.tm.exportAsAnnotation()}]),this.nextSentence(),this.tokenizeCurrentSentence()}})};Ve.render=he;var He=Ve;I()(Ve,"components",{QBtn:_["a"]});var We={class:"px-3"};function Ye(e,t,n,o,a,r){var s=Object(c["G"])("split-type-selector"),l=Object(c["G"])("progress-bar");return Object(c["z"])(),Object(c["g"])("nav",We,[Object(c["j"])(s,{class:"mt-4 mb-5"}),Object(c["j"])(l,{class:"mb-5",completed:e.currentIndex,total:e.inputSentences.length},null,8,["completed","total"])])}var Ze={class:"q-mx-md"},_e={class:"is-size-6"};function Ke(e,t,n,o,a,r){var s=Object(c["G"])("q-linear-progress");return Object(c["z"])(),Object(c["g"])("div",Ze,[Object(c["j"])("p",_e,"Tagging Progress ("+Object(c["J"])(n.completed)+"/"+Object(c["J"])(n.total)+")",1),Object(c["j"])(s,{size:"md",color:"primary",value:n.completed/n.total},null,8,["value"])])}n("a9e3");var Xe={name:"ProgressBar",props:{completed:{type:Number,required:!0,default:0},total:{type:Number,required:!0}},computed:{completedPercent:function(){return parseInt(this.completed/this.total*100)}}},$e=n("6b1d");Xe.render=Ke;var et=Xe;I()(Xe,"components",{QLinearProgress:$e["a"]});var tt={class:"q-pa-md"},nt={key:0,class:"q-px-md"};function ct(e,t,n,o,a,r){var s=Object(c["G"])("q-select"),l=Object(c["G"])("q-input");return Object(c["z"])(),Object(c["g"])("section",null,[Object(c["j"])("div",tt,[Object(c["j"])(s,{outlined:"","bg-color":"white",modelValue:r.splitType,"onUpdate:modelValue":t[1]||(t[1]=function(e){return r.splitType=e}),options:a.splitOptions,"map-options":!0,label:"Text Seperator"},null,8,["modelValue","options"])]),"custom"===r.splitType?(Object(c["z"])(),Object(c["g"])("div",nt,[Object(c["j"])(l,{label:"Separator","bg-color":"white",outlined:"",modelValue:a.customSeparator,"onUpdate:modelValue":t[2]||(t[2]=function(e){return a.customSeparator=e}),onChange:r.separatorChanged,disabled:e.annotations.length},null,8,["modelValue","onChange","disabled"])])):Object(c["h"])("",!0)])}var ot={name:"SpitTypeSelector",data:function(){return{customSeparator:"---",splitOptions:[{label:"New Line",value:"newline"},{label:"An Empty Line",value:"emptyline"},{label:"Custom String",value:"custom"}]}},computed:Object(C["a"])(Object(C["a"])({},Object(S["d"])(["annotations"])),{},{splitType:{get:function(){switch(this.$store.state.separator){case"\n":return"newline";case"\n\n":return"emptyline";default:return"custom"}},set:function(e){switch(e.value){case"newline":this.$store.commit("setSeparator","\n");break;case"emptyline":this.$store.commit("setSeparator","\n\n");break;default:this.$store.commit("setSeparator","---");break}}}}),methods:{separatorChanged:function(){this.$store.commit("setSeparator",this.customSeparator)}}},at=n("ddd8");ot.render=ct;var rt=ot;I()(ot,"components",{QSelect:at["a"],QInput:ae["a"]});var st={name:"AnnotationSidebar",components:{ProgressBar:et,SplitTypeSelector:rt},computed:Object(C["a"])({},Object(S["d"])(["currentIndex","inputSentences"]))};n("3dfb");st.render=Ye;var lt=st,it={name:"LayoutDefault",data:function(){return{currentPage:"start"}},components:{MenuBar:re,StartPage:Oe,AnnotationPage:He,AnnotationSidebar:lt},methods:{switchToPage:function(e){this.currentPage=e}}},ut=n("4d5a"),bt=n("9404"),dt=n("09e3");it.render=o;var jt=it;I()(it,"components",{QLayout:ut["a"],QDrawer:bt["a"],QPageContainer:dt["a"]});n("54ba"),n("4de4"),n("7db0"),n("13d5"),n("d3b7"),n("1276");var pt=n("53ca"),Ot=n("18d6"),ft=["red-11","blue-11","light-green-11","deep-orange-11","pink-11","light-blue-11","lime-11","brown-11","purple-11","cyan-11","yellow-11","grey-11","deep-purple-11","teal-11","amber-11","blue-grey-11","indigo-11","green-11","orange-11"],mt={setInputSentences:function(e,t){Array.isArray(t)||(e.originalText=t,t=t.split(e.separator)),e.inputSentences=t.map((function(e,t){return{id:t,text:e}}))},addClass:function(e,t){var n=e.classes.find((function(e){return e.name==t}));if(!n){var c=e.classes.reduce((function(e,t){return t.id>e?t.id:e}),0);e.classes.push({id:c+1,name:t,color:ft[c%ft.length]}),1===e.classes.length&&(e.currentClass=e.classes[0])}},removeClass:function(e,t){e.classes=e.classes.filter((function(e){return e.id!=t})),e.currentClass.id===t&&(e.currentClass=e.classes[0])},setCurrentClass:function(e,t){e.currentClass=e.classes.find((function(e){return e.id===t}))},addAnnotation:function(e,t){e.annotations.push(t)},setSeparator:function(e,t){e.separator=t;var n=e.originalText.split(e.separator);e.inputSentences=n.map((function(e,t){return{id:t,text:e}}))},nextSentence:function(e){e.currentIndex+=1},resetIndex:function(e){e.currentIndex=0},loadClasses:function(e,t){if(!Array.isArray(t))throw new Error("loadClasses: payload must be an array");var n=t.reduce((function(e,t){return e&&"object"===Object(pt["a"])(t)&&"id"in t&&"name"in t&&"color"in t}),!0);if(!n)throw new Error("loadClasses: payload has invalid schema");e.classes=t}},ht={},gt={createNewClass:function(e,t){var n=e.commit,c=e.state;return new Promise((function(e,o){n("addClass",t);try{Ot["a"].set("tags",c.classes)}catch(a){o(a)}e()}))},deleteClass:function(e,t){var n=e.commit,c=e.state;n("removeClass",t),Ot["a"].set("tags",c.classes)}},vt={state:function(){return{originalText:"",separator:"\n",classes:Ot["a"].getItem("tags")||[],inputSentences:[],annotations:[],currentClass:{},currentIndex:0}},getters:ht,mutations:mt,actions:gt},kt=n("b05d"),yt=(n("0e21"),n("b3f7")),wt=(n("573e"),n("35fc"),n("2a19")),Ct={config:{},plugins:{Notify:wt["a"]},iconSet:yt["a"]},xt=Object(c["f"])(jt).use(kt["a"],Ct);xt.use(Object(S["a"])(vt)),xt.mount("#app")},5759:function(e,t,n){},"5ceb":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAIqUlEQVQYGZ3BCYydZaHG8f/zvt85c2Y6nZZu2sVSCoSpO0K5ceEmlmhUSmJQAcXdWBdwiVEJXMm9F7EqQUEToqkShWjiCmrRumtU0mCLRQE7BVu6zHS6zXbazpw553vf535jR1ONQnJ/PzGr/45tAgz0gR4Q9IOHbYYl/aWT/PDKvmL7L65e/kCeSmNTpUm2hGScqUiib8EyTuf/3gAyf2VA/J3+50sUzBJ/12N7lZmhpRJLA7ygnX3Fa86dg1vpyEQ7/zSKuxA/xxgUJScwW4eG2LAPJIHNS8oW91+8mnLjexXHp+SHj1o//qPZ8J94/XoCf2MZC6wjgl1ICCdBnk4uz55X67z23B5PlV4SxRsl/Uzol8ALhFO2wtwILxwAiWA7Zkn3n7Oad225P8ZvfsF0OedatHwAbl7HjMAsy1QCkC22i4rkIDRZunjJ8q5icXeknZyB0na2/VLEdqN3JMhfG1FcO0eyyUASmGmwlBhlDrF2t5b2vrW86d1403ZRCcyShbGMqfzKmIpsqAW8ZkFdAgyqFDqlg5HkLwe4anHhtG0EAy8U+qTwPc8/OPTjny3s33TL7d/b0jo8/aYwNLEubt2DHj4iKgWnEWRmmJ8ARxGLM+SuKC3qDpRGErgiCUMNKDFFTXxmV0s7+s/w9RJvoWJDluhzmy8VzyE19v32+h9+4D1U0ivXO0YomGUZkGVH4JilbwquBRKiJmFAnCLAAhsKg+viaU+0eaCTmdeIItkdQMSgcnCiUxucaNyx5pKBx2/8xskgxzv/96rkyy4jMGvgmrVgsGRLCG4HJgW1dnIencqKwhgkURGn2Igoh/nR8xJ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function(e,t,n){"use strict";n("d0c6")},d0c6:function(e,t,n){}}); -//# sourceMappingURL=app.d2554073.js.map \ No newline at end of file +(function(e){function t(t){for(var c,r,s=t[0],l=t[1],i=t[2],b=0,d=[];be?t:e,s=0;s=a&&l.start<=r?c.push(l):l.start>a&&c.length?(o.push({type:"token-block",start:c[0].start,end:c[c.length-1].end,tokens:c,label:n&&n.name?n.name:"Unlabelled",classId:n&&n.id?n.id:0,backgroundColor:n&&n.color?n.color:null}),c=[],o.push(l)):o.push(l)}c.length&&o.push({type:"token-block",start:c[0].start,end:c[c.length-1].end,tokens:c,label:n&&n.name?n.name:"Unlabelled",classId:n&&n.id?n.id:0,backgroundColor:n&&n.color?n.color:null}),this.tokens=o}},{key:"removeBlock",value:function(e){for(var t=[],n=0;n=this.inputSentences.length)alert("You have completed all the sentences");else{this.currentSentence=this.inputSentences[this.currentIndex];var e=this.tokenizer.tokenize(this.currentSentence.text),t=this.tokenizer.span_tokenize(this.currentSentence.text),n=e.map((function(e,n){return[t[n][0],t[n][1],e]}));this.tm=new Me(n)}},selectTokens:function(){var e=document.getSelection();if(e.anchorOffset!==e.focusOffset||e.anchorNode!==e.focusNode){var t,n;try{t=parseInt(e.anchorNode.parentElement.id.replace("t","")),n=parseInt(e.focusNode.parentElement.id.replace("t",""))}catch(c){return void console.log("selected text were not tokens")}if(!this.classes.length&&e.anchorNode)return alert("There are no Tags available. Kindly add some Tags before tagging."),void e.empty();this.tm.addNewBlock(t,n,this.currentClass),e.empty()}},onRemoveBlock:function(e){this.tm.removeBlock(e)},resetBlocks:function(){this.tm.resetBlocks()},skipCurrentSentence:function(){this.nextSentence(),this.tokenizeCurrentSentence()},saveTags:function(){this.$store.commit("addAnnotation",[this.currentSentence.text,{entities:this.tm.exportAsAnnotation()}]),this.nextSentence(),this.tokenizeCurrentSentence()}})};Ve.render=he;var He=Ve;I()(Ve,"components",{QBtn:_["a"]});var We={class:"px-3"};function Ye(e,t,n,o,a,r){var s=Object(c["G"])("split-type-selector"),l=Object(c["G"])("progress-bar");return Object(c["z"])(),Object(c["g"])("nav",We,[Object(c["j"])(s,{class:"mt-4 mb-5"}),Object(c["j"])(l,{class:"mb-5",completed:e.currentIndex,total:e.inputSentences.length},null,8,["completed","total"])])}var Ze={class:"q-mx-md"},_e={class:"is-size-6"};function Ke(e,t,n,o,a,r){var s=Object(c["G"])("q-linear-progress");return Object(c["z"])(),Object(c["g"])("div",Ze,[Object(c["j"])("p",_e,"Tagging Progress ("+Object(c["J"])(n.completed)+"/"+Object(c["J"])(n.total)+")",1),Object(c["j"])(s,{size:"md",color:"primary",value:n.completed/n.total},null,8,["value"])])}n("a9e3");var Xe={name:"ProgressBar",props:{completed:{type:Number,required:!0,default:0},total:{type:Number,required:!0}},computed:{completedPercent:function(){return parseInt(this.completed/this.total*100)}}},$e=n("6b1d");Xe.render=Ke;var et=Xe;I()(Xe,"components",{QLinearProgress:$e["a"]});var tt={class:"q-pa-md"},nt={key:0,class:"q-px-md"};function ct(e,t,n,o,a,r){var s=Object(c["G"])("q-select"),l=Object(c["G"])("q-input");return Object(c["z"])(),Object(c["g"])("section",null,[Object(c["j"])("div",tt,[Object(c["j"])(s,{outlined:"","bg-color":"white",modelValue:r.splitType,"onUpdate:modelValue":t[1]||(t[1]=function(e){return r.splitType=e}),options:a.splitOptions,"map-options":!0,label:"Text Seperator"},null,8,["modelValue","options"])]),"custom"===r.splitType?(Object(c["z"])(),Object(c["g"])("div",nt,[Object(c["j"])(l,{label:"Separator","bg-color":"white",outlined:"",modelValue:a.customSeparator,"onUpdate:modelValue":t[2]||(t[2]=function(e){return a.customSeparator=e}),onChange:r.separatorChanged,disabled:e.annotations.length},null,8,["modelValue","onChange","disabled"])])):Object(c["h"])("",!0)])}var ot={name:"SpitTypeSelector",data:function(){return{customSeparator:"---",splitOptions:[{label:"New Line",value:"newline"},{label:"An Empty Line",value:"emptyline"},{label:"Custom String",value:"custom"}]}},computed:Object(C["a"])(Object(C["a"])({},Object(S["d"])(["annotations"])),{},{splitType:{get:function(){switch(this.$store.state.separator){case"\n":return"newline";case"\n\n":return"emptyline";default:return"custom"}},set:function(e){switch(e.value){case"newline":this.$store.commit("setSeparator","\n");break;case"emptyline":this.$store.commit("setSeparator","\n\n");break;default:this.$store.commit("setSeparator","---");break}}}}),methods:{separatorChanged:function(){this.$store.commit("setSeparator",this.customSeparator)}}},at=n("ddd8");ot.render=ct;var rt=ot;I()(ot,"components",{QSelect:at["a"],QInput:ae["a"]});var st={name:"AnnotationSidebar",components:{ProgressBar:et,SplitTypeSelector:rt},computed:Object(C["a"])({},Object(S["d"])(["currentIndex","inputSentences"]))};n("3dfb");st.render=Ye;var lt=st,it={name:"LayoutDefault",data:function(){return{currentPage:"start"}},components:{MenuBar:re,StartPage:Oe,AnnotationPage:He,AnnotationSidebar:lt},methods:{switchToPage:function(e){this.currentPage=e}}},ut=n("4d5a"),bt=n("9404"),dt=n("09e3");it.render=o;var jt=it;I()(it,"components",{QLayout:ut["a"],QDrawer:bt["a"],QPageContainer:dt["a"]});n("54ba"),n("4de4"),n("7db0"),n("13d5"),n("d3b7"),n("1276");var pt=n("53ca"),Ot=n("18d6"),ft=["red-11","blue-11","light-green-11","deep-orange-11","pink-11","light-blue-11","lime-11","brown-11","purple-11","cyan-11","yellow-11","grey-11","deep-purple-11","teal-11","amber-11","blue-grey-11","indigo-11","green-11","orange-11"],mt={setInputSentences:function(e,t){Array.isArray(t)||(e.originalText=t,t=t.split(e.separator)),e.inputSentences=t.map((function(e,t){return{id:t,text:e}}))},addClass:function(e,t){var n=e.classes.find((function(e){return e.name==t}));if(!n){var c=e.classes.reduce((function(e,t){return t.id>e?t.id:e}),0);e.classes.push({id:c+1,name:t,color:ft[c%ft.length]}),1===e.classes.length&&(e.currentClass=e.classes[0])}},removeClass:function(e,t){e.classes=e.classes.filter((function(e){return e.id!=t})),e.currentClass.id===t&&(e.currentClass=e.classes[0])},setCurrentClass:function(e,t){e.currentClass=e.classes.find((function(e){return e.id===t}))},addAnnotation:function(e,t){e.annotations.push(t)},setSeparator:function(e,t){e.separator=t;var n=e.originalText.split(e.separator);e.inputSentences=n.map((function(e,t){return{id:t,text:e}}))},nextSentence:function(e){e.currentIndex+=1},resetIndex:function(e){e.currentIndex=0},loadClasses:function(e,t){if(!Array.isArray(t))throw new Error("loadClasses: payload must be an array");var n=t.reduce((function(e,t){return e&&"object"===Object(pt["a"])(t)&&"id"in t&&"name"in t&&"color"in t}),!0);if(!n)throw new Error("loadClasses: payload has invalid schema");e.classes=t}},ht={},gt={createNewClass:function(e,t){var n=e.commit,c=e.state;return new Promise((function(e,o){n("addClass",t);try{Ot["a"].set("tags",c.classes)}catch(a){o(a)}e()}))},deleteClass:function(e,t){var n=e.commit,c=e.state;n("removeClass",t),Ot["a"].set("tags",c.classes)}},vt={state:function(){return{originalText:"",separator:"\n",classes:Ot["a"].getItem("tags")||[],inputSentences:[],annotations:[],currentClass:{},currentIndex:0}},getters:ht,mutations:mt,actions:gt},kt=n("b05d"),yt=(n("0e21"),n("b3f7")),wt=(n("573e"),n("35fc"),n("2a19")),Ct={config:{},plugins:{Notify:wt["a"]},iconSet:yt["a"]},xt=Object(c["f"])(jt).use(kt["a"],Ct);xt.use(Object(S["a"])(vt)),xt.mount("#app")},5759:function(e,t,n){},"5ceb":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAIqUlEQVQYGZ3BCYydZaHG8f/zvt85c2Y6nZZu2sVSCoSpO0K5ceEmlmhUSmJQAcXdWBdwiVEJXMm9F7EqQUEToqkShWjiCmrRumtU0mCLRQE7BVu6zHS6zXbazpw553vf535jR1ONQnJ/PzGr/45tAgz0gR4Q9IOHbYYl/aWT/PDKvmL7L65e/kCeSmNTpUm2hGScqUiib8EyTuf/3gAyf2VA/J3+50sUzBJ/12N7lZmhpRJLA7ygnX3Fa86dg1vpyEQ7/zSKuxA/xxgUJScwW4eG2LAPJIHNS8oW91+8mnLjexXHp+SHj1o//qPZ8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LzmS8OV6e1b+KJasWHizq8WSIAUk4O+eUMXzd2VNKnbj1VW/ONqFVqjS8JpvrDZNADQiGnE0yGIOkpeIpvLP/cmbNkdlreZEg2YrITZlnAwcs6Wsf+67PfPRBwBKyAclnAx8EXQkstgGBABsCT0EYYYQLRA2DURJGcAdwAIgL9gZf9ek3MMuWqUSs3aD3AWuAq4XvlP2QcUt4QDyJDeddDrIAA6swO40aiIr3yzzXMAGo7uCO22x6fDNrbtiGLWZJIgCJig3CwWKxzFTgyYgZ4pQViC5BwgbzYaMJUAS5HTKbHt/MjJ0b1yKZWa4kQEAEApCBw0Cz4ClJYCqrAVlEzF0S3wYCdjIiSpxu58a1/E3/DdvAGEiSsZkhwAVPxmCZGbLOt4zsRxDX2iBsKsJ8cee9/DsDG9fyL5hK4MkIMMbMGJGZBt6AOSGIFjawade9/H/9H50/6ZWm+VSWAAAAAElFTkSuQmCC"},8848:function(e,t,n){"use strict";n("4367")},af90:function(e,t,n){"use strict";n("d0c6")},d0c6:function(e,t,n){}}); +//# sourceMappingURL=app.704735a2.js.map \ No newline at end of file diff --git a/docs/js/app.704735a2.js.map b/docs/js/app.704735a2.js.map new file mode 100644 index 0000000..4ea0351 --- /dev/null +++ b/docs/js/app.704735a2.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/TokenBlock.vue?eff3","webpack:///./src/components/AnnotationSidebar.vue?526d","webpack:///./src/App.vue","webpack:///./src/components/menubar/MenuBar.vue","webpack:///./src/components/menubar/ExportAnnotations.vue","webpack:///./src/components/menubar/utils.js","webpack:///./src/components/menubar/ExportAnnotations.vue?2974","webpack:///./src/components/AboutDialog.vue","webpack:///./src/components/AboutDialog.vue?8bf8","webpack:///./src/components/menubar/MenuBar.vue?9061","webpack:///./src/components/StartPage.vue","webpack:///./src/components/StartPage.vue?f32d","webpack:///./src/components/AnnotationPage.vue","webpack:///./src/components/Token.vue","webpack:///./src/components/Token.vue?6868","webpack:///./src/components/TokenBlock.vue","webpack:///./src/components/TokenBlock.vue?d5d9","webpack:///./src/components/ClassesBlock.vue","webpack:///./src/components/ClassesBlock.vue?4e29","webpack:///./src/components/token-manager.js","webpack:///./src/components/AnnotationPage.vue?b0fc","webpack:///./src/components/AnnotationSidebar.vue","webpack:///./src/components/sidebar/ProgressBar.vue","webpack:///./src/components/sidebar/ProgressBar.vue?0ee8","webpack:///./src/components/sidebar/SplitTypeSelector.vue","webpack:///./src/components/sidebar/SplitTypeSelector.vue?71c4","webpack:///./src/components/AnnotationSidebar.vue?e904","webpack:///./src/App.vue?4221","webpack:///./src/store/index.js","webpack:///./src/quasar-user-options.js","webpack:///./src/main.js","webpack:///./src/assets/icon_32.png","webpack:///./src/components/ClassesBlock.vue?4d3a","webpack:///./src/components/Token.vue?5dd7"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","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","view","currentPage","model-value","bordered","class","switchToPage","src","size","dense","style","clickable","exportTags","$refs","file","click","importTags","type","ref","accept","href","target","showAbout","show","promptForProject","persistent","newProjectName","autofocus","align","flat","label","generateJSONExport","exportFile","content","filename","rpc","element","document","createElement","setAttribute","encodeURIComponent","display","body","appendChild","removeChild","save","documentDir","extensions","defaultPath","filters","then","path","match","invoke","filepath","contents","msg","alert","catch","e","console","log","computed","methods","output","classes","map","annotations","jsonStr","JSON","stringify","render","QItem","QItemSection","ClosePopup","$emit","version","color","emits","props","Boolean","default","QDialog","QCard","QCardSection","QCardActions","QBtn","components","ExportAnnotations","AboutDialog","setup","$q","notify","icon","message","level","position","timeout","actions","this","files","filereader","FileReader","onload","ev","loadClasses","parse","readAsText","QHeader","QAvatar","QMenu","QList","QSeparator","QSpace","QInput","textFile","onFileSelected","filled","bg-color","prepend","reader","addEventListener","event","setInputSentences","QFile","QIcon","tm","tokens","id","start","token","backgroundColor","onRemoveBlock","outline","resetBlocks","skipCurrentSentence","saveTags","text","required","round","text-color","showClose","requried","String","Token","cl","square","currentClass","setCurrentClass","removable","showDeleteButtons","handleRemoveClass","replace","showNewClassInput","bottom-slots","newClassName","hint","append","saveNewClass","watch","now","toUpperCase","class_id","className","sure","confirm","deleteClass","self","createNewClass","onInputKeyup","__scopeId","QChip","QBtnGroup","TokenManager","end","words","_start","_end","_class","selectedTokens","newTokens","classId","blockStart","entities","b","currentSentence","redone","tokenizer","TokenBlock","ClassesBlock","inputSentences","resetIndex","tokenizeCurrentSentence","created","selectTokens","beforeUnmount","removeEventListener","currentIndex","tokenize","spans","span_tokenize","combined","selection","getSelection","anchorOffset","focusOffset","anchorNode","focusNode","startIdx","endIdx","parseInt","parentElement","empty","addNewBlock","removeBlock","nextSentence","$store","commit","exportAsAnnotation","completed","total","Number","completedPercent","QLinearProgress","outlined","splitType","options","splitOptions","map-options","customSeparator","separatorChanged","disabled","state","separator","set","option","QSelect","ProgressBar","SplitTypeSelector","MenuBar","StartPage","AnnotationPage","AnnotationSidebar","page","QLayout","QDrawer","QPageContainer","niceColors","mutations","payload","Array","isArray","originalText","split","addClass","existing","find","lastIndex","reduce","removeClass","filter","addAnnotation","setSeparator","sentences","Error","isValid","acc","curr","getters","Promise","resolve","reject","LocalStorage","getItem","config","plugins","Notify","iconSet","app","createApp","App","use","Quasar","quasarUserOptions","createStore","store","mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC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ASA,SCDLC,GAAMC,eAAUC,IAAKC,IAAIC,QAAQC,IAEvCL,GAAIG,IAAIG,eAAYC,KAGpBP,GAAIQ,MAAM,S,4CChBV3T,EAAOD,QAAU,k/F,kCCAjB,W,kCCAA,W","file":"js/app.704735a2.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(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && 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\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 = \"/ner-annotator/\";\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","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--0-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader-v16/dist/index.js??ref--0-2!./TokenBlock.vue?vue&type=style&index=0&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--0-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader-v16/dist/index.js??ref--0-2!./AnnotationSidebar.vue?vue&type=style&index=0&lang=scss\"","\n\n\n","\n\n\n","\n\n\n","import { save } from \"@tauri-apps/api/dialog\";\nimport { invoke } from \"@tauri-apps/api/tauri\";\nimport { documentDir } from \"@tauri-apps/api/path\";\n\nexport const exportFile = async (content, filename) => {\n if (typeof window.rpc === \"undefined\") {\n let element = document.createElement(\"a\");\n element.setAttribute(\n \"href\",\n \"data:text/plain;charset=utf-8,\" + encodeURIComponent(content)\n );\n element.setAttribute(\"download\", filename);\n element.style.display = \"none\";\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n } else {\n save({\n defaultPath: await documentDir(),\n filters: [\n { extensions: [\"json\"], name: \"JSON Files (*.json)\" },\n { name: \"All files (*.*)\", extensions: [\"*\"] },\n ],\n })\n .then((path) => {\n if (!path) return;\n if (!path.match(/.*\\.json$/)) path += \".json\";\n\n invoke(\"save_file\", { filepath: path, contents: content })\n .then((msg) => alert(msg))\n .catch((e) => alert(e));\n })\n .catch((e) => console.log(\"Save cancelled.\", e));\n }\n};\n","import { render } from \"./ExportAnnotations.vue?vue&type=template&id=234ebefe&bindings={\\\"generateJSONExport\\\":\\\"options\\\"}\"\nimport script from \"./ExportAnnotations.vue?vue&type=script&lang=js\"\nexport * from \"./ExportAnnotations.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemSection from 'quasar/src/components/item/QItemSection.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QItem,QItemSection});qInstall(script, 'directives', {ClosePopup});\n","\n\n\n\n\n","import { render } from \"./AboutDialog.vue?vue&type=template&id=b42052d6&bindings={\\\"show\\\":\\\"props\\\"}\"\nimport script from \"./AboutDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AboutDialog.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QDialog,QCard,QCardSection,QCardActions,QBtn});qInstall(script, 'directives', {ClosePopup});\n","import { render } from \"./MenuBar.vue?vue&type=template&id=0e5c2be1&bindings={\\\"notify\\\":\\\"setup\\\",\\\"exportTags\\\":\\\"options\\\",\\\"importTags\\\":\\\"options\\\"}\"\nimport script from \"./MenuBar.vue?vue&type=script&lang=js\"\nexport * from \"./MenuBar.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QHeader from 'quasar/src/components/header/QHeader.js';\nimport QAvatar from 'quasar/src/components/avatar/QAvatar.js';\nimport QMenu from 'quasar/src/components/menu/QMenu.js';\nimport QList from 'quasar/src/components/item/QList.js';\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemSection from 'quasar/src/components/item/QItemSection.js';\nimport QSeparator from 'quasar/src/components/separator/QSeparator.js';\nimport QSpace from 'quasar/src/components/space/QSpace.js';\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QHeader,QAvatar,QMenu,QList,QItem,QItemSection,QSeparator,QSpace,QDialog,QCard,QCardSection,QInput,QCardActions,QBtn});qInstall(script, 'directives', {ClosePopup});\n","\n\n\n","import { render } from \"./StartPage.vue?vue&type=template&id=51183afb&bindings={\\\"textFile\\\":\\\"data\\\",\\\"onFileSelected\\\":\\\"options\\\"}\"\nimport script from \"./StartPage.vue?vue&type=script&lang=js\"\nexport * from \"./StartPage.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QFile from 'quasar/src/components/file/QFile.js';\nimport QIcon from 'quasar/src/components/icon/QIcon.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QFile,QIcon});\n","\n\n","\n\n","import { render } from \"./Token.vue?vue&type=template&id=f70ec29e&bindings={\\\"token\\\":\\\"props\\\"}\"\nimport script from \"./Token.vue?vue&type=script&lang=js\"\nexport * from \"./Token.vue?vue&type=script&lang=js\"\n\nimport \"./Token.vue?vue&type=style&index=0&lang=scss\"\nscript.render = render\n\nexport default script","\n\n\n\n","import { render } from \"./TokenBlock.vue?vue&type=template&id=3dc30d5f&bindings={\\\"token\\\":\\\"props\\\",\\\"backgroundColor\\\":\\\"props\\\"}\"\nimport script from \"./TokenBlock.vue?vue&type=script&lang=js\"\nexport * from \"./TokenBlock.vue?vue&type=script&lang=js\"\n\nimport \"./TokenBlock.vue?vue&type=style&index=0&lang=scss\"\nscript.render = render\n\nexport default script\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QBtn});\n","\n\n\n\n\n","import { render } from \"./ClassesBlock.vue?vue&type=template&id=5bcb0b7b&scoped=true&bindings={\\\"showNewClassInput\\\":\\\"data\\\",\\\"newClassName\\\":\\\"data\\\",\\\"showDeleteButtons\\\":\\\"data\\\",\\\"handleRemoveClass\\\":\\\"options\\\",\\\"saveNewClass\\\":\\\"options\\\",\\\"onInputKeyup\\\":\\\"options\\\"}\"\nimport script from \"./ClassesBlock.vue?vue&type=script&lang=js\"\nexport * from \"./ClassesBlock.vue?vue&type=script&lang=js\"\n\nimport \"./ClassesBlock.vue?vue&type=style&index=0&id=5bcb0b7b&lang=css&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-5bcb0b7b\"\n\nexport default script\nimport QChip from 'quasar/src/components/chip/QChip.js';\nimport QAvatar from 'quasar/src/components/avatar/QAvatar.js';\nimport QSpace from 'quasar/src/components/space/QSpace.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QBtnGroup from 'quasar/src/components/btn-group/QBtnGroup.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QChip,QAvatar,QSpace,QInput,QBtn,QBtnGroup});\n","class TokenManager {\n /**\n *\n * @param {Array} tokens\n */\n constructor(tokens) {\n this.tokens = tokens.map((t) => ({\n type: \"token\",\n start: t[0],\n end: t[1],\n text: t[2],\n }));\n this.words = tokens.map(t => t[2]); \n }\n\n /**\n * Creates a new token block with the tokens whose starts match the input\n * parameters\n *\n * @param {Number} start 'start' value of the token forming the start of the token block\n * @param {Number} end 'start' value of the token forming the end of the token block\n * @param {Number} _class the id of the class to highlight\n */\n addNewBlock(_start, _end, _class) {\n let selectedTokens = [];\n let newTokens = [];\n\n let start = _end < _start ? _end : _start;\n let end = _end > _start ? _end : _start;\n \n for (let i = 0; i < this.tokens.length; i++) {\n let t = this.tokens[i];\n if (t.start < start) {\n newTokens.push(t);\n } else if (t.type == \"token\" && t.start >= start && t.start <= end) {\n selectedTokens.push(t);\n } else if (t.start > start && selectedTokens.length) {\n newTokens.push({\n type: \"token-block\",\n start: selectedTokens[0].start,\n end: selectedTokens[selectedTokens.length - 1].end,\n tokens: selectedTokens,\n label: _class && _class.name ? _class.name : \"Unlabelled\",\n classId: _class && _class.id ? _class.id : 0,\n backgroundColor: _class && _class.color ? _class.color : null,\n });\n selectedTokens = [];\n newTokens.push(t);\n } else {\n newTokens.push(t);\n }\n }\n\n // Case if the selected tokens are at the end of the text and have not been added to the newTokens\n if (selectedTokens.length) {\n newTokens.push({\n type: \"token-block\",\n start: selectedTokens[0].start,\n end: selectedTokens[selectedTokens.length - 1].end,\n tokens: selectedTokens,\n label: _class && _class.name ? _class.name : \"Unlabelled\",\n classId: _class && _class.id ? _class.id : 0,\n backgroundColor: _class && _class.color ? _class.color : null,\n });\n }\n\n this.tokens = newTokens;\n }\n\n /**\n * Removes a token block and puts back all the tokens in their original position\n *\n * @param {Number} blockStart 'start' value of the token block to remove\n */\n removeBlock(blockStart) {\n let newTokens = [];\n for (let i = 0; i < this.tokens.length; i++) {\n if (\n this.tokens[i].type === \"token-block\" &&\n this.tokens[i].start === blockStart\n ) {\n newTokens.push(...this.tokens[i].tokens);\n } else {\n newTokens.push(this.tokens[i]);\n }\n }\n this.tokens = newTokens;\n }\n\n /**\n * Removes all the tag blocks and leaves only tokens\n */\n resetBlocks() {\n let newTokens = [];\n for (let i = 0; i < this.tokens.length; i++) {\n if (this.tokens[i].type === \"token\") {\n newTokens.push(this.tokens[i]);\n } else {\n newTokens.push(...this.tokens[i].tokens);\n }\n }\n this.tokens = newTokens;\n }\n\n /**\n * Exports the tokens and the token blocks as annotations\n */\n exportAsAnnotation() {\n let entities = [];\n for (let i = 0; i < this.tokens.length; i++) {\n if (this.tokens[i].type === \"token-block\") {\n let b = this.tokens[i];\n entities.push([b.start, b.end, b.label]);\n }\n }\n return entities;\n }\n}\n\nexport default TokenManager;\n","import { render } from \"./AnnotationPage.vue?vue&type=template&id=bb83496e&bindings={\\\"tokenizeCurrentSentence\\\":\\\"options\\\",\\\"selectTokens\\\":\\\"options\\\",\\\"onRemoveBlock\\\":\\\"options\\\",\\\"resetBlocks\\\":\\\"options\\\",\\\"skipCurrentSentence\\\":\\\"options\\\",\\\"saveTags\\\":\\\"options\\\"}\"\nimport script from \"./AnnotationPage.vue?vue&type=script&lang=js\"\nexport * from \"./AnnotationPage.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QBtn});\n","\n\n\n\n\n","\n\n\n","import { render } from \"./ProgressBar.vue?vue&type=template&id=32bfa5c6&bindings={\\\"completed\\\":\\\"props\\\",\\\"total\\\":\\\"props\\\",\\\"completedPercent\\\":\\\"options\\\"}\"\nimport script from \"./ProgressBar.vue?vue&type=script&lang=js\"\nexport * from \"./ProgressBar.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QLinearProgress from 'quasar/src/components/linear-progress/QLinearProgress.js';\nimport qInstall from \"../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QLinearProgress});\n","\n\n\n","import { render } from \"./SplitTypeSelector.vue?vue&type=template&id=5546ed7a&bindings={\\\"customSeparator\\\":\\\"data\\\",\\\"splitOptions\\\":\\\"data\\\",\\\"splitType\\\":\\\"options\\\",\\\"separatorChanged\\\":\\\"options\\\"}\"\nimport script from \"./SplitTypeSelector.vue?vue&type=script&lang=js\"\nexport * from \"./SplitTypeSelector.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QSelect from 'quasar/src/components/select/QSelect.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport qInstall from \"../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QSelect,QInput});\n","import { render } from \"./AnnotationSidebar.vue?vue&type=template&id=08fbfc41&bindings={}\"\nimport script from \"./AnnotationSidebar.vue?vue&type=script&lang=js\"\nexport * from \"./AnnotationSidebar.vue?vue&type=script&lang=js\"\n\nimport \"./AnnotationSidebar.vue?vue&type=style&index=0&lang=scss\"\nscript.render = render\n\nexport default script","import { render } from \"./App.vue?vue&type=template&id=66bb15c0&bindings={\\\"currentPage\\\":\\\"data\\\",\\\"switchToPage\\\":\\\"options\\\"}\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QLayout from 'quasar/src/components/layout/QLayout.js';\nimport QDrawer from 'quasar/src/components/drawer/QDrawer.js';\nimport QPageContainer from 'quasar/src/components/page/QPageContainer.js';\nimport qInstall from \"../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QLayout,QDrawer,QPageContainer});\n","import LocalStorage from 'quasar/src/plugins/LocalStorage.js';;\n\nconst niceColors = [\n \"red-11\",\n \"blue-11\",\n \"light-green-11\",\n \"deep-orange-11\",\n \"pink-11\",\n \"light-blue-11\",\n \"lime-11\",\n \"brown-11\",\n \"purple-11\",\n \"cyan-11\",\n \"yellow-11\",\n \"grey-11\",\n \"deep-purple-11\",\n \"teal-11\",\n \"amber-11\",\n \"blue-grey-11\",\n \"indigo-11\",\n \"green-11\",\n \"orange-11\",\n];\n\nexport const mutations = {\n setInputSentences(state, payload) {\n if (!Array.isArray(payload)) {\n state.originalText = payload;\n payload = payload.split(state.separator);\n }\n state.inputSentences = payload.map((s, i) => ({ id: i, text: s }));\n },\n addClass(state, payload) {\n let existing = state.classes.find((c) => c.name == payload);\n if (existing) {\n return;\n }\n let lastIndex = state.classes.reduce((p, c) => {\n return c.id > p ? c.id : p;\n }, 0);\n state.classes.push({\n id: lastIndex + 1,\n name: payload,\n color: niceColors[lastIndex % niceColors.length],\n });\n if (state.classes.length === 1) {\n state.currentClass = state.classes[0];\n }\n },\n removeClass(state, payload) {\n state.classes = state.classes.filter((c) => c.id != payload);\n if (state.currentClass.id === payload) {\n state.currentClass = state.classes[0];\n }\n },\n setCurrentClass(state, payload) {\n state.currentClass = state.classes.find((c) => c.id === payload);\n },\n addAnnotation(state, payload) {\n state.annotations.push(payload);\n },\n setSeparator(state, payload) {\n state.separator = payload;\n const sentences = state.originalText.split(state.separator);\n state.inputSentences = sentences.map((s, i) => ({ id: i, text: s }));\n },\n nextSentence(state) {\n state.currentIndex += 1;\n },\n resetIndex(state) {\n state.currentIndex = 0;\n },\n loadClasses(state, payload) {\n if (!Array.isArray(payload)) {\n throw new Error(\"loadClasses: payload must be an array\");\n }\n let isValid = payload.reduce(\n (acc, curr) =>\n acc &&\n typeof curr === \"object\" &&\n \"id\" in curr &&\n \"name\" in curr &&\n \"color\" in curr,\n true\n );\n if (!isValid) {\n throw new Error(\"loadClasses: payload has invalid schema\");\n }\n state.classes = payload;\n },\n};\n\nexport const getters = {};\n\nconst actions = {\n createNewClass({ commit, state }, className) {\n return new Promise((resolve, reject) => {\n commit(\"addClass\", className);\n try {\n LocalStorage.set(\"tags\", state.classes);\n } catch (e) {\n reject(e);\n }\n resolve();\n });\n },\n deleteClass({ commit, state }, classId) {\n commit(\"removeClass\", classId);\n LocalStorage.set(\"tags\", state.classes);\n },\n};\n\nexport default {\n state() {\n return {\n originalText: \"\",\n separator: \"\\n\",\n classes: LocalStorage.getItem(\"tags\") || [],\n inputSentences: [],\n annotations: [],\n currentClass: {},\n currentIndex: 0,\n };\n },\n getters,\n mutations,\n actions,\n};\n","import \"./styles/quasar.scss\";\nimport iconSet from \"quasar/icon-set/fontawesome-v5.js\";\nimport \"@quasar/extras/fontawesome-v5/fontawesome-v5.css\";\nimport \"@quasar/extras/ionicons-v4/ionicons-v4.css\";\nimport Notify from 'quasar/src/plugins/Notify.js';;\n\n// To be used on app.use(Quasar, { ... })\nexport default {\n config: {},\n plugins: {\n Notify,\n },\n iconSet: iconSet,\n};\n","import { createApp } from \"vue\";\nimport App from \"./App.vue\";\nimport \"es6-promise/auto\";\nimport { createStore } from \"vuex\";\nimport store from \"./store\";\n\nimport Quasar from 'quasar/src/vue-plugin.js';;\nimport quasarUserOptions from \"./quasar-user-options\";\n\n\n\nconst app = createApp(App).use(Quasar, quasarUserOptions);\n\napp.use(createStore(store));\n\n\napp.mount(\"#app\");\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAIqUlEQVQYGZ3BCYydZaHG8f/zvt85c2Y6nZZu2sVSCoSpO0K5ceEmlmhUSmJQAcXdWBdwiVEJXMm9F7EqQUEToqkShWjiCmrRumtU0mCLRQE7BVu6zHS6zXbazpw553vf535jR1ONQnJ/PzGr/45tAgz0gR4Q9IOHbYYl/aWT/PDKvmL7L65e/kCeSmNTpUm2hGScqUiib8EyTuf/3gAyf2VA/J3+50sUzBJ/12N7lZmhpRJLA7ygnX3Fa86dg1vpyEQ7/zSKuxA/xxgUJScwW4eG2LAPJIHNS8oW91+8mnLjexXHp+SHj1o//qPZ8J94/XoCf2MZC6wjgl1ICCdBnk4uz55X67z23B5PlV4SxRsl/Uzol8ALhFO2wtwILxwAiWA7Zkn3n7Oad225P8ZvfsF0OedatHwAbl7HjMAsy1QCkC22i4rkIDRZunjJ8q5icXeknZyB0na2/VLEdqN3JMhfG1FcO0eyyUASmGmwlBhlDrF2t5b2vrW86d1403ZRCcyShbGMqfzKmIpsqAW8ZkFdAgyqFDqlg5HkLwe4anHhtG0EAy8U+qTwPc8/OPTjny3s33TL7d/b0jo8/aYwNLEubt2DHj4iKgWnEWRmmJ8ARxGLM+SuKC3qDpRGErgiCUMNKDFFTXxmV0s7+s/w9RJvoWJDluhzmy8VzyE19v32+h9+4D1U0ivXO0YomGUZkGVH4JilbwquBRKiJmFAnCLAAhsKg+viaU+0eaCTmdeIItk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MkIMMbMGJGZBt6AOSGIFjawade9/H/9H50/6ZWm+VSWAAAAAElFTkSuQmCC\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--0-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader-v16/dist/index.js??ref--0-2!./ClassesBlock.vue?vue&type=style&index=0&id=5bcb0b7b&lang=css&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--0-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader-v16/dist/index.js??ref--0-2!./Token.vue?vue&type=style&index=0&lang=scss\""],"sourceRoot":""} \ No newline at end of file diff --git a/docs/js/app.d2554073.js.map b/docs/js/app.d2554073.js.map deleted file mode 100644 index e521b9e..0000000 --- a/docs/js/app.d2554073.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/TokenBlock.vue?eff3","webpack:///./src/components/AnnotationSidebar.vue?526d","webpack:///./src/App.vue","webpack:///./src/components/menubar/MenuBar.vue","webpack:///./src/components/menubar/ExportAnnotations.vue","webpack:///./src/components/menubar/utils.js","webpack:///./src/components/menubar/ExportAnnotations.vue?2974","webpack:///./src/components/AboutDialog.vue","webpack:///./src/components/AboutDialog.vue?8bf8","webpack:///./src/components/menubar/MenuBar.vue?9061","webpack:///./src/components/StartPage.vue","webpack:///./src/components/StartPage.vue?f32d","webpack:///./src/components/AnnotationPage.vue","webpack:///./src/components/Token.vue","webpack:///./src/components/Token.vue?6868","webpack:///./src/components/TokenBlock.vue","webpack:///./src/components/TokenBlock.vue?d5d9","webpack:///./src/components/ClassesBlock.vue","webpack:///./src/components/ClassesBlock.vue?4e29","webpack:///./src/components/token-manager.js","webpack:///./src/components/AnnotationPage.vue?b0fc","webpack:///./src/components/AnnotationSidebar.vue","webpack:///./src/components/sidebar/ProgressBar.vue","webpack:///./src/components/sidebar/ProgressBar.vue?0ee8","webpack:///./src/components/sidebar/SplitTypeSelector.vue","webpack:///./src/components/sidebar/SplitTypeSelector.vue?71c4","webpack:///./src/components/AnnotationSidebar.vue?e904","webpack:///./src/App.vue?4221","webpack:///./src/store/index.js","webpack:///./src/quasar-user-options.js","webpack:///./src/main.js","webpack:///./src/assets/icon_32.png","webpack:///./src/components/ClassesBlock.vue?4d3a","webpack:///./src/components/Token.vue?5dd7"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","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","view","currentPage","model-value","bordered","class","switchToPage","src","size","dense","style","clickable","exportTags","$refs","file","click","importTags","type","ref","accept","href","target","showAbout","show","promptForProject","persistent","newProjectName","autofocus","align","flat","label","generateJSONExport","exportFile","content","filename","rpc","element","document","createElement","setAttribute","encodeURIComponent","display","body","appendChild","removeChild","save","documentDir","extensions","defaultPath","filters","then","path","match","invoke","filepath","contents","msg","alert","catch","e","console","log","computed","methods","output","classes","map","annotations","jsonStr","JSON","stringify","render","QItem","QItemSection","ClosePopup","$emit","version","color","emits","props","Boolean","default","QDialog","QCard","QCardSection","QCardActions","QBtn","components","ExportAnnotations","AboutDialog","setup","$q","notify","icon","message","level","position","timeout","actions","this","files","filereader","FileReader","onload","ev","loadClasses","parse","readAsText","QHeader","QAvatar","QMenu","QList","QSeparator","QSpace","QInput","textFile","onFileSelected","filled","bg-color","prepend","reader","addEventListener","event","setInputSentences","QFile","QIcon","tm","tokens","id","start","token","backgroundColor","onRemoveBlock","outline","resetBlocks","skipCurrentSentence","saveTags","text","required","round","text-color","showClose","requried","String","Token","cl","square","currentClass","setCurrentClass","removable","showDeleteButtons","handleRemoveClass","replace","showNewClassInput","bottom-slots","newClassName","hint","append","saveNewClass","watch","now","toUpperCase","class_id","className","sure","confirm","deleteClass","self","createNewClass","onInputKeyup","__scopeId","QChip","QBtnGroup","TokenManager","end","words","_start","_end","_class","selectedTokens","newTokens","classId","blockStart","entities","b","currentSentence","redone","tokenizer","TokenBlock","ClassesBlock","inputSentences","resetIndex","tokenizeCurrentSentence","created","selectTokens","beforeUnmount","removeEventListener","currentIndex","tokenize","spans","span_tokenize","combined","selection","getSelection","anchorOffset","focusOffset","anchorNode","focusNode","startIdx","endIdx","parseInt","parentElement","empty","addNewBlock","removeBlock","nextSentence","$store","commit","exportAsAnnotation","completed","total","Number","completedPercent","QLinearProgress","outlined","splitType","options","splitOptions","map-options","customSeparator","separatorChanged","disabled","state","separator","set","option","QSelect","ProgressBar","SplitTypeSelector","MenuBar","StartPage","AnnotationPage","AnnotationSidebar","page","QLayout","QDrawer","QPageContainer","niceColors","mutations","payload","Array","isArray","originalText","split","addClass","existing","find","lastIndex","reduce","removeClass","filter","addAnnotation","setSeparator","sentences","Error","isValid","acc","curr","getters","Promise","resolve","reject","LocalStorage","getItem","config","plugins","Notify","iconSet","app","createApp","App","use","Quasar","quasarUserOptions","createStore","store","mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAA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+M,QAAaC,QAAQ,SAAW,GACzCnF,eAAgB,GAChB3H,YAAa,GACbgF,aAAc,GACdkD,aAAc,IAGlBuE,WACApB,aACAtJ,Y,yECvHa,IACbgL,OAAQ,GACRC,QAAS,CACPC,gBAEFC,QAASA,SCDLC,GAAMC,eAAUC,IAAKC,IAAIC,QAAQC,IAEvCL,GAAIG,IAAIG,eAAYC,KAGpBP,GAAIQ,MAAM,S,4CChBV3T,EAAOD,QAAU,k/F,kCCAjB,W,kCCAA,W","file":"js/app.d2554073.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(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && 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\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 = \"/ner-annotator/\";\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","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--0-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader-v16/dist/index.js??ref--0-2!./TokenBlock.vue?vue&type=style&index=0&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--0-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader-v16/dist/index.js??ref--0-2!./AnnotationSidebar.vue?vue&type=style&index=0&lang=scss\"","\n\n\n","\n\n\n","\n\n\n","import { save } from \"@tauri-apps/api/dialog\";\nimport { invoke } from \"@tauri-apps/api/tauri\";\nimport { documentDir } from \"@tauri-apps/api/path\";\n\nexport const exportFile = async (content, filename) => {\n if (typeof window.rpc === \"undefined\") {\n let element = document.createElement(\"a\");\n element.setAttribute(\n \"href\",\n \"data:text/plain;charset=utf-8,\" + encodeURIComponent(content)\n );\n element.setAttribute(\"download\", filename);\n element.style.display = \"none\";\n document.body.appendChild(element);\n element.click();\n document.body.removeChild(element);\n } else {\n save({\n defaultPath: await documentDir(),\n filters: [\n { extensions: [\"json\"], name: \"JSON Files (*.json)\" },\n { name: \"All files (*.*)\", extensions: [\"*\"] },\n ],\n })\n .then((path) => {\n if (!path) return;\n if (!path.match(/.*\\.json$/)) path += \".json\";\n\n invoke(\"save_file\", { filepath: path, contents: content })\n .then((msg) => alert(msg))\n .catch((e) => alert(e));\n })\n .catch((e) => console.log(\"Save cancelled.\", e));\n }\n};\n","import { render } from \"./ExportAnnotations.vue?vue&type=template&id=234ebefe&bindings={\\\"generateJSONExport\\\":\\\"options\\\"}\"\nimport script from \"./ExportAnnotations.vue?vue&type=script&lang=js\"\nexport * from \"./ExportAnnotations.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemSection from 'quasar/src/components/item/QItemSection.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QItem,QItemSection});qInstall(script, 'directives', {ClosePopup});\n","\n\n\n\n\n","import { render } from \"./AboutDialog.vue?vue&type=template&id=b42052d6&bindings={\\\"show\\\":\\\"props\\\"}\"\nimport script from \"./AboutDialog.vue?vue&type=script&lang=js\"\nexport * from \"./AboutDialog.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QDialog,QCard,QCardSection,QCardActions,QBtn});qInstall(script, 'directives', {ClosePopup});\n","import { render } from \"./MenuBar.vue?vue&type=template&id=0e5c2be1&bindings={\\\"notify\\\":\\\"setup\\\",\\\"exportTags\\\":\\\"options\\\",\\\"importTags\\\":\\\"options\\\"}\"\nimport script from \"./MenuBar.vue?vue&type=script&lang=js\"\nexport * from \"./MenuBar.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QHeader from 'quasar/src/components/header/QHeader.js';\nimport QAvatar from 'quasar/src/components/avatar/QAvatar.js';\nimport QMenu from 'quasar/src/components/menu/QMenu.js';\nimport QList from 'quasar/src/components/item/QList.js';\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemSection from 'quasar/src/components/item/QItemSection.js';\nimport QSeparator from 'quasar/src/components/separator/QSeparator.js';\nimport QSpace from 'quasar/src/components/space/QSpace.js';\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';import ClosePopup from 'quasar/src/directives/ClosePopup.js';\nimport qInstall from \"../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QHeader,QAvatar,QMenu,QList,QItem,QItemSection,QSeparator,QSpace,QDialog,QCard,QCardSection,QInput,QCardActions,QBtn});qInstall(script, 'directives', {ClosePopup});\n","\n\n\n","import { render } from \"./StartPage.vue?vue&type=template&id=51183afb&bindings={\\\"textFile\\\":\\\"data\\\",\\\"onFileSelected\\\":\\\"options\\\"}\"\nimport script from \"./StartPage.vue?vue&type=script&lang=js\"\nexport * from \"./StartPage.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QFile from 'quasar/src/components/file/QFile.js';\nimport QIcon from 'quasar/src/components/icon/QIcon.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QFile,QIcon});\n","\n\n","\n\n","import { render } from \"./Token.vue?vue&type=template&id=f70ec29e&bindings={\\\"token\\\":\\\"props\\\"}\"\nimport script from \"./Token.vue?vue&type=script&lang=js\"\nexport * from \"./Token.vue?vue&type=script&lang=js\"\n\nimport \"./Token.vue?vue&type=style&index=0&lang=scss\"\nscript.render = render\n\nexport default script","\n\n\n\n","import { render } from \"./TokenBlock.vue?vue&type=template&id=3dc30d5f&bindings={\\\"token\\\":\\\"props\\\",\\\"backgroundColor\\\":\\\"props\\\"}\"\nimport script from \"./TokenBlock.vue?vue&type=script&lang=js\"\nexport * from \"./TokenBlock.vue?vue&type=script&lang=js\"\n\nimport \"./TokenBlock.vue?vue&type=style&index=0&lang=scss\"\nscript.render = render\n\nexport default script\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QBtn});\n","\n\n\n\n\n","import { render } from \"./ClassesBlock.vue?vue&type=template&id=5bcb0b7b&scoped=true&bindings={\\\"showNewClassInput\\\":\\\"data\\\",\\\"newClassName\\\":\\\"data\\\",\\\"showDeleteButtons\\\":\\\"data\\\",\\\"handleRemoveClass\\\":\\\"options\\\",\\\"saveNewClass\\\":\\\"options\\\",\\\"onInputKeyup\\\":\\\"options\\\"}\"\nimport script from \"./ClassesBlock.vue?vue&type=script&lang=js\"\nexport * from \"./ClassesBlock.vue?vue&type=script&lang=js\"\n\nimport \"./ClassesBlock.vue?vue&type=style&index=0&id=5bcb0b7b&lang=css&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-5bcb0b7b\"\n\nexport default script\nimport QChip from 'quasar/src/components/chip/QChip.js';\nimport QAvatar from 'quasar/src/components/avatar/QAvatar.js';\nimport QSpace from 'quasar/src/components/space/QSpace.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QBtnGroup from 'quasar/src/components/btn-group/QBtnGroup.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QChip,QAvatar,QSpace,QInput,QBtn,QBtnGroup});\n","class TokenManager {\n /**\n *\n * @param {Array} tokens\n */\n constructor(tokens) {\n this.tokens = tokens.map((t) => ({\n type: \"token\",\n start: t[0],\n end: t[1],\n text: t[2],\n }));\n this.words = tokens.map(t => t[2]); \n }\n\n /**\n * Creates a new token block with the tokens whose starts match the input\n * parameters\n *\n * @param {Number} start 'start' value of the token forming the start of the token block\n * @param {Number} end 'start' value of the token forming the end of the token block\n * @param {Number} _class the id of the class to highlight\n */\n addNewBlock(_start, _end, _class) {\n let selectedTokens = [];\n let newTokens = [];\n\n let start = _end < _start ? _end : _start;\n let end = _end > _start ? _end : _start;\n \n for (let i = 0; i < this.tokens.length; i++) {\n let t = this.tokens[i];\n if (t.start < start) {\n newTokens.push(t);\n } else if (t.type == \"token\" && t.start >= start && t.start <= end) {\n selectedTokens.push(t);\n } else if (t.start > start && selectedTokens.length) {\n newTokens.push({\n type: \"token-block\",\n start: selectedTokens[0].start,\n end: selectedTokens[selectedTokens.length - 1].end,\n tokens: selectedTokens,\n label: _class && _class.name ? _class.name : \"Unlabelled\",\n classId: _class && _class.id ? _class.id : 0,\n backgroundColor: _class && _class.color ? _class.color : null,\n });\n selectedTokens = [];\n newTokens.push(t);\n } else {\n newTokens.push(t);\n }\n }\n\n // Case if the selected tokens are at the end of the text and have not been added to the newTokens\n if (selectedTokens.length) {\n newTokens.push({\n type: \"token-block\",\n start: selectedTokens[0].start,\n end: selectedTokens[selectedTokens.length - 1].end,\n tokens: selectedTokens,\n label: _class && _class.name ? _class.name : \"Unlabelled\",\n classId: _class && _class.id ? _class.id : 0,\n backgroundColor: _class && _class.color ? _class.color : null,\n });\n }\n\n this.tokens = newTokens;\n }\n\n /**\n * Removes a token block and puts back all the tokens in their original position\n *\n * @param {Number} blockStart 'start' value of the token block to remove\n */\n removeBlock(blockStart) {\n let newTokens = [];\n for (let i = 0; i < this.tokens.length; i++) {\n if (\n this.tokens[i].type === \"token-block\" &&\n this.tokens[i].start === blockStart\n ) {\n newTokens.push(...this.tokens[i].tokens);\n } else {\n newTokens.push(this.tokens[i]);\n }\n }\n this.tokens = newTokens;\n }\n\n /**\n * Removes all the tag blocks and leaves only tokens\n */\n resetBlocks() {\n let newTokens = [];\n for (let i = 0; i < this.tokens.length; i++) {\n if (this.tokens[i].type === \"token\") {\n newTokens.push(this.tokens[i]);\n } else {\n newTokens.push(...this.tokens[i].tokens);\n }\n }\n this.tokens = newTokens;\n }\n\n /**\n * Exports the tokens and the token blocks as annotations\n */\n exportAsAnnotation() {\n let entities = [];\n for (let i = 0; i < this.tokens.length; i++) {\n if (this.tokens[i].type === \"token-block\") {\n let b = this.tokens[i];\n entities.push([b.start, b.end, b.label]);\n }\n }\n return entities;\n }\n}\n\nexport default TokenManager;\n","import { render } from \"./AnnotationPage.vue?vue&type=template&id=96044f16&bindings={\\\"tokenizeCurrentSentence\\\":\\\"options\\\",\\\"selectTokens\\\":\\\"options\\\",\\\"onRemoveBlock\\\":\\\"options\\\",\\\"resetBlocks\\\":\\\"options\\\",\\\"skipCurrentSentence\\\":\\\"options\\\",\\\"saveTags\\\":\\\"options\\\"}\"\nimport script from \"./AnnotationPage.vue?vue&type=script&lang=js\"\nexport * from \"./AnnotationPage.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport qInstall from \"../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QBtn});\n","\n\n\n\n\n","\n\n\n","import { render } from \"./ProgressBar.vue?vue&type=template&id=32bfa5c6&bindings={\\\"completed\\\":\\\"props\\\",\\\"total\\\":\\\"props\\\",\\\"completedPercent\\\":\\\"options\\\"}\"\nimport script from \"./ProgressBar.vue?vue&type=script&lang=js\"\nexport * from \"./ProgressBar.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QLinearProgress from 'quasar/src/components/linear-progress/QLinearProgress.js';\nimport qInstall from \"../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QLinearProgress});\n","\n\n\n","import { render } from \"./SplitTypeSelector.vue?vue&type=template&id=5546ed7a&bindings={\\\"customSeparator\\\":\\\"data\\\",\\\"splitOptions\\\":\\\"data\\\",\\\"splitType\\\":\\\"options\\\",\\\"separatorChanged\\\":\\\"options\\\"}\"\nimport script from \"./SplitTypeSelector.vue?vue&type=script&lang=js\"\nexport * from \"./SplitTypeSelector.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QSelect from 'quasar/src/components/select/QSelect.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport qInstall from \"../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QSelect,QInput});\n","import { render } from \"./AnnotationSidebar.vue?vue&type=template&id=08fbfc41&bindings={}\"\nimport script from \"./AnnotationSidebar.vue?vue&type=script&lang=js\"\nexport * from \"./AnnotationSidebar.vue?vue&type=script&lang=js\"\n\nimport \"./AnnotationSidebar.vue?vue&type=style&index=0&lang=scss\"\nscript.render = render\n\nexport default script","import { render } from \"./App.vue?vue&type=template&id=66bb15c0&bindings={\\\"currentPage\\\":\\\"data\\\",\\\"switchToPage\\\":\\\"options\\\"}\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script\nimport QLayout from 'quasar/src/components/layout/QLayout.js';\nimport QDrawer from 'quasar/src/components/drawer/QDrawer.js';\nimport QPageContainer from 'quasar/src/components/page/QPageContainer.js';\nimport qInstall from \"../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QLayout,QDrawer,QPageContainer});\n","import LocalStorage from 'quasar/src/plugins/LocalStorage.js';;\n\nconst niceColors = [\n \"red-11\",\n \"blue-11\",\n \"light-green-11\",\n \"deep-orange-11\",\n \"pink-11\",\n \"light-blue-11\",\n \"lime-11\",\n \"brown-11\",\n \"purple-11\",\n \"cyan-11\",\n \"yellow-11\",\n \"grey-11\",\n \"deep-purple-11\",\n \"teal-11\",\n \"amber-11\",\n \"blue-grey-11\",\n \"indigo-11\",\n \"green-11\",\n \"orange-11\",\n];\n\nexport const mutations = {\n setInputSentences(state, payload) {\n if (!Array.isArray(payload)) {\n state.originalText = payload;\n payload = payload.split(state.separator);\n }\n state.inputSentences = payload.map((s, i) => ({ id: i, text: s }));\n },\n addClass(state, payload) {\n let existing = state.classes.find((c) => c.name == payload);\n if (existing) {\n return;\n }\n let lastIndex = state.classes.reduce((p, c) => {\n return c.id > p ? c.id : p;\n }, 0);\n state.classes.push({\n id: lastIndex + 1,\n name: payload,\n color: niceColors[lastIndex % niceColors.length],\n });\n if (state.classes.length === 1) {\n state.currentClass = state.classes[0];\n }\n },\n removeClass(state, payload) {\n state.classes = state.classes.filter((c) => c.id != payload);\n if (state.currentClass.id === payload) {\n state.currentClass = state.classes[0];\n }\n },\n setCurrentClass(state, payload) {\n state.currentClass = state.classes.find((c) => c.id === payload);\n },\n addAnnotation(state, payload) {\n state.annotations.push(payload);\n },\n setSeparator(state, payload) {\n state.separator = payload;\n const sentences = state.originalText.split(state.separator);\n state.inputSentences = sentences.map((s, i) => ({ id: i, text: s }));\n },\n nextSentence(state) {\n state.currentIndex += 1;\n },\n resetIndex(state) {\n state.currentIndex = 0;\n },\n loadClasses(state, payload) {\n if (!Array.isArray(payload)) {\n throw new Error(\"loadClasses: payload must be an array\");\n }\n let isValid = payload.reduce(\n (acc, curr) =>\n acc &&\n typeof curr === \"object\" &&\n \"id\" in curr &&\n \"name\" in curr &&\n \"color\" in curr,\n true\n );\n if (!isValid) {\n throw new Error(\"loadClasses: payload has invalid schema\");\n }\n state.classes = payload;\n },\n};\n\nexport const getters = {};\n\nconst actions = {\n createNewClass({ commit, state }, className) {\n return new Promise((resolve, reject) => {\n commit(\"addClass\", className);\n try {\n LocalStorage.set(\"tags\", state.classes);\n } catch (e) {\n reject(e);\n }\n resolve();\n });\n },\n deleteClass({ commit, state }, classId) {\n commit(\"removeClass\", classId);\n LocalStorage.set(\"tags\", state.classes);\n },\n};\n\nexport default {\n state() {\n return {\n originalText: \"\",\n separator: \"\\n\",\n classes: LocalStorage.getItem(\"tags\") || [],\n inputSentences: [],\n annotations: [],\n currentClass: {},\n currentIndex: 0,\n };\n },\n getters,\n mutations,\n actions,\n};\n","import \"./styles/quasar.scss\";\nimport iconSet from \"quasar/icon-set/fontawesome-v5.js\";\nimport \"@quasar/extras/fontawesome-v5/fontawesome-v5.css\";\nimport \"@quasar/extras/ionicons-v4/ionicons-v4.css\";\nimport Notify from 'quasar/src/plugins/Notify.js';;\n\n// To be used on app.use(Quasar, { ... })\nexport default {\n config: {},\n plugins: {\n Notify,\n },\n iconSet: iconSet,\n};\n","import { createApp } from \"vue\";\nimport App from \"./App.vue\";\nimport \"es6-promise/auto\";\nimport { createStore } from \"vuex\";\nimport store from \"./store\";\n\nimport Quasar from 'quasar/src/vue-plugin.js';;\nimport quasarUserOptions from \"./quasar-user-options\";\n\n\n\nconst app = createApp(App).use(Quasar, quasarUserOptions);\n\napp.use(createStore(store));\n\n\napp.mount(\"#app\");\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAIqUlEQVQYGZ3BCYydZaHG8f/zvt85c2Y6nZZu2sVSCoSpO0K5ceEmlmhUSmJQAcXdWBdwiVEJXMm9F7EqQUEToqkShWjiCmrRumtU0mCLRQE7BVu6zHS6zXbazpw553vf535jR1ONQnJ/PzGr/45tAgz0gR4Q9IOHbYYl/aWT/PDKvmL7L65e/kCeSmNTpUm2hGScqUiib8EyTuf/3gAyf2VA/J3+50sUzBJ/12N7lZmhpRJLA7ygnX3Fa86dg1vpyEQ7/zSKuxA/xxgUJScwW4eG2LAPJIHNS8oW91+8mnLjexXHp+SHj1o//qPZ8J94/XoCf2MZC6wjgl1ICCdBnk4uz55X67z23B5PlV4SxRsl/Uzol8ALhFO2wtwILxwAiWA7Zkn3n7Oad225P8ZvfsF0OedatHwAbl7HjMAsy1QCkC22i4rkIDRZunjJ8q5icXeknZyB0na2/VLEdqN3JMhfG1FcO0eyyUASmGmwlBhlDrF2t5b2vrW86d1403ZRCcyShbGMqfzKmIpsqAW8ZkFdAgyqFDqlg5HkLwe4anHhtG0EAy8U+qTwPc8/OPTjny3s33TL7d/b0jo8/aYwNLEubt2DHj4iKgWn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MJUAS5HTKbHt/MjJ0b1yKZWa4kQEAEApCBw0Cz4ClJYCqrAVlEzF0S3wYCdjIiSpxu58a1/E3/DdvAGEiSsZkhwAVPxmCZGbLOt4zsRxDX2iBsKsJ8cee9/DsDG9fyL5hK4MkIMMbMGJGZBt6AOSGIFjawade9/H/9H50/6ZWm+VSWAAAAAElFTkSuQmCC\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--0-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader-v16/dist/index.js??ref--0-2!./ClassesBlock.vue?vue&type=style&index=0&id=5bcb0b7b&lang=css&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--0-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-1!../../node_modules/vue-loader-v16/dist/index.js??ref--0-2!./Token.vue?vue&type=style&index=0&lang=scss\""],"sourceRoot":""} \ No newline at end of file diff --git a/package.json b/package.json index 5b128dc..d906352 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ner-annotator", - "version": "1.0.1", + "version": "1.0.2", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 14462a7..5fe6cfb 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "package": { "productName": "NER Annotator", - "version": "1.0.0" + "version": "1.0.2" }, "build": { "distDir": "Set automatically by Vue CLI plugin", diff --git a/src/components/AnnotationPage.vue b/src/components/AnnotationPage.vue index 381c26b..a9ca48a 100644 --- a/src/components/AnnotationPage.vue +++ b/src/components/AnnotationPage.vue @@ -67,7 +67,6 @@ export default { "annotations", "currentClass", "currentIndex", - "resetIndex", ]), }, watch: { @@ -86,7 +85,7 @@ export default { document.removeEventListener("mouseup", this.selectTokens); }, methods: { - ...mapMutations(["nextSentence"]), + ...mapMutations(["nextSentence", "resetIndex"]), tokenizeCurrentSentence() { if (this.currentIndex >= this.inputSentences.length) { // TODO show completed message