subscription.js 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. exports.ids = [32];
  2. exports.modules = {
  3. /***/ 281:
  4. /***/ (function(module, exports) {
  5. // Exports
  6. module.exports = {
  7. };
  8. /***/ }),
  9. /***/ 341:
  10. /***/ (function(module, exports, __webpack_require__) {
  11. module.exports = __webpack_require__.p + "img/e-mail@2x.088e685.png";
  12. /***/ }),
  13. /***/ 342:
  14. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  15. "use strict";
  16. __webpack_require__.r(__webpack_exports__);
  17. /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Subscription_vue_vue_type_style_index_0_id_1a0848d9_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(281);
  18. /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Subscription_vue_vue_type_style_index_0_id_1a0848d9_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Subscription_vue_vue_type_style_index_0_id_1a0848d9_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
  19. /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Subscription_vue_vue_type_style_index_0_id_1a0848d9_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Subscription_vue_vue_type_style_index_0_id_1a0848d9_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  20. /***/ }),
  21. /***/ 378:
  22. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  23. "use strict";
  24. // ESM COMPAT FLAG
  25. __webpack_require__.r(__webpack_exports__);
  26. // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Subscription.vue?vue&type=template&id=1a0848d9&scoped=true
  27. var render = function render() {
  28. var _vm = this,
  29. _c = _vm._self._c;
  30. return _c('div', {
  31. staticClass: "wrap"
  32. }, [_vm._ssrNode("<div class=\"wrap-title\" data-v-1a0848d9><img" + _vm._ssrAttr("src", __webpack_require__(341)) + " data-v-1a0848d9> <span data-v-1a0848d9>Get the latest sales and new product annoucements right to your inbox</span></div> "), _c('el-form', {
  33. ref: "emailForm",
  34. attrs: {
  35. "inline": true,
  36. "model": _vm.emailForm,
  37. "method": "post",
  38. "action": "https://app.icontact.com/icp/core/mycontacts/signup/designer/form/?id=210&cid=1413118&lid=11002",
  39. "rules": _vm.rules
  40. },
  41. nativeOn: {
  42. "submit": function ($event) {
  43. return _vm.submit($event);
  44. }
  45. }
  46. }, [_c('el-form-item', {
  47. attrs: {
  48. "prop": "email"
  49. }
  50. }, [_c('el-input', {
  51. attrs: {
  52. "name": "data[email]",
  53. "placeholder": "E-MAIL",
  54. "clearable": ""
  55. },
  56. model: {
  57. value: _vm.emailForm.email,
  58. callback: function ($$v) {
  59. _vm.$set(_vm.emailForm, "email", $$v);
  60. },
  61. expression: "emailForm.email"
  62. }
  63. })], 1), _vm._v(" "), _c('el-form-item', {
  64. attrs: {
  65. "prop": "fname"
  66. }
  67. }, [_c('el-input', {
  68. attrs: {
  69. "name": "data[fname]",
  70. "placeholder": "FIRST NAME",
  71. "clearable": ""
  72. },
  73. model: {
  74. value: _vm.emailForm.fname,
  75. callback: function ($$v) {
  76. _vm.$set(_vm.emailForm, "fname", $$v);
  77. },
  78. expression: "emailForm.fname"
  79. }
  80. })], 1), _vm._v(" "), _c('el-form-item', {
  81. attrs: {
  82. "prop": "lname"
  83. }
  84. }, [_c('el-input', {
  85. attrs: {
  86. "name": "data[lname]",
  87. "placeholder": "LAST NAME",
  88. "clearable": ""
  89. },
  90. model: {
  91. value: _vm.emailForm.lname,
  92. callback: function ($$v) {
  93. _vm.$set(_vm.emailForm, "lname", $$v);
  94. },
  95. expression: "emailForm.lname"
  96. }
  97. })], 1), _vm._v(" "), _c('el-form-item', {
  98. attrs: {
  99. "prop": "phone"
  100. }
  101. }, [_c('el-input', {
  102. attrs: {
  103. "name": "data[phone]",
  104. "placeholder": "PHONE",
  105. "clearable": ""
  106. },
  107. model: {
  108. value: _vm.emailForm.phone,
  109. callback: function ($$v) {
  110. _vm.$set(_vm.emailForm, "phone", $$v);
  111. },
  112. expression: "emailForm.phone"
  113. }
  114. })], 1), _vm._v(" "), _c('el-form-item', {
  115. attrs: {
  116. "prop": "business"
  117. }
  118. }, [_c('el-input', {
  119. attrs: {
  120. "name": "data[business]",
  121. "placeholder": "BUSINES",
  122. "clearable": ""
  123. },
  124. model: {
  125. value: _vm.emailForm.business,
  126. callback: function ($$v) {
  127. _vm.$set(_vm.emailForm, "business", $$v);
  128. },
  129. expression: "emailForm.business"
  130. }
  131. })], 1), _vm._v(" "), _c('el-form-item', [_c('el-input', {
  132. staticClass: "sumbitBtn",
  133. attrs: {
  134. "type": "submit",
  135. "value": "Submit"
  136. }
  137. })], 1)], 1)], 2);
  138. };
  139. var staticRenderFns = [];
  140. // CONCATENATED MODULE: ./components/Subscription.vue?vue&type=template&id=1a0848d9&scoped=true
  141. // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/Subscription.vue?vue&type=script&lang=js
  142. /* harmony default export */ var Subscriptionvue_type_script_lang_js = ({
  143. data() {
  144. return {
  145. emailForm: {
  146. email: "",
  147. fname: "",
  148. lname: "",
  149. phone: "",
  150. business: ""
  151. },
  152. rules: {
  153. email: [{
  154. required: true,
  155. message: "Please enter the correct format",
  156. pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/,
  157. trigger: "blur"
  158. }],
  159. fname: [{
  160. required: true,
  161. message: "Please enter",
  162. trigger: "blur"
  163. }],
  164. lname: [{
  165. required: true,
  166. message: "Please enter",
  167. trigger: "blur"
  168. }],
  169. phone: [{
  170. required: true,
  171. message: "Please enter the correct format",
  172. pattern: /^1[0-9]{10}$/,
  173. trigger: "blur"
  174. }],
  175. business: [{
  176. required: true,
  177. message: "Please enter",
  178. trigger: "blur"
  179. }]
  180. }
  181. };
  182. },
  183. methods: {
  184. submit(e) {
  185. this.$refs.emailForm.validate(valid => {
  186. if (valid) {
  187. return true;
  188. } else {
  189. return e.preventDefault();
  190. }
  191. });
  192. }
  193. }
  194. });
  195. // CONCATENATED MODULE: ./components/Subscription.vue?vue&type=script&lang=js
  196. /* harmony default export */ var components_Subscriptionvue_type_script_lang_js = (Subscriptionvue_type_script_lang_js);
  197. // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
  198. var componentNormalizer = __webpack_require__(2);
  199. // CONCATENATED MODULE: ./components/Subscription.vue
  200. function injectStyles (context) {
  201. var style0 = __webpack_require__(342)
  202. if (style0.__inject__) style0.__inject__(context)
  203. }
  204. /* normalize component */
  205. var component = Object(componentNormalizer["a" /* default */])(
  206. components_Subscriptionvue_type_script_lang_js,
  207. render,
  208. staticRenderFns,
  209. false,
  210. injectStyles,
  211. "1a0848d9",
  212. "5342fecb"
  213. )
  214. /* harmony default export */ var Subscription = __webpack_exports__["default"] = (component.exports);
  215. /***/ })
  216. };;
  217. //# sourceMappingURL=subscription.js.map