{"version":3,"sources":["webpack:///./src/views/Settings.vue?a788","webpack:///src/views/Settings.vue","webpack:///./src/views/Settings.vue?91de","webpack:///./src/views/Settings.vue","webpack:///./src/components/tenant/Edit.vue?6d01","webpack:///src/components/tenant/Edit.vue","webpack:///./src/components/tenant/Edit.vue?6381","webpack:///./src/components/tenant/Edit.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","windowWidth","on","$event","goTo","darkMode","tenant","_e","staticRenderFns","name","components","FixedHeader","Edit","Footer","mixins","computed","mounted","component","_v","_s","title","preventDefault","validateBeforeSubmit","directives","rawName","value","expression","model","item","callback","$$v","$set","imageUrl","trigger","handleCompleted","user","props","type","Object","String","default","data","administrators","ImageCropper","methods","photo","$validator","validateAll","then","result","message","position","tenantId","collaboration","visible"],"mappings":"mHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,cAAc,CAACG,MAAM,CAAC,WAAaP,EAAIQ,aAAe,MAAM,CAACJ,EAAG,WAAW,CAACE,YAAY,cAAcC,MAAM,CAAC,KAAO,UAAU,YAAY,aAAa,KAAO,aAAaE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIW,WAAWP,EAAG,IAAI,CAACK,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIW,UAAU,CAACP,EAAG,MAAM,CAACE,YAAY,OAAOC,MAAM,CAAC,IAAM,eAAe,IAAM,WAAS,MAAoBP,EAAIY,SAAW,4BAA8B,+BAAgC,GAAGR,EAAG,MAAM,CAACE,YAAY,WAAW,CAAEN,EAAU,OAAEI,EAAG,OAAO,CAACG,MAAM,CAAC,MAAQ,WAAW,KAAOP,EAAIa,UAAUb,EAAIc,MAAM,GAAGV,EAAG,WAAW,IAC3sBW,EAAkB,G,4sBCmCtB,OACEC,KAAM,WACNC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AkB,G,krBCmFtB,OACEC,KAAM,OACN2B,MAAO,CACLR,KAAM,CACJS,KAAMC,QAERlB,MAAO,CACLiB,KAAME,OACNC,QAAS,gBAGbC,KAAM,WACJ,MAAO,CACLhC,KAAM,GACNiC,eAAgB,GAChBV,SAAU,GACVC,SAAS,IAGbvB,WAAY,CACViC,aAAJ,QAEE5B,SAAU,EAAZ,GACA,mCAEE6B,QAAS,EAAX,GACA,iCADA,CAEIV,gBAFJ,SAEA,GACMxC,KAAKkC,KAAKI,SAAWS,EAAKI,MAC1BnD,KAAK4B,wBAEPA,qBANJ,WAMA,WACM5B,KAAKoD,WAAWC,cAAcC,MAAK,SAAzC,GACQ,GAAIC,EAeF,OAdA,EAAV,mBACYC,QAAS,iBACTb,KAAM,aACNc,SAAU,sBAEZ,EAAV,cACY1C,KAAM,EAAlB,UACY2C,SAAU,EAAtB,cACYC,cAAe,EAA3B,mBACYC,QAAS,EAArB,aACYZ,eAAgB,EAA5B,oBACYV,SAAU,EAAtB,gBAKQ,EAAR,mBACUkB,QAAS,8CACTb,KAAM,YACNc,SAAU,wBCzIyU,I,YCOzVlC,EAAY,eACd,EACAzB,EACAgB,GACA,EACA,KACA,KACA,MAIa,OAAAS,E","file":"js/settings.07d56707.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"settings\"},[_c('FixedHeader',{attrs:{\"showSearch\":_vm.windowWidth >= 700}},[_c('b-button',{staticClass:\"back-button\",attrs:{\"type\":\"is-text\",\"icon-left\":\"arrow-left\",\"size\":\"is-medium\"},on:{\"click\":function($event){return _vm.goTo()}}}),_c('a',{on:{\"click\":function($event){return _vm.goTo()}}},[_c('img',{staticClass:\"logo\",attrs:{\"alt\":\"Pinwall logo\",\"src\":require((\"../assets/img/\" + (_vm.darkMode ? 'pinwall-logo-new-dark.svg' : 'pinwall-logo-new.svg')))}})])],1),_c('div',{staticClass:\"content\"},[(_vm.tenant)?_c('Edit',{attrs:{\"title\":'Settings',\"item\":_vm.tenant}}):_vm._e()],1),_c('Footer')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./Settings.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!./Settings.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Settings.vue?vue&type=template&id=4f092ac7&\"\nimport script from \"./Settings.vue?vue&type=script&lang=js&\"\nexport * from \"./Settings.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',{staticClass:\"tenant__edit\"},[_c('h3',[_vm._v(_vm._s(_vm.title))]),_c('section',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.validateBeforeSubmit($event)}}},[_c('b-field',[_c('b-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|max:50'),expression:\"'required|max:50'\"}],attrs:{\"placeholder\":\"Name\",\"name\":\"name\"},model:{value:(_vm.item.name),callback:function ($$v) {_vm.$set(_vm.item, \"name\", $$v)},expression:\"item.name\"}})],1),_c('b-field',{attrs:{\"label\":\"Options\",\"addons\":false}},[_c('b-switch',{attrs:{\"title\":\"Allows none administrators to add spaces\",\"name\":\"collaboration\"},model:{value:(_vm.item.collaboration),callback:function ($$v) {_vm.$set(_vm.item, \"collaboration\", $$v)},expression:\"item.collaboration\"}},[_vm._v(\"Collaboration\")]),_c('b-switch',{attrs:{\"title\":\"Is visible under pages\",\"name\":\"visible\"},model:{value:(_vm.item.visible),callback:function ($$v) {_vm.$set(_vm.item, \"visible\", $$v)},expression:\"item.visible\"}},[_vm._v(\"Visible\")])],1),_c('b-field',{attrs:{\"label\":\"Add administrators (email)\"}},[_c('b-taginput',{attrs:{\"ellipsis\":\"\",\"icon\":\"label\",\"placeholder\":\"Add a administrator (email)\",\"aria-close-label\":\"Delete this administrator\"},model:{value:(_vm.item.administrators),callback:function ($$v) {_vm.$set(_vm.item, \"administrators\", $$v)},expression:\"item.administrators\"}})],1),_c('b-field',{attrs:{\"label\":\"Change Image\"}},[_c('div',{staticClass:\"card image-cropper text-center\"},[_c('div',{staticClass:\"card-body\"},[(!_vm.item.imageUrl)?_c('i',{staticClass:\"mdi mdi-account profile\"}):_vm._e(),(_vm.item.imageUrl)?_c('img',{staticClass:\"card-img profile\",attrs:{\"src\":_vm.item.imageUrl}}):_vm._e(),_c('div',{staticClass:\"card-img-overlay\"},[_c('button',{staticClass:\"button is-info is-rounded action-button\",on:{\"click\":function($event){_vm.trigger = true}}},[_vm._v(\" Change profile image \")])])]),_c('image-cropper',{attrs:{\"trigger\":_vm.trigger,\"tenant\":'pinwallusers',\"width\":128},on:{\"completed\":_vm.handleCompleted,\"cancel\":function($event){_vm.trigger = false}}})],1)]),_c('div',[_c('button',{staticClass:\"button is-success is-rounded action-button\",attrs:{\"type\":\"submit\",\"disabled\":!_vm.user,\"title\":!_vm.user ? 'Please login to add a tenant' : 'Save',\"icon-left\":\"plus\"}},[_vm._v(\" Save \")])])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./Edit.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!./Edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=ae165348&\"\nimport script from \"./Edit.vue?vue&type=script&lang=js&\"\nexport * from \"./Edit.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":""}