{"version":3,"sources":["webpack:///./src/assets/img/icon/deleteFilledAntDesignRed.svg","webpack:///./node_modules/core-js/modules/es.regexp.constructor.js","webpack:///./src/views/master/courier/master/CourierForm.vue?f757","webpack:///./src/composables/master/courier/courierFormComposable.ts","webpack:///./src/views/master/courier/master/CourierForm.vue","webpack:///./src/views/master/courier/master/CourierForm.vue?1c14"],"names":["module","exports","DESCRIPTORS","global","isForced","inheritIfRequired","defineProperty","f","getOwnPropertyNames","isRegExp","getFlags","stickyHelpers","redefine","fails","setInternalState","set","setSpecies","wellKnownSymbol","MATCH","NativeRegExp","RegExp","RegExpPrototype","prototype","re1","re2","CORRECT_NEW","UNSUPPORTED_Y","FORCED","RegExpWrapper","pattern","flags","sticky","thisIsRegExp","this","patternIsRegExp","flagsAreUndefined","undefined","constructor","source","call","indexOf","replace","result","proxy","key","configurable","get","it","keys","index","length","_hoisted_1","id","_hoisted_2","_hoisted_3","class","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","style","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","for","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_64","_hoisted_65","_hoisted_66","_hoisted_67","_hoisted_68","_hoisted_69","_hoisted_70","_hoisted_71","_hoisted_72","_hoisted_73","_hoisted_74","_hoisted_75","_hoisted_76","_hoisted_77","_hoisted_78","_hoisted_79","_hoisted_80","_hoisted_81","_hoisted_82","_hoisted_83","_hoisted_84","_hoisted_85","_hoisted_86","_hoisted_87","src","alt","_hoisted_88","_hoisted_89","render","_ctx","_cache","$props","$setup","$data","$options","_component_InputText","_component_Password","_component_Calendar","_component_RadioButton","_component_Textarea","_component_Multiselect","_component_file_upload","_component_InputSwitch","_component_Button","_component_Card","_component_GoogleAutocomplete","content","onSubmit","$event","submitData","v$","$invalid","modelValue","phone","$model","placeholder","type","disabled","isDisabled","submitted","$pending","$response","required","$message","$errors","error","password","feedback","toggleMask","name","courierEmail","$error","maxlength","courierName","placeBirth","dateFormat","birthDate","genderOption","data","value","gender","autocomplete","ref","address","rows","cols","lastEducation","options","educationLevelOption","searchable","mariedStatus","mariedStatusOption","ktp","tempUploadKtp","onClick","uploadKtp","removeImage","onInputFile","onUploadKtp","accept","default","_","transportationType","transportationTypeOption","tempUploadStnk","uploadStnk","onUploadStnk","statusVaksin","statusVaksinOption","mode","tempUploadSertifikat","uploadSertifikat","onUploadSertifikat","dataForm","isActive","route","meta","permission","update","label","redirectBack","Id","delete","deleteData","isBlocked","blockedCourier","onSendDetail","setResultAddress","event","addressRef","search","jenisKtp","jenisSertifikat","jenisStnk","components","FileUpload","setup","router","app","store","username","showPassword","courierDocuments","validPassword","val","regex","test","rules","params","courierId","console","log","withMessage","numeric","maxLength","minLength","validPhone","email","go","appContext","config","globalProperties","$confirm","$toast","$strInd","listImage","$convertPhoneNumber","checkSrcListImage","filter","image","isDragActive","refUploadStnk","refUploadSertifikat","generateListImage","push","pushListImage","item","from","file","File","URL","createObjectURL","newFile","oldFile","showCamera","response","JSON","stringify","proccessUploadFile","senderId","listPromise","formData","FormData","img","append","ext","submitDataAll","then","responses","add","severity","detail","group","life","catch","filterListDocuments","list","tipe","x","Jenis","getDataEdit","dispatch","getProfileCourier","Username","IsActive","PhoneNumber","Gender","LastEducation","BirthDate","format","BirthPlace","StatusPernikahan","Documents","getApiBase","Path","IdNumber","JenisKendaraan","LevelVaksinasi","split","Fullname","Email","IsBlocked","Addresses","Alamat1","checkResponse","message","Detail","toast","successSubmit","toAgentId","getters","processUploadFile","formDataKtp","submitFile","res","sendDataFile","Filename","formDataSertifikat","formDataStnk","submitProccess","Password","MsAgenId","KurirMsJenisKendaraanId","toString","Address","KurirMsUserDocuments","submitDataForm","isFormValid","require","header","confirm","msgDelete","icon","errorDelete","successDeleteData","changeIsBlocked","getTransportationType","getAll","select","map","Nama","encryptDecriptMethods","decrypt","state","__exports__"],"mappings":"8HAAAA,EAAOC,QAAU,IAA0B,6C,uBCA3C,IAAIC,EAAc,EAAQ,QACtBC,EAAS,EAAQ,QACjBC,EAAW,EAAQ,QACnBC,EAAoB,EAAQ,QAC5BC,EAAiB,EAAQ,QAAuCC,EAChEC,EAAsB,EAAQ,QAA8CD,EAC5EE,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAgB,EAAQ,QACxBC,EAAW,EAAQ,QACnBC,EAAQ,EAAQ,QAChBC,EAAmB,EAAQ,QAA+BC,IAC1DC,EAAa,EAAQ,QACrBC,EAAkB,EAAQ,QAE1BC,EAAQD,EAAgB,SACxBE,EAAehB,EAAOiB,OACtBC,EAAkBF,EAAaG,UAC/BC,EAAM,KACNC,EAAM,KAGNC,EAAc,IAAIN,EAAaI,KAASA,EAExCG,EAAgBf,EAAce,cAE9BC,EAASzB,GAAeE,EAAS,UAAYqB,GAAeC,GAAiBb,GAAM,WAGrF,OAFAW,EAAIN,IAAS,EAENC,EAAaI,IAAQA,GAAOJ,EAAaK,IAAQA,GAAiC,QAA1BL,EAAaI,EAAK,SAKnF,GAAII,EAAQ,CACV,IAAIC,EAAgB,SAAgBC,EAASC,GAC3C,IAGIC,EAHAC,EAAeC,gBAAgBL,EAC/BM,EAAkBzB,EAASoB,GAC3BM,OAA8BC,IAAVN,EAGxB,IAAKE,GAAgBE,GAAm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eAEA0B,oBACAiB,aACAnB,YACAK,eACA3E,YACAU,aACAmF,qBACA7E,mBACAC,qBACAN,eACAkE,sBACAD,gBACAzE,cACAF,cACAY,qBACAL,2BACAuC,mBACApF,aACAmC,gBACAiB,uBACAN,iBACAqB,qB,oCC1tBN,MAAMqJ,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAAStP,MAErD,iB,kCCTf","file":"js/chunk-6137aefa.23a73df5.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/deleteFilledAntDesignRed.ed81f734.svg\";","var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isRegExp = require('../internals/is-regexp');\nvar getFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar redefine = require('../internals/redefine');\nvar fails = require('../internals/fails');\nvar setInternalState = require('../internals/internal-state').set;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\n\nvar FORCED = DESCRIPTORS && isForced('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n})));\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (FORCED) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = this instanceof RegExpWrapper;\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var sticky;\n\n if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {\n return pattern;\n }\n\n if (CORRECT_NEW) {\n if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;\n } else if (pattern instanceof RegExpWrapper) {\n if (flagsAreUndefined) flags = getFlags.call(pattern);\n pattern = pattern.source;\n }\n\n if (UNSUPPORTED_Y) {\n sticky = !!flags && flags.indexOf('y') > -1;\n if (sticky) flags = flags.replace(/y/g, '');\n }\n\n var result = inheritIfRequired(\n CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),\n thisIsRegExp ? this : RegExpPrototype,\n RegExpWrapper\n );\n\n if (UNSUPPORTED_Y && sticky) setInternalState(result, { sticky: sticky });\n\n return result;\n };\n var proxy = function (key) {\n key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n configurable: true,\n get: function () { return NativeRegExp[key]; },\n set: function (it) { NativeRegExp[key] = it; }\n });\n };\n var keys = getOwnPropertyNames(NativeRegExp);\n var index = 0;\n while (keys.length > index) proxy(keys[index++]);\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n redefine(global, 'RegExp', RegExpWrapper);\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');\n","import { createVNode as _createVNode, resolveComponent as _resolveComponent, toDisplayString as _toDisplayString, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, createTextVNode as _createTextVNode, withModifiers as _withModifiers } from \"vue\"\nimport _imports_0 from '@/assets/img/add-image.svg'\nimport _imports_1 from '@/assets/img/icon/deleteFilledAntDesignRed.svg'\n\n\nconst _hoisted_1 = { id: \"agent-form\" }\nconst _hoisted_2 = /*#__PURE__*/_createVNode(\"h5\", null, \"Tambah Kurir\", -1)\nconst _hoisted_3 = { class: \"p-grid\" }\nconst _hoisted_4 = { class: \"border-solid border-2 p-4 mt-6 rounded-lg\" }\nconst _hoisted_5 = /*#__PURE__*/_createVNode(\"h6\", null, \"Informasi Akun ( untuk login )\", -1)\nconst _hoisted_6 = { class: \"mt-6 grid grid-cols-1 sm:grid-cols-2 gap-8 mb-6\" }\nconst _hoisted_7 = { class: \"mb-4 md:pl-6 pl-0\" }\nconst _hoisted_8 = { class: \"p-inputgroup rounded-inputgroup\" }\nconst _hoisted_9 = /*#__PURE__*/_createVNode(\"span\", { class: \"p-inputgroup-addon\" }, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-phone\" })\n], -1)\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = { class: \"p-error\" }\nconst _hoisted_13 = { key: 1 }\nconst _hoisted_14 = { class: \"p-error\" }\nconst _hoisted_15 = { class: \"mb-4 md:pl-6 pl-0\" }\nconst _hoisted_16 = { class: \"p-inputgroup rounded-inputgroup relative\" }\nconst _hoisted_17 = /*#__PURE__*/_createVNode(\"span\", { class: \"p-inputgroup-addon\" }, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-lock\" })\n], -1)\nconst _hoisted_18 = { key: 0 }\nconst _hoisted_19 = { key: 0 }\nconst _hoisted_20 = { class: \"p-error\" }\nconst _hoisted_21 = { key: 1 }\nconst _hoisted_22 = { class: \"p-error\" }\nconst _hoisted_23 = {\n class: \"border-solid border-2 p-4 mt-6 \",\n style: {\"border-radius\":\"0.5rem\"}\n}\nconst _hoisted_24 = /*#__PURE__*/_createVNode(\"h6\", null, \"Informasi Kurir\", -1)\nconst _hoisted_25 = { class: \"mt-6 grid grid-cols-1 sm:grid-cols-2 gap-8\" }\nconst _hoisted_26 = { class: \"md:pl-6 pl-0\" }\nconst _hoisted_27 = { class: \"p-field mb-4\" }\nconst _hoisted_28 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"courierEmail\",\n class: \"text-body2\"\n}, \"Email\", -1)\nconst _hoisted_29 = { key: 0 }\nconst _hoisted_30 = { class: \"p-error\" }\nconst _hoisted_31 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_32 = { class: \"p-field mb-4\" }\nconst _hoisted_33 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"courierName\",\n class: \"text-body2\"\n}, \"Nama Lengkap\", -1)\nconst _hoisted_34 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_35 = { class: \"p-field mb-4\" }\nconst _hoisted_36 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"\",\n class: \"text-body2\"\n}, \"Tempat, Tanggal Lahir\", -1)\nconst _hoisted_37 = { class: \" grid grid-cols-2 gap-4 mt-1\" }\nconst _hoisted_38 = { class: \"\" }\nconst _hoisted_39 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_40 = { class: \"w-full\" }\nconst _hoisted_41 = { class: \"p-inputgroup rounded-inputgroup\" }\nconst _hoisted_42 = /*#__PURE__*/_createVNode(\"span\", { class: \"p-inputgroup-addon\" }, [\n /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-calendar\" })\n], -1)\nconst _hoisted_43 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_44 = { class: \"p-field mb-4\" }\nconst _hoisted_45 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"\",\n class: \"text-body2\"\n}, \"Jenis Kelamin\", -1)\nconst _hoisted_46 = { class: \"flex gap-6 mt-1\" }\nconst _hoisted_47 = { class: \"p-field mb-4\" }\nconst _hoisted_48 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"address\",\n class: \"text-body2\"\n}, \"Alamat Lengkap\", -1)\nconst _hoisted_49 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_50 = { class: \"p-field mb-4\" }\nconst _hoisted_51 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"educationLevel\",\n class: \"text-body2\"\n}, \"Jenjang Pendidikan\", -1)\nconst _hoisted_52 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_53 = { class: \"p-field mb-4\" }\nconst _hoisted_54 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"mariedStatus\",\n class: \"text-body2\"\n}, \"Status Pernikahan\", -1)\nconst _hoisted_55 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_56 = { class: \"md:pl-6 pl-0\" }\nconst _hoisted_57 = { class: \"p-field mb-4\" }\nconst _hoisted_58 = /*#__PURE__*/_createVNode(\"label\", {\n class: \"text-body2\",\n id: \"ktp\"\n}, \"No. KTP / SIM\", -1)\nconst _hoisted_59 = { key: 0 }\nconst _hoisted_60 = { class: \"p-error\" }\nconst _hoisted_61 = {\n key: 1,\n class: \"p-error\"\n}\nconst _hoisted_62 = { class: \"mt-2 flex justify-start\" }\nconst _hoisted_63 = {\n key: 0,\n class: \"relative pr-3 pt-1\"\n}\nconst _hoisted_64 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-times text-white w-4 h-4\" }, null, -1)\nconst _hoisted_65 = {\n key: 1,\n class: \"relative pr-3 pt-1\"\n}\nconst _hoisted_66 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-times text-white w-4 h-4\" }, null, -1)\nconst _hoisted_67 = { class: \"p-field mb-4\" }\nconst _hoisted_68 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"transportationType\",\n class: \"text-body2\"\n}, \"Jenis Kendaraan\", -1)\nconst _hoisted_69 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_70 = { class: \"mt-2 flex justify-start\" }\nconst _hoisted_71 = {\n key: 0,\n class: \"relative pr-3 pt-1\"\n}\nconst _hoisted_72 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-times text-white w-4 h-4\" }, null, -1)\nconst _hoisted_73 = {\n key: 1,\n class: \"relative pr-3 pt-1\"\n}\nconst _hoisted_74 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-times text-white w-4 h-4\" }, null, -1)\nconst _hoisted_75 = { class: \"p-field mb-4\" }\nconst _hoisted_76 = /*#__PURE__*/_createVNode(\"label\", {\n for: \"statusVaksin\",\n class: \"text-body2\"\n}, \"Covid-19 Vaksin\", -1)\nconst _hoisted_77 = {\n key: 0,\n class: \"p-error\"\n}\nconst _hoisted_78 = { class: \"mt-2 flex justify-start\" }\nconst _hoisted_79 = {\n key: 0,\n class: \"relative pr-3 pt-1\"\n}\nconst _hoisted_80 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-times text-white w-4 h-4\" }, null, -1)\nconst _hoisted_81 = {\n key: 1,\n class: \"relative pr-3 pt-1\"\n}\nconst _hoisted_82 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-times text-white w-4 h-4\" }, null, -1)\nconst _hoisted_83 = { class: \"flex flex-col p-6\" }\nconst _hoisted_84 = /*#__PURE__*/_createVNode(\"h6\", null, \"Aktif\", -1)\nconst _hoisted_85 = { class: \"flex action-button px-5 py-5 gap-3\" }\nconst _hoisted_86 = /*#__PURE__*/_createTextVNode(\"Kembali\")\nconst _hoisted_87 = /*#__PURE__*/_createVNode(\"img\", {\n src: _imports_1,\n class: \"w-3 h-3\",\n alt: \"delete\"\n}, null, -1)\nconst _hoisted_88 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-lock text-white\" }, null, -1)\nconst _hoisted_89 = /*#__PURE__*/_createVNode(\"i\", { class: \"pi pi-unlock text-white\" }, null, -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_InputText = _resolveComponent(\"InputText\")\n const _component_Password = _resolveComponent(\"Password\")\n const _component_Calendar = _resolveComponent(\"Calendar\")\n const _component_RadioButton = _resolveComponent(\"RadioButton\")\n const _component_Textarea = _resolveComponent(\"Textarea\")\n const _component_Multiselect = _resolveComponent(\"Multiselect\")\n const _component_file_upload = _resolveComponent(\"file-upload\")\n const _component_InputSwitch = _resolveComponent(\"InputSwitch\")\n const _component_Button = _resolveComponent(\"Button\")\n const _component_Card = _resolveComponent(\"Card\")\n const _component_GoogleAutocomplete = _resolveComponent(\"GoogleAutocomplete\")\n\n return (_openBlock(), _createBlock(\"section\", _hoisted_1, [\n _createVNode(_component_Card, { class: \"user-edit w-full\" }, {\n content: _withCtx(() => [\n _hoisted_2,\n _createVNode(\"form\", {\n onSubmit: _cache[25] || (_cache[25] = _withModifiers(($event: any) => (_ctx.submitData(!_ctx.v$.$invalid)), [\"prevent\"]))\n }, [\n _createVNode(\"div\", _hoisted_3, [\n _createVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createVNode(\"div\", _hoisted_6, [\n _createVNode(\"div\", _hoisted_7, [\n _createVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createVNode(_component_InputText, {\n id: \"phone\",\n modelValue: _ctx.v$.phone.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_ctx.v$.phone.$model = $event)),\n placeholder: \"Pastikan Nomor Telephone Aktif\",\n class: \"input-primary rounded-r-lg\",\n type: \"tel\",\n disabled: _ctx.isDisabled\n }, null, 8, [\"modelValue\", \"disabled\"])\n ]),\n ((_ctx.v$.phone.$invalid && _ctx.submitted) || _ctx.v$.phone.$pending.$response)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_10, [\n (_ctx.v$.phone.required.$invalid)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_11, [\n _createVNode(\"p\", _hoisted_12, [\n _createVNode(\"small\", null, _toDisplayString(_ctx.v$.phone.required.$message), 1)\n ])\n ]))\n : (_openBlock(), _createBlock(\"div\", _hoisted_13, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.v$.phone.$errors, (error, index) => {\n return (_openBlock(), _createBlock(\"span\", {\n id: \"new-password-error\",\n key: index\n }, [\n _createVNode(\"p\", _hoisted_14, [\n _createVNode(\"small\", null, _toDisplayString(error.$message), 1)\n ])\n ]))\n }), 128))\n ]))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_15, [\n _createVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createVNode(_component_Password, {\n id: \"password\",\n placeholder: \"Password\",\n modelValue: _ctx.v$.password.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_ctx.v$.password.$model = $event)),\n feedback: false,\n toggleMask: !_ctx.isDisabled,\n class: \"\",\n disabled: _ctx.isDisabled\n }, null, 8, [\"modelValue\", \"toggleMask\", \"disabled\"])\n ]),\n ((_ctx.v$.password.$invalid && _ctx.submitted) || _ctx.v$.password.$pending.$response)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_18, [\n (_ctx.v$.password.required.$invalid)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_19, [\n _createVNode(\"p\", _hoisted_20, [\n _createVNode(\"small\", null, _toDisplayString(_ctx.v$.password.required.$message), 1)\n ])\n ]))\n : (_openBlock(), _createBlock(\"div\", _hoisted_21, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.v$.password.$errors, (error, index) => {\n return (_openBlock(), _createBlock(\"span\", {\n id: \"new-password-error\",\n key: index\n }, [\n _createVNode(\"p\", _hoisted_22, [\n _createVNode(\"small\", null, _toDisplayString(error.$message), 1)\n ])\n ]))\n }), 128))\n ]))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_23, [\n _hoisted_24,\n _createVNode(\"div\", _hoisted_25, [\n _createVNode(\"div\", _hoisted_26, [\n _createVNode(\"div\", _hoisted_27, [\n _hoisted_28,\n _createVNode(_component_InputText, {\n id: \"courierEmail\",\n class: \"p-inputtext p-component input-primary w-full mt-1 rounded-lg\",\n name: \"courierEmail\",\n modelValue: _ctx.v$.courierEmail.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_ctx.v$.courierEmail.$model = $event)),\n type: \"text\",\n placeholder: \"Pastikan Email Aktif\"\n }, null, 8, [\"modelValue\"]),\n (_ctx.v$.courierEmail.$error && _ctx.submitted)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_29, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.v$.courierEmail.$errors, (error, index) => {\n return (_openBlock(), _createBlock(\"span\", {\n id: \"new-courierEmail-error\",\n key: index\n }, [\n _createVNode(\"small\", _hoisted_30, _toDisplayString(error.$message), 1)\n ]))\n }), 128))\n ]))\n : (\r\n (_ctx.v$.courierEmail.$invalid && _ctx.submitted) || _ctx.v$.courierEmail.$pending.$response\r\n )\n ? (_openBlock(), _createBlock(\"small\", _hoisted_31, _toDisplayString(_ctx.v$.courierEmail.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_32, [\n _hoisted_33,\n _createVNode(_component_InputText, {\n maxlength: \"50\",\n id: \"courierName\",\n class: \"p-inputtext p-component input-primary w-full mt-1 rounded-lg\",\n name: \"courierName\",\n modelValue: _ctx.v$.courierName.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => (_ctx.v$.courierName.$model = $event)),\n type: \"text\"\n }, null, 8, [\"modelValue\"]),\n (\r\n (_ctx.v$.courierName.$invalid && _ctx.submitted) || _ctx.v$.courierName.$pending.$response\r\n )\n ? (_openBlock(), _createBlock(\"small\", _hoisted_34, _toDisplayString(_ctx.v$.courierName.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_35, [\n _hoisted_36,\n _createVNode(\"div\", _hoisted_37, [\n _createVNode(\"div\", _hoisted_38, [\n _createVNode(_component_InputText, {\n maxlength: \"50\",\n placeholder: \"Tempat Lahir\",\n id: \"placeBirth\",\n class: \"p-inputtext p-component input-primary w-full rounded-lg\",\n name: \"Tempat Lahir\",\n modelValue: _ctx.v$.placeBirth.$model,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => (_ctx.v$.placeBirth.$model = $event)),\n type: \"text\"\n }, null, 8, [\"modelValue\"]),\n (\r\n (_ctx.v$.placeBirth.$invalid && _ctx.submitted) ||\r\n _ctx.v$.placeBirth.$pending.$response\r\n )\n ? (_openBlock(), _createBlock(\"small\", _hoisted_39, _toDisplayString(_ctx.v$.placeBirth.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_40, [\n _createVNode(\"div\", _hoisted_41, [\n _createVNode(_component_Calendar, {\n id: \"birthDate\",\n dateFormat: \"dd-mm-yy\",\n placeholder: \"DD-MM-YYYY\",\n class: \" input-primary rounded-l-lg\",\n modelValue: _ctx.v$.birthDate.$model,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_ctx.v$.birthDate.$model = $event))\n }, null, 8, [\"modelValue\"]),\n _hoisted_42\n ]),\n (\r\n (_ctx.v$.birthDate.$invalid && _ctx.submitted) || _ctx.v$.birthDate.$pending.$response\r\n )\n ? (_openBlock(), _createBlock(\"small\", _hoisted_43, _toDisplayString(_ctx.v$.birthDate.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_44, [\n _hoisted_45,\n _createVNode(\"div\", _hoisted_46, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.genderOption, (data) => {\n return (_openBlock(), _createBlock(\"div\", {\n class: \"flex items-center mb-2 cursor-pointer\",\n key: data.key\n }, [\n _createVNode(_component_RadioButton, {\n id: data.key,\n class: \"mr-2 radio-primary\",\n value: data.value,\n modelValue: _ctx.gender,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => (_ctx.gender = $event))\n }, null, 8, [\"id\", \"value\", \"modelValue\"]),\n _createVNode(\"label\", {\n for: data.key,\n class: \"text-body2\"\n }, _toDisplayString(data.name), 9, [\"for\"])\n ]))\n }), 128))\n ])\n ]),\n _createVNode(\"div\", _hoisted_47, [\n _hoisted_48,\n _createVNode(_component_Textarea, {\n autocomplete: \"nope\",\n id: \"address\",\n ref: \"addressRef\",\n modelValue: _ctx.v$.address.$model,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_ctx.v$.address.$model = $event)),\n class: \"p-inputtext p-component input-primary mt-1 w-full rounded-lg\",\n rows: \"5\",\n cols: \"30\"\n }, null, 8, [\"modelValue\"]),\n ((_ctx.v$.address.$invalid && _ctx.submitted) || _ctx.v$.address.$pending.$response)\n ? (_openBlock(), _createBlock(\"small\", _hoisted_49, _toDisplayString(_ctx.v$.address.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_50, [\n _hoisted_51,\n _createVNode(_component_Multiselect, {\n id: \"educationLevel\",\n class: \"mt-1 input-primary\",\n modelValue: _ctx.v$.lastEducation.$model,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => (_ctx.v$.lastEducation.$model = $event)),\n placeholder: \"Pilih Jenjang Pendidikan\",\n options: _ctx.educationLevelOption,\n searchable: true\n }, null, 8, [\"modelValue\", \"options\"]),\n (\r\n (_ctx.v$.lastEducation.$invalid && _ctx.submitted) ||\r\n _ctx.v$.lastEducation.$pending.$response\r\n )\n ? (_openBlock(), _createBlock(\"small\", _hoisted_52, _toDisplayString(_ctx.v$.lastEducation.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createVNode(\"div\", _hoisted_53, [\n _hoisted_54,\n _createVNode(_component_Multiselect, {\n id: \"mariedStatus\",\n class: \"mt-1 input-primary\",\n modelValue: _ctx.v$.mariedStatus.$model,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => (_ctx.v$.mariedStatus.$model = $event)),\n placeholder: \"Status Pernikahan\",\n options: _ctx.mariedStatusOption,\n searchable: true\n }, null, 8, [\"modelValue\", \"options\"]),\n (\r\n (_ctx.v$.mariedStatus.$invalid && _ctx.submitted) ||\r\n _ctx.v$.mariedStatus.$pending.$response\r\n )\n ? (_openBlock(), _createBlock(\"small\", _hoisted_55, _toDisplayString(_ctx.v$.mariedStatus.required.$message), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createVNode(\"div\", _hoisted_56, [\n _createVNode(\"div\", _hoisted_57, [\n _hoisted_58,\n _createVNode(_component_InputText, {\n maxlength: \"20\",\n id: \"ktp\",\n class: \"input-primary mt-1 w-full rounded-lg\",\n modelValue: _ctx.v$.ktp.$model,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_ctx.v$.ktp.$model = $event)),\n type: \"tel\"\n }, null, 8, [\"modelValue\"]),\n (_ctx.v$.ktp.$error && _ctx.submitted)\n ? (_openBlock(), _createBlock(\"span\", _hoisted_59, [\n (_openBlock(true), _createBlock(_Fragment, null, _renderList(_ctx.v$.ktp.$errors, (error, index) => {\n return (_openBlock(), _createBlock(\"span\", {\n id: \"validasi-ktp-error\",\n key: index\n }, [\n _createVNode(\"small\", _hoisted_60, _toDisplayString(error.$message), 1)\n ]))\n }), 128))\n ]))\n : ((_ctx.v$.ktp.$invalid && _ctx.submitted) || _ctx.v$.ktp.$pending.$response)\n ? (_openBlock(), _createBlock(\"small\", _hoisted_61, _toDisplayString(_ctx.v$.ktp.required.$message), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_62, [\n (_ctx.tempUploadKtp)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_63, [\n (_ctx.tempUploadKtp !== null)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"flex items-center rounded-full bg-red-500 absolute p-1 cursor-pointer\",\n style: {\"right\":\"0\",\"top\":\"0\",\"z-index\":\"5\"},\n onClick: _cache[12] || (_cache[12] = ($event: any) => (_ctx.tempUploadKtp = null))\n }, [\n _hoisted_64\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"img\", {\n src: _ctx.tempUploadKtp,\n class: \"w-full h-20\"\n }, null, 8, [\"src\"])\n ]))\n : (_openBlock(), _createBlock(\"div\", _hoisted_65, [\n (_ctx.uploadKtp.src !== null)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"flex items-center rounded-full bg-red-500 absolute p-1 cursor-pointer\",\n style: {\"right\":\"0\",\"top\":\"0\",\"z-index\":\"5\"},\n onClick: _cache[13] || (_cache[13] = ($event: any) => (_ctx.removeImage('uploadKtp')))\n }, [\n _hoisted_66\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_file_upload, {\n ref: \"refUploadKtp\",\n \"input-id\": \"idUploadKtp\",\n onInputFile: _ctx.onUploadKtp,\n accept: \"image/*\"\n }, {\n default: _withCtx(() => [\n (_ctx.uploadKtp?.src === null)\n ? (_openBlock(), _createBlock(\"img\", {\n key: 0,\n class: \"w-full h-20\",\n src: _imports_0,\n alt: _ctx.uploadKtp?.name\n }, null, 8, [\"alt\"]))\n : (_openBlock(), _createBlock(\"img\", {\n key: 1,\n class: \"w-full object-cover rounded-lg h-32\",\n src: _ctx.uploadKtp.src,\n alt: _ctx.uploadKtp.name\n }, null, 8, [\"src\", \"alt\"]))\n ]),\n _: 1\n }, 8, [\"onInputFile\"])\n ]))\n ])\n ]),\n _createVNode(\"div\", _hoisted_67, [\n _hoisted_68,\n _createVNode(_component_Multiselect, {\n id: \"transportationType\",\n class: \"mt-1 input-primary\",\n modelValue: _ctx.v$.transportationType.$model,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => (_ctx.v$.transportationType.$model = $event)),\n placeholder: \"Jenis Kendaraan\",\n options: _ctx.transportationTypeOption,\n searchable: true\n }, null, 8, [\"modelValue\", \"options\"]),\n (\r\n (_ctx.v$.transportationType.$invalid && _ctx.submitted) ||\r\n _ctx.v$.transportationType.$pending.$response\r\n )\n ? (_openBlock(), _createBlock(\"small\", _hoisted_69, _toDisplayString(_ctx.v$.transportationType.required.$message), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_70, [\n (_ctx.tempUploadStnk)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_71, [\n (_ctx.tempUploadStnk !== null)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"flex items-center rounded-full bg-red-500 absolute p-1 cursor-pointer\",\n style: {\"right\":\"0\",\"top\":\"0\",\"z-index\":\"5\"},\n onClick: _cache[15] || (_cache[15] = ($event: any) => (_ctx.tempUploadStnk = null))\n }, [\n _hoisted_72\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"img\", {\n src: _ctx.tempUploadStnk,\n class: \"w-full h-20\"\n }, null, 8, [\"src\"])\n ]))\n : (_openBlock(), _createBlock(\"div\", _hoisted_73, [\n (_ctx.uploadStnk.src !== null)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"flex items-center rounded-full bg-red-500 absolute p-1 cursor-pointer\",\n style: {\"right\":\"0\",\"top\":\"0\",\"z-index\":\"5\"},\n onClick: _cache[16] || (_cache[16] = ($event: any) => (_ctx.removeImage('uploadStnk')))\n }, [\n _hoisted_74\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_file_upload, {\n ref: \"refUploadStnk\",\n \"input-id\": \"idUploadStnk\",\n onInputFile: _ctx.onUploadStnk,\n accept: \"image/*\"\n }, {\n default: _withCtx(() => [\n (_ctx.uploadStnk?.src === null)\n ? (_openBlock(), _createBlock(\"img\", {\n key: 0,\n class: \"w-full h-20\",\n src: _imports_0,\n alt: _ctx.uploadStnk?.name\n }, null, 8, [\"alt\"]))\n : (_openBlock(), _createBlock(\"img\", {\n key: 1,\n class: \"w-full object-cover rounded-lg h-32\",\n src: _ctx.uploadStnk.src,\n alt: _ctx.uploadStnk.name\n }, null, 8, [\"src\", \"alt\"]))\n ]),\n _: 1\n }, 8, [\"onInputFile\"])\n ]))\n ])\n ]),\n _createVNode(\"div\", _hoisted_75, [\n _hoisted_76,\n _createVNode(_component_Multiselect, {\n id: \"statusVaksin\",\n class: \"mt-1 input-primary\",\n modelValue: _ctx.v$.statusVaksin.$model,\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => (_ctx.v$.statusVaksin.$model = $event)),\n placeholder: \"Covid-19 Vaksin\",\n options: _ctx.statusVaksinOption,\n searchable: true,\n mode: \"tags\"\n }, null, 8, [\"modelValue\", \"options\"]),\n (\r\n (_ctx.v$.statusVaksin.$invalid && _ctx.submitted) ||\r\n _ctx.v$.statusVaksin.$pending.$response\r\n )\n ? (_openBlock(), _createBlock(\"small\", _hoisted_77, _toDisplayString(_ctx.v$.statusVaksin.required.$message), 1))\n : _createCommentVNode(\"\", true),\n _createVNode(\"div\", _hoisted_78, [\n (_ctx.tempUploadSertifikat)\n ? (_openBlock(), _createBlock(\"div\", _hoisted_79, [\n (_ctx.tempUploadSertifikat !== null)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"flex items-center rounded-full bg-red-500 absolute p-1 cursor-pointer\",\n style: {\"right\":\"0\",\"top\":\"0\",\"z-index\":\"5\"},\n onClick: _cache[18] || (_cache[18] = ($event: any) => (_ctx.tempUploadSertifikat = null))\n }, [\n _hoisted_80\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(\"img\", {\n src: _ctx.tempUploadSertifikat,\n class: \"w-full h-20\"\n }, null, 8, [\"src\"])\n ]))\n : (_openBlock(), _createBlock(\"div\", _hoisted_81, [\n (_ctx.uploadSertifikat.src !== null)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 0,\n class: \"flex items-center rounded-full bg-red-500 absolute p-1 cursor-pointer\",\n style: {\"right\":\"0\",\"top\":\"0\",\"z-index\":\"5\"},\n onClick: _cache[19] || (_cache[19] = ($event: any) => (_ctx.removeImage('uploadSertifikat')))\n }, [\n _hoisted_82\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_file_upload, {\n ref: \"refUploadSertifikat\",\n \"input-id\": \"idUploadSertifikat\",\n onInputFile: _ctx.onUploadSertifikat,\n accept: \"image/*\"\n }, {\n default: _withCtx(() => [\n (_ctx.uploadSertifikat?.src === null)\n ? (_openBlock(), _createBlock(\"img\", {\n key: 0,\n class: \"w-full h-20\",\n src: _imports_0,\n alt: _ctx.uploadSertifikat?.name\n }, null, 8, [\"alt\"]))\n : (_openBlock(), _createBlock(\"img\", {\n key: 1,\n class: \"w-full object-cover rounded-lg h-32\",\n src: _ctx.uploadSertifikat.src,\n alt: _ctx.uploadSertifikat.name\n }, null, 8, [\"src\", \"alt\"]))\n ]),\n _: 1\n }, 8, [\"onInputFile\"])\n ]))\n ])\n ])\n ])\n ])\n ])\n ]),\n _createVNode(\"div\", _hoisted_83, [\n _hoisted_84,\n _createVNode(_component_InputSwitch, {\n modelValue: _ctx.dataForm.isActive,\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => (_ctx.dataForm.isActive = $event)),\n class: \"switch-og mt-1\"\n }, null, 8, [\"modelValue\"])\n ]),\n _createVNode(\"div\", _hoisted_85, [\n (_ctx.route.meta.permission.update)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n label: \"Simpan\",\n class: \"font-semibold p-button-sm btn-primary px-10\",\n type: \"submit\"\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_Button, {\n class: \"btn-secondary text-black px-10 py-1\",\n onClick: _cache[21] || (_cache[21] = ($event: any) => (_ctx.redirectBack()))\n }, {\n default: _withCtx(() => [\n _hoisted_86\n ]),\n _: 1\n }),\n (_ctx.Id && _ctx.route.meta.permission.delete)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 1,\n class: \"background-red-lighten-5 p-3 rounded-md cursor-pointer\",\n onClick: _cache[22] || (_cache[22] = ($event: any) => (_ctx.deleteData()))\n }, [\n _hoisted_87\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.dataForm.isBlocked && _ctx.route.meta.permission.update && _ctx.Id)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 2,\n class: \"background-red px-3 py-2 rounded-md cursor-pointer\",\n onClick: _cache[23] || (_cache[23] = ($event: any) => (_ctx.blockedCourier()))\n }, [\n _hoisted_88\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.dataForm.isBlocked && _ctx.route.meta.permission.update && _ctx.Id)\n ? (_openBlock(), _createBlock(\"div\", {\n key: 3,\n class: \"background-green px-3 py-2 rounded-md cursor-pointer\",\n onClick: _cache[24] || (_cache[24] = ($event: any) => (_ctx.blockedCourier()))\n }, [\n _hoisted_89\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 32)\n ]),\n _: 1\n }),\n _createVNode(_component_GoogleAutocomplete, {\n onSendDetail: _ctx.setResultAddress,\n event: _ctx.addressRef,\n search: _ctx.dataForm.address\n }, null, 8, [\"onSendDetail\", \"event\", \"search\"])\n ]))\n}","import {\r\n ref,\r\n onMounted,\r\n getCurrentInstance,\r\n reactive,\r\n watch\r\n} from 'vue'\r\nimport {\r\n useStore\r\n} from 'vuex'\r\nimport {\r\n useRouter,\r\n useRoute\r\n} from 'vue-router'\r\nimport {\r\n courierUseCase,\r\n courierFileUseCase,\r\n receiveItemFileUseCase,\r\n jenisKendaraanUseCase\r\n} from '@/domain/usecase'\r\nimport useVuelidate from '@vuelidate/core'\r\nimport moment from 'moment'\r\nimport {\r\n required, helpers, maxLength, minLength, numeric, email\r\n} from '@vuelidate/validators'\r\nimport {\r\n environment\r\n} from '@/utils'\r\n// start add image camera=============================================================\r\nimport { compressImage } from '@/plugins/compressor'\r\nimport { takePhoto } from '@/plugins/system/camera'\r\nimport { encryptDecriptMethods } from '@/plugins/encryptDecriptMethods'\r\n// import FileUpload from 'primevue/fileupload'\r\nimport VueUploadComponent from 'vue-upload-component'\r\nimport { isEmpty, isNull } from 'lodash'\r\n// end add image camera=============================================================\r\n\r\nconst jenisKtp = 'ktp'\r\nconst jenisSertifikat = 'sertifikat'\r\nconst jenisStnk = 'stnk'\r\n\r\nexport default {\r\n components: {\r\n // FileUpload,\r\n FileUpload: VueUploadComponent\r\n },\r\n setup() {\r\n const router = useRouter()\r\n const route = useRoute()\r\n const app = getCurrentInstance()\r\n const addressRef = ref()\r\n const store = useStore()\r\n const Id = ref('') as any\r\n const dataForm = reactive({\r\n username: null,\r\n phone: null,\r\n password: null,\r\n courierEmail: null,\r\n courierName: null,\r\n placeBirth: null,\r\n birthDate: '',\r\n address: null,\r\n lastEducation: null,\r\n mariedStatus: null,\r\n ktp: null,\r\n transportationType: null,\r\n statusVaksin: null as any,\r\n isActive: true,\r\n isBlocked: false\r\n })\r\n const isDisabled = ref(false)\r\n const submitted = ref(false)\r\n const showPassword = ref(false)\r\n const gender = ref('L')\r\n const genderOption = [\r\n { name: 'Laki - Laki', value: 'L', key: 'gen1' },\r\n { name: 'Perempuan', value: 'P', key: 'gen2' }\r\n ]\r\n const educationLevelOption = [{\r\n value: 'S1',\r\n label: 'D-IV / S-1'\r\n },\r\n {\r\n value: 'SMA',\r\n label: 'Sekolah Mengah Atas (SMA) atau sederajat'\r\n },\r\n {\r\n value: 'SMP',\r\n label: 'Sekolah Mengah Pertama (SMP) atau sederajat'\r\n },\r\n {\r\n value: 'SD',\r\n label: 'Sekolah Dasar (SD) atau sederajat'\r\n }]\r\n const mariedStatusOption = [\r\n {\r\n value: 'Sudah Menikah',\r\n label: 'Menikah'\r\n },\r\n {\r\n value: 'Belum Menikah',\r\n label: 'Belum Menikah'\r\n },\r\n ]\r\n const statusVaksinOption = [{\r\n value: 1,\r\n label: 'Vaksinasi 1'\r\n }, {\r\n value: 2,\r\n label: 'Vaksinasi 2'\r\n }, {\r\n value: 3,\r\n label: 'Vaksinasi 3'\r\n }]\r\n const transportationTypeOption = ref([])\r\n const courierDocuments = ref([]) as any\r\n const validPassword = (val: any) => {\r\n // console.log(val.length)\r\n if (isNull(dataForm.password)) {\r\n return true\r\n }\r\n const regex = new RegExp('^(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$')\r\n // console.log(regex.test(val))\r\n return regex.test(val)\r\n }\r\n // const courierDocuments = [{\r\n // Jenis: 'ktp',\r\n // Path: 'media/ktp/2022/jpg/1a3pomjdlbr.jpg'\r\n // },\r\n // {\r\n // Jenis: 'stnk',\r\n // Path: 'media/stnk/2022/jpg/nfqchvmzrez.jpg'\r\n // },\r\n // {\r\n // Jenis: 'sertifikat',\r\n // Path: 'media/sertifikat/2022/jpeg/5py3lucns5i.jpeg'\r\n // }] as any\r\n // let rules\r\n const rules = reactive({}) as any\r\n if (route.params.courierId) {\r\n console.log('aaa', route.params.courierId)\r\n rules.value = {\r\n phone: {\r\n required: helpers.withMessage('No. Telp harus diisi', required),\r\n numeric: helpers.withMessage('No. Telp harus berisi angka', numeric),\r\n maxLength: helpers.withMessage('No. Telp harus berisi maksimal 13 digit', maxLength(13)),\r\n minLength: helpers.withMessage('No. Telp harus berisi minimal 11 digit', minLength(11)),\r\n validPhone: helpers.withMessage('No. Telp harus diawali dengan angka 0', helpers.regex(/^0\\d{0,13}$/))\r\n },\r\n password: {\r\n // required: helpers.withMessage('Password harus diisi', required),\r\n validPassword: helpers.withMessage('Password harus terdiri dari minimal 1 huruf, 1 angka dan 1 karakter spesial', validPassword),\r\n // minLength: helpers.withMessage('Password minimal mengandung 8 karakter.', minLength(8))\r\n } as any,\r\n courierEmail: {\r\n required: helpers.withMessage('Email harus diisi', required),\r\n email: helpers.withMessage('Email harus berupa alamat email yang benar.', email)\r\n },\r\n courierName: {\r\n required: helpers.withMessage('Nama harus diisi', required)\r\n },\r\n placeBirth: {\r\n required: helpers.withMessage('Tempat Lahir harus diisi', required)\r\n },\r\n lastEducation: {\r\n required: helpers.withMessage('Pendidikan Terakhir harus diisi', required)\r\n },\r\n birthDate: {\r\n required: helpers.withMessage('Tanggal Lahir harus diisi', required)\r\n },\r\n address: {\r\n required: helpers.withMessage('Alamat Lengkap harus diisi', required)\r\n },\r\n mariedStatus: {\r\n required: helpers.withMessage('Status Pernikahan harus diisi', required)\r\n },\r\n ktp: {\r\n required: helpers.withMessage('No. KTP / SIM harus diisi', required),\r\n maxLength: helpers.withMessage('No. KTP / SIM harus berisi maksimal 16 digit', maxLength(16)),\r\n minLength: helpers.withMessage('No. KTP / SIM harus berisi minimal 16 digit', minLength(16)),\r\n numeric: helpers.withMessage('No. KTP / SIM harus berisi angka', numeric)\r\n },\r\n transportationType: {\r\n required: helpers.withMessage('Jenis Kendaraan harus diisi', required)\r\n },\r\n statusVaksin: {\r\n required: helpers.withMessage('Covid-19 Vaksin harus diisi', required)\r\n },\r\n }\r\n } else if (isNull(dataForm.password)) {\r\n console.log('bbb', route.params.courierId)\r\n rules.value = {\r\n phone: {\r\n required: helpers.withMessage('No. Telp harus diisi', required),\r\n numeric: helpers.withMessage('No. Telp harus berisi angka', numeric),\r\n maxLength: helpers.withMessage('No. Telp harus berisi maksimal 13 digit', maxLength(13)),\r\n minLength: helpers.withMessage('No. Telp harus berisi minimal 11 digit', minLength(11)),\r\n validPhone: helpers.withMessage('No. Telp harus diawali dengan angka 0', helpers.regex(/^0\\d{0,13}$/))\r\n },\r\n password: {\r\n required: helpers.withMessage('Password harus diisi', required),\r\n validPassword: helpers.withMessage('Password harus terdiri dari 8 karakter dengan minimal 1 huruf, 1 angka dan 1 karakter spesial', helpers.regex(/^(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}?$/)),\r\n // minLength: helpers.withMessage('Password minimal mengandung 8 karakter.', minLength(8))\r\n } as any,\r\n courierEmail: {\r\n required: helpers.withMessage('Email harus diisi', required),\r\n email: helpers.withMessage('Email harus berupa alamat email yang benar.', email)\r\n },\r\n courierName: {\r\n required: helpers.withMessage('Nama harus diisi', required)\r\n },\r\n placeBirth: {\r\n required: helpers.withMessage('Tempat Lahir harus diisi', required)\r\n },\r\n lastEducation: {\r\n required: helpers.withMessage('Pendidikan Terakhir harus diisi', required)\r\n },\r\n birthDate: {\r\n required: helpers.withMessage('Tanggal Lahir harus diisi', required)\r\n },\r\n address: {\r\n required: helpers.withMessage('Alamat Lengkap harus diisi', required)\r\n },\r\n mariedStatus: {\r\n required: helpers.withMessage('Status Pernikahan harus diisi', required)\r\n },\r\n ktp: {\r\n required: helpers.withMessage('No. KTP / SIM harus diisi', required),\r\n maxLength: helpers.withMessage('No. KTP / SIM harus berisi maksimal 16 digit', maxLength(16)),\r\n minLength: helpers.withMessage('No. KTP / SIM harus berisi minimal 16 digit', minLength(16)),\r\n numeric: helpers.withMessage('No. KTP / SIM harus berisi angka', numeric)\r\n },\r\n transportationType: {\r\n required: helpers.withMessage('Jenis Kendaraan harus diisi', required)\r\n },\r\n statusVaksin: {\r\n required: helpers.withMessage('Covid-19 Vaksin harus diisi', required)\r\n },\r\n }\r\n } else {\r\n console.log('ccc', route.params)\r\n rules.value = {\r\n phone: {\r\n required: helpers.withMessage('No. Telp harus diisi', required),\r\n maxLength: helpers.withMessage('No. Telp harus berisi maksimal 13 digit', maxLength(13)),\r\n minLength: helpers.withMessage('No. Telp harus berisi minimal 11 digit', minLength(11)),\r\n numeric: helpers.withMessage('No. Telp harus berisi angka', numeric),\r\n validPhone: helpers.withMessage('No. Telp harus diawali dengan angka 0', helpers.regex(/^0\\d{0,13}$/))\r\n },\r\n password: {\r\n required: helpers.withMessage('Password harus diisi', required),\r\n validPassword: helpers.withMessage('Password harus terdiri dari minimal 1 huruf, 1 angka dan 1 karakter spesial', validPassword),\r\n minLength: helpers.withMessage('Password minimal mengandung 8 karakter.', minLength(8))\r\n } as any,\r\n courierEmail: {\r\n required: helpers.withMessage('Email harus diisi', required),\r\n email: helpers.withMessage('Email harus berupa alamat email yang benar.', email)\r\n },\r\n courierName: {\r\n required: helpers.withMessage('Nama harus diisi', required)\r\n },\r\n placeBirth: {\r\n required: helpers.withMessage('Tempat Lahir harus diisi', required)\r\n },\r\n lastEducation: {\r\n required: helpers.withMessage('Pendidikan Terakhir harus diisi', required)\r\n },\r\n birthDate: {\r\n required: helpers.withMessage('Tanggal Lahir harus diisi', required)\r\n },\r\n address: {\r\n required: helpers.withMessage('Alamat Lengkap harus diisi', required)\r\n },\r\n mariedStatus: {\r\n required: helpers.withMessage('Status Pernikahan harus diisi', required)\r\n },\r\n ktp: {\r\n required: helpers.withMessage('No. KTP / SIM harus diisi', required),\r\n maxLength: helpers.withMessage('No. KTP / SIM harus berisi maksimal 16 digit', maxLength(16)),\r\n minLength: helpers.withMessage('No. KTP / SIM harus berisi minimal 16 digit', minLength(16)),\r\n numeric: helpers.withMessage('No. KTP / SIM harus berisi angka', numeric)\r\n },\r\n transportationType: {\r\n required: helpers.withMessage('Jenis Kendaraan harus diisi', required)\r\n },\r\n statusVaksin: {\r\n required: helpers.withMessage('Covid-19 Vaksin harus diisi', required)\r\n },\r\n }\r\n }\r\n const v$ = useVuelidate(rules.value, dataForm)\r\n\r\n const redirectBack = () => {\r\n router.go(-1)\r\n }\r\n const {\r\n $confirm,\r\n $toast,\r\n $strInd,\r\n $convertPhoneNumber\r\n } = app!.appContext.config.globalProperties\r\n\r\n // start image camera=============================================================\r\n const listImage = ref([]) as any\r\n const checkSrcListImage = () => listImage.value.filter((image: any) => image.src === null).length\r\n const isDragActive = ref(false)\r\n const uploadKtp = ref({\r\n src: null,\r\n name: null\r\n }) as any\r\n const uploadStnk = ref({\r\n src: null,\r\n name: null\r\n }) as any\r\n const uploadSertifikat = ref({\r\n src: null,\r\n name: null\r\n }) as any\r\n const tempUploadKtp = ref(null) as any\r\n const tempUploadStnk = ref(null) as any\r\n const tempUploadSertifikat = ref(null) as any\r\n const refUploadStnk = ref()\r\n const refUploadSertifikat = ref()\r\n const generateListImage = () => {\r\n for (let index = 0; index < 5; index++) {\r\n listImage.value.push({\r\n name: 'add-image',\r\n src: null,\r\n image: null\r\n })\r\n }\r\n }\r\n\r\n const pushListImage = async (item: any, from: any = '') => {\r\n // console.log('ok from ', from)\r\n let file = item\r\n if (from === 'camera') {\r\n // file = new File([item], 'Name', {\r\n // lastModified: moment().unix(),\r\n // type: item.type,\r\n // })\r\n item = item.image\r\n } else {\r\n // eslint-disable-next-line no-await-in-loop\r\n file = await compressImage(file)\r\n file = new File([file], file.name)\r\n console.log('file to compress', file)\r\n }\r\n if (from === 'uploadStnk') {\r\n uploadStnk.value.src = URL.createObjectURL(item)\r\n uploadStnk.value.image = file\r\n }\r\n if (from === 'uploadKtp') {\r\n uploadKtp.value.src = URL.createObjectURL(item)\r\n uploadKtp.value.image = file\r\n }\r\n if (from === 'uploadSertifikat') {\r\n uploadSertifikat.value.src = URL.createObjectURL(item)\r\n uploadSertifikat.value.image = file\r\n }\r\n // for (let index = 0; index < listImage.value.length; index++) {\r\n // const image = listImage.value[index]\r\n // if (image.src === null) {\r\n // listImage.value[index].src = URL.createObjectURL(item)\r\n // listImage.value[index].image = file\r\n // break\r\n // }\r\n // }\r\n }\r\n\r\n const onUploadStnk = (newFile: any, oldFile: any) => {\r\n pushListImage(newFile.file, 'uploadStnk')\r\n }\r\n const onUploadSertifikat = (newFile: any, oldFile: any) => {\r\n pushListImage(newFile.file, 'uploadSertifikat')\r\n }\r\n const onUploadKtp = (newFile: any, oldFile: any) => {\r\n pushListImage(newFile.file, 'uploadKtp')\r\n }\r\n\r\n const removeImage = (from: any) => {\r\n if (from === 'uploadStnk') {\r\n uploadStnk.value.src = null\r\n uploadStnk.value.image = null\r\n }\r\n if (from === 'uploadKtp') {\r\n uploadKtp.value.src = null\r\n uploadKtp.value.image = null\r\n }\r\n if (from === 'uploadSertifikat') {\r\n uploadSertifikat.value.src = null\r\n uploadSertifikat.value.image = null\r\n }\r\n }\r\n\r\n const showCamera = async () => {\r\n const response = await takePhoto() as any\r\n console.log('response', JSON.stringify(response))\r\n pushListImage(response, 'camera')\r\n }\r\n\r\n const proccessUploadFile = async (senderId: any) => {\r\n const listPromise = []\r\n for (let index = 0; index < listImage.value.length; index++) {\r\n const item = listImage.value[index]\r\n if (item.src !== null) {\r\n const formData = new FormData()\r\n // const senderId = props.id\r\n // const senderId = Id\r\n const img = item.image\r\n formData.append('KurirId', senderId)\r\n // formData.append('IsPenerimaan', 'false')\r\n if (img.from === 'camera') {\r\n console.log('if on camera')\r\n formData.append('Photo', img.image, `${img.name}.${img.ext}`)\r\n } else {\r\n console.log('img', img)\r\n formData.append('Photo', img)\r\n }\r\n // listPromise.push(courierFileUseCase.submitData(receive.TransPengirimanHd.Id, formData))\r\n listPromise.push(courierFileUseCase.submitData('', formData))\r\n }\r\n }\r\n\r\n await courierFileUseCase.submitDataAll(listPromise).then((responses) => {\r\n $toast.add({\r\n severity: 'success', detail: 'Berhasil upload gambar', group: 'bc', life: 1500\r\n })\r\n // hideForm()\r\n // emit('successBack')\r\n // router.push({ name: 'transaksi-barang-diterima' })\r\n }).catch(() => {\r\n $toast.add({\r\n severity: 'error', detail: 'Gagal upload gambar, silahkan coba kembali', group: 'bc', life: 1500\r\n })\r\n })\r\n }\r\n const filterListDocuments = (list: any, tipe: any) => list.filter((x: any) => x.Jenis === tipe)\r\n\r\n const getDataEdit = async () => {\r\n store.dispatch('showLoading')\r\n const response = await courierUseCase.getProfileCourier(Id.value) as any\r\n const data = response.result\r\n isDisabled.value = !route.params.courierId\r\n dataForm.password = null\r\n dataForm.username = data.Username\r\n dataForm.isActive = data.IsActive\r\n dataForm.phone = data.PhoneNumber\r\n gender.value = data.Gender\r\n dataForm.lastEducation = data.LastEducation\r\n dataForm.birthDate = moment(data.BirthDate).format('DD-MM-YYYY')\r\n dataForm.placeBirth = data.BirthPlace\r\n dataForm.mariedStatus = data.StatusPernikahan\r\n tempUploadKtp.value = filterListDocuments(data.Documents, jenisKtp).length > 0 ? `${environment.getApiBase()}${filterListDocuments(data.Documents, jenisKtp)[0].Path}` : null\r\n tempUploadSertifikat.value = filterListDocuments(data.Documents, jenisSertifikat).length > 0 ? `${environment.getApiBase()}${filterListDocuments(data.Documents, jenisSertifikat)[0].Path}` : null\r\n tempUploadStnk.value = filterListDocuments(data.Documents, jenisStnk).length > 0 ? `${environment.getApiBase()}${filterListDocuments(data.Documents, jenisStnk)[0].Path}` : null\r\n // dataForm.LevelVaksinasi = !isEmpty(data.LevelVaksinasi) ? data.LevelVaksinasi.split(',') : []\r\n dataForm.ktp = data.IdNumber\r\n dataForm.transportationType = data?.JenisKendaraan?.Id\r\n dataForm.statusVaksin = !isEmpty(data.LevelVaksinasi) ? data.LevelVaksinasi.split(',') : []\r\n // dataForm.Password = data.Password\r\n // // dataForm.Email = data.Photo\r\n // dataForm.Username = data.Username\r\n dataForm.courierName = data.Fullname\r\n dataForm.courierEmail = data.Email\r\n dataForm.isBlocked = data.IsBlocked\r\n // dataForm.IdNumber = data.Attribute1\r\n // dataForm.isActive = data.IsActive\r\n // dataForm.vehicleNumber = data.Kendaraans.length > 0 ? data.Kendaraans[0].PlatNomor : null\r\n dataForm.address = data.Addresses.length > 0 ? data.Addresses[0]?.Alamat1 : null\r\n // data.KurirMsUserDocuments.map((test: any, index: any) => {\r\n // console.log('test', test)\r\n // listImage.value[index].src = `${process.env.VUE_APP_API_BASE}${test.Path}`\r\n // // listImage.value[index].image = `${process.env.VUE_APP_API_BASE}${test.Path}`\r\n // return listImage\r\n // })\r\n store.dispatch('hideLoading')\r\n }\r\n // end image camera ============================================\r\n const checkResponse = async (response: any) => {\r\n if (response.error) {\r\n $toast.add({\r\n severity: 'error',\r\n detail: response.message,\r\n group: 'bc',\r\n life: 3000\r\n })\r\n courierDocuments.value = []\r\n } else {\r\n console.log('response', response)\r\n if (Id.value) {\r\n $toast.add({\r\n severity: 'success',\r\n detail: response.result.detail ?? response.result.Detail,\r\n group: 'bc',\r\n life: 1500\r\n })\r\n } else {\r\n $toast.add({\r\n severity: 'success',\r\n detail: $strInd.toast.successSubmit,\r\n group: 'bc',\r\n life: 1500\r\n })\r\n }\r\n redirectBack()\r\n }\r\n }\r\n\r\n const toAgentId = ref(store.getters['appActiveUser/getAgent']?.id)\r\n const processUploadFile = async () => {\r\n if (await uploadKtp.value.src !== null) {\r\n const formDataKtp = new FormData()\r\n formDataKtp.append('file', uploadKtp.value.image)\r\n\r\n await receiveItemFileUseCase.submitFile(jenisKtp, formDataKtp).then((res) => {\r\n // console.log('hasil upload res', res)\r\n const sendDataFile = {\r\n Path: res.result.Filename,\r\n Jenis: jenisKtp,\r\n } as any\r\n courierDocuments.value.push(sendDataFile)\r\n })\r\n }\r\n\r\n if (await uploadSertifikat.value.src !== null) {\r\n const formDataSertifikat = new FormData()\r\n formDataSertifikat.append('file', uploadSertifikat.value.image)\r\n await receiveItemFileUseCase.submitFile(jenisSertifikat, formDataSertifikat).then((res) => {\r\n // console.log('hasil upload res', res)\r\n const sendDataFile = {\r\n Path: res.result.Filename,\r\n Jenis: jenisSertifikat,\r\n } as any\r\n courierDocuments.value.push(sendDataFile)\r\n })\r\n }\r\n\r\n if (await uploadStnk.value.src !== null) {\r\n const formDataStnk = new FormData()\r\n formDataStnk.append('file', uploadStnk.value.image)\r\n await receiveItemFileUseCase.submitFile(jenisStnk, formDataStnk).then((res) => {\r\n // console.log('hasil upload res', res)\r\n const sendDataFile = {\r\n Path: res.result.Filename,\r\n Jenis: jenisStnk,\r\n } as any\r\n courierDocuments.value.push(sendDataFile)\r\n })\r\n }\r\n }\r\n\r\n const submitProccess = async () => {\r\n store.dispatch('showLoading')\r\n await processUploadFile()\r\n // console.log('courier', courierDocuments.value)\r\n if (courierDocuments.value.length === 3 || Id.value) {\r\n const data = {\r\n // IdAuth: 'xxx?',\r\n Password: dataForm.password === '' ? null : dataForm.password,\r\n Fullname: dataForm.courierName,\r\n Email: dataForm.courierEmail,\r\n MsAgenId: toAgentId.value,\r\n PhoneNumber: dataForm.phone,\r\n IsActive: dataForm.isActive,\r\n Gender: gender.value,\r\n LastEducation: dataForm.lastEducation,\r\n BirthDate: moment(dataForm.birthDate, 'DD-MM-YYYY'),\r\n IdNumber: dataForm.ktp,\r\n BirthPlace: dataForm.placeBirth,\r\n StatusPernikahan: dataForm.mariedStatus,\r\n KurirMsJenisKendaraanId: dataForm.transportationType,\r\n LevelVaksinasi: dataForm.statusVaksin.toString(),\r\n Address: dataForm.address,\r\n KurirMsUserDocuments: courierDocuments.value\r\n // Jaminan: dataForm.Jaminan,\r\n // Photo: 'xxxx',\r\n // Username: dataForm.Username,\r\n // Attribute1: dataForm.IdNumber, // alamat\r\n // Attribute2: dataForm.vehicleNumber,\r\n }\r\n console.log('ok udah masuk ', data)\r\n await courierUseCase.submitDataForm(Id.value, dataForm.username, data).then((response: any) => {\r\n checkResponse(response)\r\n })\r\n } else {\r\n $toast.add({\r\n severity: 'error',\r\n detail: 'Pastikan semua foto sudah di upload',\r\n group: 'bc',\r\n life: 3000\r\n })\r\n }\r\n store.dispatch('hideLoading')\r\n }\r\n const submitData = (isFormValid: boolean) => {\r\n console.log('isvalid', isFormValid)\r\n console.log('isvalid', isNull(dataForm.password))\r\n console.log('isvalid', v$.value.password.$invalid)\r\n v$.value.password.$invalid = false\r\n console.log('isvalid', v$.value.password.$invalid)\r\n submitted.value = true\r\n // if (isNull(dataForm.password)) {\r\n // if (!isFormValid && v$.v)\r\n // }\r\n if (!isFormValid) {\r\n return\r\n }\r\n submitProccess()\r\n }\r\n const deleteData = () => {\r\n $confirm.require({\r\n header: 'Hapus Kurir',\r\n message: $strInd.confirm.msgDelete,\r\n icon: 'pi pi-exclamation-triangle',\r\n accept: async () => {\r\n const response = await courierUseCase.deleteData(Id.value)\r\n if (response.error) {\r\n $toast.add({\r\n severity: 'error',\r\n detail: $strInd.toast.errorDelete,\r\n group: 'bc',\r\n life: 3000\r\n })\r\n } else {\r\n $toast.add({\r\n severity: 'success',\r\n detail: $strInd.toast.successDeleteData,\r\n group: 'bc',\r\n life: 3000\r\n })\r\n redirectBack()\r\n }\r\n }\r\n })\r\n }\r\n\r\n const blockedCourier = () => {\r\n $confirm.require({\r\n header: `${dataForm.isBlocked ? 'Buka Blokir' : 'Blokir'} Kurir`,\r\n message: `Apakah anda yakin akan ${dataForm.isBlocked ? 'buka blokir' : 'memblokir'} kurir ?`,\r\n icon: 'pi pi-exclamation-triangle',\r\n accept: async () => {\r\n const response = await courierUseCase.changeIsBlocked({ Id: Id.value, IsBlocked: !dataForm.isBlocked })\r\n if (response.error) {\r\n $toast.add({\r\n severity: 'error',\r\n detail: response.message,\r\n group: 'bc',\r\n life: 3000\r\n })\r\n } else {\r\n $toast.add({\r\n severity: 'success',\r\n detail: response.result.detail ?? response.result.Detail,\r\n group: 'bc',\r\n life: 3000\r\n })\r\n redirectBack()\r\n }\r\n }\r\n })\r\n }\r\n\r\n const setResultAddress = (result: any) => {\r\n dataForm.address = result\r\n }\r\n\r\n const getTransportationType = () => {\r\n jenisKendaraanUseCase.getAll({\r\n select: '&$select=Id,Kapasitas,Kode,Nama'\r\n }).then((response: any) => {\r\n transportationTypeOption.value = response.result.map((x: any) => ({\r\n label: x.Nama,\r\n value: x.Id\r\n }))\r\n })\r\n }\r\n\r\n onMounted(() => {\r\n getTransportationType()\r\n if (route.params.courierId) {\r\n Id.value = encryptDecriptMethods.decrypt(route.params.courierId)\r\n }\r\n if (Id.value) {\r\n getDataEdit()\r\n }\r\n generateListImage()\r\n console.log(store.state)\r\n })\r\n\r\n return {\r\n Id,\r\n educationLevelOption,\r\n mariedStatusOption,\r\n // Email,\r\n gender,\r\n genderOption,\r\n redirectBack,\r\n router,\r\n app,\r\n submitProccess,\r\n store,\r\n checkResponse,\r\n route,\r\n getDataEdit,\r\n deleteData,\r\n setResultAddress,\r\n addressRef,\r\n dataForm,\r\n v$,\r\n submitted,\r\n rules,\r\n submitData,\r\n showPassword,\r\n\r\n checkSrcListImage,\r\n showCamera,\r\n listImage,\r\n isDragActive,\r\n uploadKtp,\r\n uploadStnk,\r\n proccessUploadFile,\r\n uploadSertifikat,\r\n onUploadSertifikat,\r\n onUploadStnk,\r\n refUploadSertifikat,\r\n refUploadStnk,\r\n onUploadKtp,\r\n removeImage,\r\n statusVaksinOption,\r\n transportationTypeOption,\r\n courierDocuments,\r\n isDisabled,\r\n tempUploadKtp,\r\n tempUploadSertifikat,\r\n tempUploadStnk,\r\n blockedCourier\r\n }\r\n }\r\n}\r\n","import { render } from \"./CourierForm.vue?vue&type=template&id=87aa279e&ts=true\"\nimport script from \"@/composables/master/courier/courierFormComposable.ts?vue&type=script&lang=ts\"\nexport * from \"@/composables/master/courier/courierFormComposable.ts?vue&type=script&lang=ts\"\n\nimport \"./CourierForm.vue?vue&type=style&index=0&id=87aa279e&lang=scss\"\n\nimport exportComponent from \"C:\\\\Users\\\\Putu Mahardika\\\\Pictures\\\\vue\\\\hjex-frontend\\\\node_modules\\\\@vue\\\\cli-service\\\\node_modules\\\\vue-loader-v16\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __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/cli-service/node_modules/vue-loader-v16/dist/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/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CourierForm.vue?vue&type=style&index=0&id=87aa279e&lang=scss\""],"sourceRoot":""}