api.js.map 10 KB

1
  1. {"version":3,"file":"pages/home/api.js","sources":["webpack:///./components/table/paramTable.vue?2598","webpack:///./components/table/paramTable.vue?957a","webpack:///./pages/home/api.vue?e996","webpack:///./components/table/paramTable.vue","webpack:///./components/table/paramTable.vue?8eaa","webpack:///./components/table/paramTable.vue?e035","webpack:///./node_modules/prismjs/themes/prism-okaidia.css","webpack:///./node_modules/prismjs/plugins/line-numbers/prism-line-numbers.min.css","webpack:///./pages/home/api.vue?ad05","webpack:///./pages/home/api.vue","webpack:///./pages/home/api.vue?d7e9","webpack:///./pages/home/api.vue?494d"],"sourcesContent":["// Exports\nmodule.exports = {\n\n};\n","export * from \"-!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-0!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./paramTable.vue?vue&type=style&index=0&id=bfc99702&prod&lang=scss&scoped=true\"","// Exports\nmodule.exports = {\n\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_vm._ssrNode(\"<table data-v-bfc99702><tbody data-v-bfc99702><tr class=\\\"title\\\" data-v-bfc99702><th width=\\\"250px\\\" data-v-bfc99702>parameters</th> <th width=\\\"250px\\\" data-v-bfc99702>type</th> \"+((_vm.colShow)?(\"<th width=\\\"250px\\\" data-v-bfc99702>required</th>\"):\"<!---->\")+\" <th width=\\\"250px\\\" data-v-bfc99702>description</th></tr> \"+(_vm._ssrList((_vm.data),function(items,key){return (\"<tr data-v-bfc99702><td data-v-bfc99702>\"+_vm._ssrEscape(_vm._s(items.parameters))+\"</td> <td data-v-bfc99702>\"+_vm._ssrEscape(_vm._s(items.type))+\"</td> \"+((_vm.colShow)?(\"<td data-v-bfc99702>\"+_vm._ssrEscape(_vm._s(items.required))+\"</td>\"):\"<!---->\")+\" <td data-v-bfc99702>\"+_vm._ssrEscape(_vm._s(items.description))+\"</td></tr>\")}))+\"</tbody></table>\")])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./paramTable.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./paramTable.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./paramTable.vue?vue&type=template&id=bfc99702&scoped=true\"\nimport script from \"./paramTable.vue?vue&type=script&lang=js\"\nexport * from \"./paramTable.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./paramTable.vue?vue&type=style&index=0&id=bfc99702&prod&lang=scss&scoped=true\")\nif (style0.__inject__) style0.__inject__(context)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n \"bfc99702\",\n \"79640fa0\"\n \n)\n\nexport default component.exports","// Exports\nmodule.exports = {\n\n};\n","// Exports\nmodule.exports = {\n\n};\n","export * from \"-!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-0!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./api.vue?vue&type=style&index=0&id=fdbdc544&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('el-container',{staticClass:\"main\"},[_c('el-header',[_vm._v(\"PromocollectionAPI\")]),_vm._v(\" \"),_c('el-container',{staticStyle:{\"height\":\"100vh\",\"border\":\"1px solid #eee\",\"padding-top\":\"60px\"}},[_c('el-aside',{staticStyle:{\"background-color\":\"rgb(238, 241, 246)\"},attrs:{\"width\":\"200px\"}},[_c('el-menu',{attrs:{\"default-active\":\"intro\",\"default-openeds\":['api']},on:{\"select\":_vm.handleSel}},[_c('el-menu-item',{attrs:{\"index\":\"intro\"}},[_c('i',{staticClass:\"el-icon-menu\"}),_vm._v(\" \"),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"Introduce\")])]),_vm._v(\" \"),_c('el-submenu',{attrs:{\"index\":\"api\"}},[_c('template',{slot:\"title\"},[_c('i',{staticClass:\"el-icon-menu\"}),_vm._v(\"Api\")]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"#anchor\"}},[_c('el-menu-item',{attrs:{\"index\":\"1\"}},[_vm._v(\"Get Authorization acount\")]),_vm._v(\" \"),_c('el-menu-item',{attrs:{\"index\":\"2\"}},[_vm._v(\"Get Categories\")]),_vm._v(\" \"),_c('el-menu-item',{attrs:{\"index\":\"3\"}},[_vm._v(\"Get Product-Indiviual\")]),_vm._v(\" \"),_c('el-menu-item',{attrs:{\"index\":\"4\"}},[_vm._v(\"Get Products-List\")])],1)],2)],1)],1),_vm._v(\" \"),_c('el-container',[_c('el-main',[_c('section',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.indexShow == 'intro'),expression:\"indexShow == 'intro'\"}]},[_c('h3',[_vm._v(\"Promo API Introduction\")]),_vm._v(\" \"),_c('p',[_vm._v(\"PromoCollection Product Data API\")]),_vm._v(\" \"),_c('h3',[_vm._v(\"About\")]),_vm._v(\" \"),_c('p',[_vm._v(\"The Promo Collection Product Data API provides an interface that allows you to connect your business systems to our product data. It can be used to integrate websites, accounting software, quoting tools, ordering platforms and other business systems. It ensures your business systems are always up to date with real time pricing, product data, stock levels and images. The below documentation details on how to connect, utilise and read the data.\")]),_vm._v(\" \"),_c('h3',[_vm._v(\"Register\")]),_vm._v(\" \"),_c('p',[_vm._v(\"Please Login to register.\")]),_vm._v(\" \"),_c('h3',[_vm._v(\"Support\")]),_vm._v(\" \"),_c('p',[_vm._v(\"For support, please email \"),_c('a',{attrs:{\"href\":\"mailto:info@promocollection.uk\"}},[_vm._v(\"info@promocollection.uk\")]),_vm._v(\". You are welcome to provide this email to third party IT providers to contact us directly for support.\")])]),_vm._v(\" \"),_c('section',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.indexShow != 'intro'),expression:\"indexShow != 'intro'\"}]},[_c('h3',{attrs:{\"id\":\"anchor\"}},[_vm._v(\"Request address\")]),_vm._v(\" \"),_c('p',[_vm._v(\"\\n \"+_vm._s(_vm.indexShow == 1 ? 'post' : 'get')+\"\\n \"),_c('span',{staticClass:\"content\"},[_vm._v(_vm._s(_vm.apiData[_vm.indexShow]?.address))])]),_vm._v(\" \"),_c('h3',[_vm._v(\"Interface description\")]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.apiData[_vm.indexShow]?.description))]),_vm._v(\" \"),_c('h3',[_vm._v(\"Request header parameters\")]),_vm._v(\" \"),_c('param-table',{attrs:{\"data\":_vm.apiData[_vm.indexShow]?.parameters}}),_vm._v(\" \"),(_vm.apiData[_vm.indexShow]?.request_parameters)?[_c('h3',[_vm._v(\"Request parameters\")]),_vm._v(\" \"),_c('param-table',{attrs:{\"data\":_vm.apiData[_vm.indexShow]?.request_parameters,\"colShow\":true}})]:_vm._e(),_vm._v(\" \"),_c('h3',[_vm._v(\"Response content\")]),_vm._v(\" \"),_c('pre',{staticClass:\"line-numbers\"},[_c('code',{ref:\"codeBlock\",staticClass:\"language-javascript\",domProps:{\"innerHTML\":_vm._s(_vm.apiData[_vm.indexShow]?.response)}})])],2)])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./api.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./api.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./api.vue?vue&type=template&id=fdbdc544&scoped=true\"\nimport script from \"./api.vue?vue&type=script&lang=js\"\nexport * from \"./api.vue?vue&type=script&lang=js\"\nfunction injectStyles (context) {\n \n var style0 = require(\"./api.vue?vue&type=style&index=0&id=fdbdc544&prod&lang=scss&scoped=true\")\nif (style0.__inject__) style0.__inject__(context)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n \"fdbdc544\",\n \"e520f2a0\"\n \n)\n\nexport default component.exports"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;;;;;;;;;ACHA;AAAA;AAAA;AAAA;;;;;;;;ACAA;AACA;AACA;AACA;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;;;;;AADA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AACA;AACA;;ACNA;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACvBA;AACA;AACA;AACA;;;;;;;;ACHA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;A","sourceRoot":""}