{"version":3,"sources":["webpack:///./src/components/Document.vue?3686","webpack:///./src/components/Document.vue?62aa","webpack:///src/components/Document.vue","webpack:///./src/components/Document.vue?c71c","webpack:///./src/components/Document.vue","webpack:///./node_modules/v-runtime-template/dist/v-runtime-template.es.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","on","$event","getDocument","_v","_s","generate","_e","class","isFullScreen","title","successMessage","errorMessage","staticClass","model","value","callback","$$v","eMailSubject","expression","emailAddress","loading","btnColor","sendMail","$root","isMobile","isTablet","showDoc","createPdf","noFullScreen","scopedSlots","_u","key","fn","ref","_g","toggleFullScreen","staticStyle","templateKey","letterBody","domProps","error","modelReady","parsedBodyTemplate","props","message","compiled","tag","parsedIntroBodyTemplate","submitDocument","documentModel","document_name","recId","close","staticRenderFns","bind","el","setAttribute","newVForExpression","name","components","VRuntimeTemplate","VEditable","VCustomerDocument","Object","email","String","bodyTemplate","introBodyTemplate","parentModel","parModel","formModel","add_data_name","qryFn","Function","qry","feedback","data","portalId","companyId","rendered","introBody","letterId","defaultLinkText","defaultCustomerPortalText","linkValue","documentId","dataReady","parentTable","myDialog","dataGroupBy","editedBody","errorCaptured","toString","console","mounted","$on","portal_id","par","company","company_id","_id","initDocument","type","log","d","obj","computed","methods","print","printWindow","document","write","onload","focus","portal","object_name","record_id","$route","params","id","filename","html","sorted","fld","newValueInGroupBy","isNew","i","groupByField","createGroupBy","curValue","forEach","f","$refs","customerDocument","submit","alert","applyInlineStyles","styles","cssRules","elements","element","XMLSerializer","serializeToString","doc","body","replaceAll","extractContentDiv","contentDiv","serializeWithInlineStyles","clone","outerHTML","that","url","serverURL","parseTemplate","document_data","getStyle","styleElements","allStyles","elem","textContent","parsedTemplate","setTimeout","b","innerHTML","indexOf","credit_card_link","b_intro","subject","filterBy","items","filter","filterFunction","getBody","sales_person_sign","createCustomerPortalLink","extractField","undefined","init","template","field","startsWith","includes","parsed","showError","formatCC","n","slice","formatNumber","now","date","addMinuteToCurrentTime","Date","addHours","m","currentDate","get_ach","ach","payment","p","length","check_info","checkInfo","k","companyLogo","logoUrl","shipment_detail","logo_url","logo","amount","prompt","encripted","secret_data","shipment_id","sales_person","path","window","location","host","signature_pad","getWeekDay","today","capitalize","chargeByName","service","charges","estimate_charges","thisCharge","c","charge","chargeName","subtotal","totalByType","total","charge_category","chargeCategory","parseFloat","toFixed","sentId","createLink","mailData","intro_body","send_as_link","email_to","letter_id","sent_id","comp_id","sender","store","userData","receipient","customer","contact","getLetterLink","encrypted","encodeURIComponent","letterLink","customer_portal_link","watch","handler","deep","component","VAlert","VBtn","VDialog","VIcon","VSpacer","VTextField","VToolbar","VTooltip","t","o","e","hasOwnProperty","r","getOwnPropertyDescriptor","defineProperty","parent","templateProps","default","$parent","$data","$props","a","$options","s","v","u","h","keys","O","$","j","y","concat","E","P","l","getOwnPropertyNames","provide","_provided"],"mappings":"gHAAA,yBAA+c,EAAG,G,oECAld,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAAEJ,EAAY,SAAEI,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,KAAK,CAACF,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ,QAAQC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,iBAAiB,CAACT,EAAIU,GAAGV,EAAIW,GAAGX,EAAIY,cAAc,GAAGZ,EAAIa,KAAKT,EAAG,MAAM,CAACU,MAAM,CAAE,qBAAsBd,EAAIe,eAAgB,CAACX,EAAG,MAAM,CAACA,EAAG,KAAK,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIgB,UAAiC,IAAtBhB,EAAIiB,eAAsBb,EAAG,UAAU,CAACE,MAAM,CAAC,QAAU,OAAO,MAAQ,GAAG,YAAc,GAAG,KAAO,YAAY,CAACN,EAAIU,GAAG,IAAIV,EAAIW,GAAGX,EAAIiB,gBAAgB,OA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,GAAG,IAAIC,EAAE,GAAG,OAAOD,EAAE7I,SAAQ,SAAS6I,GAAGA,GAAGhN,OAAO2O,oBAAoB3B,GAAG7I,SAAQ,SAASgJ,GAAG,OAAOJ,EAAEC,EAAEC,EAAEE,SAAOF,EAA3H,CAA8H,CAACgB,EAAEP,MAAMO,EAAEN,OAAO/E,EAAEjN,KAAK4R,gBAAgB,OAAOP,EAAE,CAAC5F,SAASzL,KAAKyL,UAAU,cAAcxI,MAAM0P,EAAE3L,SAASsL,EAAEtL,SAAS/C,WAAWqO,EAAErO,WAAWgP,QAAQjT,KAAK8R,QAAQoB,WAAW,CAACjQ,MAAM8P,IAAI,IAAIF,EAAEC","file":"js/chunk-70a5076f.edd4dbd2.js","sourcesContent":["import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Document.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Document.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.generate)?_c('v-toolbar',{attrs:{\"flat\":\"\"}},[_c('v-btn',{attrs:{\"color\":\"info\"},on:{\"click\":function($event){return _vm.getDocument()}}},[_vm._v(_vm._s(_vm.generate))])],1):_vm._e(),_c('div',{class:{ 'full-screen-editor': _vm.isFullScreen }},[_c('div',[_c('h1',[_vm._v(_vm._s(_vm.title))]),(_vm.successMessage != '')?_c('v-alert',{attrs:{\"timeout\":\"6000\",\"dense\":\"\",\"dismissible\":\"\",\"type\":\"success\"}},[_vm._v(\" \"+_vm._s(_vm.successMessage)+\" \")]):_vm._e(),(_vm.errorMessage != '' && _vm.errorMessage)?_c('v-alert',{attrs:{\"dismissible\":\"\",\"dense\":\"\",\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.errorMessage)+\" \")]):_vm._e(),_c('v-toolbar',{staticClass:\"ma-2\",attrs:{\"flat\":\"\"}},[_c('v-spacer'),(_vm.eMailSubject)?_c('v-text-field',{staticClass:\"mt-2 mr-2\",attrs:{\"label\":\"Subject\"},model:{value:(_vm.eMailSubject),callback:function ($$v) {_vm.eMailSubject=$$v},expression:\"eMailSubject\"}}):_vm._e(),_c('v-text-field',{staticClass:\"mt-2 mr-2\",attrs:{\"label\":\"Email\"},model:{value:(_vm.emailAddress),callback:function ($$v) {_vm.emailAddress=$$v},expression:\"emailAddress\"}}),(_vm.emailAddress)?_c('v-btn',{staticClass:\"ma-4\",attrs:{\"loading\":_vm.loading,\"text\":\"\",\"color\":_vm.btnColor},on:{\"click\":function($event){return _vm.sendMail()}}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-send\")]),_c('div',[_vm._v(\"Send \"+_vm._s(_vm.successMessage)+\" \"+_vm._s(_vm.errorMessage))])],1):_vm._e(),(_vm.$root.isMobile || _vm.$root.isTablet)?_c('v-btn',{staticClass:\"ma-4\",attrs:{\"loading\":_vm.loading,\"icon\":\"\",\"color\":\"warning\"},on:{\"click\":function($event){_vm.showDoc = true}}},[_c('v-icon',[_vm._v(\"mdi-clipboard-outline\")]),(!_vm.$root.isMobile)?_c('span',{staticClass:\"ma-2\"},[_vm._v(\" Get Signed\")]):_vm._e()],1):_vm._e(),_c('v-btn',{staticClass:\"ma-4\",attrs:{\"text\":\"\",\"loading\":_vm.loading,\"color\":\"warning\"},on:{\"click\":function($event){return _vm.createPdf()}}},[_c('v-icon',[_vm._v(\"mdi-printer\")]),(!_vm.$root.isMobile)?_c('span',{staticClass:\"ma-2\"},[_vm._v(\" Print \"+_vm._s(_vm.successMessage)+\" \"+_vm._s(_vm.errorMessage))]):_vm._e()],1),(!_vm.$root.isMobile && !_vm.$root.isTablet && !_vm.noFullScreen)?_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"icon\":\"\"},on:{\"click\":_vm.toggleFullScreen}},on),[(!_vm.isFullScreen)?_c('v-icon',[_vm._v(\"mdi-fullscreen\")]):_c('v-icon',{attrs:{\"round\":\"\",\"color\":\"error\"}},[_vm._v(\"mdi-fullscreen-exit\")])],1)]}}],null,false,1903267677)},[_c('span',[_vm._v(\"Toggle Full Screen\")])]):_vm._e()],1),(!_vm.showDoc)?_c('div',{staticClass:\"document-body\",staticStyle:{\"border\":\"1px solid\",\"overflow\":\"auto\"}},[_c('v-editable',{key:_vm.templateKey,attrs:{\"model\":_vm.letterBody}})],1):_vm._e()],1),(_vm.dataReady)?_c('div',[(_vm.error)?_c('div',[_c('span',[_vm._v(\" Your code contains an error \")]),_c('pre',{domProps:{\"textContent\":_vm._s(_vm.error)}})]):_vm._e(),_c('div',{ref:\"body\",attrs:{\"hidden\":\"\"}},[(_vm.modelReady && _vm.model)?_c('v-runtime-template',{attrs:{\"template\":_vm.parsedBodyTemplate},scopedSlots:_vm._u([{key:\"error\",fn:function(props){return _c('div',{},[_vm._v(\" \"+_vm._s(props.error.message)+\" \")])}}],null,false,2927424759)}):_vm._e(),_c(_vm.compiled,{tag:\"component\"})],1),_c('div',{ref:\"intro_body\",attrs:{\"hidden\":\"\"}},[(_vm.modelReady && _vm.model)?_c('v-runtime-template',{attrs:{\"template\":_vm.parsedIntroBodyTemplate},scopedSlots:_vm._u([{key:\"error\",fn:function(props){return _c('div',{},[_vm._v(\" \"+_vm._s(props.error.message)+\" \")])}}],null,false,2927424759)}):_vm._e()],1)]):_vm._e(),_c('v-dialog',{staticClass:\"customer-doc\",attrs:{\"fullscreen\":\"\"},model:{value:(_vm.showDoc),callback:function ($$v) {_vm.showDoc=$$v},expression:\"showDoc\"}},[_c('v-toolbar',{staticClass:\"footer-toolbar-\"},[_c('v-btn',{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.showDoc = false}}},[_vm._v(\"Close\")]),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\"},on:{\"click\":function($event){return _vm.submitDocument()}}},[_vm._v(\"Submit\")])],1),_c('div',{staticClass:\"document-wrapper\"},[_c('v-customer-document',{ref:\"customerDocument\",attrs:{\"v\":\"if=documentModel\",\"onDevice\":true,\"body\":_vm.letterBody,\"docName\":_vm.documentModel ? _vm.documentModel.document_name : '',\"objName\":\"shipment\",\"recId\":_vm.recId,\"close\":_vm.close}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n {{ title }}
\r\n\r\n