@saasquatch/mint-components 1.6.8-21 → 1.6.8-22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +6 -0
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +4 -4
- package/dist/collection/components/sqm-close-button/sqm-close-button.js +37 -2
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -3
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-close-button.entry.js +6 -0
- package/dist/esm/sqm-instant-access-registration.entry.js +2 -2
- package/dist/esm/sqm-referred-registration.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +4 -4
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-13f9a2d7.system.entry.js +1 -0
- package/dist/mint-components/p-34a273b6.system.js +1 -1
- package/dist/mint-components/{p-444b7241.entry.js → p-38098975.entry.js} +1 -1
- package/dist/mint-components/{p-9583fa95.entry.js → p-3b34c3ac.entry.js} +1 -1
- package/dist/mint-components/{p-84fad27d.system.entry.js → p-6728f0fd.system.entry.js} +1 -1
- package/dist/mint-components/{p-a9098331.system.entry.js → p-75bc345e.system.entry.js} +1 -1
- package/dist/mint-components/p-8f7081fe.entry.js +1 -0
- package/dist/mint-components/{p-f4ed1b54.entry.js → p-b37a6737.entry.js} +1 -1
- package/dist/mint-components/p-ba52e232.system.entry.js +1 -0
- package/dist/types/components/sqm-close-button/sqm-close-button.d.ts +7 -1
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
- package/dist/types/components.d.ts +12 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-34019439.entry.js +0 -1
- package/dist/mint-components/p-587720e8.system.entry.js +0 -1
- package/dist/mint-components/p-7b41323b.system.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-1f54fd38.system.js","./p-3ff8c23d.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-9d784608.system.js","./p-31ee1dbd.system.js"],(function(e){"use strict";var t,i,r,n,a,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.m},function(){},function(e){n=e.i;a=e.e},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(e){l=e.u}],execute:function(){var c=e("sqm_referred_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.removeBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Must be a valid email address";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="#ffffff";r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=n()?u(this):l({includeCookies:true}),t=e.states,r=e.callbacks;var a={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,removeBorder:this.removeBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-1f54fd38.system.js","./p-3ff8c23d.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-9d784608.system.js","./p-31ee1dbd.system.js"],(function(e){"use strict";var t,i,r,n,a,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.m},function(){},function(e){n=e.i;a=e.e},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(e){l=e.u}],execute:function(){var c=e("sqm_referred_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.removeBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Must be a valid email address";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="#ffffff";r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=n()?u(this):l({includeCookies:true}),t=e.states,r=e.callbacks;var a={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,removeBorder:this.removeBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:r,content:a})};return e}());function u(e){var t=this;var i=function(){a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})};return s({states:{error:"",loading:false},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){i();return[2]}))}))}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-1f54fd38.system.js","./p-3ff8c23d.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-9d784608.system.js","./p-31ee1dbd.system.js"],(function(e){"use strict";var t,i,r,n,a,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.m},function(){},function(e){n=e.i;a=e.e},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(e){l=e.u}],execute:function(){var c=e("sqm_instant_access_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.removeBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Must be a valid email address";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="#ffffff";r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=n()?u(this):l(),t=e.states,r=e.callbacks;var a={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,removeBorder:this.removeBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-1f54fd38.system.js","./p-3ff8c23d.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-9d784608.system.js","./p-31ee1dbd.system.js"],(function(e){"use strict";var t,i,r,n,a,s,o,l;return{setters:[function(e){t=e.r;i=e.h},function(e){r=e.m},function(){},function(e){n=e.i;a=e.e},function(){},function(e){s=e.c},function(){},function(){},function(e){o=e.E},function(e){l=e.u}],execute:function(){var c=e("sqm_instant_access_registration",function(){function e(e){t(this,e);this.ignored=true;this.emailLabel="Email";this.firstNameLabel="First Name";this.lastNameLabel="Last Name";this.registerLabel="Start Referring";this.includeName=false;this.removeBorder=false;this.requiredFieldErrorMessage="Cannot be empty";this.invalidEmailErrorMessage="Must be a valid email address";this.paddingTop="large";this.paddingRight="large";this.paddingBottom="large";this.paddingLeft="large";this.backgroundColor="#ffffff";r(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=n()?u(this):l(),t=e.states,r=e.callbacks;var a={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,removeBorder:this.removeBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:r,content:a})};return e}());function u(e){var t=this;var i=function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"});return[2]}))}))};return s({states:{loading:false,error:""},callbacks:{submit:i}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as o}from"./p-64c3217a.js";import{m as t}from"./p-ed801cb7.js";import"./p-f66b4b3a.js";import{g as r}from"./p-fa453d67.js";import"./p-02be1a88.js";import"./p-cef45012.js";import{C as a}from"./p-f63738f2.js";const i=class{constructor(o){s(this,o),this.backgroundColor="#000000",t(this)}disconnectedCallback(){}render(){var s;const t=r();return"SquatchJS2"!==t.type||"POPUP"!==(null===(s=t.widgetIdent)||void 0===s?void 0:s.engagementMedium)?o("div",{style:{display:"none"}}):o(a,{onClick:()=>{var s,o;"SquatchJS2"===t.type&&(null===(o=(s=t.api).close)||void 0===o||o.call(s))}})}};export{i as sqm_close_button}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i}from"./p-64c3217a.js";import{m as s}from"./p-ed801cb7.js";import"./p-f66b4b3a.js";import{i as e,e as a}from"./p-fa453d67.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-cef45012.js";import{E as o}from"./p-504c3ef1.js";import{u as
|
|
1
|
+
import{r as t,h as i}from"./p-64c3217a.js";import{m as s}from"./p-ed801cb7.js";import"./p-f66b4b3a.js";import{i as e,e as a}from"./p-fa453d67.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-cef45012.js";import{E as o}from"./p-504c3ef1.js";import{u as m}from"./p-1d336b4a.js";const l=class{constructor(i){t(this,i),this.ignored=!0,this.emailLabel="Email",this.firstNameLabel="First Name",this.lastNameLabel="Last Name",this.registerLabel="Start Referring",this.includeName=!1,this.removeBorder=!1,this.requiredFieldErrorMessage="Cannot be empty",this.invalidEmailErrorMessage="Must be a valid email address",this.paddingTop="large",this.paddingRight="large",this.paddingBottom="large",this.paddingLeft="large",this.backgroundColor="#ffffff",s(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=e()?r({states:{error:"",loading:!1},callbacks:{submit:async()=>{a({id:"referrer@example.com",accountId:"referrer@example.com",jwt:"eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg"})}}},this.demoData||{},{arrayMerge:(t,i)=>i}):m({includeCookies:!0}),l={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,removeBorder:this.removeBorder,invalidEmailErrorMessage:this.invalidEmailErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom,paddingLeft:this.paddingLeft,paddingRight:this.paddingRight,backgroundColor:this.backgroundColor,topSlot:i("slot",{name:"top"}),bottomSlot:i("slot",{name:"bottom"})};return i(o,{states:t,callbacks:s,content:l})}};export{l as sqm_referred_registration}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-b79c0e38.system.js","./p-1f54fd38.system.js","./p-3ff8c23d.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-7aa3c752.system.js"],(function(t){"use strict";var n,e,s,i,o;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m},function(){},function(t){i=t.g},function(){},function(){},function(t){o=t.C}],execute:function(){var c=t("sqm_close_button",function(){function t(t){n(this,t);this.backgroundColor="#000000";s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t;var n=i();var s=n.type==="SquatchJS2"&&((t=n.widgetIdent)===null||t===void 0?void 0:t.engagementMedium)==="POPUP";if(!s)return e("div",{style:{display:"none"}});var c=function(){var t,e;if(n.type==="SquatchJS2"){(e=(t=n.api).close)===null||e===void 0?void 0:e.call(t)}};return e(o,{onClick:c})};return t}())}}}));
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @uiName Popup
|
|
2
|
+
* @uiName Popup Widget Close Button
|
|
3
3
|
*/
|
|
4
4
|
export declare class CloseButton {
|
|
5
|
+
/**
|
|
6
|
+
* @uiName Background color
|
|
7
|
+
* @uiWidget color
|
|
8
|
+
* @uiType string
|
|
9
|
+
*/
|
|
10
|
+
backgroundColor: string;
|
|
5
11
|
constructor();
|
|
6
12
|
disconnectedCallback(): void;
|
|
7
13
|
render(): any;
|
package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { EmailRegistrationViewProps } from "../views/email-registration-view";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Instant Access Registration
|
|
5
5
|
* @compatibility Built for instant access
|
|
6
|
-
* @slots [{"name":"top
|
|
6
|
+
* @slots [{"name":"top","title":"Top Content"},{"name":"bottom","title":"Bottom Content"}]
|
|
7
7
|
*/
|
|
8
8
|
export declare class InstantAccessRegistration {
|
|
9
9
|
ignored: boolean;
|
|
@@ -3,7 +3,7 @@ import { EmailRegistrationViewProps } from "../views/email-registration-view";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Instant Access Friend Registration
|
|
5
5
|
* @compatibility Built for instant access
|
|
6
|
-
* @slots [{"name":"top
|
|
6
|
+
* @slots [{"name":"top","title":"Top Content"},{"name":"bottom","title":"Bottom Content"}]
|
|
7
7
|
*/
|
|
8
8
|
export declare class ReferredRegistration {
|
|
9
9
|
ignored: boolean;
|
|
@@ -157,6 +157,12 @@ export namespace Components {
|
|
|
157
157
|
"errorMessage": string;
|
|
158
158
|
}
|
|
159
159
|
interface SqmCloseButton {
|
|
160
|
+
/**
|
|
161
|
+
* @uiName Background color
|
|
162
|
+
* @uiWidget color
|
|
163
|
+
* @uiType string
|
|
164
|
+
*/
|
|
165
|
+
"backgroundColor": string;
|
|
160
166
|
}
|
|
161
167
|
interface SqmCouponCode {
|
|
162
168
|
/**
|
|
@@ -3562,6 +3568,12 @@ declare namespace LocalJSX {
|
|
|
3562
3568
|
"errorMessage"?: string;
|
|
3563
3569
|
}
|
|
3564
3570
|
interface SqmCloseButton {
|
|
3571
|
+
/**
|
|
3572
|
+
* @uiName Background color
|
|
3573
|
+
* @uiWidget color
|
|
3574
|
+
* @uiType string
|
|
3575
|
+
*/
|
|
3576
|
+
"backgroundColor"?: string;
|
|
3565
3577
|
}
|
|
3566
3578
|
interface SqmCouponCode {
|
|
3567
3579
|
/**
|
package/docs/docs.docx
CHANGED
|
Binary file
|