{"version":3,"sources":["webpack:///./src/views/Components/UserTemplate.vue","webpack:///src/views/Components/UserTemplate.vue","webpack:///./src/views/Components/UserTemplate.vue?f3c8","webpack:///./src/views/Components/UserTemplate.vue?ee53"],"names":["render","_vm","this","_c","_self","staticClass","ref","attrs","_v","staticStyle","_s","previewText","model","value","showSideBar","callback","$$v","expression","_l","keyItems","key","on","$event","preventDefault","copy","directives","name","rawName","modifiers","domProps","template","preview","$emit","$set","staticRenderFns","props","_name","data","mounted","watch","immediate","handler","val","methods","_this","t","navigator","clipboard","writeText","then","$emitter","emit","message","_preview","_asyncToGenerator","regeneratorRuntime","mark","_callee","r","wrap","_context","prev","next","$client","post","sent","isSuccess","$refs","previewModal","show","stop","apply","arguments","component"],"mappings":"sIAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,UAAU,CAACG,IAAI,eAAeC,MAAM,CAAC,cAAc,GAAG,KAAO,OAAO,CAACJ,EAAG,KAAK,CAACE,YAAY,cAAc,CAACJ,EAAIO,GAAG,wBAAwBL,EAAG,MAAM,CAACM,YAAY,CAAC,cAAc,aAAa,CAACR,EAAIO,GAAGP,EAAIS,GAAGT,EAAIU,kBAAkBR,EAAG,YAAY,CAACI,MAAM,CAAC,SAAW,GAAG,KAAO,GAAG,GAAK,YAAY,MAAQ,aAAa,aAAa,SAASK,MAAM,CAACC,MAAOZ,EAAIa,YAAaC,SAAS,SAAUC,GAAMf,EAAIa,YAAYE,GAAKC,WAAW,gBAAgB,CAACd,EAAG,MAAM,CAACE,YAAY,aAAa,CAACJ,EAAIO,GAAG,sFAAsFL,EAAG,MAAMF,EAAIiB,GAAIjB,EAAIW,MAAMO,UAAU,SAASC,GAAK,OAAOjB,EAAG,MAAM,CAACiB,IAAIA,EAAIA,IAAIf,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EA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hC,EAAIW,MAAO,WAAYI,IAAMC,WAAW,qBAAqB,MAAM,IAEpnEiB,EAAkB,G,wBCmEP,GACfR,KAAA,gBACAS,MAAA,CAAAL,SAAA,KAAAX,SAAA,KAAAiB,MAAA,MACAC,KAAA,WACA,OACAzB,MAAA,CAAAkB,SAAA,KAAAX,SAAA,MACAR,YAAA,KACAG,aAAA,IAGAwB,QAAA,WACA,KAAA1B,MAAAO,SAAA,KAAAA,UAEAoB,MAAA,CACAT,SAAA,CACAU,WAAA,EACAC,QAAA,SAAAC,GACA,KAAA9B,MAAAkB,SAAAY,KAKAC,QAAA,CACAnB,KAAA,SAAAJ,GAAA,IAAAwB,EAAA,KACAC,EAAA,KAAAzB,EAAA,KAEA0B,UAAAC,UAAAC,UAAAH,GAAAI,MAAA,WACAL,EAAAM,SAAAC,KAAA,WAAAC,QAAAP,EAAA,0BACAD,EAAA9B,aAAA,MAGAiB,QAAA,eAAAsB,EAAAC,eAAAC,mBAAAC,MAAA,SAAAC,IAAA,IAAAC,EAAA,OAAAH,mBAAAI,MAAA,SAAAC,GAAA,eAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAE,KAAA,EACA,KAAAC,QAAAC,KAAA,iCAAApD,OAAA,OAAA8C,EAAAE,EAAAK,KAEAP,EAAArB,KAAA6B,YACA,KAAAvD,YAAA+C,EAAArB,KAAAxB,MAAAF,YACA,KAAAwD,MAAAC,aAAAC,QACA,wBAAAT,EAAAU,UAAAb,EAAA,mBANA1B,IAAA,OAAAsB,EAAAkB,MAAA,KAAAC,WAAA,OAAAzC,EAAA,KCpGoW,I,YCOhW0C,EAAY,eACd,EACAzE,EACAkC,GACA,EACA,KACA,KACA,MAIa,aAAAuC,E","file":"js/Components-UserTemplate-vue.e7d5d72c.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"pt-4\"},[_c('b-modal',{ref:\"previewModal\",attrs:{\"hide-footer\":\"\",\"size\":\"sm\"}},[_c('h2',{staticClass:\"mt--5 pb-3\"},[_vm._v(\"Terms & Conditions\")]),_c('div',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.previewText))])]),_c('b-sidebar',{attrs:{\"backdrop\":\"\",\"lazy\":\"\",\"id\":\"sidebar-1\",\"title\":\"Key Fields\",\"bg-variant\":\"white\"},model:{value:(_vm.showSideBar),callback:function ($$v) {_vm.showSideBar=$$v},expression:\"showSideBar\"}},[_c('div',{staticClass:\"px-3 py-2\"},[_vm._v(\"\\n Click to copy the key field, and then paste it into your template.\\n \"),_c('hr'),_vm._l((_vm.model.keyItems),function(key){return _c('div',{key:key.key,staticClass:\"pb-3\"},[_c('div',{staticClass:\"d-flex\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.copy(key.key)}}},[_c('div',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.right\",modifiers:{\"hover\":true,\"right\":true}}],attrs:{\"title\":key.value},domProps:{\"innerHTML\":_vm._s('{{ ' + key.key + ' }}')}})])])])})],2)]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('h3',[_vm._v(\"Template\")]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-8\"},[_c('p',{staticClass:\"text-muted\"},[_vm._v(\"\\n Please adjust based on the practice's unique terms and conditions.\\n This template accepts these\\n \"),_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.showSideBar = true}}},[_vm._v(\"key fields\")]),_vm._v(\".\\n \")])]),_c('div',{staticClass:\"col-4 text-right mb-5\"},[_c('b-button',{staticClass:\"btn-outline-primary\",attrs:{\"variant\":\"primary\",\"disabled\":!_vm.model.template},on:{\"click\":_vm.preview}},[_c('i',{staticClass:\"fa-solid fa-eye\"}),_vm._v(\" Preview\")])],1)]),_c('b-textarea',{staticClass:\"form-control p-4\",attrs:{\"rules\":\"required\",\"rows\":\"16\"},on:{\"input\":function($event){return _vm.$emit('templateUpdate', _vm.model.template)}},model:{value:(_vm.model.template),callback:function ($$v) {_vm.$set(_vm.model, \"template\", $$v)},expression:\"model.template\"}})],1)])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./UserTemplate.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!./UserTemplate.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UserTemplate.vue?vue&type=template&id=88845006\"\nimport script from \"./UserTemplate.vue?vue&type=script&lang=js\"\nexport * from \"./UserTemplate.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}