cjvt-valency/dip_src/flask_app/vue/dist/static/js/app.abe281d88cb13e210c8b.js.map
2019-03-20 17:49:34 +01:00

1 line
130 KiB
Plaintext
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.

{"version":3,"sources":["webpack:///./config/config.json","webpack:///./src/App.vue?f407","webpack:///./src/App.vue","webpack:///src/App.vue","webpack:///./src/components/Nav.vue?bf29","webpack:///./src/components/Nav.vue","webpack:///src/components/Nav.vue","webpack:///./src/components/LWords.vue?81a1","webpack:///./src/components/LWords.vue","webpack:///src/components/LWords.vue","webpack:///./src/components/LFunctors.vue?8573","webpack:///./src/components/LFunctors.vue","webpack:///src/components/LFunctors.vue","webpack:///./src/components/Sense.vue?91a4","webpack:///./src/components/Sense.vue","webpack:///src/components/Sense.vue","webpack:///src/components/Frame.vue","webpack:///./src/components/Frame.vue?1d63","webpack:///./src/components/Frame.vue","webpack:///src/components/EditSenses.vue","webpack:///./src/components/EditSenses.vue?6ca0","webpack:///./src/components/EditSenses.vue","webpack:///node_modules/vue-spinner/src/PulseLoader.vue","webpack:///./node_modules/vue-spinner/src/PulseLoader.vue?b5a3","webpack:///./node_modules/vue-spinner/src/PulseLoader.vue","webpack:///src/components/MainDispl.vue","webpack:///./src/components/MainDispl.vue?e07a","webpack:///./src/components/MainDispl.vue","webpack:///src/components/Home.vue","webpack:///./src/components/Home.vue?1183","webpack:///./src/components/Home.vue","webpack:///./src/components/Login.vue?2ae6","webpack:///./src/components/Login.vue","webpack:///src/components/Login.vue","webpack:///./src/components/Register.vue?11b4","webpack:///./src/components/Register.vue","webpack:///src/components/Register.vue","webpack:///./src/components/NewPass.vue?9dae","webpack:///./src/components/NewPass.vue","webpack:///src/components/NewPass.vue","webpack:///./src/router/index.js","webpack:///./src/main.js"],"names":["module","exports","api_addr","selectortype_template_index_0_src_App","render","_h","this","$createElement","_self","_c","staticRenderFns","src_App","__webpack_require__","normalizeComponent","name","components_Nav","_vm","attrs","toggleable","type","variant","target","_v","is-nav","id","text","right","_l","option","key","val","value","on","click","$event","setNavSS","_s","loggedIn","staticClass","$root","store","username","href","logOut","to","src_components_Nav","Nav_normalizeComponent","props","data","search_options","methods","radio","navSS","$router","push","token","components_LWords","directives","rawName","expression","change","$$selectedVal","Array","prototype","filter","call","options","o","selected","map","_value","selectedLetter","multiple","letter","domProps","toUpperCase","getNumWords","getWords","word","selectHw","has_se","includes","_e","src_components_LWords","LWords_normalizeComponent","alphabet","letters","apiGetWords","component","$http","get","storeGet","then","response","api_error","catch","error","entry","length","params","hw","fmode","mounted","ssrContext","components_LFunctors","functor","selectFunctor","src_components_LFunctors","LFunctors_normalizeComponent","functors","apiGetFunctors","components_Sense","undefined","sense","desc","author","gen_id","src_components_Sense","Sense_normalizeComponent","id_arr","sense_id","split","ret","Frame","frameData","sensData","default","Boolean","hid","sid","components","Sense","watch","setHid","idx","arguments","tid","i","slots","tids","clearOnClick","event","tagName","setSid","hasHoverTid","hasSelTid","isHw","getSense","senses","sense_info","getAggrHws","keys_default","aggr_sent","sort","getAggrSent","sentences","components_Frame","slot","class","my-pointer text-danger","my-underline text-danger","mouseover","mouseleave","sentence","index","text-primary","title","msd","mkspace","src_components_Frame","Frame_normalizeComponent","EditSenses","picked_ssj_id","picked_sense_id","local_senses","local_sense_map","new_sense_desc","new_senses","delta_sense_map","created","sens","json","stringify_default","sense_map","ssj_id","JSON","parse","sense_id_to_sense","new_link","pick_ssj_id","new_sense","Date","getTime","cancel_all","$parent","state","save_all","exit_edit","request_reload","post","headers","Content-type","components_EditSenses","_m","border-primary","parseInt","hw_idx","input","composing","src_components_EditSenses","EditSenses_normalizeComponent","PulseLoader","loading","color","String","size","margin","radius","spinnerStyle","backgroundColor","width","height","borderRadius","display","animationName","animationDuration","animationIterationCount","animationTimingFunction","animationFillMode","spinnerDelay1","animationDelay","spinnerDelay2","spinnerDelay3","src_PulseLoader","style","MainDispl","PulseLoader_normalizeComponent","frames","loader_color","reload","computed","show_loader","buildSentences","getFFrames","reduce_fun","getFrames","fi","si","splice","join","words","tmp_hw","substr","lemma","getSenses","callback","sortBySense","calcPos","userEdit","tthis","checkToken","err","alert","bfmode","undefFrames","defFrames","concat","components_MainDispl","checked","_q","$set","frame","src_components_MainDispl","MainDispl_normalizeComponent","Nav","LWords","LFunctors","components_Home","src_components_Home","Home_normalizeComponent","Home","components_Login","routeBack","credentials","data-id","placeholder","submit","src_components_Login","Login_normalizeComponent","password","loggingIn","go","$cookies","set","components_Register","autocomplete","src_components_Register","Register_normalizeComponent","snd_password","email","clearFields","checkEmail","post_data","components_NewPass","src_components_NewPass","NewPass_normalizeComponent","confirmation","vue_esm","use","vue_router_esm","router","mode","routes","path","redirect","children","config","productionTip","vue_cookies_default","a","es","axios_default","config_default","store_methods","storeSet","login_methods","promise_default","resolve","reject","user","el","App","template","assign_default","beforeCreate","document","isKey","cookie_token","remove"],"mappings":"kMAAAA,EAAAC,SAAkBC,SAAA,sOCGlBC,GADiBC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAAkD,OAA/DD,KAAuCE,MAAAC,IAAAJ,GAAwB,gBAExEK,oBCqBjBC,EAvBAC,EAAA,OAcAC,ECRAC,KAAA,ODUAX,GATA,EAEA,KAEA,KAEA,MAUA,oBEpBAY,GADiBX,OAFjB,WAA0B,IAAAY,EAAAV,KAAaD,EAAAW,EAAAT,eAA0BE,EAAAO,EAAAR,MAAAC,IAAAJ,EAAwB,OAAAI,EAAA,OAAAA,EAAA,YAAgCQ,OAAOC,WAAA,KAAAC,KAAA,QAAAC,QAAA,WAAoDX,EAAA,mBAAwBQ,OAAOI,OAAA,kBAAyBL,EAAAM,GAAA,KAAAb,EAAA,kBAAAO,EAAAM,GAAA,6CAAAN,EAAAM,GAAA,KAAAb,EAAA,cAAoHQ,OAAOM,SAAA,GA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.abe281d88cb13e210c8b.js","sourcesContent":["module.exports = {\"api_addr\":\"http://localhost:5004\"}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./config/config.json\n// module id = J/Fn\n// module chunks = 1","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view')}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-58e25b52\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\nimport __vue_script__ from \"!!babel-loader!../node_modules/vue-loader/lib/selector?type=script&index=0!./App.vue\"\n/* template */\nimport __vue_template__ from \"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-58e25b52\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = null\n// module chunks = ","<template>\n <router-view/>\n</template>\n\n<script>\nexport default {\n name: 'App',\n}\n</script>\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',[_c('b-navbar',{attrs:{\"toggleable\":\"md\",\"type\":\"light\",\"variant\":\"light\"}},[_c('b-navbar-toggle',{attrs:{\"target\":\"nav_collapse\"}}),_vm._v(\" \"),_c('b-navbar-brand',[_vm._v(\"Vezljivostni vzorci slovenskih glagolov\")]),_vm._v(\" \"),_c('b-collapse',{attrs:{\"is-nav\":\"\",\"id\":\"nav_collapse\"}},[_c('b-navbar-nav',[_c('b-nav-item-dropdown',{attrs:{\"text\":\"Prikaz\",\"right\":\"\"}},_vm._l((_vm.search_options),function(option){return _c('b-dropdown-item',{key:option.val,attrs:{\"value\":option.val},on:{\"click\":function($event){_vm.setNavSS(option.val)}}},[_vm._v(\"\\n \"+_vm._s(option.key)+\"\\n \")])}))],1),_vm._v(\" \"),(this.loggedIn())?_c('b-navbar-nav',{staticClass:\"ml-auto\",attrs:{\"right\":\"\"}},[_c('b-nav-item',[_vm._v(\"\\n Uporabnik: \"+_vm._s(this.$root.store.username)+\" \\n \"),_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){_vm.logOut()}}},[_vm._v(\"(odjava)\")])])],1):_c('b-navbar-nav',{staticClass:\"ml-auto\",attrs:{\"right\":\"\"}},[_c('b-nav-item',[_c('router-link',{attrs:{\"to\":\"/register\"}},[_vm._v(\"\\n Registracija\\n \")])],1),_vm._v(\" \"),_c('b-nav-item',[_c('router-link',{attrs:{\"to\":\"/login\"}},[_vm._v(\"\\n Prijava\\n \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-463b35bd\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Nav.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Nav.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Nav.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-463b35bd\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Nav.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Nav.vue\n// module id = null\n// module chunks = ","<template>\n<nav>\n <b-navbar toggleable=\"md\" type=\"light\" variant=\"light\">\n <b-navbar-toggle target=\"nav_collapse\"></b-navbar-toggle>\n <b-navbar-brand>Vezljivostni vzorci slovenskih glagolov</b-navbar-brand>\n <b-collapse is-nav id=\"nav_collapse\">\n\n <b-navbar-nav>\n <b-nav-item-dropdown text=\"Prikaz\" right>\n <b-dropdown-item v-for=\"option in search_options\" \n :value=\"option.val\"\n :key=\"option.val\"\n v-on:click=\"setNavSS(option.val)\">\n {{ option.key }}\n </b-dropdown-item>\n </b-nav-item-dropdown>\n </b-navbar-nav>\n\n <!-- Right aligned nav items -->\n <b-navbar-nav class=\"ml-auto\" right v-if=\"this.loggedIn()\">\n <b-nav-item>\n Uporabnik: {{ this.$root.store.username }} \n <a href=\"#\" v-on:click=\"logOut()\">(odjava)</a>\n </b-nav-item>\n </b-navbar-nav>\n <b-navbar-nav class=\"ml-auto\" right v-else>\n <b-nav-item>\n <router-link to=\"/register\">\n Registracija\n </router-link>\n </b-nav-item>\n <b-nav-item>\n <router-link to=\"/login\">\n Prijava\n </router-link>\n </b-nav-item>\n </b-navbar-nav>\n\n </b-collapse>\n </b-navbar>\n </nav>\n</template>\n\n<script>\nexport default {\n name: \"Nav\",\n props: [\"appState\"],\n data() {return {\n search_options: [\n {key: \"besede\", val: \"words\"},\n {key: \"udeleženske vloge\", val: \"functors\"},\n ],\n }},\n methods: {\n setNavSS(val) {\n this.$root.store.radio = \"one\"\n this.$root.store.navSS = val\n this.$router.push({\n name: \"Home\"\n })\n },\n loggedIn() {\n return (this.$root.store.token !== null)\n },\n logOut() {\n this.$root.store.token = null\n this.$root.store.username = null\n this.$router.push({\n name: \"Home\"\n })\n }\n }\n}\n</script>\n\n\n// WEBPACK FOOTER //\n// src/components/Nav.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedLetter),expression:\"selectedLetter\"}],on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedLetter=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.alphabet),function(letter){return _c('option',{domProps:{\"value\":letter}},[_vm._v(\"\\n \"+_vm._s(letter.toUpperCase())+\" (\"+_vm._s(_vm.getNumWords(letter))+\")\\n \")])})),_vm._v(\" \"),_c('table',_vm._l((_vm.getWords()),function(word){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){_vm.selectHw(word)}}},[_vm._v(_vm._s(word[0])+\"\\n \"),(_vm.$root.store.has_se.includes(word[0]))?_c('span',[_vm._v(\"se\")]):_vm._e()])]),_vm._v(\" \"),_c('td',[_vm._v(\"(\"+_vm._s(word[1])+\")\")])])}))])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-52c6d79c\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/LWords.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-52c6d79c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./LWords.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./LWords.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./LWords.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-52c6d79c\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./LWords.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-52c6d79c\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/LWords.vue\n// module id = null\n// module chunks = ","<template>\n<div>\n <select v-model=\"selectedLetter\">\n <option v-for=\"letter in alphabet\" :value=\"letter\">\n {{ letter.toUpperCase() }} ({{ getNumWords(letter) }})\n </option>\n </select>\n <table>\n <tr v-for=\"word in getWords()\">\n <td><a href=\"#\" v-on:click=\"selectHw(word)\">{{ word[0] }}\n <span v-if=\"$root.store.has_se.includes(word[0])\">se</span>\n </a></td>\n <td>({{ word[1] }})</td>\n </tr>\n </table>\n</div>\n</template>\n\n<script>\nexport default {\n name: \"LWords\",\n data() {return {\n alphabet: \"abcčdefghijklmnoprsštuvzž\",\n letters: {},\n selectedLetter: \"a\"\n }},\n methods: {\n apiGetWords: function() {\n var component = this\n this.$http.get(this.$root.storeGet(\"api_addr\") + \"/api/words\")\n .then(function(response) {\n component.$root.store.api_error = null\n component.$root.store.has_se = response.data[\"has_se\"]\n component.letters = response.data[\"sorted_words\"]\n })\n .catch(function(error) {\n component.$root.store.api_error = error\n })\n },\n getNumWords: function(letter) {\n var entry = this.letters[letter]\n if (entry) {\n return entry.length\n } else {\n return 0\n }\n },\n getWords: function() {\n var entry = this.letters[this.selectedLetter]\n if (entry) {\n return entry\n } else {\n return []\n }\n },\n selectHw: function(word) {\n this.$router.push({\n name: \"MainDispl\", \n params: {\n hw: word[0],\n fmode: false\n }\n })\n }\n },\n mounted: function() {\n this.apiGetWords()\n }\n}\n</script>\n\n<style scoped>\ntable {\n width: 100%;\n}\n\nselect {\n width: 100%;\n}\n</style>\n\n\n// WEBPACK FOOTER //\n// src/components/LWords.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('table',_vm._l((_vm.functors),function(functor){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){_vm.selectFunctor(functor)}}},[_vm._v(_vm._s(functor[0]))])]),_vm._v(\" \"),_c('td',[_vm._v(\"(\"+_vm._s(functor[1])+\")\")])])}))])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7347cd6e\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/LFunctors.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7347cd6e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./LFunctors.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./LFunctors.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./LFunctors.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7347cd6e\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./LFunctors.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/LFunctors.vue\n// module id = null\n// module chunks = ","<template>\n<div>\n <table>\n <tr v-for=\"functor in functors\">\n <td><a href=\"#\" v-on:click=\"selectFunctor(functor)\">{{ functor[0] }}</a></td>\n <td>({{ functor[1] }})</td>\n </tr>\n </table>\n</div>\n</template>\n\n<script>\nexport default {\n name: \"LWords\",\n props: [\"appState\"],\n data() {return {\n functors: []\n }},\n methods: {\n apiGetFunctors: function () {\n var component = this\n this.$http.get(this.$root.store.api_addr + \"/api/functors\")\n .then(function(response) {\n component.$root.store.api_error = null\n component.functors = response.data\n })\n .catch(function(error) {\n component.$root.store.api_error = error\n })\n },\n selectFunctor: function (functor) {\n this.$router.push({\n name: \"MainDispl\", \n params: {\n hw: functor[0],\n fmode: true\n }\n })\n }\n },\n mounted: function() {\n this.apiGetFunctors()\n }\n}\n</script>\n\n<style>\ntable {\n width: 100%;\n}\n</style>\n\n\n// WEBPACK FOOTER //\n// src/components/LFunctors.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pb-3\"},[(_vm.sense === undefined)?_c('div',[_vm._v(\"\\n pomen ni definiran\\n \")]):_c('div',[_c('span',[_vm._v(_vm._s(_vm.sense.desc))]),_vm._v(\" \"),_c('br'),_vm._v(\"\\n   \\n \"),_c('small',{staticClass:\"text-secondary\"},[_vm._v(\"\\n - \"+_vm._s(_vm.sense.author)+\"\\n \"+_vm._s(_vm.gen_id())+\"\\n \")])])])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-61683871\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Sense.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Sense.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Sense.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-61683871\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Sense.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Sense.vue\n// module id = null\n// module chunks = ","<template>\n<div class=\"pb-3\">\n <div v-if=\"sense === undefined\">\n pomen ni definiran\n </div>\n <div v-else>\n <span>{{ sense.desc }}</span>\n <br>\n &nbsp;&nbsp;\n <small class=\"text-secondary\">\n - {{ sense.author }}\n {{ gen_id() }}\n </small>\n </div>\n</div>\n</template>\n\n<script>\nexport default {\n name: \"Sense\",\n props: [\"sense\"],\n methods: {\n gen_id: function() {\n var id_arr = this.sense.sense_id.split(\"-\")\n var ret = \"\"\n if (this.sense.author === \"SSKJ\") {\n if (id_arr[1] !== \"0\") {\n ret += (\"[\" + id_arr[1] + [\"] \"])\n }\n if (id_arr[2] !== \"0\") {\n ret += (\"pomen \" + id_arr[2])\n if (id_arr[3] !== \"0\") {\n ret += (\".\" + id_arr[3])\n }\n }\n if (id_arr[4] === \"sopo\") {\n ret += \" (sopomenka)\"\n }\n }\n // ret = this.sense.sense_id //debugging\n if (ret.length > 0) {\n ret = \": \" + ret\n }\n return ret\n }\n }\n}\n</script>\n\n\n\n// WEBPACK FOOTER //\n// src/components/Sense.vue","<template>\n<!-- clicking on empty space clears highlights -->\n<div v-on:click=\"clearOnClick\" class=\"container-fluid\">\n <hr>\n <div class=\"row\">\n <div class=\"col-sm-7\">\n <div class=\"row\">\n <div class=\"col-sm-12\">\n št. povedi: {{ frameData.sentences.length }}\n </div>\n </div>\n\n <!--frame slots-->\n <div class=\"row my-frames\">\n <div class=\"col-sm-12\">\n <span v-for=\"(slot, key) in frameData.slots\">\n <span\n v-bind:class=\"{\n 'my-pointer text-danger': hasHoverTid(idx=key), \n 'my-underline text-danger': hasSelTid(idx=key) \n }\" \n v-on:mouseover=\"setHid(idx=key)\" \n v-on:mouseleave=\"setHid()\" \n v-on:click=\"setSid(idx=key)\"\n >{{ slot.functor }}</span>&nbsp;&nbsp;\n </span>\n </div>\n </div>\n </div>\n\n <!--sense information-->\n <div v-if=\"$root.store.radio === 'three'\" class=\"col-sm-5\">\n <Sense v-bind:sense=\"getSense()\"></Sense>\n </div>\n </div>\n\n <!--sentences-->\n <div class=\"row\">\n <!-- fmode: prikaz->udelezenske vloge (drugacno razvrscanje povedi) --> \n <div v-if=\"fmode\" class=\"col-sm-12\">\n <div v-for=\"hw in getAggrHws()\">\n <blockquote v-for=\"sentence in getAggrSent(hw)\">\n <span class=\"text-secondary\">&nbsp;{{ hw }}</span><br>\n <span \n v-for=\"(token, index) in sentence\" \n v-bind:class=\"{ \n 'my-pointer text-danger': hasHoverTid(idx=null, tid=token[0]), 'my-underline text-danger': hasSelTid(idx=null, tid=token[0]), \n 'text-primary': isHw(token[0]),\n }\" \n v-on:mouseover=\"setHid(idx=null, tid=token[0])\" \n v-on:mouseleave=\"setHid()\" \n v-on:click=\"setSid(idx=null, tid=token[0])\" \n v-bind:title=\"token[1].msd\"\n ><span v-if=\"$root.mkspace(index, token[1].word)\">&nbsp;</span>{{ token[1].word }}</span>\n </blockquote>\n </div>\n </div>\n <div v-else class=\"col-sm-12\">\n <blockquote v-for=\"sentence in frameData.sentences\">\n <span \n v-for=\"(token, index) in sentence\" \n v-bind:class=\"{ \n 'my-pointer text-danger': hasHoverTid(idx=null, tid=token[0]), 'my-underline text-danger': hasSelTid(idx=null, tid=token[0]), \n 'text-primary': isHw(token[0]),\n }\" \n v-on:mouseover=\"setHid(idx=null, tid=token[0])\" \n v-on:mouseleave=\"setHid()\" \n v-on:click=\"setSid(idx=null, tid=token[0])\" \n v-bind:title=\"token[1].msd\"\n ><span v-if=\"$root.mkspace(index, token[1].word)\">&nbsp;</span>{{ token[1].word }}</span>\n </blockquote>\n </div>\n </div>\n <br>\n</div>\n</template>\n\n<script>\nimport Sense from \"./Sense\"\nexport default {\n name: \"Frame\",\n props: {\n frameData: {},\n sensData: {},\n fmode: {\n default: false,\n type: Boolean,\n },\n },\n data() { return {\n hid: null, // hover functor index\n sid: null, // select functor index (click)\n }},\n components: {\n Sense: Sense\n },\n watch: {\n frameData: function () {\n this.hid = null,\n this.sid = null\n }\n },\n methods: {\n setHid: function (idx=null, tid=null) {\n // calling this functoin without parameters\n // resets hid\n if (tid === null) {\n this.hid = idx\n return\n }\n for (var i=0; i<this.frameData.slots.length; i++) {\n if (this.frameData.slots[i].tids.includes(tid)) {\n this.hid = i\n return\n }\n }\n },\n clearOnClick: function (event) {\n if (event.target.tagName !== \"SPAN\") {\n this.sid = null\n }\n },\n setSid: function (idx=null, tid=null) {\n this.sid = null\n if (tid === null) {\n this.sid = idx\n return\n }\n for (var i=0; i<this.frameData.slots.length; i++) {\n if (this.frameData.slots[i].tids.includes(tid)) {\n this.sid = i\n return\n }\n }\n },\n hasHoverTid: function(idx=null, tid=null) {\n if (this.hid === null) {\n return false\n }\n if (tid === null) {\n if (idx == this.hid) {\n return true\n }\n return false\n }\n return this.frameData.slots[this.hid].tids.includes(tid)\n },\n hasSelTid: function (idx=null, tid=null) {\n if (this.sid === null) {\n return false\n }\n if (tid === null) {\n if (idx == this.sid) {\n return true\n }\n return false\n }\n return this.frameData.slots[this.sid].tids.includes(tid)\n },\n isHw: function (tid) {\n return this.frameData.tids.includes(tid)\n },\n getSense: function () {\n for (var i in this.sensData.senses) {\n if (this.sensData.senses[i].sense_id === this.frameData.sense_info.sense_id) {\n return this.sensData.senses[i]\n }\n }\n return undefined\n },\n getAggrHws: function() {\n return (Object.keys(this.frameData.aggr_sent)).sort()\n },\n getAggrSent: function(hw) {\n var sentences = []\n for (var i=0; i<this.frameData.aggr_sent[hw].length; i++) {\n sentences.push(\n this.frameData.sentences[this.frameData.aggr_sent[hw][i]]\n )\n }\n return sentences\n },\n }\n}\n</script>\n\n<style scoped>\n.my-pointer {\n cursor: pointer;\n}\n.my-underline {\n text-decoration: underline;\n}\n.my-frames {\n margin-top: 10px;\n margin-bottom: 2px;\n}\nblockquote {\n background: #ffffff;\n border-left: 4px solid #ccc;\n margin: 10px 0px 10px 10px;\n padding: 0px 0px 0px 5px;\n word-wrap: break-word;\n}\nblockquote span {\n display: inline-block;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/Frame.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container-fluid\",on:{\"click\":_vm.clearOnClick}},[_c('hr'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-7\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-12\"},[_vm._v(\"\\n št. povedi: \"+_vm._s(_vm.frameData.sentences.length)+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"row my-frames\"},[_c('div',{staticClass:\"col-sm-12\"},_vm._l((_vm.frameData.slots),function(slot,key){return _c('span',[_c('span',{class:{\n 'my-pointer text-danger': _vm.hasHoverTid(_vm.idx=key), \n 'my-underline text-danger': _vm.hasSelTid(_vm.idx=key) \n },on:{\"mouseover\":function($event){_vm.setHid(_vm.idx=key)},\"mouseleave\":function($event){_vm.setHid()},\"click\":function($event){_vm.setSid(_vm.idx=key)}}},[_vm._v(_vm._s(slot.functor))]),_vm._v(\"  \\n \")])}))])]),_vm._v(\" \"),(_vm.$root.store.radio === 'three')?_c('div',{staticClass:\"col-sm-5\"},[_c('Sense',{attrs:{\"sense\":_vm.getSense()}})],1):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[(_vm.fmode)?_c('div',{staticClass:\"col-sm-12\"},_vm._l((_vm.getAggrHws()),function(hw){return _c('div',_vm._l((_vm.getAggrSent(hw)),function(sentence){return _c('blockquote',[_c('span',{staticClass:\"text-secondary\"},[_vm._v(\" \"+_vm._s(hw))]),_c('br'),_vm._v(\" \"),_vm._l((sentence),function(token,index){return _c('span',{class:{ \n 'my-pointer text-danger': _vm.hasHoverTid(_vm.idx=null, _vm.tid=token[0]), 'my-underline text-danger': _vm.hasSelTid(_vm.idx=null, _vm.tid=token[0]), \n 'text-primary': _vm.isHw(token[0]),\n },attrs:{\"title\":token[1].msd},on:{\"mouseover\":function($event){_vm.setHid(_vm.idx=null, _vm.tid=token[0])},\"mouseleave\":function($event){_vm.setHid()},\"click\":function($event){_vm.setSid(_vm.idx=null, _vm.tid=token[0])}}},[(_vm.$root.mkspace(index, token[1].word))?_c('span',[_vm._v(\" \")]):_vm._e(),_vm._v(_vm._s(token[1].word))])})],2)}))})):_c('div',{staticClass:\"col-sm-12\"},_vm._l((_vm.frameData.sentences),function(sentence){return _c('blockquote',_vm._l((sentence),function(token,index){return _c('span',{class:{ \n 'my-pointer text-danger': _vm.hasHoverTid(_vm.idx=null, _vm.tid=token[0]), 'my-underline text-danger': _vm.hasSelTid(_vm.idx=null, _vm.tid=token[0]), \n 'text-primary': _vm.isHw(token[0]),\n },attrs:{\"title\":token[1].msd},on:{\"mouseover\":function($event){_vm.setHid(_vm.idx=null, _vm.tid=token[0])},\"mouseleave\":function($event){_vm.setHid()},\"click\":function($event){_vm.setSid(_vm.idx=null, _vm.tid=token[0])}}},[(_vm.$root.mkspace(index, token[1].word))?_c('span',[_vm._v(\" \")]):_vm._e(),_vm._v(_vm._s(token[1].word))])}))}))]),_vm._v(\" \"),_c('br')])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-69c7b77f\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Frame.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-69c7b77f\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Frame.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Frame.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Frame.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-69c7b77f\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Frame.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-69c7b77f\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Frame.vue\n// module id = null\n// module chunks = ","<template>\n<div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-sm-12\">\n <p class=\"pb-0 mb-0\">Urejanje pomenov za besedo: <b>{{ hw }}</b>.</p>\n <p><small>\n Z miško kliknite na poved, nato kliknite na pomen, ki ga želite dodeliti povedi. Par poved&#8210;pomen bo obarvan z modro. Pare lahko shranite s klikom na gumb \"Shrani\". Možno je dodajanje poljubnih pomenov. \n </small></p>\n <button v-on:click=\"cancel_all\">Prekliči</button>\n <button v-on:click=\"save_all\">Shrani</button>\n </div>\n </div>\n <div class=\"row\">\n\n <!-- left column: sentences -->\n <div class=\"my-sent col-sm-6\">\n <div\n v-for=\"(sentence, ssj_id) in sentences\" \n v-on:click=\"pick_ssj_id(ssj_id)\"\n class=\"border rounded my-sentences my-pointer\" \n v-bind:class=\"{\n 'border-primary': ssj_id === picked_ssj_id \n }\"\n >\n <div>\n <span \n v-for=\"(word, index) in sentence.words\" \n v-bind:class=\"{\n 'text-primary': index === parseInt(sentence.hw_idx)\n }\"\n >\n <span v-if=\"$root.mkspace(index, word)\">&nbsp;</span>{{ word }}\n </span>\n </div>\n <hr>\n <div class=\"col-sm-12\"><small>\n <div v-if=\"ssj_id in local_sense_map\">\n <Sense v-bind:sense=\"local_sense_map[ssj_id].sense\"></Sense>\n </div>\n <div v-else>\n <Sense v-bind:sense=\"undefined\"></Sense>\n </div>\n </small></div>\n </div>\n </div>\n\n <!-- right column: senses -->\n <div class=\"col-sm-6 border rounded my-div-scroll sticky-top\">\n <div\n v-for=\"sense in local_senses\" \n class=\"my-pointer\"\n v-on:click=\"picked_sense_id = sense.sense_id\"\n v-bind:class=\"{\n 'text-primary': sense.sense_id === picked_sense_id\n }\"\n >\n <Sense v-bind:sense=\"sense\"></Sense>\n </div>\n <div class=\"row\">\n <div class=\"col-sm-12\">\n <textarea class=\"my-textarea\" v-model=\"new_sense_desc\"></textarea>\n </div>\n <div class=\"col-sm-12\">\n <button v-on:click=\"new_sense\">Dodaj pomen</button>\n </div>\n </div>\n </div>\n </div>\n</div>\n</template>\n\n<script>\nimport Sense from \"./Sense\"\nexport default {\n name: \"EditSenses\",\n props: [\"hw\", \"sentences\", \"sens\"],\n components: {\n Sense: Sense\n },\n data () { return {\n picked_ssj_id: null,\n picked_sense_id: null,\n local_senses: [], // make changes on a local copy\n local_sense_map: {}, // make changes on a local copy\n new_sense_desc: \"\",\n new_senses: [], // only send changes to server\n delta_sense_map: {}, // only send changes to server\n }},\n created: function() {\n // not sure if needed, maybe move to data()\n this.local_senses = this.sens.senses\n var json = JSON.stringify(this.sens.sense_map)\n this.local_sense_map = JSON.parse(json)\n for (var ssj_id in this.local_sense_map) {\n this.local_sense_map[ssj_id].sense = this.sense_id_to_sense(\n this.local_sense_map[ssj_id].sense_id)\n }\n },\n watch: {\n picked_ssj_id: function() {\n this.new_link()\n },\n picked_sense_id: function() {\n this.new_link()\n }\n },\n methods: {\n pick_ssj_id: function(ssj_id) {\n this.picked_ssj_id = ssj_id\n if (ssj_id in this.local_sense_map) {\n this.picked_sense_id = this.local_sense_map[ssj_id].sense_id\n }\n \n },\n new_link: function() {\n if (this.picked_ssj_id === null ||\n this.picked_sense_id === null) { return }\n this.local_sense_map[this.picked_ssj_id] = {\n sense_id: this.picked_sense_id,\n sense: this.sense_id_to_sense(this.picked_sense_id)\n }\n this.delta_sense_map[this.picked_ssj_id] = { sense_id: this.picked_sense_id }\n },\n new_sense: function(sense_id) {\n if (this.new_sense_desc === \"\") {\n return\n }\n var new_sense = {\n hw: this.hw,\n author: this.$root.store.username,\n desc: this.new_sense_desc,\n sense_id: \"tmp_sense_id\" + (new Date().getTime()),\n }\n this.local_senses.push(new_sense)\n this.new_senses.push(new_sense)\n this.new_sense_desc = \"\"\n },\n sense_id_to_sense: function(sense_id) {\n for (var i=0; i<this.local_senses.length; i++) {\n if (this.local_senses[i].sense_id === sense_id) {\n return this.local_senses[i] \n }\n } \n return undefined\n },\n cancel_all: function() {\n this.$parent.state = \"normal\"\n },\n save_all: function() {\n const data = {\n token: this.$root.store.token,\n hw: this.hw,\n sense_map: this.delta_sense_map,\n new_senses: this.new_senses,\n }\n var component = this\n function exit_edit(component) {\n component.$parent.state = \"normal\"\n component.$parent.request_reload = true\n }\n\n // don't update if there are no changes\n if (\n Object.keys(data.sense_map).length === 0 &&\n data.new_senses.length === 0\n ) { exit_edit(component); return }\n\n // exit after update\n this.$http.post(\n this.$root.store.api_addr + \"/api/senses/update\",\n data,\n { headers: {\n 'Content-type': 'application/json',\n }}\n ).then(function () {\n exit_edit(component)\n })\n },\n }\n}\n</script>\n\n<style scoped>\n.my-div-scroll {\n margin-top: 5px;\n height: 90vh;\n overflow-y: auto;\n padding-top: 5px;\n}\n.my-pointer {\n cursor: pointer;\n}\n.my-textarea {\n width: 100%;\n}\n.my-sentences {\n margin: 5px 0px 20px 0px;\n padding: 5px;\n}\n.my-sent {\n word-wrap: break-word;\n}\n.my-sent span {\n display: inline-block;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/EditSenses.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-12\"},[_c('p',{staticClass:\"pb-0 mb-0\"},[_vm._v(\"Urejanje pomenov za besedo: \"),_c('b',[_vm._v(_vm._s(_vm.hw))]),_vm._v(\".\")]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('button',{on:{\"click\":_vm.cancel_all}},[_vm._v(\"Prekliči\")]),_vm._v(\" \"),_c('button',{on:{\"click\":_vm.save_all}},[_vm._v(\"Shrani\")])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"my-sent col-sm-6\"},_vm._l((_vm.sentences),function(sentence,ssj_id){return _c('div',{staticClass:\"border rounded my-sentences my-pointer\",class:{\n 'border-primary': ssj_id === _vm.picked_ssj_id \n },on:{\"click\":function($event){_vm.pick_ssj_id(ssj_id)}}},[_c('div',_vm._l((sentence.words),function(word,index){return _c('span',{class:{\n 'text-primary': index === parseInt(sentence.hw_idx)\n }},[(_vm.$root.mkspace(index, word))?_c('span',[_vm._v(\" \")]):_vm._e(),_vm._v(_vm._s(word)+\"\\n \")])})),_vm._v(\" \"),_c('hr'),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-12\"},[_c('small',[(ssj_id in _vm.local_sense_map)?_c('div',[_c('Sense',{attrs:{\"sense\":_vm.local_sense_map[ssj_id].sense}})],1):_c('div',[_c('Sense',{attrs:{\"sense\":undefined}})],1)])])])})),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-6 border rounded my-div-scroll sticky-top\"},[_vm._l((_vm.local_senses),function(sense){return _c('div',{staticClass:\"my-pointer\",class:{\n 'text-primary': sense.sense_id === _vm.picked_sense_id\n },on:{\"click\":function($event){_vm.picked_sense_id = sense.sense_id}}},[_c('Sense',{attrs:{\"sense\":sense}})],1)}),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-12\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.new_sense_desc),expression:\"new_sense_desc\"}],staticClass:\"my-textarea\",domProps:{\"value\":(_vm.new_sense_desc)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.new_sense_desc=$event.target.value}}})]),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-12\"},[_c('button',{on:{\"click\":_vm.new_sense}},[_vm._v(\"Dodaj pomen\")])])])],2)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('small',[_vm._v(\"\\n Z miško kliknite na poved, nato kliknite na pomen, ki ga želite dodeliti povedi. Par povedpomen bo obarvan z modro. Pare lahko shranite s klikom na gumb \\\"Shrani\\\". Možno je dodajanje poljubnih pomenov. \\n \")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7d730605\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/EditSenses.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7d730605\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./EditSenses.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./EditSenses.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./EditSenses.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7d730605\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./EditSenses.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-7d730605\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/EditSenses.vue\n// module id = null\n// module chunks = ","<template>\n<div class=\"v-spinner\" v-show=\"loading\">\n <div class=\"v-pulse v-pulse1\" v-bind:style=\"[spinnerStyle,spinnerDelay1]\">\n </div><div class=\"v-pulse v-pulse2\" v-bind:style=\"[spinnerStyle,spinnerDelay2]\">\n </div><div class=\"v-pulse v-pulse3\" v-bind:style=\"[spinnerStyle,spinnerDelay3]\">\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n \n name: 'PulseLoader',\n\n props: {\n loading: {\n type: Boolean,\n default: true\n },\n color: { \n type: String,\n default: '#5dc596'\n },\n size: {\n type: String,\n default: '15px'\n },\n margin: {\n type: String,\n default: '2px'\n },\n radius: {\n type: String,\n default: '100%'\n }\n },\n data () {\n return {\n spinnerStyle: {\n \tbackgroundColor: this.color,\n \twidth: this.size,\n height: this.size,\n \tmargin: this.margin,\n \tborderRadius: this.radius,\n display: 'inline-block',\n animationName: 'v-pulseStretchDelay',\n animationDuration: '0.75s',\n animationIterationCount: 'infinite',\n animationTimingFunction: 'cubic-bezier(.2,.68,.18,1.08)',\n animationFillMode: 'both'\n },\n spinnerDelay1: {\n animationDelay: '0.12s'\n },\n spinnerDelay2: {\n animationDelay: '0.24s'\n },\n spinnerDelay3: {\n animationDelay: '0.36s'\n }\n }\n }\n\n}\n</script>\n\n<style>\n/*.v-spinner\n{\n margin: 100px auto;\n text-align: center;\n}\n*/\n\n@-webkit-keyframes v-pulseStretchDelay\n{\n 0%,\n 80%\n {\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-opacity: 1; \n opacity: 1;\n }\n 45%\n {\n -webkit-transform: scale(0.1);\n transform: scale(0.1);\n -webkit-opacity: 0.7; \n opacity: 0.7;\n }\n}\n\n@keyframes v-pulseStretchDelay\n{\n 0%,\n 80%\n {\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-opacity: 1; \n opacity: 1;\n }\n 45%\n {\n -webkit-transform: scale(0.1);\n transform: scale(0.1);\n -webkit-opacity: 0.7; \n opacity: 0.7;\n }\n}\n</style>\n\n\n// WEBPACK FOOTER //\n// node_modules/vue-spinner/src/PulseLoader.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"v-spinner\"},[_c('div',{staticClass:\"v-pulse v-pulse1\",style:([_vm.spinnerStyle,_vm.spinnerDelay1])}),_c('div',{staticClass:\"v-pulse v-pulse2\",style:([_vm.spinnerStyle,_vm.spinnerDelay2])}),_c('div',{staticClass:\"v-pulse v-pulse3\",style:([_vm.spinnerStyle,_vm.spinnerDelay3])})])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7dc0198c\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./node_modules/vue-spinner/src/PulseLoader.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7dc0198c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../vue-loader/lib/selector?type=styles&index=0!./PulseLoader.vue\")\n}\nvar normalizeComponent = require(\"!../../vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../vue-loader/lib/selector?type=script&index=0!./PulseLoader.vue\"\nimport __vue_script__ from \"!!babel-loader!../../vue-loader/lib/selector?type=script&index=0!./PulseLoader.vue\"\n/* template */\nimport __vue_template__ from \"!!../../vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7dc0198c\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../vue-loader/lib/selector?type=template&index=0!./PulseLoader.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-spinner/src/PulseLoader.vue\n// module id = null\n// module chunks = ","<template>\n<!--load mode-->\n<div v-if=\"show_loader\">\n <pulse-loader :color=\"loader_color\"></pulse-loader>\n</div>\n\n<!--edit mode (button: razvrsti po pomenih)-->\n<div v-else-if=\"state === 'editing'\" class=\"container-fluid\">\n <EditSenses \n v-bind:hw=\"hw\" \n v-bind:sentences=\"sentences\" \n v-bind:sens=\"sens\" \n ></EditSenses>\n</div>\n\n<!--normal mode-->\n<div v-else class=\"container-fluid\" id=\"head\">\n\n <!--header (verb/adjective, radio buttons)-->\n <div class=\"row\">\n <div class=\"col-sm-4\">\n <table>\n <tr><h4 id=\"main-displ-hw\">{{ hw }}\n <span v-if=\"$root.store.has_se.includes(hw)\">se</span>\n </h4></tr>\n <tr>{{ calcPos() }}</tr>\n </table>\n </div>\n <div class=\"col-sm-8\">\n <table>\n <tr>Združevanje vezljivostnih vzorcev:</tr>\n <tr>\n <label class=\"radio-inline\"><input value=\"one\" v-model=\"$root.store.radio\" v-on:change=\"reload()\" checked=\"\" type=\"radio\" name=\"optradio\">posamezne povedi</label>&nbsp;&nbsp;\n <label class=\"radio-inline\"><input value=\"two\" v-model=\"$root.store.radio\" v-on:change=\"reload()\" type=\"radio\" name=\"optradio\">skupne udeleženske vloge</label>&nbsp;&nbsp;\n <label v-if=\"this.$root.store.navSS === 'words'\" class=\"radio-inline\"><input value=\"three\" v-model=\"$root.store.radio\" v-on:change=\"reload()\" type=\"radio\" name=\"optradio\">po meri</label> \n </tr>\n </table>\n </div>\n </div>\n\n <!--frames-->\n <div v-if=\"$root.store.radio === 'three'\" class=\"row\">\n <div class=\"col-sm-4\">\n <button v-on:click=\"userEdit\">razvrsti po pomenih</button>\n </div>\n </div>\n <div class=\"row\" v-for=\"frame in frames\">\n <Frame \n v-bind:frameData=\"frame\" \n v-bind:sensData=\"sens\" \n v-bind:fmode=\"fmode\">\n </Frame>\n </div>\n\n</div>\n</template>\n\n<script>\nimport Frame from \"./Frame\"\nimport EditSenses from \"./EditSenses\"\nimport PulseLoader from 'vue-spinner/src/PulseLoader.vue'\nexport default {\n name: \"MainDispl\",\n components: {\n Frame: Frame,\n EditSenses: EditSenses,\n PulseLoader: PulseLoader,\n },\n props: [\"hw\", \"fmode\"],\n data () { return {\n frames: [],\n sentences: {},\n sens: {\n senses: [],\n sense_map: {},\n },\n state: \"loading\", // editing, normal\n request_reload: false,\n loader_color: \"#007bff\",\n }},\n created: function () {\n this.reload()\n },\n computed: {\n show_loader: function () {\n return this.state === \"loading\" && this.$root.store.api_error !== null\n }\n },\n watch: {\n hw: function () {\n this.reload()\n },\n frames: function () {\n this.buildSentences()\n },\n request_reload: function () {\n if (this.request_reload) {\n this.request_reload = false\n this.reload()\n }\n },\n },\n methods: {\n getFFrames: function(functor, reduce_fun=null) {\n // get frames in functor mode\n if (functor === null || functor === undefined) return \n if (reduce_fun === null) {\n switch (this.$root.store.radio) {\n case \"one\":\n reduce_fun = \"reduce_0\"\n break\n case \"two\":\n reduce_fun = \"reduce_1\"\n break\n default:\n reduce_fun = \"reduce_0\"\n break\n }\n }\n var component = this\n this.$http.get(\n this.$root.storeGet(\"api_addr\") + \"/api/functor-frames\" + \n \"?functor=\" + functor + \"&rf=\" + reduce_fun)\n .then(function (response) {\n component.$root.store.api_error = null\n component.frames = response.data.frames\n component.state = \"normal\"\n })\n .catch(function(error) {\n component.$root.store.api_error = error\n })\n },\n getFrames: function (hw, reduce_fun=null) {\n if (hw === null || hw === undefined) return\n if (reduce_fun === null) {\n switch (this.$root.store.radio) {\n case \"one\":\n reduce_fun = \"reduce_0\"\n break\n case \"two\":\n reduce_fun = \"reduce_1\"\n break\n case \"three\":\n reduce_fun = \"reduce_5\"\n break\n }\n }\n var component = this\n this.$http.get(\n this.$root.storeGet(\"api_addr\") + \"/api/frames\" + \n \"?hw=\" + hw + \"&rf=\" + reduce_fun)\n .then(function (response) {\n component.$root.store.api_error = null\n component.frames = response.data.frames\n component.state = \"normal\"\n })\n .catch(function(error) {\n component.$root.store.api_error = error\n })\n },\n buildSentences: function () {\n if (this.frames.length == 0) {\n return\n }\n this.sentences = {}\n for (var fi in this.frames) {\n for (var si in this.frames[fi].sentences) {\n var sentence = this.frames[fi].sentences[si]\n // get ssj_id without .t123\n var ssj_id = sentence[0][0].split(\".\")\n ssj_id.splice(-1, 1) // removes last element\n ssj_id = ssj_id.join(\".\")\n var words = []\n var hw_idx = -1\n var tmp_hw = this.hw\n if (tmp_hw[tmp_hw.length - 1] === \"_\") {\n tmp_hw = tmp_hw.substr(0, tmp_hw.length - 1)\n }\n for (var i in sentence) {\n words.push(sentence[i][1].word)\n if (sentence[i][1].lemma === tmp_hw && hw_idx == -1) {\n hw_idx = i\n }\n }\n this.sentences[ssj_id] = {\n hw_idx: hw_idx,\n words: words\n }\n }\n }\n },\n getSenses: function (hw, callback) {\n if (hw === null || hw === undefined) {\n return\n }\n var component = this\n this.$http.get(\n this.$root.store.api_addr + \"/api/senses/get\" + \"?hw=\" + hw)\n .then(function(response) {\n // console.log(response.data)\n component.sens.senses = response.data.senses\n component.sens.sense_map = response.data.sense_map\n callback()\n })\n },\n reload: function () {\n this.state = \"loading\"\n this.sentences = {}\n if (this.$root.store.navSS === \"functors\") this.getFFrames(this.hw)\n else {\n this.getFrames(this.hw)\n if (this.$root.store.radio === \"three\") {\n this.getSenses(this.hw, this.sortBySense)\n }\n }\n this.calcPos()\n },\n userEdit: function () {\n // authenticate the user for this\n var tthis = this\n this.$root.checkToken()\n .then(function (response) {tthis.state = \"editing\"})\n .catch(function (err) {alert(\"Za urejanje je potrebna prijava.\")}\n )\n },\n calcPos: function() {\n var bfmode = this.fmode\n if (typeof(bfmode) === \"string\") {\n bfmode = (bfmode === \"true\")\n }\n if (bfmode) return \"udeleženska vloga\"\n else if (this.hw.substr(this.hw.length-1) === \"_\") return \"pridevnik\"\n return \"glagol\"\n },\n sortBySense: function() {\n // frames with defined senses on top\n var undefFrames = []\n var defFrames = []\n //console.log(Object.keys(this.sens.sense_map))\n for (var i=0; i<this.frames.length; i++) {\n var sense_id = this.frames[i].sense_info.sense_id\n if (sense_id === \"nedefinirano\") undefFrames.push(this.frames[i])\n else defFrames.push(this.frames[i])\n }\n this.frames = defFrames.concat(undefFrames)\n }\n }\n}\n</script>\n\n<style scoped>\n#main-displ-hw {\n margin: 0px;\n}\n\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/MainDispl.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.show_loader)?_c('div',[_c('pulse-loader',{attrs:{\"color\":_vm.loader_color}})],1):(_vm.state === 'editing')?_c('div',{staticClass:\"container-fluid\"},[_c('EditSenses',{attrs:{\"hw\":_vm.hw,\"sentences\":_vm.sentences,\"sens\":_vm.sens}})],1):_c('div',{staticClass:\"container-fluid\",attrs:{\"id\":\"head\"}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-4\"},[_c('table',[_c('tr',[_c('h4',{attrs:{\"id\":\"main-displ-hw\"}},[_vm._v(_vm._s(_vm.hw)+\"\\n \"),(_vm.$root.store.has_se.includes(_vm.hw))?_c('span',[_vm._v(\"se\")]):_vm._e()])]),_vm._v(\" \"),_c('tr',[_vm._v(_vm._s(_vm.calcPos()))])])]),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-8\"},[_c('table',[_c('tr',[_vm._v(\"Združevanje vezljivostnih vzorcev:\")]),_vm._v(\" \"),_c('tr',[_c('label',{staticClass:\"radio-inline\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.$root.store.radio),expression:\"$root.store.radio\"}],attrs:{\"value\":\"one\",\"checked\":\"\",\"type\":\"radio\",\"name\":\"optradio\"},domProps:{\"checked\":_vm._q(_vm.$root.store.radio,\"one\")},on:{\"change\":[function($event){_vm.$set(_vm.$root.store, \"radio\", \"one\")},function($event){_vm.reload()}]}}),_vm._v(\"posamezne povedi\")]),_vm._v(\"  \\n \"),_c('label',{staticClass:\"radio-inline\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.$root.store.radio),expression:\"$root.store.radio\"}],attrs:{\"value\":\"two\",\"type\":\"radio\",\"name\":\"optradio\"},domProps:{\"checked\":_vm._q(_vm.$root.store.radio,\"two\")},on:{\"change\":[function($event){_vm.$set(_vm.$root.store, \"radio\", \"two\")},function($event){_vm.reload()}]}}),_vm._v(\"skupne udeleženske vloge\")]),_vm._v(\"  \\n \"),(this.$root.store.navSS === 'words')?_c('label',{staticClass:\"radio-inline\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.$root.store.radio),expression:\"$root.store.radio\"}],attrs:{\"value\":\"three\",\"type\":\"radio\",\"name\":\"optradio\"},domProps:{\"checked\":_vm._q(_vm.$root.store.radio,\"three\")},on:{\"change\":[function($event){_vm.$set(_vm.$root.store, \"radio\", \"three\")},function($event){_vm.reload()}]}}),_vm._v(\"po meri\")]):_vm._e()])])])]),_vm._v(\" \"),(_vm.$root.store.radio === 'three')?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-4\"},[_c('button',{on:{\"click\":_vm.userEdit}},[_vm._v(\"razvrsti po pomenih\")])])]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.frames),function(frame){return _c('div',{staticClass:\"row\"},[_c('Frame',{attrs:{\"frameData\":frame,\"sensData\":_vm.sens,\"fmode\":_vm.fmode}})],1)})],2)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-d2fe5efa\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/MainDispl.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-d2fe5efa\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./MainDispl.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./MainDispl.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./MainDispl.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d2fe5efa\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./MainDispl.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-d2fe5efa\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/MainDispl.vue\n// module id = null\n// module chunks = ","<template>\n<div>\n <p\n v-if=\"this.$root.store.api_error !== null\" \n class=\"text-warning\"\n >\n api_error: {{ this.$root.store.api_error }}\n </p>\n <Nav></Nav>\n <div class=\"my-home container-fluid\">\n <div class=\"row\">\n <div id=\"serach\" class=\"col-sm-2 border-right fill\">\n <LWords v-if=\"navSS()\"></LWords>\n <LFunctors v-else></LFunctors>\n </div>\n <div class=\"col-sm-10\">\n <router-view></router-view>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport Nav from \"./Nav\"\nimport LWords from \"./LWords\"\nimport LFunctors from \"./LFunctors\"\nimport MainDispl from \"./MainDispl\"\n\nexport default {\n name: 'Home',\n components: {\n Nav: Nav,\n LWords: LWords,\n LFunctors: LFunctors,\n MainDispl: MainDispl,\n },\n methods: {\n navSS: function () {\n return this.$root.storeGet(\"navSS\") === \"words\"\n }\n }\n}\n</script>\n\n<style scoped>\n.my-home {\n padding-top: 10px;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// src/components/Home.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(this.$root.store.api_error !== null)?_c('p',{staticClass:\"text-warning\"},[_vm._v(\"\\n api_error: \"+_vm._s(this.$root.store.api_error)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('Nav'),_vm._v(\" \"),_c('div',{staticClass:\"my-home container-fluid\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-sm-2 border-right fill\",attrs:{\"id\":\"serach\"}},[(_vm.navSS())?_c('LWords'):_c('LFunctors')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-10\"},[_c('router-view')],1)])])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-566eea54\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Home.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-566eea54\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Home.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Home.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Home.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-566eea54\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Home.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-566eea54\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Home.vue\n// module id = null\n// module chunks = ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"col-sm-2\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":this.$root.routeBack}},[_vm._v(\"Nazaj\")])]),_vm._v(\" \"),_c('div',{staticClass:\"ev-login col-sm-4 offset-sm-4\"},[(_vm.error)?_c('div',{staticClass:\"alert alert-danger\"},[_c('p',[_vm._v(_vm._s(_vm.error))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.credentials.username),expression:\"credentials.username\"}],staticClass:\"form-control js-login__username\",attrs:{\"type\":\"text\",\"data-id\":\"login.username\",\"placeholder\":\"Uporabnik\"},domProps:{\"value\":(_vm.credentials.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.credentials, \"username\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.credentials.password),expression:\"credentials.password\"}],staticClass:\"form-control js-login__password \",attrs:{\"type\":\"password\",\"placeholder\":\"Geslo\"},domProps:{\"value\":(_vm.credentials.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.credentials, \"password\", $event.target.value)}}})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary solid blank js-login__submit\",attrs:{\"data-id\":\"login.submit\"},on:{\"click\":function($event){_vm.submit()}}},[_vm._v(\"\\n Prijava\"),_c('i',{staticClass:\"fa fa-arrow-circle-o-right\"})]),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('router-link',{attrs:{\"to\":\"/new_pass\"}},[_vm._v(\"Ste pozabili geslo?\")]),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('br'),_vm._v(\"\\n Nov uporabnik?\\n \"),_c('br'),_vm._v(\" \"),_c('router-link',{attrs:{\"to\":\"/register\"}},[_vm._v(\"Ustvarite nov račun.\")])],1)])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-79637862\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Login.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-79637862\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Login.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Login.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Login.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-79637862\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Login.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-79637862\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Login.vue\n// module id = null\n// module chunks = ","<template>\n<div>\n <div class=\"col-sm-2\">\n <a href=\"#\" v-on:click=\"this.$root.routeBack\">Nazaj</a>\n </div>\n <div class=\"ev-login col-sm-4 offset-sm-4\">\n <div class=\"alert alert-danger\" v-if=\"error\">\n <p>{{ error }}</p>\n </div>\n <div class=\"form-group\">\n <input \n type=\"text\"\n data-id=\"login.username\" \n class=\"form-control js-login__username\"\n placeholder=\"Uporabnik\"\n v-model=\"credentials.username\"\n >\n </div>\n <div class=\"form-group\">\n <input\n type=\"password\"\n class=\"form-control js-login__password \"\n placeholder=\"Geslo\"\n v-model=\"credentials.password\"\n >\n </div>\n <button \n data-id=\"login.submit\"\n class=\"btn btn-primary solid blank js-login__submit\" \n @click=\"submit()\"\n >\n Prijava<i class=\"fa fa-arrow-circle-o-right\"></i>\n </button>\n <br>\n <br>\n <br>\n <router-link to=\"/new_pass\">Ste pozabili geslo?</router-link>\n <br>\n <br>\n Nov uporabnik?\n <br>\n <router-link to=\"/register\">Ustvarite nov račun.</router-link>\n\n </div>\n</div>\n</template>\n\n<script>\nexport default {\n name: 'Login',\n data () {\n return {\n credentials: {\n username: '',\n password: ''\n },\n loggingIn: false,\n error: ''\n }\n },\n methods: {\n submit () {\n this.error = \"\"\n //this.loggingIn = true\n // Auth.login() returns a promise. A redirect will happen on success.\n // For errors, use .then() to capture the response to output\n // error_description (if exists) as shown below:\n /*\n this.$auth.login(credentials, 'dashboard').then((response) => {\n this.loggingIn = false\n this.error = utils.getError(response)\n })\n */\n\n if ( this.credentials.username === \"\" || \n this.credentials.password === \"\"\n ) {\n this.error = \"Izpolnite vsa polja.\"\n return \n }\n\n\n var data = {\n username: this.credentials.username,\n password: this.credentials.password\n }\n\n var component = this\n this.$http.post(this.$root.storeGet(\"api_addr\") + \"/api/login\", \n data, // the data to post\n { headers: {\n 'Content-type': 'application/x-www-form-urlencoded',\n }\n })\n .then(function (response) {\n component.$root.store.api_error = null\n var token = response.data.token\n if (token === null) {\n component.error = \"Napačno uporabniško ime ali geslo.\"\n } else {\n // set cookies (if the page reloads)\n component.$root.store.username = component.credentials.username\n component.$root.store.token = token\n component.$router.go(-1)\n component.$cookies.set(\"valency_token\", token, 60*60*48)\n }\n })\n .catch(function (err) {\n component.$root.store.api_error = err\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.ev-login {\n margin-top: 100px;\n}\n</style>\n\n\n// WEBPACK FOOTER //\n// src/components/Login.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"col-sm-2\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":this.$root.routeBack}},[_vm._v(\"Nazaj\")])]),_vm._v(\" \"),_c('div',{staticClass:\"ev-login col-sm-4 offset-sm-4\"},[(_vm.error)?_c('div',{staticClass:\"alert alert-danger\"},[_c('p',[_vm._v(_vm._s(_vm.error))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.credentials.username),expression:\"credentials.username\"}],staticClass:\"form-control js-login__username\",attrs:{\"type\":\"text\",\"placeholder\":\"Uporabnik\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.credentials.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.credentials, \"username\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.credentials.email),expression:\"credentials.email\"}],staticClass:\"form-control\",attrs:{\"type\":\"email\",\"placeholder\":\"e-pošta\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.credentials.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.credentials, \"email\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.credentials.password),expression:\"credentials.password\"}],staticClass:\"form-control js-login__password \",attrs:{\"type\":\"password\",\"placeholder\":\"Geslo\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.credentials.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.credentials, \"password\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.credentials.snd_password),expression:\"credentials.snd_password\"}],staticClass:\"form-control js-login__password \",attrs:{\"type\":\"password\",\"placeholder\":\"Ponovite geslo.\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.credentials.snd_password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.credentials, \"snd_password\", $event.target.value)}}})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary solid blank js-login__submit\",on:{\"click\":function($event){_vm.submit()}}},[_vm._v(\"\\n Registracija\"),_c('i',{staticClass:\"fa fa-arrow-circle-o-right\"})])])])}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-36152572\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Register.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-36152572\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Register.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Register.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Register.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-36152572\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Register.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-36152572\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Register.vue\n// module id = null\n// module chunks = ","<template>\n<div>\n <div class=\"col-sm-2\">\n <a href=\"#\" v-on:click=\"this.$root.routeBack\">Nazaj</a>\n </div>\n <div class=\"ev-login col-sm-4 offset-sm-4\">\n <div class=\"alert alert-danger\" v-if=\"error\">\n <p>{{ error }}</p>\n </div>\n <div class=\"form-group\">\n <input \n type=\"text\"\n class=\"form-control js-login__username\"\n placeholder=\"Uporabnik\"\n v-model=\"credentials.username\" \n autocomplete=\"off\"\n >\n </div>\n <div class=\"form-group\">\n <input\n type=\"email\"\n class=\"form-control\"\n placeholder=\"e-pošta\"\n v-model=\"credentials.email\" \n autocomplete=\"off\"\n >\n </div>\n <div class=\"form-group\">\n <input\n type=\"password\"\n class=\"form-control js-login__password \"\n placeholder=\"Geslo\"\n v-model=\"credentials.password\" \n autocomplete=\"off\"\n >\n </div>\n <div class=\"form-group\">\n <input\n type=\"password\"\n class=\"form-control js-login__password \"\n placeholder=\"Ponovite geslo.\"\n v-model=\"credentials.snd_password\" \n autocomplete=\"off\"\n >\n </div>\n <button \n class=\"btn btn-primary solid blank js-login__submit\" \n @click=\"submit()\"\n >\n Registracija<i class=\"fa fa-arrow-circle-o-right\"></i>\n </button>\n </div>\n</div>\n</template>\n\n<script>\nexport default {\n name: 'Register',\n data () { return {\n credentials: {\n username: \"\",\n password: \"\",\n snd_password: \"\",\n email: \"\"\n },\n error: \"\"\n }},\n methods: {\n clearFields () {\n for (var key in this.credentials) {\n this.credentials[key] = \"\"\n }\n },\n checkEmail () {\n // check? ... todo\n return true\n },\n submit () {\n //console.log(this.credentials.password)\n //console.log(this.credentials.snd_password)\n const credentials = {\n username: this.credentials.username,\n password: this.credentials.password\n }\n\n // check if fields are full\n for (var key in this.credentials) {\n if (credentials[key] === \"\") {\n this.error = \"Izpolnite vsa polja.\"\n return\n }\n }\n\n // check e-mail\n if (!this.checkEmail(this.credentials.email)) {\n this.error = \"Preverite e-poštni naslov.\"\n return\n }\n\n // check passwords\n if (this.credentials.password !== this.credentials.snd_password) {\n this.error = \"Gesli se ne ujemata.\"\n this.credentials.password = \"\"\n this.credentials.snd_password = \"\"\n return\n }\n\n var component = this\n const post_data = {\n username: this.credentials.username,\n password: this.credentials.password,\n email: this.credentials.email,\n }\n this.$http.post(this.$root.storeGet(\"api_addr\") + \"/api/register\", \n post_data, // the data to post\n { headers: {\n 'Content-type': 'application/json',\n }\n })\n .then(function (response) {\n component.$router.push({\n name: \"Home\"\n })\n })\n .catch(function (err) {\n component.$root.store.api_error = err\n component.error = \"Registracija ni uspela.\"\n })\n }\n }\n }\n</script>\n\n<style scoped>\n .ev-login {\n margin-top: 100px;\n }\n</style>\n\n\n// WEBPACK FOOTER //\n// src/components/Register.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"col-sm-2\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":this.$root.routeBack}},[_vm._v(\"Nazaj\")])]),_vm._v(\" \"),_c('div',{staticClass:\"ev-login col-sm-4 offset-sm-4\"},[(_vm.error)?_c('div',{staticClass:\"alert alert-danger\"},[_c('p',[_vm._v(_vm._s(_vm.error))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.credentials.username),expression:\"credentials.username\"}],staticClass:\"form-control js-login__username\",attrs:{\"type\":\"text\",\"data-id\":\"login.username\",\"placeholder\":\"Uporabnik\"},domProps:{\"value\":(_vm.credentials.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.credentials, \"username\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.credentials.email),expression:\"credentials.email\"}],staticClass:\"form-control\",attrs:{\"type\":\"email\",\"placeholder\":\"e-pošta\"},domProps:{\"value\":(_vm.credentials.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.credentials, \"email\", $event.target.value)}}})]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-primary solid blank js-login__submit\",attrs:{\"data-id\":\"new_pass.submit\"},on:{\"click\":function($event){_vm.submit()}}},[_vm._v(\"\\n Novo geslo\"),_c('i',{staticClass:\"fa fa-arrow-circle-o-right\"})])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('p',[_vm._v(\"Novo geslo bo poslano na vaš e-poštni naslov.\")])])}]\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7dd6e1de\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/NewPass.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-7dd6e1de\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./NewPass.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./NewPass.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./NewPass.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7dd6e1de\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./NewPass.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-7dd6e1de\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/NewPass.vue\n// module id = null\n// module chunks = ","<template>\n<div>\n <div class=\"col-sm-2\">\n <a href=\"#\" v-on:click=\"this.$root.routeBack\">Nazaj</a>\n </div>\n <div class=\"ev-login col-sm-4 offset-sm-4\">\n <div class=\"alert alert-danger\" v-if=\"error\">\n <p>{{ error }}</p>\n </div>\n <div class=\"form-group\">\n <input \n type=\"text\"\n data-id=\"login.username\" \n class=\"form-control js-login__username\"\n placeholder=\"Uporabnik\"\n v-model=\"credentials.username\"\n >\n </div>\n <div class=\"form-group\">\n <input\n type=\"email\"\n class=\"form-control\"\n placeholder=\"e-pošta\"\n v-model=\"credentials.email\"\n >\n </div>\n <div>\n <p>Novo geslo bo poslano na vaš e-poštni naslov.</p>\n </div>\n <button \n data-id=\"new_pass.submit\"\n class=\"btn btn-primary solid blank js-login__submit\" \n @click=\"submit()\"\n >\n Novo geslo<i class=\"fa fa-arrow-circle-o-right\"></i>\n </button>\n </div>\n</div>\n</template>\n\n<script>\nexport default {\n name: 'NewPass',\n data () {\n return {\n credentials: {\n username: '',\n email: ''\n },\n error: ''\n }\n },\n methods: {\n submit () {\n this.error = \"\"\n //this.loggingIn = true\n // Auth.login() returns a promise. A redirect will happen on success.\n // For errors, use .then() to capture the response to output\n // error_description (if exists) as shown below:\n /*\n this.$auth.login(credentials, 'dashboard').then((response) => {\n this.loggingIn = false\n this.error = utils.getError(response)\n })\n */\n\n if ( this.credentials.username === \"\" || \n this.credentials.email === \"\"\n ) {\n this.error = \"Izpolnite vsa polja.\"\n return \n }\n\n\n var data = {\n username: this.credentials.username,\n email: this.credentials.email\n }\n\n var component = this\n this.$http.post(this.$root.storeGet(\"api_addr\") + \"/api/new_pass\", \n data, // the data to post\n { headers: {\n 'Content-type': 'application/x-www-form-urlencoded',\n }\n })\n .then(function (response) {\n component.$root.store.api_error = null\n var confirmation = response.data.confirmation\n component.$router.push({\n name: \"Home\"\n })\n })\n .catch(function (err) {\n component.$root.store.api_error = err\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.ev-login {\n margin-top: 100px;\n}\n</style>\n\n\n// WEBPACK FOOTER //\n// src/components/NewPass.vue","import Vue from 'vue'\nimport Router from 'vue-router'\nimport Home from \"@/components/Home\"\nimport Login from \"@/components/Login\"\nimport Register from \"@/components/Register\"\nimport NewPass from \"@/components/NewPass\"\nimport MainDispl from \"@/components/MainDispl\"\nimport EditSenses from \"@/components/EditSenses\"\n\nVue.use(Router)\n\nexport default new Router({\n mode: \"history\",\n routes: [\n {\n path: '/',\n redirect: \"/home\"\n },\n {\n path: \"/home\",\n name: \"Home\",\n component: Home,\n children: [\n {\n path: \"words/:hw\",\n name: \"MainDispl\",\n component: MainDispl,\n props: true,\n },\n ]\n },\n {\n path: '/login',\n name: 'Login',\n component: Login\n },\n {\n path: '/register',\n name: 'Register',\n component: Register \n },\n {\n path: '/new_pass',\n name: 'NewPass',\n component: NewPass\n }\n ]\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\nimport VueCookies from \"vue-cookies\"\n\n// bootstrap\nimport BootstrapVue from \"bootstrap-vue\"\nimport 'bootstrap/dist/css/bootstrap.css'\nimport 'bootstrap-vue/dist/bootstrap-vue.css'\n\n// ajax\nimport axios from \"axios\"\n\n// config\nimport config_data from \"../config/config.json\"\n// console.log(config_data)\n\nVue.config.productionTip = false\n\n// cokies\nVue.use(VueCookies)\n\n// bootstrap\nVue.use(BootstrapVue)\n\n// CORS\n// Vue.$http.headers.common['Access-Control-Allow-Origin'] = true\n\nVue.prototype.$http = axios\n\n// hand-made global storage\nconst store = {\n api_error: null,\n api_addr: config_data.api_addr,\n // api_addr: \"http://localhost:5004\", // development (webpack)\n // api_addr: \"http://193.2.76.103:5004\", // production\n token: null,\n username: null,\n navSS: \"words\",\n radio: \"one\",\n has_se: [], // used for appending (se) to certain verbs\n}\n\nconst store_methods = {\n storeSet: function(key, val) {\n store[key] = val\n },\n storeGet: function(key) {\n // returns undefined if not in dict.\n // check if (variable)\n return store[key]\n }\n}\n\nconst login_methods = {\n checkToken: function () {\n var tthis = this\n return new Promise(function (resolve, reject) {\n if (tthis.store.token === null) {\n tthis.store.username = null\n reject(false)\n }\n var data = {\n token: tthis.store.token,\n user: tthis.store.username\n }\n tthis.$http.post(tthis.store.api_addr + \"/api/token\", data, \n { headers: {\n 'Content-type': 'application/x-www-form-urlencoded',\n }}\n )\n .then(function (response) {\n tthis.store.api_error = null\n if (response.data.confirmation) {\n resolve(true)\n } else {\n tthis.store.username = null\n tthis.store.token = null\n reject(false)\n }\n })\n .catch(function (err) {\n tthis.store.api_error = err\n reject(err)\n })\n })\n }\n}\n\nconst other_methods = {\n routeBack: function() {\n this.$router.go(-1)\n },\n mkspace: function (idx, word) {\n var stopwords = [\".\", \",\", \":\", \";\"]\n if (stopwords.includes(word)) return false\n return true\n }\n}\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n components: { App },\n template: '<App/>',\n data() { return {\n store: store,\n }},\n methods: Object.assign(store_methods, login_methods, other_methods),\n beforeCreate: function() {\n document.title = \"Vezljivostni vzorci\"\n if (this.$cookies.isKey(\"valency_token\")) {\n var cookie_token = this.$cookies.get(\"valency_token\")\n var data = {\n token: cookie_token,\n }\n var component = this\n this.$http.post(store.api_addr + \"/api/token\", \n data, // the data to post\n { headers: {\n 'Content-type': 'application/x-www-form-urlencoded',\n }\n })\n .then(function (response) {\n if (response.data.confirmation) {\n store.username = response.data.username\n store.token = cookie_token\n } else {\n this.$cookies.remove(\"valency_token\")\n }\n })\n .catch(function (err) {\n store.api_error = err\n })\n }\n }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""}