{"version":3,"sources":["webpack:///src/views/Papers/pages/Paper/components/Templates/ShippingNumberTemplate.vue","webpack:///./src/views/Papers/pages/Paper/components/Templates/ShippingNumberTemplate.vue","webpack:///./src/mixins/paperBuilderToolMixin.js","webpack:///./src/views/Papers/pages/Paper/components/Templates/ShippingNumberTemplate.vue?e481","webpack:///./src/views/Papers/pages/Paper/components/Templates/ShippingNumberTemplate.vue?4d9d","webpack:///./src/views/Papers/pages/Paper/components/Templates/ShippingNumberTemplate.vue?27ce"],"names":["components","TemplateCard","mixins","paperBuilderToolMixin","methods","addItem","left","top","paperBuilderDrop","addCanvas","id","uuid","type","data","tag","fx","properties","style","position","width","height","fontSize","lineHeight","overflow","children","render","_vm","_c","_self","attrs","name","icon","on","dragend:item","$event","addItemDrop","click:item","staticRenderFns","_withStripped","props","String","default","computed","mapGetters","mapActions","setPaperBuilderDrop","console","log"],"mappings":";;;;;;;;;;AAUA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AAEe;EACfA,UAAA;IAAAC;EAAA;EACAC,MAAA,GACAC,qEAAA,CACA;EACAC,OAAA;IACAC,QAAA;MACA;QAAAC,IAAA;QAAAC;MAAA,SAAAC,gBAAA;QAAAF,IAAA;QAAAC,GAAA;MAAA;MACA,KAAAE,SAAA;QACAC,EAAA,EAAAC,+CAAA;QACAC,IAAA;QACAC,IAAA;QACAC,GAAA;QACAC,EAAA;QACAC,UAAA;UACAC,KAAA;YACAC,QAAA;YACAZ,IAAA;YACAC,GAAA;YACAY,KAAA;YACAC,MAAA;YACAC,QAAA;YACAC,UAAA;YACAC,QAAA;UACA;QACA;QACAC,QAAA;MACA;IACA;EACA;AACA,CAAC,E;;;;;;;;;;;;AC5CD;AAAA;AAAA;AAAA,IAAIC,MAAM,GAAG,SAASA,MAAMA,CAAA,EAAG;EAC7B,IAAIC,GAAG,GAAG,IAAI;IACZC,EAAE,GAAGD,GAAG,CAACE,KAAK,CAACD,EAAE;EACnB,OAAOA,EAAE,CAAC,eAAe,EAAE;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AAC,E;;;;;;;;;;;;AC9BD;AAAA;AAAA;AAAA;AAAgH;AACvC;AACL;;;AAGpE;AACyG;AACzG,gBAAgB,2GAAU;AAC1B,EAAE,2FAAM;AACR,EAAE,4GAAM;AACR,EAAE,qHAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACtCf;AAAA;AAAA,wCAA8V,CAAgB,sVAAG,EAAC,C;;;;;;;;;;;;ACAlX;AAAA;AAAA;AAAA;AAAA;AAAA","file":"js/68.js","sourcesContent":["\n \n\n\n\n","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"template-card\", {\n attrs: {\n name: _vm.name,\n \"preview-width\": \"140px\",\n \"preview-height\": \"20px\",\n icon: \"$paper_num\",\n },\n on: {\n \"dragend:item\": function ($event) {\n return _vm.addItemDrop()\n },\n \"click:item\": function ($event) {\n return _vm.addItem()\n },\n },\n })\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import { mapActions, mapGetters } from 'vuex'\n\nexport default {\n props: {\n name: {\n type: [String],\n default: 'Untitled'\n }\n },\n computed: {\n ...mapGetters({\n paperBuilderDrop: 'PaperBuilder/paperBuilderDrop'\n })\n },\n methods: {\n ...mapActions({\n setPaperBuilderDrop: 'PaperBuilder/setPaperBuilderDrop',\n addCanvas: 'PaperBuilder/addCanvas'\n }),\n addItemDrop () {\n if (this.paperBuilderDrop) {\n this.addItem()\n this.setPaperBuilderDrop(null)\n }\n },\n addItem () {\n const { left, top } = this.paperBuilderDrop || { left: '20px', top: '20px' }\n console.log(`left: ${left}`, `top: ${top}`)\n }\n }\n}\n","import { render, staticRenderFns } from \"./ShippingNumberTemplate.vue?vue&type=template&id=da0e1778&scoped=true\"\nimport script from \"./ShippingNumberTemplate.vue?vue&type=script&lang=js\"\nexport * from \"./ShippingNumberTemplate.vue?vue&type=script&lang=js\"\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 null,\n \"da0e1778\",\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/opt/build/repo/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('da0e1778')) {\n api.createRecord('da0e1778', component.options)\n } else {\n api.reload('da0e1778', component.options)\n }\n module.hot.accept(\"./ShippingNumberTemplate.vue?vue&type=template&id=da0e1778&scoped=true\", function () {\n api.rerender('da0e1778', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/views/Papers/pages/Paper/components/Templates/ShippingNumberTemplate.vue\"\nexport default component.exports","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShippingNumberTemplate.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShippingNumberTemplate.vue?vue&type=script&lang=js\"","export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"fa9b513c-vue-loader-template\\\"}!../../../../../../../node_modules/vuetify-loader/lib/loader.js??ref--4!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ShippingNumberTemplate.vue?vue&type=template&id=da0e1778&scoped=true\""],"sourceRoot":""}