@saasquatch/mint-components 1.11.1-65 → 1.11.1-66
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/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +10 -6
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +2 -2
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm/sqm-big-stat_38.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm/sqm-pagination_3.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +1 -1
- package/dist/esm/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm/sqm-referred-registration.entry.js +1 -1
- package/dist/esm/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +2 -2
- package/dist/esm-es5/{ShadowViewAddon-bc74643a.js → ShadowViewAddon-1c2c3383.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.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-2d688fe9.entry.js → p-00105748.entry.js} +2 -2
- package/dist/mint-components/{p-9041bce0.entry.js → p-068bdf79.entry.js} +2 -2
- package/dist/mint-components/{p-f9680769.system.entry.js → p-1e1c87a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-5dcd7fc9.system.entry.js → p-1e8bafbc.system.entry.js} +1 -1
- package/dist/mint-components/{p-5073b8c9.entry.js → p-23bc62d8.entry.js} +6 -6
- package/dist/mint-components/{p-4c1b1914.system.entry.js → p-25720e4b.system.entry.js} +1 -1
- package/dist/mint-components/p-367b6513.entry.js +1 -0
- package/dist/mint-components/{p-6dab9a17.entry.js → p-3c62ed18.entry.js} +2 -2
- package/dist/mint-components/{p-3973cf23.system.entry.js → p-46aaa8b9.system.entry.js} +1 -1
- package/dist/mint-components/{p-119e24fd.system.entry.js → p-4b5ff38d.system.entry.js} +1 -1
- package/dist/mint-components/{p-51dba12d.system.entry.js → p-566dc091.system.entry.js} +1 -1
- package/dist/mint-components/{p-c134af86.system.entry.js → p-607b75ef.system.entry.js} +1 -1
- package/dist/mint-components/{p-ffdb1310.entry.js → p-63f2aad0.entry.js} +1 -1
- package/dist/mint-components/{p-1c45b7d0.entry.js → p-6dadd556.entry.js} +1 -1
- package/dist/mint-components/{p-c3b8765c.system.entry.js → p-707884d9.system.entry.js} +1 -1
- package/dist/mint-components/{p-c3188365.system.entry.js → p-7d8b3d62.system.entry.js} +1 -1
- package/dist/mint-components/{p-752fd47b.entry.js → p-8b97c4f8.entry.js} +1 -1
- package/dist/mint-components/{p-e92f0fbb.entry.js → p-8c1e39ea.entry.js} +1 -1
- package/dist/mint-components/{p-34a6dea7.system.entry.js → p-8d9ff497.system.entry.js} +1 -1
- package/dist/mint-components/{p-f5c3a8cf.system.entry.js → p-902a70fb.system.entry.js} +1 -1
- package/dist/mint-components/{p-26383fdd.entry.js → p-9114b10e.entry.js} +1 -1
- package/dist/mint-components/{p-87113437.entry.js → p-9a4a5702.entry.js} +2 -2
- package/dist/mint-components/p-9ed09b3a.system.js +1 -1
- package/dist/mint-components/{p-bd1975cb.system.entry.js → p-a17fe959.system.entry.js} +1 -1
- package/dist/mint-components/{p-4be053fb.entry.js → p-a1c4b92d.entry.js} +2 -2
- package/dist/mint-components/{p-7d7084f0.entry.js → p-a2e71bdf.entry.js} +9 -9
- package/dist/mint-components/{p-c65f5d44.js → p-b2718cfe.js} +4 -4
- package/dist/mint-components/{p-cc1ffc0c.entry.js → p-b6a7b4cf.entry.js} +1 -1
- package/dist/mint-components/{p-61e74000.system.entry.js → p-b6eac31a.system.entry.js} +1 -1
- package/dist/mint-components/{p-bab29c11.entry.js → p-b8b7632b.entry.js} +1 -1
- package/dist/mint-components/{p-7f43c280.system.entry.js → p-ba734685.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a1a4d71.system.entry.js → p-c721e692.system.entry.js} +1 -1
- package/dist/mint-components/{p-ca182259.system.entry.js → p-cd2f57bb.system.entry.js} +1 -1
- package/dist/mint-components/p-dbf3a976.entry.js +1 -0
- package/dist/mint-components/p-e029c250.entry.js +1 -0
- package/dist/mint-components/{p-25ebf256.system.js → p-e7f5d3b2.system.js} +1 -1
- package/dist/mint-components/{p-e909906f.entry.js → p-ecad6d86.entry.js} +1 -1
- package/dist/mint-components/{p-e3411b86.system.entry.js → p-f3978cec.system.entry.js} +1 -1
- package/dist/mint-components/{p-f246f7dd.system.entry.js → p-fe516032.system.entry.js} +1 -1
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +2 -2
- package/dist/types/components/sqm-pagination/usePagination.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +2 -2
- package/dist/types/components.d.ts +3 -2
- 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-2474c5c6.entry.js +0 -1
- package/dist/mint-components/p-62cdc746.entry.js +0 -1
- package/dist/mint-components/p-8925f3c5.entry.js +0 -1
- package/dist/cjs/{ShadowViewAddon-d714d857.js → ShadowViewAddon-d17dd153.js} +1 -1
- package/dist/esm/{ShadowViewAddon-bc74643a.js → ShadowViewAddon-1c2c3383.js} +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i}from"./p-61d5f26e.js";import{n as s}from"./p-019506c4.js";import{i as e,c as a}from"./p-8c765c81.js";import"./p-e7e129ac.js";import
|
|
1
|
+
import{r as t,h as i}from"./p-61d5f26e.js";import{n as s}from"./p-019506c4.js";import{i as e,c as a}from"./p-8c765c81.js";import"./p-e7e129ac.js";import{c as r}from"./p-c1086930.js";import"./p-cef45012.js";import"./p-02be1a88.js";import{E as o}from"./p-6568392b.js";import"./p-0a26adee.js";import{u as l}from"./p-03e2a88c.js";const m=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.hideBorder=!1,this.requiredFieldErrorMessage="Cannot be empty",this.invalidEmailErrorMessage="Please enter a valid email address",this.networkErrorMessage="There was a problem signing you in. Please wait a moment and try again. If this problem continues, contact Support for help resolving this issue.",this.paddingTop="large",this.paddingRight="large",this.paddingBottom="large",this.paddingLeft="large",this.backgroundColor="#ffffff",this.includeCookies=!1,s(this)}disconnectedCallback(){}render(){const{states:t,callbacks:s}=e()?r({states:{loading:!1,error:""},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}):l(this),m={emailLabel:this.emailLabel,registerLabel:this.registerLabel,firstNameLabel:this.firstNameLabel,lastNameLabel:this.lastNameLabel,includeName:this.includeName,hideBorder:this.hideBorder,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:m})}};export{m as sqm_instant_access_registration}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(s.next(e))}catch(e){a(e)}}function i(e){try{d(s["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):o(e.value).then(n,i)}d((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,o,a,n;return n={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function i(e){return function(t){return d([e,t])}}function d(n){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(a=n[0]&2?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;if(o=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:r.label++;return{value:n[1],done:false};case 5:r.label++;o=n[1];n=[0];continue;case 7:n=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){r=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){r.label=n[1];break}if(n[0]===6&&r.label<a[1]){r.label=a[1];a=n;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(n);break}if(a[2])r.ops.pop();r.trys.pop();continue}n=t.call(e,r)}catch(e){n=[6,e];o=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-1e68fa26.system.js","./p-b2295bc5.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{d(s.next(e))}catch(e){a(e)}}function i(e){try{d(s["throw"](e))}catch(e){a(e)}}function d(e){e.done?r(e.value):o(e.value).then(n,i)}d((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,o,a,n;return n={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function i(e){return function(t){return d([e,t])}}function d(n){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(a=n[0]&2?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;if(o=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:r.label++;return{value:n[1],done:false};case 5:r.label++;o=n[1];n=[0];continue;case 7:n=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){r=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){r.label=n[1];break}if(n[0]===6&&r.label<a[1]){r.label=a[1];a=n;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(n);break}if(a[2])r.ops.pop();r.trys.pop();continue}n=t.call(e,r)}catch(e){n=[6,e];o=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-1e68fa26.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-f6934a55.system.js","./p-2be11651.system.js","./p-9fc73ff8.system.js"],(function(e){"use strict";var t,r,s,o,a,n,i,d,c,u,l,f,w;return{setters:[function(e){t=e.r;r=e.h},function(e){s=e.k;o=e.f;a=e.n},function(e){n=e.j;i=e.T;d=e.f;c=e.i},function(e){u=e.j},function(e){l=e.c},function(e){f=e.s},function(){},function(){},function(){},function(e){w=e.P}],execute:function(){function h(e){var t=this;var r,a,c,l,w,h,p,m,x,v;var T=s(false),b=T[0],g=T[1];var P=s(""),y=P[0],E=P[1];var _=n(),R=_[0],M=_[1];var k=i(),q=k[0],C=k[1];var j=new URLSearchParams(d.location.search);var L=j.get("oobCode");j.delete("oobCode");var S=j.get("nextPage");var B=function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,R({oobCode:L})];case 1:t=r.sent();if(t instanceof Error){E(e.networkErrorMessage)}return[2]}}))}))};o((function(){B()}),[]);var F=function(r){return __awaiter(t,void 0,void 0,(function(){var t,s,o;return __generator(this,(function(a){switch(a.label){case 0:E("");t=r.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){u.set(t,r,e)}));s={oobCode:L,password:t.password};if(t.password!==t.confirmPassword){E(e.passwordMismatchText);return[2]}return[4,q(s)];case 1:o=a.sent();if(o instanceof Error){return[2,E(e.networkErrorMessage)]}if(o.resetManagedIdentityPassword){g(true);setTimeout((function(){H()}),5e3)}return[2]}}))}))};var H=function(){j.delete("nextPage");var t=f(S||e.nextPage);d.push(t.href)};var I=function(){d.push({pathname:e.failedPage,search:j.toString()&&"?"+j.toString()})};return{states:{loading:C.loading,reset:b,confirmPassword:e.confirmPassword,error:((w=(l=(c=(a=(r=C.errors)===null||r===void 0?void 0:r.response)===null||a===void 0?void 0:a.errors)===null||c===void 0?void 0:c[0])===null||l===void 0?void 0:l.extensions)===null||w===void 0?void 0:w.message)||((x=(m=(p=(h=C.errors)===null||h===void 0?void 0:h.response)===null||p===void 0?void 0:p.errors)===null||m===void 0?void 0:m[0])===null||x===void 0?void 0:x.message)||y,oobCodeValidating:M.loading,oobCodeValid:(v=M.data)===null||v===void 0?void 0:v.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:F,failed:I,gotoNextPage:H}}}var p=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.passwordMismatchText="Passwords do not match.";this.codeInvalidText="The password reset code is invalid or has expired, please try again.";this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=c()?m(this):h(this),t=e.states,s=e.callbacks;return r(w,{states:t,callbacks:s})};return e}());function m(e){var t=this;return l({states:{error:"",loading:false,reset:false,confirmPassword:e.confirmPassword,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function s(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r["throw"](e))}catch(e){i(e)}}function l(e){e.done?n(e.value):s(e.value).then(a,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,s&&(i=a[0]&2?s["return"]:a[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,a[1])).done)return i;if(s=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;s=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];s=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-1e68fa26.system.js","./p-b2295bc5.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,r){function s(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function o(e){try{l(r["throw"](e))}catch(e){i(e)}}function l(e){e.done?n(e.value):s(e.value).then(a,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,s,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,s&&(i=a[0]&2?s["return"]:a[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,a[1])).done)return i;if(s=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;s=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=t.call(e,n)}catch(e){a=[6,e];s=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-1e68fa26.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-f6934a55.system.js","./p-2be11651.system.js","./p-1e03d640.system.js"],(function(e){"use strict";var t,n,r,s,i,a,o,l,u,c;return{setters:[function(e){t=e.r;n=e.h},function(e){r=e.k;s=e.n},function(e){i=e.h;a=e.f;o=e.i},function(e){l=e.j},function(e){u=e.c},function(){},function(){},function(){},function(e){c=e.P}],execute:function(){function f(e){var t=this;var n,s,o,u,c,f,d;var h=r(false),v=h[0],b=h[1];var m=r(""),p=m[0],g=m[1];var y=i(),w=y[0],x=y[1],_=x.loading,P=x.data,k=x.errors;var T=new URLSearchParams(a.location.search);var j=T.get("nextPage");var E=function(n){return __awaiter(t,void 0,void 0,(function(){var t,r,s,i,a,o;return __generator(this,(function(u){switch(u.label){case 0:g("");b(false);r=n.detail.formData;r===null||r===void 0?void 0:r.forEach((function(e,t){l.set(r,t,e)}));s=j?{nextPage:j}:null;i=e.redirectPath;a={email:r.email,urlParams:s,redirectPath:i};return[4,w(a)];case 1:o=u.sent();if(o instanceof Error){if(o.message)g(e.networkErrorMessage);return[2]}if((t=o.requestManagedIdentityPasswordResetEmail)===null||t===void 0?void 0:t.success){b(true)}return[2]}}))}))};return{states:{loading:_,error:((u=(o=(s=(n=k===null||k===void 0?void 0:k.response)===null||n===void 0?void 0:n.errors)===null||s===void 0?void 0:s[0])===null||o===void 0?void 0:o.extensions)===null||u===void 0?void 0:u.message)||((d=(f=(c=k===null||k===void 0?void 0:k.response)===null||c===void 0?void 0:c.errors)===null||f===void 0?void 0:f[0])===null||d===void 0?void 0:d.message)||p,success:v,loginPath:e.loginPath,headerText:e.headerText,loginText:e.loginText},callbacks:{submit:E}}}var d=e("sqm_portal_forgot_password",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/resetPassword";this.emailLabel="Email";this.submitLabel="Request Password Reset";this.loginPath="/login";this.headerText="Enter your email below to receive a password reset link.";this.loginText="Sign In";this.networkErrorMessage="An error occurred while loading this page. Please refresh the page.";this.successAlertText="If an account with that email exists, a password reset email will be sent.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=o()?h(this):f(this),t=e.states,r=e.callbacks;var s={secondaryButton:n("slot",{name:"secondaryButton"},n("sl-button",{type:"text",disabled:t.loading,onClick:function(){return a.push(t.loginPath)}},this.loginText)),messageSlot:n("slot",{name:"messageSlot"},this.headerText),emailLabel:this.emailLabel,submitLabel:this.submitLabel,successAlertText:this.successAlertText};return n(c,{states:t,callbacks:r,content:s})};return e}());function h(e){var t=this;return u({states:{error:"",loading:false,success:false},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { usePagination } from "./usePagination";
|
|
2
1
|
import { DemoData } from "../../global/demo";
|
|
2
|
+
import { UsePagination } from "./usePagination";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Pagination
|
|
5
5
|
* @exampleGroup Common Components
|
|
@@ -15,7 +15,7 @@ export declare class Pagination {
|
|
|
15
15
|
* @undocumented
|
|
16
16
|
* @uiType object
|
|
17
17
|
*/
|
|
18
|
-
demoData?: DemoData<
|
|
18
|
+
demoData?: DemoData<UsePagination>;
|
|
19
19
|
constructor();
|
|
20
20
|
disconnectedCallback(): void;
|
|
21
21
|
render(): any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DemoData } from "../../global/demo";
|
|
2
2
|
import { ReferralCodesViewProps } from "./sqm-referral-codes-view";
|
|
3
3
|
/**
|
|
4
|
-
* @uiName
|
|
4
|
+
* @uiName Promo Codes
|
|
5
5
|
* @slots [{"name":"", "title":"Promo Codes Content"}]
|
|
6
6
|
* @exampleGroup Sharing
|
|
7
|
-
* @example
|
|
7
|
+
* @example Promo Codes - <sqm-referral-codes><sqm-pagination slot="pagination"></sqm-pagination><sqm-referral-code slot="shareCodes" show-notification-text="true"></sqm-referral-code><sqm-portal-container gap="small" slot="shareButtons"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="fbmessenger">Share on Facebook</sqm-share-button><sqm-share-button medium="whatsapp">Share on WhatsApp</sqm-share-button></sqm-portal-container></sqm-referral-codes>
|
|
8
8
|
*/
|
|
9
9
|
export declare class ReferralCodes {
|
|
10
10
|
/**
|
|
@@ -26,6 +26,7 @@ import { CopyTextViewProps } from "./components/views/copy-text-view";
|
|
|
26
26
|
import { NameFieldsViewProps } from "./components/sqm-name-fields/sqm-name-fields-view";
|
|
27
27
|
import { NavigationMenuViewProps } from "./components/sqm-navigation-menu/sqm-navigation-menu-view";
|
|
28
28
|
import { NavigationSidebarItemViewProps } from "./components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view";
|
|
29
|
+
import { UsePagination } from "./components/sqm-pagination/usePagination";
|
|
29
30
|
import { PasswordFieldViewDemoProps } from "./components/sqm-password-field/sqm-password-field";
|
|
30
31
|
import { PortalChangePasswordViewProps } from "./components/sqm-portal-change-password/sqm-portal-change-password-view";
|
|
31
32
|
import { PortalEmailVerificationViewProps } from "./components/sqm-portal-email-verification/sqm-portal-email-verification-view";
|
|
@@ -1548,7 +1549,7 @@ export namespace Components {
|
|
|
1548
1549
|
* @undocumented
|
|
1549
1550
|
* @uiType object
|
|
1550
1551
|
*/
|
|
1551
|
-
"demoData"?: DemoData<
|
|
1552
|
+
"demoData"?: DemoData<UsePagination>;
|
|
1552
1553
|
/**
|
|
1553
1554
|
* @uiName Pagination text
|
|
1554
1555
|
*/
|
|
@@ -7500,7 +7501,7 @@ declare namespace LocalJSX {
|
|
|
7500
7501
|
* @undocumented
|
|
7501
7502
|
* @uiType object
|
|
7502
7503
|
*/
|
|
7503
|
-
"demoData"?: DemoData<
|
|
7504
|
+
"demoData"?: DemoData<UsePagination>;
|
|
7504
7505
|
/**
|
|
7505
7506
|
* @uiName Pagination text
|
|
7506
7507
|
*/
|
package/docs/docs.docx
CHANGED
|
Binary file
|