{"version":3,"sources":["webpack:///./src/pages/merchant-registration/components/authorized-email/AuthorizedEmail.vue?17c1","webpack:///./src/pages/merchant-registration/components/authorized-email/AuthorizedEmail.vue","webpack:///./src/pages/merchant-registration/components/authorized-email/AuthorizedEmail.vue?91ec","webpack:///./src/pages/merchant-registration/components/authorized-email/AuthorizedEmail.vue?4a65"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","on","$event","_addNewCmponent","_l","component","key","serial","scopedSlots","_u","fn","attrs","model","value","callback","$$v","$set","expression","_removeComponent","_e","proxy","staticRenderFns","componentId","authorizedEmail","name","position","contact","email","unshift","id","newRepresentatives","filter","rep","components","CustomInput","MakeDuplicate"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,wBAAwB,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,qDAAqD,CAACF,EAAG,MAAM,CAACE,YAAY,0CAA0C,CAACF,EAAG,KAAK,CAACE,YAAY,kDAAkD,CAACN,EAAIO,GAAG,2DAA2DH,EAAG,SAAS,CAACE,YAAY,wDAAwDE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOT,EAAIU,qBAAqB,CAACV,EAAIO,GAAG,qBAAqBH,EAAG,MAAM,CAACE,YAAY,wBAAwBN,EAAIW,GAAIX,EAAmB,iBAAE,SAASY,GAAW,OAAOR,EAAG,iBAAiB,CAACS,IAAID,EAAUE,OAAOR,YAAY,SAASS,YAAYf,EAAIgB,GAAG,CAAC,CAACH,IAAI,iBAAiBI,GAAG,WAAW,MAAO,CAACb,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACF,EAAG,eAAe,CAACE,YAAY,SAASY,MAAM,CAAC,MAAQ,OAAO,UAAY,QAAQC,MAAM,CAACC,MAAOR,EAAc,KAAES,SAAS,S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AAClB,EAAIO,GAAG,WAAW,QAC/oFqB,EAAkB,G,gGCyGD,EAArB,yG,0BACE,EAAAC,YAAc,EACd,EAAAC,gBAAsC,CACpC,CAAEhB,OAAQ,EAAGiB,KAAM,GAAIC,SAAU,GAAIC,QAAS,GAAIC,MAAO,KAH7D,wDAME,WACEjC,KAAK4B,YAAc5B,KAAK4B,YAAc,EACtC5B,KAAK6B,gBAAgBK,QAAQ,CAC3BrB,OAAQb,KAAK4B,YACbE,KAAM,GACNE,QAAS,GACTC,MAAO,GACPF,SAAU,OAbhB,8BAgBE,SAAiBI,GACf,IAAMC,EAAqBpC,KAAK6B,gBAAgBQ,QAC9C,SAACC,GAAD,OAASA,EAAIzB,QAAUsB,KAEzBnC,KAAK6B,gBAAkBO,IApB3B,qBAuBE,WACE,OAAO,MAxBX,GAA6C,QAuB3C,gBADC,eAAK,a,sBAGL,MAzBkB,EAAe,gBANnC,eAAU,CACTG,WAAY,CACVC,YAAA,OACAC,cAAA,WAGiB,WC1G6wB,I,YCO9xB9B,EAAY,eACd,EACAb,EACA6B,GACA,EACA,KACA,KACA,MAIa,aAAAhB,E","file":"js/chunk-2d0b34d5.7a39067f.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"px-10 lg:px-64 py-10\"},[_c('div',{staticClass:\"flex flex-col\"},[_c('div',{staticClass:\"w-full px-10 py-8 mb-5 bg-white shadow-md rounded\"},[_c('div',{staticClass:\"flex items-center justify-between mb-5\"},[_c('h3',{staticClass:\"uppercase font-extrabold text-blue-900 text-sm\"},[_vm._v(\" AUTHORIZED EMAIL RECIPIENTS OF STATEMENT OF ACCOUNT \")]),_c('button',{staticClass:\"btn btn-orange px-12 font-extrabold text-sm uppercase\",on:{\"click\":function($event){return _vm._addNewCmponent()}}},[_vm._v(\" + ADD ENTRY \")])]),_c('div',{staticClass:\"-mx-2 flex flex-wrap\"},_vm._l((_vm.authorizedEmail),function(component){return _c('make-duplicate',{key:component.serial,staticClass:\"w-full\",scopedSlots:_vm._u([{key:\"childComponent\",fn:function(){return [_c('div',{staticClass:\"w-full px-2 mb-4 mt-8\"},[_c('custom-input',{staticClass:\"shadow\",attrs:{\"label\":\"Name\",\"pageWidth\":\"true\"},model:{value:(component.name),callback:function ($$v) {_vm.$set(component, \"name\", $$v)},expression:\"component.name\"}})],1),_c('div',{staticClass:\"w-full px-2 mb-4\"},[_c('custom-input',{staticClass:\"shadow\",attrs:{\"label\":\"Designation / Position\"},model:{value:(component.position),callback:function ($$v) {_vm.$set(component, \"position\", $$v)},expression:\"component.position\"}})],1),_c('div',{staticClass:\"w-full px-2 mb-4\"},[_c('custom-input',{staticClass:\"shadow\",attrs:{\"label\":\"Contact Numbers\"},model:{value:(component.contact),callback:function ($$v) {_vm.$set(component, \"contact\", $$v)},expression:\"component.contact\"}})],1),_c('div',{staticClass:\"w-full px-2 mb-4\"},[_c('custom-input',{staticClass:\"shadow\",attrs:{\"label\":\"Email Address\"},model:{value:(component.email),callback:function ($$v) {_vm.$set(component, \"email\", $$v)},expression:\"component.email\"}})],1),_c('div',{staticClass:\"flex w-full px-2 mb-8 justify-end\"},[(component.serial > 0)?_c('button',{staticClass:\"text-orange font-extrabold text-sm block pr-1\",on:{\"click\":function($event){return _vm._removeComponent(component.serial)}}},[_vm._v(\" remove \")]):_vm._e()]),(component.serial > 0)?_c('div',{staticClass:\"px-2\"},[_c('div',{staticClass:\"border-b border-grey-700 border-opacity-40 w-full\"})]):_vm._e()]},proxy:true}],null,true)})}),1)]),_c('div',{staticClass:\"flex justify-end items-center mt-4\"},[_c('router-link',{staticClass:\"btn btn-grey mr-3 px-10 font-extrabold text-sm uppercase\",attrs:{\"to\":\"/merchant-registration/company-information\"}},[_vm._v(\"Previous\")]),_c('router-link',{staticClass:\"btn btn-orange px-12 font-extrabold text-sm uppercase\",attrs:{\"to\":\"/merchant-registration/delivery-information\"}},[_vm._v(\"NEXT\")])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Emit } from \"vue-property-decorator\";\nimport { CustomInput, MakeDuplicate } from \"@components\";\n\ninterface AuthorizedEmails {\n serial: number;\n name: string;\n position: string;\n contact: string;\n email: string;\n}\n\n@Component({\n components: {\n CustomInput,\n MakeDuplicate,\n },\n})\nexport default class AuthorizedEmail extends Vue {\n componentId = 0;\n authorizedEmail: AuthorizedEmails[] = [\n { serial: 0, name: \"\", position: \"\", contact: \"\", email: \"\" },\n ];\n\n _addNewCmponent() {\n this.componentId = this.componentId + 1;\n this.authorizedEmail.unshift({\n serial: this.componentId,\n name: \"\",\n contact: \"\",\n email: \"\",\n position: \"\",\n });\n }\n _removeComponent(id: number) {\n const newRepresentatives = this.authorizedEmail.filter(\n (rep) => rep.serial != id\n );\n this.authorizedEmail = newRepresentatives;\n }\n @Emit(\"getValue\")\n created() {\n return 2;\n }\n}\n","import mod from \"-!../../../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/.pnpm/babel-loader@8.2.3_7f185b6b63b1b293762538aa414d8c1b/node_modules/babel-loader/lib/index.js!../../../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@3.9.10/node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/.pnpm/vue-loader@15.9.8_679359cdb69c218f2f8f476b2ba08796/node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthorizedEmail.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/.pnpm/babel-loader@8.2.3_7f185b6b63b1b293762538aa414d8c1b/node_modules/babel-loader/lib/index.js!../../../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@3.9.10/node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/.pnpm/vue-loader@15.9.8_679359cdb69c218f2f8f476b2ba08796/node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthorizedEmail.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AuthorizedEmail.vue?vue&type=template&id=3cf993af&\"\nimport script from \"./AuthorizedEmail.vue?vue&type=script&lang=ts&\"\nexport * from \"./AuthorizedEmail.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/.pnpm/vue-loader@15.9.8_679359cdb69c218f2f8f476b2ba08796/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":""}