{"version":3,"sources":["webpack:///./src/views/Components/Reminder/preview.vue","webpack:///src/views/Components/Reminder/preview.vue","webpack:///./src/views/Components/Reminder/preview.vue?f2af","webpack:///./src/views/Components/Reminder/preview.vue?0bd8","webpack:///./src/views/Components/Reminder/changeDefault.vue","webpack:///src/views/Components/Reminder/changeDefault.vue","webpack:///./src/views/Components/Reminder/changeDefault.vue?7424","webpack:///./src/views/Components/Reminder/changeDefault.vue?f564"],"names":["render","_vm","this","_c","_self","_v","_s","processTemplate","notification","subject","day","staticClass","staticStyle","message","replace","staticRenderFns","props","keyItems","methods","m","days","forEach","element","key","value","component","attrs","scopedSlots","_u","fn","_ref","handleSubmit","on","$event","preventDefault","updateDefaultTemplate","model","state","callback","$$v","expression","myDefaultTemplate","$set","_e","_l","k","copy","directives","name","rawName","modifiers","domProps","components","Preview","defaultTemplate","defaultTemplatesReminders","data","created","JSON","parse","stringify","_this","t","navigator","clipboard","writeText","then","$emitter","emit","showSideBar","$emit"],"mappings":"gMAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACA,EAAG,IAAI,CAACF,EAAII,GAAG,aAAaF,EAAG,MAAMF,EAAII,GAAGJ,EAAIK,GAAGL,EAAIM,gBAAgBN,EAAIO,aAAaC,QAASR,EAAIO,aAAaE,MAAM,UAAUP,EAAG,MAAM,CAACQ,YAAY,QAAQ,CAACR,EAAG,MAAM,GAAG,CAACA,EAAG,IAAI,CAACF,EAAII,GAAG,aAAaF,EAAG,MAAM,CAACS,YAAY,CAAC,cAAc,aAAa,CAACX,EAAII,GAAGJ,EAAIK,GAAGL,EAAIM,gBAAgBN,EAAIO,aAAaK,QAAQZ,EAAIO,aAAaE,KAAKI,QAAQ,OAAQ,OAAO,qBAExbC,EAAkB,GCeP,G,UAAA,CACfC,MAAA,CACAR,aAAA,KACAS,SAAA,MAEAC,QAAA,CACAX,gBAAA,SAAAY,EA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mB,EAAErB,OAAO2B,SAAS,CAAC,UAAYlD,EAAIK,GAAG,GAAKuC,EAAEtB,QAAapB,EAAG,WAAU,MAAM,IAAI,IAEz1EY,EAAkB,G,YCuFP,GACfqC,WAAA,CAAAC,sBACArC,MAAA,CACAC,SAAA,KACAqC,gBAAA,KACAC,0BAAA,MAEAC,KAAA,WACA,OACAnB,MAAA,OACAI,kBAAA,OAGAgB,QAAA,WACA,KAAAhB,kBAAAiB,KAAAC,MAAAD,KAAAE,UAAA,KAAAN,mBAEApC,QAAA,CACA4B,KAAA,SAAAvB,GAAA,IAAAsC,EAAA,KACAC,EAAAvC,EAEAwC,UAAAC,UAAAC,UAAAH,GAAAI,MAAA,WACAL,EAAAM,SAAAC,KAAA,WAAAvD,QAAAiD,EAAA,0BACAD,EAAAQ,aAAA,MAGAlC,sBAAA,WACA,KAAAmC,MAAA,gCAAA7B,sBCnHoX,I,YCOhXhB,EAAY,eACd,EACAzB,EACAe,GACA,EACA,KACA,KACA,MAIa,aAAAU,E","file":"js/Components-Reminder-changeDefault-vue.4841fe5f.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',[_c('b',[_vm._v(\"Subject\")]),_c('br'),_vm._v(_vm._s(_vm.processTemplate(_vm.notification.subject, _vm.notification.day))+\"\\n \")]),_c('div',{staticClass:\"pt-3\"},[_c('div',{},[_c('b',[_vm._v(\"Message\")]),_c('div',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.processTemplate(_vm.notification.message,_vm.notification.day).replace(/\\\\n/g, \"\\n\"))+\"\\n \")])])])])\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!./preview.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!./preview.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./preview.vue?vue&type=template&id=1993c618\"\nimport script from \"./preview.vue?vue&type=script&lang=js\"\nexport * from \"./preview.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('b-row',{staticClass:\"mt--5\"},[_c('b-col',{staticClass:\"pl-4 pr-5\",attrs:{\"cols\":\"8\"}},[_c('validation-observer',{scopedSlots:_vm._u([{key:\"default\",fn:function({ handleSubmit }){return [_c('form',{attrs:{\"method\":\"post\"},on:{\"submit\":function($event){$event.preventDefault();return handleSubmit(_vm.updateDefaultTemplate)}}},[_c('b-row',[_c('b-col',[_c('h2',[_vm._v(\"Default Template\")]),_vm._v(\"\\n Below is the message that will be sent for notifications set to\\n Default.\\n \")]),_c('b-col',{staticClass:\"pl-3\",attrs:{\"md\":\"auto\"}},[_c('b-form-checkbox',{attrs:{\"switch\":\"\",\"value\":\"preview\",\"unchecked-value\":\"edit\"},model:{value:(_vm.state),callback:function ($$v) {_vm.state=$$v},expression:\"state\"}},[_vm._v(\"Preview\")])],1)],1),(_vm.state == 'edit')?[_c('b-row',{staticClass:\"pt-5\"},[_c('b-col',[_c('base-input',{attrs:{\"rules\":\"required\",\"label\":\"Subject\",\"placeholder\":\"\",\"name\":\"subject\"},model:{value:(_vm.myDefaultTemplate.subject),callback:function ($$v) {_vm.$set(_vm.myDefaultTemplate, \"subject\", $$v)},expression:\"myDefaultTemplate.subject\"}}),_c('base-textarea',{attrs:{\"label\":\"Message\",\"name\":\"message\",\"rows\":10,\"rules\":\"required\",\"maxlength\":\"100\",\"placeholder\":\"Enter the default template you want applied to all reminders that are marked as default\"},model:{value:(_vm.myDefaultTemplate.message),callback:function ($$v) {_vm.$set(_vm.myDefaultTemplate, \"message\", $$v)},expression:\"myDefaultTemplate.message\"}}),_c('b-button',{staticClass:\"mt-4\",attrs:{\"type\":\"submit\",\"block\":\"\"}},[_vm._v(\"Save Default Template\")])],1)],1)]:_vm._e(),(_vm.state == 'preview')?[_c('br'),_c('Preview',{attrs:{\"notification\":_vm.myDefaultTemplate,\"keyItems\":_vm.keyItems}})]:_vm._e()],2)]}}])})],1),_c('b-col',{staticClass:\"border-left pl-5\",attrs:{\"cols\":\"4\"}},[_c('h3',[_vm._v(\"Dynamic Fields\")]),_vm._v(\"\\n Select to copy the dynamic field to your clipboard.\\n \"),_c('div',{staticClass:\"pt-5\"},_vm._l((_vm.keyItems),function(k){return _c('a',{key:k.key,attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.copy(k.key)}}},[_c('span',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.right\",modifiers:{\"hover\":true,\"right\":true}}],attrs:{\"title\":k.value},domProps:{\"innerHTML\":_vm._s('' + k.key + '')}}),_c('br')])}),0)])],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!./changeDefault.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!./changeDefault.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./changeDefault.vue?vue&type=template&id=15e45a17\"\nimport script from \"./changeDefault.vue?vue&type=script&lang=js\"\nexport * from \"./changeDefault.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":""}