\n\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 \n \n \n \n
Dynamic Fields
\n Select to copy the dynamic field to your clipboard.\n