{"version":3,"sources":["webpack:///./src/components/Picture/Frame/index.vue?26ae","webpack:///src/components/Picture/Frame/index.vue","webpack:///./src/components/Picture/Frame/index.vue?10b3","webpack:///./src/components/Picture/Frame/index.vue","webpack:///./src/components/Fields/PhotoUploader/index.vue?b385","webpack:///src/components/Fields/PhotoUploader/index.vue","webpack:///./src/components/Fields/PhotoUploader/index.vue?0298","webpack:///./src/components/Fields/PhotoUploader/index.vue","webpack:///./src/components/Fields/PhotoUploader/examples/index.vue?bdb5","webpack:///src/components/Fields/PhotoUploader/examples/index.vue","webpack:///./src/components/Fields/PhotoUploader/examples/index.vue?3714","webpack:///./src/components/Fields/PhotoUploader/examples/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","style","position","display","justifyContent","alignItems","width","height","paddingBottom","marginBottom","overflow","borderRadius","cursor","boxShadow","on","clicked","attrs","top","left","transform","flexShrink","maxWidth","maxHeight","objectFit","src","label","length","staticClass","color","_v","_s","_e","erase","editMode","$event","index","details","staticRenderFns","props","type","Function","default","String","Number","Object","Boolean","component","border","padding","accept","model","value","callback","$$v","items","expression","directives","name","rawName","previews","_l","image","key","components","PictureFrame","update","addFile","File","data","watch","methods","updatePreviews","Array","isArray","map","console","log","item","URL","createObjectURL","error","photosUpdated","PhotoUploader"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAC5GC,SAAU,WACVC,QAAS,OACTC,eAAgB,SAChBC,WAAY,SAEZC,MAAO,OACPC,OAAQ,IACRC,cAAe,OACfC,aAAc,MAEdC,SAAU,SACVC,aAAc,MAEdC,OAAQ,UACRC,UAAW,qCACVC,GAAG,CAAC,MAAQnB,EAAIoB,UAAU,CAAChB,EAAG,aAAa,CAACiB,MAAM,CAAC,KAAO,SAAS,CAACjB,EAAG,MAAM,CAACE,MAAM,CACjFC,SAAU,WACVe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vC,EAAIqC,MAAMG,QAAY,OAAM,IAAI,IAAI,IAC9QE,EAAkB,G,gGC2EtB,GACE0B,WAAY,CACVC,aAAJ,QAEE1B,MAAO,CACL2B,OAAQzB,SACR0B,QAASC,KACTlB,OAAQ,CACNV,KAAMG,OACND,QAAS,qCAGb2B,KAZF,WAaI,MAAO,CACLd,MAAO,GACPK,SAAU,KAIdU,MAAO,CACL,MADJ,WACA,wJACA,6BACA,gBAGA,UACA,gBANA,8CASI,QAVJ,WAUA,wJACA,wBADA,+CAKEC,QAAS,CACP,MADJ,SACA,2JACA,oBACA,uBAFA,8CAKIC,eANJ,YAMA,cACM,GAAKC,MAAMC,QAAQnB,GAKnB,OAAOA,EAAMoB,KAAI,SAAvB,GAEQ,OADAC,QAAQC,IAAI,QAAUC,GACfC,IAAIC,gBAAgBF,MAN3BF,QAAQK,MAAM,oCCzHuV,I,YCOzWlC,EAAY,eACd,EACApD,EACA2C,GACA,EACA,KACA,KACA,MAIa,OAAAS,E,kDClBf,IAAIpD,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,KAAK,CAACJ,EAAIkC,GAAG,oBAAoB9B,EAAG,gBAAgB,CAACiB,MAAM,CAAC,OAASrB,EAAIsF,cAAc,OAAS,wDAAwD,IACjQ5C,EAAkB,G,YCYtB,GACE0B,WAAY,CACVmB,cAAJ,QAEEZ,QAAS,CACPW,cADJ,WAEMN,QAAQC,IAAI,oBCnB0W,I,YCOxX9B,EAAY,eACd,EACApD,EACA2C,GACA,EACA,KACA,KACA,MAIa,aAAAS,E","file":"js/_guides.PhotoUploader.0f2ddf3c.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:({\n position: 'relative',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n\n width: '100%',\n height: '0',\n paddingBottom: '100%',\n marginBottom: '6px',\n\n overflow: 'hidden',\n borderRadius: '6px',\n\n cursor: 'pointer',\n boxShadow: '0 12px 18px 0 rgba(0, 0, 0, 0.05)'\n }),on:{\"click\":_vm.clicked}},[_c('transition',{attrs:{\"name\":\"fade\"}},[_c('img',{style:({\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translateX(-50%) translateY(-50%)',\n\n flexShrink: '0',\n maxWidth: '100%',\n maxHeight: '100%',\n objectFit: 'contain'\n }),attrs:{\"src\":_vm.src}})]),(typeof _vm.label === 'string' && _vm.label.length >= 1)?_c('label',{staticClass:\"absolute inset-x-0 bottom-0 bg-black bg-opacity-50 z-10 p-2\"},[_c('span',{style:({ color: 'white' })},[_vm._v(_vm._s(_vm.label))])]):_vm._e(),(typeof _vm.erase === 'function' && _vm.editMode === true)?_c('button',{staticClass:\"delete\",style:({ position: 'absolute', top: '10px', left: '10px' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.erase({ index: _vm.index, details: _vm.details })}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n\r\n = 1\"\r\n >\r\n {{ label }}\r\n \r\n\r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=b6d7ab38&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-field',{attrs:{\"label\":\"Photos\"}}),_c('div',{style:({ border: '1px solid rgb(226, 232, 240)', borderRadius: '4px', padding: '20px' })},[_c('b-field',{staticClass:\"file\"},[_c('b-upload',{attrs:{\"multiple\":\"\",\"drag-drop\":\"\",\"expanded\":\"\",\"accept\":_vm.accept},model:{value:(_vm.items),callback:function ($$v) {_vm.items=$$v},expression:\"items\"}},[_c('section',{staticClass:\"section\"},[_c('div',{staticClass:\"content has-text-centered\"},[_c('p',[_c('b-icon',{attrs:{\"icon\":\"upload\",\"size\":\"is-large\"}})],1),_c('p',[_vm._v(\"Drop your photos here or click to upload\")])])])])],1),_c('ul',{staticClass:\"flex flex-1 flex-wrap\",attrs:{\"id\":\"gallery\"}},[_c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.previews.length === 0),expression:\"previews.length === 0\"}],staticClass:\"h-full w-full text-center flex flex-col items-center justify-center items-center\",attrs:{\"no-photos\":\"\"}},[_c('img',{staticClass:\"mx-auto w-32\",attrs:{\"src\":\"https://user-images.githubusercontent.com/507615/54591670-ac0a0180-4a65-11e9-846c-e55ffce0fe7b.png\",\"alt\":\"no data\"}}),_c('span',{staticClass:\"text-small text-gray-500\"},[_vm._v(\"No photos selected\")])]),_vm._l((_vm.previews),function(image,index){return _c('li',{key:index,staticClass:\"flex pr-2\",style:({\n position: 'relative',\n width: '23%'\n })},[_c('PictureFrame',{attrs:{\"src\":image,\"label\":_vm.items[index].name}}),_c('button',{staticClass:\"delete\",style:({ position: 'absolute', top: '10px', left: '10px' }),attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.erase(index)}}})],1)})],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n Drop your photos here or click to upload\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n No photos selected\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=06c6287b&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h1',[_vm._v(\"Photo Uploader\")]),_c('PhotoUploader',{attrs:{\"update\":_vm.photosUpdated,\"accept\":\"image/png, image/jpeg, image/jpg, application/pdf\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n Photo Uploader\r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=45abeb1b&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\r\n \r\n
Drop your photos here or click to upload