md-parser/md-parser/src/node_modules/.cache/vue-loader/67ecb47f4f4e11f357c6d86c4b6...

1 line
3.6 KiB
JSON

{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue","mtime":1594995585908},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBWdWVNYXJrZG93biBmcm9tICcuLi8uLi9ub2RlX21vZHVsZXMvdnVlLW1hcmtkb3duL3NyYy9WdWVNYXJrZG93bi5qcycKaW1wb3J0IFVzZXJJbnB1dCBmcm9tICcuL1VzZXJJbnB1dC52dWUnCmltcG9ydCBQdWJsaXNoQnV0dG9uIGZyb20gJy4vUHVibGlzaEJ1dHRvbi52dWUnCmltcG9ydCBBcnRpY2xlRm9ybSBmcm9tICcuL0FydGljbGVGb3JtLnZ1ZScKCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnVXNlcklucHV0UGFnZScsCiAgY29tcG9uZW50czogewogICAgVnVlTWFya2Rvd24sCiAgICBVc2VySW5wdXQsCiAgICBQdWJsaXNoQnV0dG9uLAogICAgQXJ0aWNsZUZvcm0sCiAgfSwKICBwcm9wczogewogIH0sCiAgZGF0YTogZnVuY3Rpb24oKSB7CiAgICByZXR1cm57CiAgICAgIHVzZXJ0ZXh0OiAnJywKICAgIH0KICB9LAogIGNvbXB1dGVkOiB7CiAgICBhcnRpY2xlVGV4dCgpIHsKICAgICAgcmV0dXJuIHRoaXMuJHN0b3JlLnN0YXRlLmFydGljbGUuY29udGVudAogICAgfQogIH0sCiAgbWV0aG9kczogewogICAgLy8gbGl2ZS11cGRhdGVzIHVzZXIgdGV4dAogICAgdXNlclVwZGF0ZSA6IGZ1bmN0aW9uKHRleHQpewogICAgICAgIHRoaXMudXNlcnRleHQgPSB0ZXh0Wyd1c2VydGV4dCddCiAgICB9LAogICAgLy8gc2F2ZXMgYXJ0aWNsZSBjb250ZW50CiAgICBhcnRpY2xlVXBhdGUgOiBmdW5jdGlvbigpIHsKICAgICAgdGhpcy4kZW1pdCgnYXJ0aWNsZS1zYXZlJywgewogICAgICAgICAgJ2FydGljbGUtY29udGVudCc6IHRoaXMudXNlcnRleHQKICAgICAgfSk7CiAgICAgIHRoaXMuJHJvdXRlci5wdXNoKCcvcHVibGlzaGVkJykKICAgIH0sIAogIH0KfQo="},{"version":3,"sources":["UserInputPage.vue"],"names":[],"mappings":";;;;;;;;;;AAUA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"UserInputPage.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <article-form></article-form>\n <UserInput class=\"input-area column\"></UserInput>\n <vue-markdown :source='articleText' class=\"column\" id='render-area'></vue-markdown>\n <publish-button @update='articleUpate'></publish-button>\n </div>\n</template>\n\n<script>\nimport VueMarkdown from '../../node_modules/vue-markdown/src/VueMarkdown.js'\nimport UserInput from './UserInput.vue'\nimport PublishButton from './PublishButton.vue'\nimport ArticleForm from './ArticleForm.vue'\n\nexport default {\n name: 'UserInputPage',\n components: {\n VueMarkdown,\n UserInput,\n PublishButton,\n ArticleForm,\n },\n props: {\n },\n data: function() {\n return{\n usertext: '',\n }\n },\n computed: {\n articleText() {\n return this.$store.state.article.content\n }\n },\n methods: {\n // live-updates user text\n userUpdate : function(text){\n this.usertext = text['usertext']\n },\n // saves article content\n articleUpate : function() {\n this.$emit('article-save', {\n 'article-content': this.usertext\n });\n this.$router.push('/published')\n }, \n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\ncode {\n font-style: italic;\n}\n</style>\n"]}]}