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B,KAAM,QACNN,MAAO,oBAGX,wBAAoB,QAAQ,GAC/B2B,EAAa,WACT,kBAAc,wBAAoB,MAAOxB,EAAY,EACpD,wBAAoB,SAAUC,EAAY,EACxC,sBAAiB,qBAAiBuB,EAAKb,qBAAuB,IAAK,GACnEP,QAGJ,wBAAoB,QAAQ,MAElC2B,EAAG,GACF,EAAe,CAAC,aAClBP,EAAqB,mBACjB,kBAAc,wBAAoB,KAAMnB,EAAY,qDACrD,wBAAoB,QAAQ,IAEpC,GErD4E,CAAC,YAAY,sBCJzF,IAAA2B,WAAUC,GAAKC,MAAM,oB","sources":["webpack://aspnetcore-vuejs-typescript-template/./VueApp/alex-test/alex.html","webpack://aspnetcore-vuejs-typescript-template/./VueApp/alex-test/alex.ts","webpack://aspnetcore-vuejs-typescript-template/./VueApp/alex-test/App.vue","webpack://aspnetcore-vuejs-typescript-template/./VueApp/alex-test/main.ts"],"sourcesContent":["import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4d75a84f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"h5\", null, \"Be the first to find out about the latest workshops, promotions and online exclusives.\", -1 /* HOISTED */))\nconst _hoisted_2 = {\n key: 0,\n class: \"input-field col s12\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { for: \"email\" }, \"Email Address\", -1 /* HOISTED */))\nconst _hoisted_4 = {\n key: 1,\n class: \"col s12\"\n}\nconst _hoisted_5 = {\n class: \"btn waves-light right\",\n type: \"submit\",\n name: \"action\"\n}\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"material-icons left\" }, \"send\", -1 /* HOISTED */))\nconst _hoisted_7 = { key: 0 }\n\nexport function render(_ctx, _cache) {\n const _component_Field = _resolveComponent(\"Field\")\n const _component_ErrorMessage = _resolveComponent(\"ErrorMessage\")\n const _component_Form = _resolveComponent(\"Form\")\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _hoisted_1,\n _createVNode(_component_Form, { onSubmit: _ctx.onSubmit }, {\n default: _withCtx(() => [\n (_ctx.showFrom)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(_component_Field, {\n name: \"email\",\n type: \"email\",\n rules: _ctx.validateEmail,\n class: \"validate\"\n }, null, 8 /* PROPS */, [\"rules\"]),\n _hoisted_3,\n _createVNode(_component_ErrorMessage, {\n name: \"email\",\n class: \"helper-text\"\n })\n ]))\n : _createCommentVNode(\"v-if\", true),\n (_ctx.showFrom)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"button\", _hoisted_5, [\n _createTextVNode(_toDisplayString(_ctx.subscribeButtonText) + \" \", 1 /* TEXT */),\n _hoisted_6\n ])\n ]))\n : _createCommentVNode(\"v-if\", true)\n ]),\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"onSubmit\"]),\n (_ctx.showConfirmation)\n ? (_openBlock(), _createElementBlock(\"h5\", _hoisted_7, \"Thank you, your sign-up request was successful!\"))\n : _createCommentVNode(\"v-if\", true)\n ]))\n}","import { Component, Vue } from 'vue-facing-decorator'\r\nimport { Field, Form, ErrorMessage } from 'vee-validate';\r\n\r\n@Component({\r\n components: {\r\n Field,\r\n Form,\r\n ErrorMessage\r\n }\r\n})\r\nexport default class About extends Vue {\r\n\r\n showFrom: boolean = true;\r\n showConfirmation: boolean = false;\r\n enableNewsLetterButton: boolean = true;\r\n subscribeButtonText: string = 'Subscribe';\r\n\r\n\r\n onSubmit(values: any) {\r\n console.log(values);\r\n }\r\n\r\n validateEmail(value: any) {\r\n // if the field is empty\r\n if (!value) {\r\n return 'This field is required';\r\n }\r\n // if the field is not a valid email\r\n const regex = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i;\r\n if (!regex.test(value)) {\r\n return 'This field must be a valid email';\r\n }\r\n // All is good\r\n return true;\r\n }\r\n}","import { render } from \"./alex.html?vue&type=template&id=4d75a84f&scoped=true&ts=true\"\nimport script from \"./alex.ts?vue&type=script&lang=ts\"\nexport * from \"./alex.ts?vue&type=script&lang=ts\"\n\nimport \"./alex.scss?vue&type=style&index=0&id=4d75a84f&lang=scss&scoped=true\"\n\nimport exportComponent from \"D:\\\\Personal-Projects\\\\CkWeb\\\\src\\\\CK.Web\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4d75a84f\"]])\n\nexport default __exports__","import { createApp } from 'vue'\r\nimport App from './App.vue'\r\n\r\ncreateApp(App).mount('#newsletter-forms')"],"names":["_withScopeId","n","_hoisted_1","_hoisted_2","key","class","_hoisted_3","for","_hoisted_4","_hoisted_5","type","name","_hoisted_6","_hoisted_7","About","Vue","showFrom","showConfirmation","enableNewsLetterButton","subscribeButtonText","onSubmit","values","console","log","validateEmail","value","test","Component","components","Field","Form","ErrorMessage","_ctx","_cache","_component_Field","_component_ErrorMessage","_component_Form","default","rules","_","createApp","App","mount"],"sourceRoot":""}