{"version":3,"sources":["webpack:///./src/modules/snapshot/components/TheSnapshotRenameButton.vue","webpack:///src/modules/snapshot/components/TheSnapshotRenameButton.vue","webpack:///./src/modules/snapshot/components/TheSnapshotRenameButton.vue?91f7","webpack:///./src/modules/snapshot/components/TheSnapshotRenameButton.vue?e63a"],"names":["staticClass","attrs","on","renameDialog","callback","expression","_c","_vm","objectType","scopedSlots","fn","model","value","newFileName","extensionChanged","_v","buttonName","render","staticRenderFns","name","mixins","data","successMessage","renaming","props","selected","dispatchFunction","computed","oldName","methods","rename","short_id","apiURL","patch","then","snackBarText","snackBarTimeout","snackBarIcon","catch","console","finally","mounted","component"],"mappings":"yOAAqL,W,MAA2BA,K,IAA4BC,MAAM,G,SAAC,OAAS,C,kBAAkD,G,YAAU,O,YAAuB,O,IAAGC,Y,GAAkBD,SAAM,G,IAAC,IAAO,G,MAAE,gBAAE,YAAS,gBAAoD,OAAI,WAAO,8BAAM,KAAME,GAAcC,MAAS,GAAoBD,oBAAkBE,GAAU,GAAC,QAAc,OAAO,KAAUC,KAAyG,MAAS,uDAAiB,OAAIC,MAAO,eAA2FP,SAAW,SAAC,GAAW,EAAC,aAAiB,GAA6BM,WAAU,iBAAiC,CAACC,EAAG,OAAI,GAAM,OAAW,CAACC,QAAU,CAA+DR,YAAY,4DAAoB,CAACO,EAAG,OAAI,CAA6DN,MAAM,CAAC,UAAeQ,6BAAoB,wD,YAAK,SAAQC,EAAE,OAAC,GAAU,O,YAASH,Q,CAAwD,EAAC,Q,YAAO,oBAAK,CAAC,EAAC,kFAACI,YAAM,oB,CAACC,KAAOL,OAAIM,KAAY,oC,MAACT,C,SAA6BS,I,YAA2B,EAAC,KAAa,YAAKN,GAAIO,WAAgCb,MAAM,qDAAgB,OAAM,KAAoB,OAAIM,MAAO,cAAyLP,SAAW,SAAO,GAACC,EAAM,eAAyB,WAAS,iBAAqB,6BAACC,MAAG,CAAC,UAAQ,G,KAAqBC,UAAoB,UAAI,CAACI,EAAIQ,GAAG,0HAAuB,2CAACd,YAAM,O,MAAC,CAAuB,SAAS,WAAC,KAAO,GAAS,mB,GAAK,CAAkB,kBAAIM,EAAM,cAAYS,KAIz3D,GAASC,eAAQC,SAAe,C,gKCqCjB,GACfC,oBACAC,gBACAC,gBACA,OACAlB,gBACAU,eACAS,kBACAC,cAGAC,OACAC,eACAjB,kBACAkB,2BAEAC,UACAC,mBACA,mCACA,iCAEA,IAGAd,4BACA,QACA,iDACA,4BACA,oEAMAE,sBACA,sDACA,kEACA,SAEA,UAGA,WAIAa,SACAC,kBAAA,WACA,iBACA,IAGA,EAHA,GACAC,2BAGA,uDACA,iDACAC,gDACA,wDACA,kDACAA,iDACA,0DACA,mDACAA,kDAEA,YACAC,WACAC,iBACA,kCACAC,8BACAC,oBACAC,8BAEA,wBAEAC,mBACAC,eACA,kCACAJ,8DACAC,oBACAC,0BAGAG,oBACA,oBAAA5B,WACA,cACA,uBAIA6B,mBACA,gCClImZ,I,YCO/YC,EAAY,eACd,EACA,EACAxB,GACA,EACA,KACA,KACA,MAIa,aAAAwB,E","file":"static/js/chunk-2d22fd25.7ee83764.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"600\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on }){return [_c('v-btn',_vm._g({staticClass:\"justify-start\",attrs:{\"loading\":false,\"disabled\":_vm.selected.length != 1,\"text\":\"\",\"block\":\"\",\"color\":\"secondary\"}},on),[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-square-edit-outline\")]),_vm._v(\" rename \")],1)]}}]),model:{value:(_vm.renameDialog),callback:function ($$v) {_vm.renameDialog=$$v},expression:\"renameDialog\"}},[_c('v-card',[_c('v-card-title',[_c('div',{staticClass:\"d-flex align-center text-uppercase title secondary--text\"},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"insert_drive_file\")]),_vm._v(\" \"+_vm._s(_vm.objectType)+\" rename \")],1)]),_c('v-divider',{staticClass:\"mb-1\"}),_c('v-card-text',[_c('div',{staticClass:\"mt-3\"},[_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\"Old \"+_vm._s(_vm.objectType)+\" name:\")]),_c('p',[_vm._v(_vm._s(_vm.oldName))]),_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\"New \"+_vm._s(_vm.objectType)+\" name:\")]),_c('v-text-field',{attrs:{\"outlined\":\"\"},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_vm._v(\"Provide a new \"+_vm._s(_vm.objectType)+\" name\")]},proxy:true}]),model:{value:(_vm.newFileName),callback:function ($$v) {_vm.newFileName=$$v},expression:\"newFileName\"}}),(_vm.extensionChanged)?_c('v-alert',{attrs:{\"prominent\":\"\",\"type\":\"warning\",\"text\":\"\"}},[_vm._v(\" It seems that you have changed the extension of the file. Click confirm to rename the file with the new extension. \")]):_vm._e()],1)]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mr-1\",attrs:{\"disabled\":_vm.renaming,\"text\":\"\",\"color\":\"secondary\"},on:{\"click\":function($event){_vm.renameDialog = false}}},[_vm._v(\"Cancel\")]),_c('v-btn',{attrs:{\"loading\":_vm.renaming,\"text\":\"\",\"color\":\"error\"},on:{\"click\":_vm.rename}},[_vm._v(_vm._s(_vm.buttonName))])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n mdi-square-edit-outline\n rename\n \n \n \n \n
\n insert_drive_file\n {{ objectType }} rename\n
\n \n \n \n
\n Old {{ objectType }} name:\n
{{ oldName }}
\n New {{ objectType }} name:\n \n Provide a new {{ objectType }} name\n \n \n It seems that you have changed the extension of the file. Click confirm to rename the file with the new extension.\n \n
\n \n \n \n Cancel\n {{ buttonName }}\n \n \n \n\n\n\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheSnapshotRenameButton.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??ref--13-1!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheSnapshotRenameButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TheSnapshotRenameButton.vue?vue&type=template&id=7f7b0384&\"\nimport script from \"./TheSnapshotRenameButton.vue?vue&type=script&lang=js&\"\nexport * from \"./TheSnapshotRenameButton.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":""}