/
home
/
henzagold
/
admin_report
/
js
/
File Upload :
llllll
Current File: /home/henzagold/admin_report/js/chunk-2d21ab95.2cb9c667.js.map
{"version":3,"sources":["webpack:///./src/views/apps/customer/customer-edit/CustomerEdit.vue","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabAccount.vue","webpack:///src/views/apps/customer/customer-edit/CustomerEditTabAccount.vue","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabAccount.vue?9fc2","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabAccount.vue?882c","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabInformation.vue","webpack:///src/views/apps/customer/customer-edit/CustomerEditTabInformation.vue","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabInformation.vue?cced","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabInformation.vue?579d","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabSocial.vue","webpack:///src/views/apps/customer/customer-edit/CustomerEditTabSocial.vue","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabSocial.vue?35bf","webpack:///./src/views/apps/customer/customer-edit/CustomerEditTabSocial.vue?edc3","webpack:///src/views/apps/customer/customer-edit/CustomerEdit.vue","webpack:///./src/views/apps/customer/customer-edit/CustomerEdit.vue?ee8e","webpack:///./src/views/apps/customer/customer-edit/CustomerEdit.vue?bf91"],"names":["render","_vm","this","_c","_self","attrs","user_not_found","on","$event","_v","_s","$route","params","userId","staticClass","name","user_data","slot","model","value","activeTab","callback","$$v","expression","_e","staticRenderFns","data","avatar","ref","update_avatar","directives","rawName","data_local","username","$set","errors","has","first","email","statusOptions","$vs","rtl","status_local","roleOptions","role_local","company","_l","heading","key","permissions","val","permission","validateForm","save_changes","components","vSelect","props","type","required","label","computed","get","set","methods","capitalize","reset_data","component","dateFormat","maxDate","Date","dob","regex","mobile","website","langOptions","languages_known","gender","contact_options","location","add_line_1","add_line_2","post_code","city","state","country","flatPickr","social_links","twitter","facebook","instagram","github","codepen","slack","CustomerEditTabAccount","CustomerEditTabInformation","CustomerEditTabSocial","watch","fetch_user_data","then","catch","console","created","moduleUserManagement"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,mBAAmB,CAACF,EAAG,WAAW,CAACE,MAAM,CAAC,MAAQ,SAAS,MAAQ,iBAAiB,OAASJ,EAAIK,gBAAgBC,GAAG,CAAC,gBAAgB,SAASC,GAAQP,EAAIK,eAAeE,KAAU,CAACL,EAAG,OAAO,CAACF,EAAIQ,GAAG,wBAAwBR,EAAIS,GAAGT,EAAIU,OAAOC,OAAOC,QAAQ,kBAAkBV,EAAG,OAAO,CAACA,EAAG,OAAO,CAACF,EAAIQ,GAAG,YAAYN,EAAG,cAAc,CAACW,YAAY,yBAAyBT,MAAM,CAAC,GAAK,CAACU,KAAK,oBAAoB,CAACd,EAAIQ,GAAG,gBAAgB,KAAMR,EAAIe,UAAWb,EAAG,UAAU,CAACA,EAAG,MAAM,CAACW,YAAY,2BAA2BT,MAAM,CAAC,KAAO,WAAWY,KAAK,WAAW,CAACd,EAAG,UAAU,CAACW,YAAY,gCAAgCI,MAAM,CAACC,MAAOlB,EAAImB,UAAWC,SAAS,SAAUC,GAAMrB,EAAImB,UAAUE,GAAKC,WAAW,cAAc,CAACpB,EAAG,SAAS,CAACE,MAAM,CAAC,MAAQ,iBAAiB,YAAY,UAAU,KAAO,cAAc,CAACF,EAAG,MAAM,CAACW,YAAY,YAAY,CAACX,EAAG,4BAA4B,CAACW,YAAY,OAAOT,MAAM,CAAC,KAAOJ,EAAIe,cAAc,KAAKb,EAAG,SAAS,CAACE,MAAM,CAAC,MAAQ,eAAe,YAAY,UAAU,KAAO,cAAc,CAACF,EAAG,MAAM,CAACW,YAAY,YAAY,CAACX,EAAG,gCAAgC,CAACW,YAAY,OAAOT,MAAM,CAAC,KAAOJ,EAAIe,cAAc,MAAM,IAAI,KA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,EAAImD,cAAc7C,GAAG,CAAC,MAAQN,EAAIoD,eAAe,CAACpD,EAAIQ,GAAG,kBAAkBN,EAAG,YAAY,CAACW,YAAY,YAAYT,MAAM,CAAC,KAAO,SAAS,MAAQ,WAAWE,GAAG,CAAC,MAAQN,EAAIgE,aAAa,CAAChE,EAAIQ,GAAG,YAAY,UAEj+IgB,EAAkB,GCmGP,GACf+B,OACA9B,MACA+B,YACAC,cAGAhC,gBACA,OACAM,mDAGA4B,UACAR,wBACA,2BAGAW,SACAV,wBAEA,mBAOAY,sBACA,+CCjI4Y,ICOxY,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,I,oBCgCA,GACflD,oBACAuC,YACAuC,yBACAC,6BACAC,yBAEArE,gBACA,OACAV,eACAV,kBAOAc,cAGA4E,OACA5E,qBACA,kDAGA2C,SACAkC,4BAAA,WACA,mDACAC,kBAAA,sBACAC,mBACA,wBAIAC,iBAHA,yBAOAC,mBAEA,sBACA,oDACAC,wBAEA,kDC9FmY,ICO/X,EAAY,eACd,EACAtG,EACAyB,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-2d21ab95.2cb9c667.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"page-user-edit\"}},[_c('vs-alert',{attrs:{\"color\":\"danger\",\"title\":\"User Not Found\",\"active\":_vm.user_not_found},on:{\"update:active\":function($event){_vm.user_not_found=$event}}},[_c('span',[_vm._v(\"User record with id: \"+_vm._s(_vm.$route.params.userId)+\" not found. \")]),_c('span',[_c('span',[_vm._v(\"Check \")]),_c('router-link',{staticClass:\"text-inherit underline\",attrs:{\"to\":{name:'page-user-list'}}},[_vm._v(\"All Users\")])],1)]),(_vm.user_data)?_c('vx-card',[_c('div',{staticClass:\"tabs-container px-6 pt-6\",attrs:{\"slot\":\"no-body\"},slot:\"no-body\"},[_c('vs-tabs',{staticClass:\"tab-action-btn-fill-conatiner\",model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c('vs-tab',{attrs:{\"label\":\"اطلاعات کاربری\",\"icon-pack\":\"feather\",\"icon\":\"icon-user\"}},[_c('div',{staticClass:\"tab-text\"},[_c('customer-edit-tab-account',{staticClass:\"mt-4\",attrs:{\"data\":_vm.user_data}})],1)]),_c('vs-tab',{attrs:{\"label\":\"اطلاعات مالی\",\"icon-pack\":\"feather\",\"icon\":\"icon-info\"}},[_c('div',{staticClass:\"tab-text\"},[_c('customer-edit-tab-information',{staticClass:\"mt-4\",attrs:{\"data\":_vm.user_data}})],1)])],1)],1)]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"user-edit-tab-info\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex items-start flex-col sm:flex-row\"},[_c('img',{staticClass:\"mr-8 rounded h-24 w-24\",attrs:{\"src\":_vm.data.avatar}}),_c('div',[_c('p',{staticClass:\"text-lg font-medium mb-2 mt-4 sm:mt-0\"},[_vm._v(_vm._s(_vm.data.name))]),_c('input',{ref:\"update_avatar_input\",staticClass:\"hidden\",attrs:{\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.update_avatar}}),_c('vs-button',{staticClass:\"mr-4 mb-4\"},[_vm._v(\"Change Avatar\")]),_c('vs-button',{attrs:{\"type\":\"border\",\"color\":\"danger\"}},[_vm._v(\"Remove Avatar\")])],1)])])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col md:w-1/2 w-full\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|alpha_num'),expression:\"'required|alpha_num'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Username\",\"name\":\"username\"},model:{value:(_vm.data_local.username),callback:function ($$v) {_vm.$set(_vm.data_local, \"username\", $$v)},expression:\"data_local.username\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('username')),expression:\"errors.has('username')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('username')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|alpha_spaces'),expression:\"'required|alpha_spaces'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Name\",\"name\":\"name\"},model:{value:(_vm.data_local.name),callback:function ($$v) {_vm.$set(_vm.data_local, \"name\", $$v)},expression:\"data_local.name\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('name')),expression:\"errors.has('name')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('name')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|email'),expression:\"'required|email'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Email\",\"type\":\"email\",\"name\":\"email\"},model:{value:(_vm.data_local.email),callback:function ($$v) {_vm.$set(_vm.data_local, \"email\", $$v)},expression:\"data_local.email\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('email')),expression:\"errors.has('email')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('email')))])],1),_c('div',{staticClass:\"vx-col md:w-1/2 w-full\"},[_c('div',{staticClass:\"mt-4\"},[_c('label',{staticClass:\"vs-input--label\"},[_vm._v(\"Status\")]),_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"clearable\":false,\"options\":_vm.statusOptions,\"name\":\"status\",\"dir\":_vm.$vs.rtl ? 'rtl' : 'ltr'},model:{value:(_vm.status_local),callback:function ($$v) {_vm.status_local=$$v},expression:\"status_local\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('status')),expression:\"errors.has('status')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('status')))])],1),_c('div',{staticClass:\"mt-4\"},[_c('label',{staticClass:\"vs-input--label\"},[_vm._v(\"Role\")]),_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"clearable\":false,\"options\":_vm.roleOptions,\"name\":\"role\",\"dir\":_vm.$vs.rtl ? 'rtl' : 'ltr'},model:{value:(_vm.role_local),callback:function ($$v) {_vm.role_local=$$v},expression:\"role_local\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('role')),expression:\"errors.has('role')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('role')))])],1),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('alpha_spaces'),expression:\"'alpha_spaces'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Company\",\"name\":\"company\"},model:{value:(_vm.data_local.company),callback:function ($$v) {_vm.$set(_vm.data_local, \"company\", $$v)},expression:\"data_local.company\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('company')),expression:\"errors.has('company')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('company')))])],1)]),_c('vx-card',{staticClass:\"mt-base\",attrs:{\"no-shadow\":\"\",\"card-border\":\"\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex items-end px-3\"},[_c('feather-icon',{staticClass:\"mr-2\",attrs:{\"svgClasses\":\"w-6 h-6\",\"icon\":\"LockIcon\"}}),_c('span',{staticClass:\"font-medium text-lg leading-none\"},[_vm._v(\"Permissions\")])],1),_c('vs-divider')],1)]),_c('div',{staticClass:\"block overflow-x-auto\"},[_c('table',{staticClass:\"w-full\"},[_c('tr',_vm._l((['Module', 'Read', 'Write', 'Create', 'Delete']),function(heading){return _c('th',{key:heading,staticClass:\"font-semibold text-base text-left px-3 py-2\"},[_vm._v(_vm._s(heading))])}),0),_vm._l((_vm.data_local.permissions),function(val,name){return _c('tr',{key:name},[_c('td',{staticClass:\"px-3 py-2\"},[_vm._v(_vm._s(name))]),_vm._l((val),function(permission,name){return _c('td',{key:name+permission,staticClass:\"px-3 py-2\"},[_c('vs-checkbox',{model:{value:(val[name]),callback:function ($$v) {_vm.$set(val, name, $$v)},expression:\"val[name]\"}})],1)})],2)})],2)])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"mt-8 flex flex-wrap items-center justify-end\"},[_c('vs-button',{staticClass:\"ml-auto mt-2\",attrs:{\"disabled\":!_vm.validateForm},on:{\"click\":_vm.save_changes}},[_vm._v(\"ذخیره تغییرات\")])],1)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- =========================================================================================\r\n File Name: UserEditTabInformation.vue\r\n Description: User Edit Information Tab content\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n========================================================================================== -->\r\n\r\n<template>\r\n <div id=\"user-edit-tab-info\">\r\n\r\n <!-- Avatar Row -->\r\n <div class=\"vx-row\">\r\n <div class=\"vx-col w-full\">\r\n <div class=\"flex items-start flex-col sm:flex-row\">\r\n <img :src=\"data.avatar\" class=\"mr-8 rounded h-24 w-24\" />\r\n <!-- <vs-avatar :src=\"data.avatar\" size=\"80px\" class=\"mr-4\" /> -->\r\n <div>\r\n <p class=\"text-lg font-medium mb-2 mt-4 sm:mt-0\">{{ data.name }}</p>\r\n <input type=\"file\" class=\"hidden\" ref=\"update_avatar_input\" @change=\"update_avatar\" accept=\"image/*\">\r\n\r\n <!-- Toggle comment of below buttons as one for actual flow & currently shown is only for demo -->\r\n <vs-button class=\"mr-4 mb-4\">Change Avatar</vs-button>\r\n <!-- <vs-button type=\"border\" class=\"mr-4\" @click=\"$refs.update_avatar_input.click()\">Change Avatar</vs-button> -->\r\n\r\n <vs-button type=\"border\" color=\"danger\">Remove Avatar</vs-button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Content Row -->\r\n <div class=\"vx-row\">\r\n <div class=\"vx-col md:w-1/2 w-full\">\r\n <vs-input class=\"w-full mt-4\" label=\"Username\" v-model=\"data_local.username\" v-validate=\"'required|alpha_num'\" name=\"username\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('username')\">{{ errors.first('username') }}</span>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"Name\" v-model=\"data_local.name\" v-validate=\"'required|alpha_spaces'\" name=\"name\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('name')\">{{ errors.first('name') }}</span>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"Email\" v-model=\"data_local.email\" type=\"email\" v-validate=\"'required|email'\" name=\"email\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('email')\">{{ errors.first('email') }}</span>\r\n </div>\r\n\r\n <div class=\"vx-col md:w-1/2 w-full\">\r\n\r\n <div class=\"mt-4\">\r\n <label class=\"vs-input--label\">Status</label>\r\n <v-select v-model=\"status_local\" :clearable=\"false\" :options=\"statusOptions\" v-validate=\"'required'\" name=\"status\" :dir=\"$vs.rtl ? 'rtl' : 'ltr'\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('status')\">{{ errors.first('status') }}</span>\r\n </div>\r\n\r\n <div class=\"mt-4\">\r\n <label class=\"vs-input--label\">Role</label>\r\n <v-select v-model=\"role_local\" :clearable=\"false\" :options=\"roleOptions\" v-validate=\"'required'\" name=\"role\" :dir=\"$vs.rtl ? 'rtl' : 'ltr'\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('role')\">{{ errors.first('role') }}</span>\r\n </div>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"Company\" v-model=\"data_local.company\" v-validate=\"'alpha_spaces'\" name=\"company\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('company')\">{{ errors.first('company') }}</span>\r\n\r\n </div>\r\n </div>\r\n\r\n <!-- Permissions -->\r\n <vx-card class=\"mt-base\" no-shadow card-border>\r\n\r\n <div class=\"vx-row\">\r\n <div class=\"vx-col w-full\">\r\n <div class=\"flex items-end px-3\">\r\n <feather-icon svgClasses=\"w-6 h-6\" icon=\"LockIcon\" class=\"mr-2\" />\r\n <span class=\"font-medium text-lg leading-none\">Permissions</span>\r\n </div>\r\n <vs-divider />\r\n </div>\r\n </div>\r\n\r\n <div class=\"block overflow-x-auto\">\r\n <table class=\"w-full\">\r\n <tr>\r\n <!--\r\n You can also use `Object.keys(Object.values(data_local.permissions)[0])` this logic if you consider,\r\n our data structure. You just have to loop over above variable to get table headers.\r\n Below we made it simple. So, everyone can understand.\r\n -->\r\n <th class=\"font-semibold text-base text-left px-3 py-2\" v-for=\"heading in ['Module', 'Read', 'Write', 'Create', 'Delete']\" :key=\"heading\">{{ heading }}</th>\r\n </tr>\r\n\r\n <tr v-for=\"(val, name) in data_local.permissions\" :key=\"name\">\r\n <td class=\"px-3 py-2\">{{ name }}</td>\r\n <td v-for=\"(permission, name) in val\" class=\"px-3 py-2\" :key=\"name+permission\">\r\n <vs-checkbox v-model=\"val[name]\" />\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n\r\n </vx-card>\r\n\r\n <!-- Save & Reset Button -->\r\n <div class=\"vx-row\">\r\n <div class=\"vx-col w-full\">\r\n <div class=\"mt-8 flex flex-wrap items-center justify-end\">\r\n <vs-button class=\"ml-auto mt-2\" @click=\"save_changes\" :disabled=\"!validateForm\">ذخیره تغییرات</vs-button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport vSelect from 'vue-select'\r\n\r\nexport default {\r\n components: {\r\n vSelect\r\n },\r\n props: {\r\n data: {\r\n type: Object,\r\n required: true\r\n }\r\n },\r\n data () {\r\n return {\r\n\r\n data_local: JSON.parse(JSON.stringify(this.data)),\r\n\r\n statusOptions: [\r\n { label: 'Active', value: 'active' },\r\n { label: 'Blocked', value: 'blocked' },\r\n { label: 'Deactivated', value: 'deactivated' }\r\n ],\r\n roleOptions: [\r\n { label: 'Admin', value: 'admin' },\r\n { label: 'User', value: 'user' },\r\n { label: 'Staff', value: 'staff' }\r\n ]\r\n }\r\n },\r\n computed: {\r\n status_local: {\r\n get () {\r\n return { label: this.capitalize(this.data_local.status), value: this.data_local.status }\r\n },\r\n set (obj) {\r\n this.data_local.status = obj.value\r\n }\r\n },\r\n role_local: {\r\n get () {\r\n return { label: this.capitalize(this.data_local.role), value: this.data_local.role }\r\n },\r\n set (obj) {\r\n this.data_local.role = obj.value\r\n }\r\n },\r\n validateForm () {\r\n return !this.errors.any()\r\n }\r\n },\r\n methods: {\r\n capitalize (str) {\r\n return str.slice(0, 1).toUpperCase() + str.slice(1, str.length)\r\n },\r\n save_changes () {\r\n /* eslint-disable */\r\n if (!this.validateForm) return\r\n\r\n // Here will go your API call for updating data\r\n // You can get data in \"this.data_local\"\r\n\r\n /* eslint-enable */\r\n },\r\n reset_data () {\r\n this.data_local = JSON.parse(JSON.stringify(this.data))\r\n },\r\n update_avatar () {\r\n // You can update avatar Here\r\n // For reference you can check dataList example\r\n // We haven't integrated it here, because data isn't saved in DB\r\n }\r\n }\r\n}\r\n</script>\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!./CustomerEditTabAccount.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!./CustomerEditTabAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomerEditTabAccount.vue?vue&type=template&id=cc1c6666&\"\nimport script from \"./CustomerEditTabAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomerEditTabAccount.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 render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"user-edit-tab-info\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full md:w-1/2\"},[_c('div',{staticClass:\"flex items-end\"},[_c('feather-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"UserIcon\",\"svgClasses\":\"w-5 h-5\"}}),_c('span',{staticClass:\"leading-none font-medium\"},[_vm._v(\"Personal Information\")])],1),_c('div',[_c('div',{staticClass:\"mt-4\"},[_c('label',{staticClass:\"text-sm\"},[_vm._v(\"Birth Date\")]),_c('flat-pickr',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full\",attrs:{\"config\":{ dateFormat: 'd F Y', maxDate: new Date() },\"name\":\"dob\"},model:{value:(_vm.data_local.dob),callback:function ($$v) {_vm.$set(_vm.data_local, \"dob\", $$v)},expression:\"data_local.dob\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('dob')),expression:\"errors.has('dob')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('dob')))])],1),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:({regex: '^\\\\+?([0-9]+)$' }),expression:\"{regex: '^\\\\\\\\+?([0-9]+)$' }\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Mobile\",\"name\":\"mobile\"},model:{value:(_vm.data_local.mobile),callback:function ($$v) {_vm.$set(_vm.data_local, \"mobile\", $$v)},expression:\"data_local.mobile\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('mobile')),expression:\"errors.has('mobile')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('mobile')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('url:require_protocol'),expression:\"'url:require_protocol'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Website\",\"name\":\"website\",\"data-vv-as\":\"field\"},model:{value:(_vm.data_local.website),callback:function ($$v) {_vm.$set(_vm.data_local, \"website\", $$v)},expression:\"data_local.website\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('website')),expression:\"errors.has('website')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('website')))]),_c('div',{staticClass:\"mt-4\"},[_c('label',{staticClass:\"text-sm\"},[_vm._v(\"Languages\")]),_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],attrs:{\"multiple\":\"\",\"closeOnSelect\":false,\"options\":_vm.langOptions,\"name\":\"lang_known\",\"dir\":_vm.$vs.rtl ? 'rtl' : 'ltr'},model:{value:(_vm.data_local.languages_known),callback:function ($$v) {_vm.$set(_vm.data_local, \"languages_known\", $$v)},expression:\"data_local.languages_known\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('lang_known')),expression:\"errors.has('lang_known')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('lang_known')))])],1),_c('div',{staticClass:\"mt-4\"},[_c('label',{staticClass:\"text-sm\"},[_vm._v(\"Gender\")]),_c('div',{staticClass:\"mt-2\"},[_c('vs-radio',{staticClass:\"mr-4\",attrs:{\"vs-value\":\"male\"},model:{value:(_vm.data_local.gender),callback:function ($$v) {_vm.$set(_vm.data_local, \"gender\", $$v)},expression:\"data_local.gender\"}},[_vm._v(\"Male\")]),_c('vs-radio',{staticClass:\"mr-4\",attrs:{\"vs-value\":\"female\"},model:{value:(_vm.data_local.gender),callback:function ($$v) {_vm.$set(_vm.data_local, \"gender\", $$v)},expression:\"data_local.gender\"}},[_vm._v(\"Female\")]),_c('vs-radio',{attrs:{\"vs-value\":\"other\"},model:{value:(_vm.data_local.gender),callback:function ($$v) {_vm.$set(_vm.data_local, \"gender\", $$v)},expression:\"data_local.gender\"}},[_vm._v(\"Other\")])],1)]),_c('div',{staticClass:\"mt-6\"},[_c('label',[_vm._v(\"Contact Options\")]),_c('div',{staticClass:\"flex flex-wrap mt-1\"},[_c('vs-checkbox',{staticClass:\"mr-4 mb-2\",attrs:{\"vs-value\":\"email\"},model:{value:(_vm.data_local.contact_options),callback:function ($$v) {_vm.$set(_vm.data_local, \"contact_options\", $$v)},expression:\"data_local.contact_options\"}},[_vm._v(\"Email\")]),_c('vs-checkbox',{staticClass:\"mr-4 mb-2\",attrs:{\"vs-value\":\"message\"},model:{value:(_vm.data_local.contact_options),callback:function ($$v) {_vm.$set(_vm.data_local, \"contact_options\", $$v)},expression:\"data_local.contact_options\"}},[_vm._v(\"Message\")]),_c('vs-checkbox',{staticClass:\"mb-2\",attrs:{\"vs-value\":\"Phone\"},model:{value:(_vm.data_local.contact_options),callback:function ($$v) {_vm.$set(_vm.data_local, \"contact_options\", $$v)},expression:\"data_local.contact_options\"}},[_vm._v(\"Phone\")])],1)])],1)]),_c('div',{staticClass:\"vx-col w-full md:w-1/2\"},[_c('div',{staticClass:\"flex items-end md:mt-0 mt-base\"},[_c('feather-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"MapPinIcon\",\"svgClasses\":\"w-5 h-5\"}}),_c('span',{staticClass:\"leading-none font-medium\"},[_vm._v(\"Address\")])],1),_c('div',[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Address Line 1\",\"name\":\"addd_line_1\"},model:{value:(_vm.data_local.location.add_line_1),callback:function ($$v) {_vm.$set(_vm.data_local.location, \"add_line_1\", $$v)},expression:\"data_local.location.add_line_1\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('addd_line_1')),expression:\"errors.has('addd_line_1')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('addd_line_1')))]),_c('vs-input',{staticClass:\"w-full mt-4\",attrs:{\"label\":\"Address Line 2\"},model:{value:(_vm.data_local.location.add_line_2),callback:function ($$v) {_vm.$set(_vm.data_local.location, \"add_line_2\", $$v)},expression:\"data_local.location.add_line_2\"}}),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric'),expression:\"'required|numeric'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Post Code\",\"name\":\"post_code\"},model:{value:(_vm.data_local.location.post_code),callback:function ($$v) {_vm.$set(_vm.data_local.location, \"post_code\", $$v)},expression:\"data_local.location.post_code\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('post_code')),expression:\"errors.has('post_code')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('post_code')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|alpha'),expression:\"'required|alpha'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"City\",\"name\":\"city\"},model:{value:(_vm.data_local.location.city),callback:function ($$v) {_vm.$set(_vm.data_local.location, \"city\", $$v)},expression:\"data_local.location.city\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('city')),expression:\"errors.has('city')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('city')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|alpha'),expression:\"'required|alpha'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"State\",\"name\":\"state\"},model:{value:(_vm.data_local.location.state),callback:function ($$v) {_vm.$set(_vm.data_local.location, \"state\", $$v)},expression:\"data_local.location.state\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('state')),expression:\"errors.has('state')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('state')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|alpha'),expression:\"'required|alpha'\"}],staticClass:\"w-full mt-4\",attrs:{\"label\":\"Country\",\"name\":\"country\"},model:{value:(_vm.data_local.location.country),callback:function ($$v) {_vm.$set(_vm.data_local.location, \"country\", $$v)},expression:\"data_local.location.country\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('country')),expression:\"errors.has('country')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('country')))])],1)])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"mt-8 flex flex-wrap items-center justify-end\"},[_c('vs-button',{staticClass:\"ml-auto mt-2\",attrs:{\"disabled\":!_vm.validateForm},on:{\"click\":_vm.save_changes}},[_vm._v(\"ذخیره تغییرات\")])],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- =========================================================================================\r\n File Name: UserEditTabInformation.vue\r\n Description: User Edit Information Tab content\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n========================================================================================== -->\r\n\r\n<template>\r\n <div id=\"user-edit-tab-info\">\r\n <div class=\"vx-row\">\r\n <div class=\"vx-col w-full md:w-1/2\">\r\n\r\n <!-- Col Header -->\r\n <div class=\"flex items-end\">\r\n <feather-icon icon=\"UserIcon\" class=\"mr-2\" svgClasses=\"w-5 h-5\" />\r\n <span class=\"leading-none font-medium\">Personal Information</span>\r\n </div>\r\n\r\n <!-- Col Content -->\r\n <div>\r\n\r\n <!-- DOB -->\r\n <div class=\"mt-4\">\r\n <label class=\"text-sm\">Birth Date</label>\r\n <flat-pickr v-model=\"data_local.dob\" :config=\"{ dateFormat: 'd F Y', maxDate: new Date() }\" class=\"w-full\" v-validate=\"'required'\" name=\"dob\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('dob')\">{{ errors.first('dob') }}</span>\r\n </div>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"Mobile\" v-model=\"data_local.mobile\" v-validate=\"{regex: '^\\\\+?([0-9]+)$' }\" name=\"mobile\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('mobile')\">{{ errors.first('mobile') }}</span>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"Website\" v-model=\"data_local.website\" v-validate=\"'url:require_protocol'\" name=\"website\" data-vv-as=\"field\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('website')\">{{ errors.first('website') }}</span>\r\n\r\n <div class=\"mt-4\">\r\n <label class=\"text-sm\">Languages</label>\r\n <v-select v-model=\"data_local.languages_known\" multiple :closeOnSelect=\"false\" :options=\"langOptions\" v-validate=\"'required'\" name=\"lang_known\" :dir=\"$vs.rtl ? 'rtl' : 'ltr'\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('lang_known')\">{{ errors.first('lang_known') }}</span>\r\n </div>\r\n\r\n <!-- Gender -->\r\n <div class=\"mt-4\">\r\n <label class=\"text-sm\">Gender</label>\r\n <div class=\"mt-2\">\r\n <vs-radio v-model=\"data_local.gender\" vs-value=\"male\" class=\"mr-4\">Male</vs-radio>\r\n <vs-radio v-model=\"data_local.gender\" vs-value=\"female\" class=\"mr-4\">Female</vs-radio>\r\n <vs-radio v-model=\"data_local.gender\" vs-value=\"other\">Other</vs-radio>\r\n </div>\r\n </div>\r\n\r\n <div class=\"mt-6\">\r\n <label>Contact Options</label>\r\n <div class=\"flex flex-wrap mt-1\">\r\n <vs-checkbox v-model=\"data_local.contact_options\" vs-value=\"email\" class=\"mr-4 mb-2\">Email</vs-checkbox>\r\n <vs-checkbox v-model=\"data_local.contact_options\" vs-value=\"message\" class=\"mr-4 mb-2\">Message</vs-checkbox>\r\n <vs-checkbox v-model=\"data_local.contact_options\" vs-value=\"Phone\" class=\" mb-2\">Phone</vs-checkbox>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n <!-- Address Col -->\r\n <div class=\"vx-col w-full md:w-1/2\">\r\n\r\n <!-- Col Header -->\r\n <div class=\"flex items-end md:mt-0 mt-base\">\r\n <feather-icon icon=\"MapPinIcon\" class=\"mr-2\" svgClasses=\"w-5 h-5\" />\r\n <span class=\"leading-none font-medium\">Address</span>\r\n </div>\r\n\r\n <!-- Col Content -->\r\n <div>\r\n <vs-input class=\"w-full mt-4\" label=\"Address Line 1\" v-model=\"data_local.location.add_line_1\" v-validate=\"'required'\" name=\"addd_line_1\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('addd_line_1')\">{{ errors.first('addd_line_1') }}</span>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"Address Line 2\" v-model=\"data_local.location.add_line_2\" />\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"Post Code\" v-model=\"data_local.location.post_code\" v-validate=\"'required|numeric'\" name=\"post_code\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('post_code')\">{{ errors.first('post_code') }}</span>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"City\" v-model=\"data_local.location.city\" v-validate=\"'required|alpha'\" name=\"city\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('city')\">{{ errors.first('city') }}</span>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"State\" v-model=\"data_local.location.state\" v-validate=\"'required|alpha'\" name=\"state\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('state')\">{{ errors.first('state') }}</span>\r\n\r\n <vs-input class=\"w-full mt-4\" label=\"Country\" v-model=\"data_local.location.country\" v-validate=\"'required|alpha'\" name=\"country\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('country')\">{{ errors.first('country') }}</span>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-- Save & Reset Button -->\r\n <div class=\"vx-row\">\r\n <div class=\"vx-col w-full\">\r\n <div class=\"mt-8 flex flex-wrap items-center justify-end\">\r\n <vs-button class=\"ml-auto mt-2\" @click=\"save_changes\" :disabled=\"!validateForm\">ذخیره تغییرات</vs-button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport flatPickr from 'vue-flatpickr-component'\r\nimport 'flatpickr/dist/flatpickr.css'\r\nimport vSelect from 'vue-select'\r\n\r\nexport default {\r\n components: {\r\n vSelect,\r\n flatPickr\r\n },\r\n props: {\r\n data: {\r\n type: Object,\r\n required: true\r\n }\r\n },\r\n data () {\r\n return {\r\n\r\n data_local: JSON.parse(JSON.stringify(this.data)),\r\n\r\n langOptions: [\r\n { label: 'English', value: 'english' },\r\n { label: 'Spanish', value: 'spanish' },\r\n { label: 'French', value: 'french' },\r\n { label: 'Russian', value: 'russian' },\r\n { label: 'German', value: 'german' },\r\n { label: 'Arabic', value: 'arabic' },\r\n { label: 'Sanskrit', value: 'sanskrit' }\r\n ]\r\n }\r\n },\r\n computed: {\r\n validateForm () {\r\n return !this.errors.any()\r\n }\r\n },\r\n methods: {\r\n save_changes () {\r\n /* eslint-disable */\r\n if (!this.validateForm) return\r\n\r\n // Here will go your API call for updating data\r\n // You can get data in \"this.data_local\"\r\n\r\n /* eslint-enable */\r\n },\r\n reset_data () {\r\n this.data_local = Object.assign({}, this.data)\r\n }\r\n }\r\n}\r\n</script>\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!./CustomerEditTabInformation.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!./CustomerEditTabInformation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomerEditTabInformation.vue?vue&type=template&id=4db2d9ce&\"\nimport script from \"./CustomerEditTabInformation.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomerEditTabInformation.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 render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"user-edit-tab-info\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full md:w-1/2\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('url:require_protocol'),expression:\"'url:require_protocol'\"}],staticClass:\"w-full\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-twitter\",\"label\":\"Twitter\",\"icon-no-border\":\"\",\"name\":\"twitter\"},model:{value:(_vm.data_local.social_links.twitter),callback:function ($$v) {_vm.$set(_vm.data_local.social_links, \"twitter\", $$v)},expression:\"data_local.social_links.twitter\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('twitter')),expression:\"errors.has('twitter')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('twitter')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('url:require_protocol'),expression:\"'url:require_protocol'\"}],staticClass:\"w-full mt-4\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-facebook\",\"label\":\"Facebook\",\"icon-no-border\":\"\",\"name\":\"facebook\"},model:{value:(_vm.data_local.social_links.facebook),callback:function ($$v) {_vm.$set(_vm.data_local.social_links, \"facebook\", $$v)},expression:\"data_local.social_links.facebook\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('facebook')),expression:\"errors.has('facebook')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('facebook')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('url:require_protocol'),expression:\"'url:require_protocol'\"}],staticClass:\"w-full mt-4\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-instagram\",\"label\":\"Instagram\",\"icon-no-border\":\"\",\"name\":\"instagram\"},model:{value:(_vm.data_local.social_links.instagram),callback:function ($$v) {_vm.$set(_vm.data_local.social_links, \"instagram\", $$v)},expression:\"data_local.social_links.instagram\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('instagram')),expression:\"errors.has('instagram')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('instagram')))])],1),_c('div',{staticClass:\"vx-col w-full md:w-1/2\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('url:require_protocol'),expression:\"'url:require_protocol'\"}],staticClass:\"w-full mt-4 md:mt-0\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-github\",\"label\":\"GitHub\",\"icon-no-border\":\"\",\"name\":\"github\"},model:{value:(_vm.data_local.social_links.github),callback:function ($$v) {_vm.$set(_vm.data_local.social_links, \"github\", $$v)},expression:\"data_local.social_links.github\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('github')),expression:\"errors.has('github')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('github')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('url:require_protocol'),expression:\"'url:require_protocol'\"}],staticClass:\"w-full mt-4\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-codepen\",\"label\":\"CodePen\",\"icon-no-border\":\"\",\"name\":\"codepen\"},model:{value:(_vm.data_local.social_links.codepen),callback:function ($$v) {_vm.$set(_vm.data_local.social_links, \"codepen\", $$v)},expression:\"data_local.social_links.codepen\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('codepen')),expression:\"errors.has('codepen')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('codepen')))]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('url:require_protocol'),expression:\"'url:require_protocol'\"}],staticClass:\"w-full mt-4\",attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-slack\",\"label\":\"Slack\",\"icon-no-border\":\"\",\"name\":\"slack\"},model:{value:(_vm.data_local.social_links.slack),callback:function ($$v) {_vm.$set(_vm.data_local.social_links, \"slack\", $$v)},expression:\"data_local.social_links.slack\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('slack')),expression:\"errors.has('slack')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('slack')))])],1)]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"mt-8 flex flex-wrap items-center justify-end\"},[_c('vs-button',{staticClass:\"ml-auto mt-2\",attrs:{\"disabled\":!_vm.validateForm},on:{\"click\":_vm.save_changes}},[_vm._v(\"Save Changes\")]),_c('vs-button',{staticClass:\"ml-4 mt-2\",attrs:{\"type\":\"border\",\"color\":\"warning\"},on:{\"click\":_vm.reset_data}},[_vm._v(\"Reset\")])],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!-- =========================================================================================\r\n File Name: UserEditTabSocial.vue\r\n Description: User Edit Social Tab content\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n========================================================================================== -->\r\n\r\n<template>\r\n <div id=\"user-edit-tab-info\">\r\n <div class=\"vx-row\">\r\n\r\n <!-- Col 1 -->\r\n <div class=\"vx-col w-full md:w-1/2\">\r\n <vs-input\r\n class=\"w-full\"\r\n v-model=\"data_local.social_links.twitter\"\r\n icon-pack=\"feather\"\r\n icon=\"icon-twitter\"\r\n label=\"Twitter\"\r\n icon-no-border\r\n v-validate=\"'url:require_protocol'\"\r\n name=\"twitter\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('twitter')\">{{ errors.first('twitter') }}</span>\r\n\r\n <vs-input\r\n class=\"w-full mt-4\"\r\n v-model=\"data_local.social_links.facebook\"\r\n icon-pack=\"feather\"\r\n icon=\"icon-facebook\"\r\n label=\"Facebook\"\r\n icon-no-border\r\n v-validate=\"'url:require_protocol'\"\r\n name=\"facebook\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('facebook')\">{{ errors.first('facebook') }}</span>\r\n\r\n <vs-input\r\n class=\"w-full mt-4\"\r\n v-model=\"data_local.social_links.instagram\"\r\n icon-pack=\"feather\"\r\n icon=\"icon-instagram\"\r\n label=\"Instagram\"\r\n icon-no-border\r\n v-validate=\"'url:require_protocol'\"\r\n name=\"instagram\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('instagram')\">{{ errors.first('instagram') }}</span>\r\n\r\n </div>\r\n\r\n <!-- Col 2 -->\r\n <div class=\"vx-col w-full md:w-1/2\">\r\n <vs-input\r\n class=\"w-full mt-4 md:mt-0\"\r\n v-model=\"data_local.social_links.github\"\r\n icon-pack=\"feather\"\r\n icon=\"icon-github\"\r\n label=\"GitHub\"\r\n icon-no-border\r\n v-validate=\"'url:require_protocol'\"\r\n name=\"github\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('github')\">{{ errors.first('github') }}</span>\r\n\r\n <vs-input\r\n class=\"w-full mt-4\"\r\n v-model=\"data_local.social_links.codepen\"\r\n icon-pack=\"feather\"\r\n icon=\"icon-codepen\"\r\n label=\"CodePen\"\r\n icon-no-border\r\n v-validate=\"'url:require_protocol'\"\r\n name=\"codepen\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('codepen')\">{{ errors.first('codepen') }}</span>\r\n\r\n <vs-input\r\n class=\"w-full mt-4\"\r\n v-model=\"data_local.social_links.slack\"\r\n icon-pack=\"feather\"\r\n icon=\"icon-slack\"\r\n label=\"Slack\"\r\n icon-no-border\r\n v-validate=\"'url:require_protocol'\"\r\n name=\"slack\" />\r\n <span class=\"text-danger text-sm\" v-show=\"errors.has('slack')\">{{ errors.first('slack') }}</span>\r\n\r\n </div>\r\n </div>\r\n\r\n <!-- Save & Reset Button -->\r\n <div class=\"vx-row\">\r\n <div class=\"vx-col w-full\">\r\n <div class=\"mt-8 flex flex-wrap items-center justify-end\">\r\n <vs-button class=\"ml-auto mt-2\" @click=\"save_changes\" :disabled=\"!validateForm\">Save Changes</vs-button>\r\n <vs-button class=\"ml-4 mt-2\" type=\"border\" color=\"warning\" @click=\"reset_data\">Reset</vs-button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n props: {\r\n data: {\r\n type: Object,\r\n required: true\r\n }\r\n },\r\n data () {\r\n return {\r\n data_local: JSON.parse(JSON.stringify(this.data))\r\n }\r\n },\r\n computed: {\r\n validateForm () {\r\n return !this.errors.any()\r\n }\r\n },\r\n methods: {\r\n save_changes () {\r\n /* eslint-disable */\r\n if (!this.validateForm) return\r\n\r\n // Here will go your API call for updating data (Also remvoe eslint-disable)\r\n // You can get data in \"this.data_local\"\r\n\r\n /* eslint-enable */\r\n },\r\n reset_data () {\r\n this.data_local = Object.assign({}, this.data)\r\n }\r\n }\r\n}\r\n</script>\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!./CustomerEditTabSocial.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!./CustomerEditTabSocial.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomerEditTabSocial.vue?vue&type=template&id=4b007af4&\"\nimport script from \"./CustomerEditTabSocial.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomerEditTabSocial.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","<!-- =========================================================================================\r\n File Name: UserEdit.vue\r\n Description: User Edit Page\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template\r\n Author: Pixinvent\r\n Author URL: http://www.themeforest.net/user/pixinvent\r\n========================================================================================== -->\r\n\r\n<template>\r\n <div id=\"page-user-edit\">\r\n\r\n <vs-alert color=\"danger\" title=\"User Not Found\" :active.sync=\"user_not_found\">\r\n <span>User record with id: {{ $route.params.userId }} not found. </span>\r\n <span>\r\n <span>Check </span><router-link :to=\"{name:'page-user-list'}\" class=\"text-inherit underline\">All Users</router-link>\r\n </span>\r\n </vs-alert>\r\n\r\n <vx-card v-if=\"user_data\">\r\n\r\n <div slot=\"no-body\" class=\"tabs-container px-6 pt-6\">\r\n\r\n <vs-tabs v-model=\"activeTab\" class=\"tab-action-btn-fill-conatiner\">\r\n <vs-tab label=\"اطلاعات کاربری\" icon-pack=\"feather\" icon=\"icon-user\">\r\n <div class=\"tab-text\">\r\n <customer-edit-tab-account class=\"mt-4\" :data=\"user_data\" />\r\n </div>\r\n </vs-tab>\r\n <vs-tab label=\"اطلاعات مالی\" icon-pack=\"feather\" icon=\"icon-info\">\r\n <div class=\"tab-text\">\r\n <customer-edit-tab-information class=\"mt-4\" :data=\"user_data\" />\r\n </div>\r\n </vs-tab>\r\n </vs-tabs>\r\n\r\n </div>\r\n\r\n </vx-card>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport CustomerEditTabAccount from './CustomerEditTabAccount.vue'\r\nimport CustomerEditTabInformation from './CustomerEditTabInformation.vue'\r\nimport CustomerEditTabSocial from './CustomerEditTabSocial.vue'\r\n\r\n// Store Module\r\nimport moduleUserManagement from '@/store/user-management/moduleUserManagement.js'\r\n\r\nexport default {\r\n name:'CustomerEdit',\r\n components: {\r\n CustomerEditTabAccount,\r\n CustomerEditTabInformation,\r\n CustomerEditTabSocial\r\n },\r\n data () {\r\n return {\r\n user_data: null,\r\n user_not_found: false,\r\n\r\n /*\r\n This property is created for fetching latest data from API when tab is changed\r\n\r\n Please check it's watcher\r\n */\r\n activeTab: 0\r\n }\r\n },\r\n watch: {\r\n activeTab () {\r\n this.fetch_user_data(this.$route.params.userId)\r\n }\r\n },\r\n methods: {\r\n fetch_user_data (userId) {\r\n this.$store.dispatch('userManagement/fetchUser', userId)\r\n .then(res => { this.user_data = res.data })\r\n .catch(err => {\r\n if (err.response.status === 404) {\r\n this.user_not_found = true\r\n return\r\n }\r\n console.error(err)\r\n })\r\n }\r\n },\r\n created () {\r\n // Register Module UserManagement Module\r\n if (!moduleUserManagement.isRegistered) {\r\n this.$store.registerModule('userManagement', moduleUserManagement)\r\n moduleUserManagement.isRegistered = true\r\n }\r\n this.fetch_user_data(this.$route.params.userId)\r\n }\r\n}\r\n\r\n</script>\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!./CustomerEdit.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!./CustomerEdit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomerEdit.vue?vue&type=template&id=263c5f60&\"\nimport script from \"./CustomerEdit.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomerEdit.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":""}
Copyright ©2k19 -
Hexid
|
Tex7ure