lotus / node_modules /.cache /vue-loader /267d90c0e78828c3102419afada2537f.json
k-l-lambda's picture
updated node_modules
4cadbaf
raw
history blame
2.35 kB
{"remainingRequest":"/home/camus/work/lotus/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/camus/work/lotus/app/components/sheet-simple.vue?vue&type=script&lang=js","dependencies":[{"path":"/home/camus/work/lotus/app/components/sheet-simple.vue","mtime":1732184473651},{"path":"/home/camus/work/lotus/node_modules/cache-loader/dist/cjs.js","mtime":1719800821084},{"path":"/home/camus/work/lotus/node_modules/babel-loader/lib/index.js","mtime":1727163989637},{"path":"/home/camus/work/lotus/node_modules/cache-loader/dist/cjs.js","mtime":1719800821084},{"path":"/home/camus/work/lotus/node_modules/vue-loader/lib/index.js","mtime":1719800840033}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CglleHBvcnQgZGVmYXVsdCB7CgkJbmFtZTogInNoZWV0LXNpbXBsZSIsCgoKCQlwcm9wczogewoJCQlkb2N1bWVudHM6IEFycmF5LAoJCX0sCgoKCQltb3VudGVkICgpIHsKCQkJdGhpcy5iaW5kTGlua3MoKTsKCQl9LAoKCgkJdXBkYXRlZCAoKSB7CgkJCXRoaXMuJG5leHRUaWNrKCgpID0+IHRoaXMuYmluZExpbmtzKCkpOwoJCX0sCgoKCQltZXRob2RzOiB7CgkJCWJpbmRMaW5rcyAoKSB7CgkJCQljb25zdCBsaW5rcyA9IHRoaXMuJGVsLnF1ZXJ5U2VsZWN0b3JBbGwoImEiKTsKCQkJCWZvciAoY29uc3QgYSBvZiBsaW5rcykKCQkJCQlhLm9uY2xpY2sgPSBldmVudCA9PiB0aGlzLiRlbWl0KCJsaW5rQ2xpY2siLCBldmVudCwgYS5ocmVmLmJhc2VWYWwpOwoJCQl9LAoJCX0sCgl9Owo="},{"version":3,"sources":["sheet-simple.vue"],"names":[],"mappings":";AAOA;AACA;;;AAGA;AACA;AACA;;;AAGA;AACA;AACA;;;AAGA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"sheet-simple.vue","sourceRoot":"app/components","sourcesContent":["<template>\n\t<div class=\"sheet\">\n\t\t<span class=\"page\" v-for=\"(doc, i) of documents\" :key=\"i\" v-html=\"doc\"></span>\n\t</div>\n</template>\n\n<script>\n\texport default {\n\t\tname: \"sheet-simple\",\n\n\n\t\tprops: {\n\t\t\tdocuments: Array,\n\t\t},\n\n\n\t\tmounted () {\n\t\t\tthis.bindLinks();\n\t\t},\n\n\n\t\tupdated () {\n\t\t\tthis.$nextTick(() => this.bindLinks());\n\t\t},\n\n\n\t\tmethods: {\n\t\t\tbindLinks () {\n\t\t\t\tconst links = this.$el.querySelectorAll(\"a\");\n\t\t\t\tfor (const a of links)\n\t\t\t\t\ta.onclick = event => this.$emit(\"linkClick\", event, a.href.baseVal);\n\t\t\t},\n\t\t},\n\t};\n</script>\n\n<style scoped>\n\t.sheet\n\t{\n\t\twhite-space: nowrap;\n\t\tdisplay: inline-block;\n\t}\n\n\t.page\n\t{\n\t\tdisplay: inline-block;\n\t\tmargin: 0 1em;\n\t\tbackground-color: #f6faff;\n\t}\n</style>\n"]}]}