\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!./configProfile.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!./configProfile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./configProfile.vue?vue&type=template&id=025d4f9a&scoped=true&\"\nimport script from \"./configProfile.vue?vue&type=script&lang=js&\"\nexport * from \"./configProfile.vue?vue&type=script&lang=js&\"\nimport style0 from \"./configProfile.vue?vue&type=style&index=0&lang=scss&\"\nimport style1 from \"./configProfile.vue?vue&type=style&index=1&id=025d4f9a&lang=scss&scoped=true&\"\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 \"025d4f9a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./confirmmodal2.vue?vue&type=style&index=0&id=b5943d36&lang=scss&scoped=true&\"","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./personalprofile.vue?vue&type=style&index=1&lang=scss&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./alertmodal2.vue?vue&type=style&index=0&id=00b8c840&lang=scss&scoped=true&\"","import Vue from 'vue'\r\nimport BzbsApi from '@/core/Http/BzbsApi.js'\r\nimport Cache from '@/helper/Cache.js'\r\n/**\r\n * @method getCRMPlusStaff\r\n * @method getCRMPlusAdmin\r\n */\r\nexport default {\r\n config: function () {\r\n return Vue.bzbsConfig\r\n },\r\n token: function () {\r\n return Cache.get('CRMUser').Token\r\n },\r\n agencyId: function () {\r\n return Cache.get('CRMUser').AgencyId\r\n },\r\n getCRMPlusAllUser: function (data, filter) {\r\n const params = {\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n active: data.active,\r\n branchId: data.branchId,\r\n branchName: data.branchName,\r\n name: filter,\r\n email: filter,\r\n }\r\n var strUrl = this.config().bzbsModuleUrl + '/crmplususer/all'\r\n return BzbsApi.connectBzbsGet(strUrl, this.token(), params)\r\n },\r\n getCRMPlusUserList: function (data, type, filter) {\r\n const params = {\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n active: data.active,\r\n branchId: data.branchId,\r\n branchName: data.branchName,\r\n crmPlusRole: type,\r\n name: filter,\r\n email: filter,\r\n }\r\n var strUrl = this.config().bzbsModuleUrl + '/crmplusadmin'\r\n return BzbsApi.connectBzbsGet(strUrl, this.token(), params)\r\n },\r\n getCRMPlusStaffUserList: function (data, filter) {\r\n const params = {\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n active: data.active,\r\n branchId: data.branchId,\r\n branchName: data.branchName,\r\n name: filter,\r\n email: filter,\r\n }\r\n var strUrl = this.config().bzbsModuleUrl + '/crmplusstaff'\r\n return BzbsApi.connectBzbsGet(strUrl, this.token(), params)\r\n },\r\n getCRMPlusStoreInfo: function data() {\r\n const params = {\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n }\r\n\r\n var strUrl = this.config().bzbsModuleUrl + '/crmplusoffice/profile'\r\n return BzbsApi.connectBzbsGet(strUrl, this.token(), params)\r\n },\r\n CreatPermission: function data(data) {\r\n const params = {\r\n ...data,\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n }\r\n\r\n var strUrl =\r\n this.config().bzbsModuleUrl +\r\n '/crmplususer/create?agencyId=' +\r\n this.agencyId()\r\n return BzbsApi.connectBzbsPost(strUrl, this.token(), params)\r\n },\r\n EditPermission: function data(data) {\r\n const params = {\r\n ...data,\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n }\r\n\r\n var strUrl =\r\n this.config().bzbsModuleUrl +\r\n '/crmplususer/edit?agencyId=' +\r\n this.agencyId()\r\n return BzbsApi.connectBzbsPost(strUrl, this.token(), params)\r\n },\r\n DeletePermission: function data(pk) {\r\n const params = {\r\n pk: pk,\r\n }\r\n\r\n var strUrl =\r\n this.config().bzbsModuleUrl +\r\n '/crmplususer/delete?agencyId=' +\r\n this.agencyId()\r\n return BzbsApi.connectBzbsDeleteFormData(strUrl, this.token(), params)\r\n },\r\n postCRMPlusCreateUser: function data(data) {\r\n let isOperator = false\r\n let newStaffRole = false\r\n if (data.role === 'operator') {\r\n isOperator = true\r\n newStaffRole = false\r\n } else if (data.role === 'admin') {\r\n isOperator = false\r\n newStaffRole = false\r\n } else {\r\n newStaffRole = true\r\n }\r\n const params = {\r\n ...data,\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n isOperator,\r\n newStaffRole,\r\n }\r\n\r\n var strUrl =\r\n this.config().bzbsModuleUrl + '/crmplusadmin?agencyId=' + this.agencyId()\r\n return BzbsApi.connectBzbsPost(strUrl, this.token(), params)\r\n },\r\n postCRMPlusUpdateUser: function data(data) {\r\n console.log(data)\r\n let params = {}\r\n if (data.role) {\r\n params = {\r\n ...data,\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n crmPlusRole: data.role,\r\n isDeleted: false,\r\n }\r\n } else {\r\n params = {\r\n ...data,\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n isDeleted: false,\r\n }\r\n }\r\n let id = data.userNameApi\r\n if (data.oldRole === 'staff') {\r\n id = data.PartitionKey\r\n }\r\n var strUrl =\r\n this.config().bzbsModuleUrl +\r\n '/crmplus' +\r\n data.oldRole +\r\n '/' +\r\n id +\r\n '?agencyId=' +\r\n this.agencyId()\r\n\r\n //if id is \"xxx.y\" then error url. by Achira\r\n if (id.includes('.') && !data.PartitionKey.includes('.')) {\r\n id = data.PartitionKey\r\n strUrl =\r\n this.config().bzbsModuleUrl +\r\n '/crmplus' +\r\n data.oldRole +\r\n '/' +\r\n id +\r\n '?agencyId=' +\r\n this.agencyId() +\r\n '&check_by_pk=true'\r\n }\r\n\r\n return BzbsApi.connectBzbsPost(strUrl, this.token(), params)\r\n },\r\n postCRMPlusDeleteUser: function data(data) {\r\n const params = {\r\n ...data,\r\n device_app_id: this.config().client_id,\r\n agencyId: this.agencyId(),\r\n crmPlusRole: data.role,\r\n isDeleted: true,\r\n }\r\n let id = data.userNameApi\r\n if (data.oldRole === 'staff') {\r\n id = data.PartitionKey\r\n }\r\n var strUrl =\r\n this.config().bzbsModuleUrl +\r\n '/crmplus' +\r\n data.oldRole +\r\n '/' +\r\n id +\r\n '?agencyId=' +\r\n this.agencyId()\r\n\r\n //if id is \"xxx.y\" then error url.\r\n if (id.includes('.') && !data.PartitionKey.includes('.')) {\r\n id = data.PartitionKey\r\n strUrl =\r\n this.config().bzbsModuleUrl +\r\n '/crmplus' +\r\n data.oldRole +\r\n '/' +\r\n id +\r\n '?agencyId=' +\r\n this.agencyId() +\r\n '&check_by_pk=true'\r\n }\r\n return BzbsApi.connectBzbsPost(strUrl, this.token(), params)\r\n },\r\n}\r\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Package.vue?vue&type=style&index=0&id=13cc51a5&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['mainBG', _vm.isOpenModal ? 'open' : '']},[_c('div',{staticClass:\"mainModal\"},[_c('div',{staticClass:\"icon\"},[(_vm.modalType == 'success')?_c('img',{attrs:{\"src\":require(\"@/assets/images/Done-circle2.svg\"),\"alt\":\"success\",\"width\":\"100\",\"height\":\"100\"}}):_vm._e(),(_vm.modalType == 'error')?_c('img',{attrs:{\"src\":require(\"@/assets/images/Error-circle.svg\"),\"alt\":\"error\",\"width\":\"100\",\"height\":\"100\"}}):_vm._e()]),_c('div',{staticClass:\"titleText\"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"details\"},[_vm._v(_vm._s(_vm.details))]),(_vm.desciption)?_c('div',{staticClass:\"details\"},[_vm._v(_vm._s(_vm.desciption))]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
{{ title }}
\r\n
{{ details }}
\r\n
{{ desciption }}
\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!./alertmodal2.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!./alertmodal2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./alertmodal2.vue?vue&type=template&id=00b8c840&scoped=true&\"\nimport script from \"./alertmodal2.vue?vue&type=script&lang=js&\"\nexport * from \"./alertmodal2.vue?vue&type=script&lang=js&\"\nimport style0 from \"./alertmodal2.vue?vue&type=style&index=0&id=00b8c840&lang=scss&scoped=true&\"\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 \"00b8c840\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./personalprofile.vue?vue&type=style&index=0&id=01226e82&lang=scss&scoped=true&\"","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['mainBG', _vm.isOpenModal ? 'open' : '']},[_c('div',{staticClass:\"mainModal\"},[_c('div',{staticClass:\"title\"},[_c('div',{staticClass:\"icon\",class:[_vm.modalType]},[(_vm.modalType == 'warning')?_c('img',{attrs:{\"src\":require(\"@/assets/images/Warning-1-circle.svg\"),\"alt\":\"Warning\",\"width\":\"24\",\"height\":\"24\"}}):_vm._e(),(_vm.modalType == 'danger')?_c('img',{attrs:{\"src\":require(\"@/assets/images/Trash.svg\"),\"alt\":\"Trash\",\"width\":\"24\",\"height\":\"24\"}}):_vm._e(),(_vm.modalType == 'question')?_c('img',{attrs:{\"src\":require(\"@/assets/images/selfonboard/question-blue.svg\"),\"alt\":\"question\",\"width\":\"24\",\"height\":\"24\"}}):_vm._e()]),_c('div',{staticClass:\"titleText\",style:({ 'font-size': _vm.fontSize + 'px' })},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")])]),(_vm.banner)?_c('div',{staticClass:\"banner\"},[_c('img',{attrs:{\"src\":_vm.banner,\"alt\":\"banner\"}})]):_vm._e(),_c('div',{staticClass:\"details\",domProps:{\"innerHTML\":_vm._s(_vm.details)}}),_c('div',{staticClass:\"content\"},[_vm._t(\"default\")],2),_c('div',{staticClass:\"btnContainer\"},[(_vm.showbackto)?_c('button',{staticClass:\"outlineprimary\",class:[_vm.modalType],attrs:{\"id\":\"friendgetfriends_fgfmodal_onactionmodalback_button\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" \"+_vm._s(_vm.backto)+\" \")]):_vm._e(),_c('button',{staticClass:\"primarybtn\",class:[_vm.modalType],attrs:{\"id\":\"friendgetfriends_fgfmodal_onactionmodalconfirm_button\",\"disabled\":_vm.disabledConfirm},on:{\"click\":function($event){return _vm.onConfirm()}}},[(_vm.confirm)?_c('span',[_vm._v(\" \"+_vm._s(_vm.confirm))]):_c('span',[_vm._v(\" \"+_vm._s(_vm.lbl['fgf-confirm'])+\" \")])])])])])}\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 {{ title }}\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
\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!./confirmmodal2.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!./confirmmodal2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./confirmmodal2.vue?vue&type=template&id=b5943d36&scoped=true&\"\nimport script from \"./confirmmodal2.vue?vue&type=script&lang=js&\"\nexport * from \"./confirmmodal2.vue?vue&type=script&lang=js&\"\nimport style0 from \"./confirmmodal2.vue?vue&type=style&index=0&id=b5943d36&lang=scss&scoped=true&\"\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 \"b5943d36\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./configProfile.vue?vue&type=style&index=1&id=025d4f9a&lang=scss&scoped=true&\"","var isObject = require('./_is-object');\nvar isArray = require('./_is-array');\nvar SPECIES = require('./_wks')('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./configProfile.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}