@saasquatch/mint-components 1.6.9 → 1.6.10-0
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/{ShadowViewAddon-f670c663.js → ShadowViewAddon-8be973fa.js} +3 -3
- package/dist/cjs/{global-40232313.js → global-e0036ac2.js} +1 -1
- package/dist/cjs/{index.module-4314dfb1.js → index.module-e67cc994.js} +6 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-9a4ef430.js → re-render-86f5c1d6.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +6 -6
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-f66a1735.js → sqm-navigation-sidebar-item-view-d49d0ac0.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-338e9288.js → sqm-portal-email-verification-view-e550979b.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-4847f1ea.js → sqm-portal-profile-view-2bb25095.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
- 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 +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +7 -7
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-749f9c9c.js → useChildElements-8627c9be.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-1fea58e7.js → useInstantAccessRegistration-633575aa.js} +2 -2
- package/dist/cjs/{useReferralTable-650b1957.js → useReferralTable-0383a467.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-67c0b5ff.js → useRegistrationFormState-7b8b58e4.js} +1 -1
- package/dist/esm/{ShadowViewAddon-86f7b900.js → ShadowViewAddon-5b06502d.js} +3 -3
- package/dist/esm/{global-9992475a.js → global-9a9bd884.js} +1 -1
- package/dist/esm/{index.module-bbce47bd.js → index.module-f6aa21b2.js} +6 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-88ac4fa7.js → re-render-8acb41bc.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat_39.entry.js +6 -6
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-debb6dfe.js → sqm-navigation-sidebar-item-view-4b0f2987.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-a93d12ca.js → sqm-portal-email-verification-view-14670815.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-1022dd7b.js → sqm-portal-profile-view-b23618f2.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
- 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 +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +7 -7
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-ae207f6d.js → useChildElements-debfb941.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-175820dc.js → useInstantAccessRegistration-ba1c6d6f.js} +2 -2
- package/dist/esm/{useReferralTable-3aa578fa.js → useReferralTable-c0e50753.js} +3 -3
- package/dist/esm/{useRegistrationFormState-7bf6c145.js → useRegistrationFormState-85cc12ac.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-86f7b900.js → ShadowViewAddon-5b06502d.js} +1 -1
- package/dist/esm-es5/{global-9992475a.js → global-9a9bd884.js} +1 -1
- package/dist/esm-es5/index.module-f6aa21b2.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-88ac4fa7.js → re-render-8acb41bc.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-debb6dfe.js → sqm-navigation-sidebar-item-view-4b0f2987.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-a93d12ca.js → sqm-portal-email-verification-view-14670815.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-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-1022dd7b.js → sqm-portal-profile-view-b23618f2.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.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-customer-note-column.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/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/useChildElements-debfb941.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-175820dc.js → useInstantAccessRegistration-ba1c6d6f.js} +1 -1
- package/dist/esm-es5/{useReferralTable-3aa578fa.js → useReferralTable-c0e50753.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-85cc12ac.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-44f77c0b.system.entry.js → p-00a2d823.system.entry.js} +1 -1
- package/dist/mint-components/{p-cbe95ae4.system.entry.js → p-0a4cc64e.system.entry.js} +1 -1
- package/dist/mint-components/{p-fd5d6181.system.entry.js → p-0a524b3a.system.entry.js} +1 -1
- package/dist/mint-components/{p-25233df5.js → p-0bac2259.js} +1 -1
- package/dist/mint-components/{p-5e4833bf.system.js → p-0c0406de.system.js} +1 -1
- package/dist/mint-components/{p-539f8759.system.js → p-125cc103.system.js} +1 -1
- package/dist/mint-components/p-13c5da81.system.entry.js +1 -0
- package/dist/mint-components/{p-9b2e0181.js → p-1431d0cc.js} +1 -1
- package/dist/mint-components/p-18061615.system.js +1 -0
- package/dist/mint-components/{p-194d5ee8.system.entry.js → p-1b202e9d.system.entry.js} +1 -1
- package/dist/mint-components/{p-db24ac64.js → p-1ed329cf.js} +1 -1
- package/dist/mint-components/{p-9eae314d.entry.js → p-21194d7a.entry.js} +1 -1
- package/dist/mint-components/{p-71584f5f.system.entry.js → p-22f2c1a1.system.entry.js} +1 -1
- package/dist/mint-components/p-28ab0efa.entry.js +1 -0
- package/dist/mint-components/p-295c7536.js +1 -0
- package/dist/mint-components/{p-e753d5f0.system.entry.js → p-303523a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-a6c68191.entry.js → p-372c5ca6.entry.js} +1 -1
- package/dist/mint-components/p-382d40fd.entry.js +1 -0
- package/dist/mint-components/{p-e4ed1803.entry.js → p-3daf7be5.entry.js} +1 -1
- package/dist/mint-components/{p-a35aa347.entry.js → p-3f3608fe.entry.js} +1 -1
- package/dist/mint-components/{p-399a1963.entry.js → p-402fb5b6.entry.js} +1 -1
- package/dist/mint-components/{p-8bc630b0.system.entry.js → p-403d9862.system.entry.js} +1 -1
- package/dist/mint-components/{p-bd86123f.entry.js → p-4abb0a92.entry.js} +1 -1
- package/dist/mint-components/{p-d6d40daa.system.entry.js → p-4d343cd2.system.entry.js} +1 -1
- package/dist/mint-components/{p-58852f54.entry.js → p-538e9ef9.entry.js} +1 -1
- package/dist/mint-components/{p-aaeeec70.system.entry.js → p-56c0e916.system.entry.js} +1 -1
- package/dist/mint-components/{p-d5a32584.entry.js → p-5bb4983f.entry.js} +1 -1
- package/dist/mint-components/{p-f2944edb.system.entry.js → p-5cfe6e1a.system.entry.js} +1 -1
- package/dist/mint-components/{p-307ef2b0.system.js → p-5ffee5a0.system.js} +1 -1
- package/dist/mint-components/{p-0ab63c5d.system.entry.js → p-63397a65.system.entry.js} +1 -1
- package/dist/mint-components/{p-bbe7d182.system.entry.js → p-694f2307.system.entry.js} +1 -1
- package/dist/mint-components/{p-cadf178d.entry.js → p-69cb3e55.entry.js} +1 -1
- package/dist/mint-components/{p-8e649005.system.entry.js → p-6ba4dc68.system.entry.js} +1 -1
- package/dist/mint-components/{p-6cdd171b.entry.js → p-6d45b2f8.entry.js} +1 -1
- package/dist/mint-components/{p-438599c9.entry.js → p-6de3902b.entry.js} +1 -1
- package/dist/mint-components/{p-ad7d5f56.system.js → p-6e4f3741.system.js} +1 -1
- package/dist/mint-components/{p-082fe308.system.js → p-76b5a1e8.system.js} +1 -1
- package/dist/mint-components/{p-58778ecb.js → p-780b5e23.js} +1 -1
- package/dist/mint-components/{p-9e2e4fbe.system.js → p-7a7b1f09.system.js} +1 -1
- package/dist/mint-components/{p-11f90784.entry.js → p-806f9b38.entry.js} +1 -1
- package/dist/mint-components/{p-3d34ec61.system.js → p-8428afbd.system.js} +1 -1
- package/dist/mint-components/{p-67abcc4a.js → p-84b6349a.js} +1 -1
- package/dist/mint-components/{p-7d3414ba.system.entry.js → p-87333aca.system.entry.js} +1 -1
- package/dist/mint-components/{p-79d72296.system.entry.js → p-8f2e8f25.system.entry.js} +1 -1
- package/dist/mint-components/{p-db27e30b.js → p-8fac996d.js} +1 -1
- package/dist/mint-components/{p-e56cabdd.system.js → p-940dc343.system.js} +1 -1
- package/dist/mint-components/{p-1db4e037.system.entry.js → p-98d239b4.system.entry.js} +1 -1
- package/dist/mint-components/{p-1fdf691b.js → p-a5e1df21.js} +1 -1
- package/dist/mint-components/{p-2de46e95.system.entry.js → p-a7f8ee50.system.entry.js} +1 -1
- package/dist/mint-components/{p-8f3486f6.entry.js → p-a8364b08.entry.js} +1 -1
- package/dist/mint-components/{p-f2724390.system.entry.js → p-a9898f93.system.entry.js} +1 -1
- package/dist/mint-components/p-b47a7d5b.system.entry.js +1 -0
- package/dist/mint-components/{p-16a009a5.system.entry.js → p-bc0ce79f.system.entry.js} +1 -1
- package/dist/mint-components/{p-c9ff4821.entry.js → p-bf5b269f.entry.js} +1 -1
- package/dist/mint-components/{p-45b73581.system.js → p-c29211d1.system.js} +1 -1
- package/dist/mint-components/{p-128c36cb.js → p-c3f6e35f.js} +1 -1
- package/dist/mint-components/{p-744a6dac.system.js → p-c7199d22.system.js} +1 -1
- package/dist/mint-components/{p-7f8f0db3.entry.js → p-ca39fffb.entry.js} +1 -1
- package/dist/mint-components/{p-f665d57c.system.entry.js → p-ced2f261.system.entry.js} +1 -1
- package/dist/mint-components/{p-d349add6.system.entry.js → p-ced36beb.system.entry.js} +1 -1
- package/dist/mint-components/{p-0f59af44.system.entry.js → p-cf893ebe.system.entry.js} +1 -1
- package/dist/mint-components/p-d1b5d727.js +1 -0
- package/dist/mint-components/{p-6ec0be2a.entry.js → p-d248e6b6.entry.js} +1 -1
- package/dist/mint-components/{p-4fb813da.entry.js → p-d3373b3b.entry.js} +1 -1
- package/dist/mint-components/{p-a44dff0a.js → p-d38cbe0d.js} +1 -1
- package/dist/mint-components/{p-230ee2cf.entry.js → p-d520f9ae.entry.js} +2 -2
- package/dist/mint-components/{p-11ee41b2.entry.js → p-de04af3c.entry.js} +1 -1
- package/dist/mint-components/{p-192d008d.entry.js → p-de5f644f.entry.js} +2 -2
- package/dist/mint-components/{p-ee4cbecb.entry.js → p-e3cd1721.entry.js} +1 -1
- package/dist/mint-components/{p-9b4eaec3.system.entry.js → p-e7ede162.system.entry.js} +1 -1
- package/dist/mint-components/{p-c6795c0c.entry.js → p-e92f548d.entry.js} +1 -1
- package/dist/mint-components/{p-cd9e6c32.system.entry.js → p-f1db8d9d.system.entry.js} +1 -1
- package/dist/mint-components/p-f2cc2d1f.entry.js +1 -0
- package/dist/mint-components/{p-f1aed7cc.system.js → p-fef3786f.system.js} +1 -1
- package/dist/mint-components/{p-92cb27b6.entry.js → p-ff233315.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +2 -2
- package/dist/esm-es5/index.module-bbce47bd.js +0 -1
- package/dist/esm-es5/useChildElements-ae207f6d.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-7bf6c145.js +0 -1
- package/dist/mint-components/p-33f0d220.system.js +0 -1
- package/dist/mint-components/p-44dad7ec.entry.js +0 -1
- package/dist/mint-components/p-474aa3f6.entry.js +0 -1
- package/dist/mint-components/p-56a7983b.js +0 -1
- package/dist/mint-components/p-5df5e5f9.system.entry.js +0 -1
- package/dist/mint-components/p-608f0ed5.js +0 -1
- package/dist/mint-components/p-6147a73f.entry.js +0 -1
- package/dist/mint-components/p-c80304f8.system.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,h as e,c as s}from"./p-64c3217a.js";import{m as a,f as r,j as n,o,k as i,b as l,i as d}from"./p-901f5b80.js";import{i as c}from"./p-
|
|
1
|
+
import{r as t,h as e,c as s}from"./p-64c3217a.js";import{m as a,f as r,j as n,o,k as i,b as l,i as d}from"./p-901f5b80.js";import{i as c}from"./p-84b6349a.js";import{i as u,V as h,d as m,L as p,O as v,I as g,b as f,T as b,W as y,a as x,p as w,k,S as C,l as E,f as S,n as I,v as M}from"./p-d1b5d727.js";import{j as _}from"./p-e7e129ac.js";import{c as R}from"./p-c1086930.js";import"./p-02be1a88.js";import{c as q}from"./p-cef45012.js";import{a as A}from"./p-d38cbe0d.js";import{u as N}from"./p-a5e1df21.js";import"./p-d576140e.js";import{g as P,a as T,s as L}from"./p-9ec99ced.js";import"./p-5d0c9424.js";import{R as D,u as V}from"./p-295c7536.js";import{A as F}from"./p-121cdc60.js";import{b as $,U as j,B,O as z,K as O,j as U,M as H,D as W,E as G,H as Z,I as K,V as X,L as Y,N as J,d as Q,i as tt,P as et,e as st,f as at,R as rt,W as nt,k as ot,X as it,a as lt,S as dt,C as ct,u as ut,c as ht,T as mt}from"./p-1431d0cc.js";import"./p-e704842c.js";const pt=class{constructor(e){t(this,e),this.flexReverse=!1,this.ignored=!0,a(this)}disconnectedCallback(){}render(){var t;const{props:s,label:a}=u()?$(this):j(this),r=!!(null===(t=h().innerHTML)||void 0===t?void 0:t.trim()),n=e("slot",{name:"label"},r?e("slot",null):a);return e(B,Object.assign({},s,{labelSlot:n}))}},vt=class{constructor(e){t(this,e),a(this)}disconnectedCallback(){}render(){var t,a;const n=null!==(t=function(t){if(t)try{return z(t)}catch{}}(this.brandColor))&&void 0!==t?t:"",o=(null!==(a=this.brandFont)&&void 0!==a?a:"Nunito Sans").trim()||void 0;r((()=>{if(!o)return;const t=document.createElement("link");return t.setAttribute("href",function(...t){return`https://fonts.googleapis.com/css2?${t.map((t=>`family=${encodeURIComponent(t)}`)).join("&")}`}(o)),t.setAttribute("rel","stylesheet"),document.head.appendChild(t),()=>document.head.removeChild(t)}),[o]);const i=null!=o?o:"";return e(s,null,e("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${i}", arial;\n --sl-input-font-family: "${i}", arial;\n --sl-tooltip-font-family: "${i}", arial;\n font-family: "${i}", arial;\n\t\t\t\n ${n}\n\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),e("slot",null))}},gt=class{constructor(e){t(this,e),this.ignored=!0,this.width=347,this.gap=24,a(this)}disconnectedCallback(){}render(){return e(O,Object.assign({},P(this)),e("slot",null))}},ft=q({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),bt=ft.toString();function yt({missingProps:t,heading:s="There was a problem loading this section",subheading:a="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:r="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},o){if(!t)return!1;const i=h(),[l,d]=n(!1);return e("sl-alert",{type:"danger",open:!0},e("style",{type:"text/css"},bt),e("div",{slot:"icon",class:ft.classes.IconStyle},e("sl-icon",{name:"exclamation-octagon"})),e("div",{class:ft.classes.DivStyle},e("h2",{class:ft.classes.Heading},c.formatMessage({id:"error-heading",defaultMessage:s})),e("p",null,c.formatMessage({id:"error-subheading",defaultMessage:a}))),e("details",{class:ft.classes.Details},e("summary",{onClick:()=>d(!l)},l?"Less":"More"," details"),e("p",null,c.formatMessage({id:"error-description",defaultMessage:r},{tagName:i.tagName.toLowerCase()})),e("ul",null,t.map((t=>e("li",null,e("strong",null,t.attribute)))))),e("div",{class:ft.classes.Children},o))}const xt=class{constructor(e){t(this,e),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,a(this)}disconnectedCallback(){}render(){const t=T([{attribute:"checkbox-name",value:this.checkboxName}]);if(!u()&&t)return e(yt,{missingProps:t,heading:"An error occured while loading this form",subheading:"A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const s={...P(this)},{states:a,callbacks:i}=u()?R({states:{registrationFormState:{},checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):function(t){var e;const s=o(D),[a,i]=n(!1);return r((()=>{var e,a;(null===(e=null==s?void 0:s.initialData)||void 0===e?void 0:e[t.checkboxName])&&i(!!(null===(a=null==s?void 0:s.initialData)||void 0===a?void 0:a[t.checkboxName]))}),[null===(e=null==s?void 0:s.initialData)||void 0===e?void 0:e[t.checkboxName]]),{states:{registrationFormState:s,checked:a},callbacks:{setChecked:i}}}(this);return e(U,{states:a,content:s,callbacks:i})}},wt=m.gql`
|
|
2
2
|
query fuelTankRewardsQuery($programId: ID!) {
|
|
3
3
|
user: viewer {
|
|
4
4
|
... on User {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var s,n=1,e=arguments.length;n<e;n++){s=arguments[n];for(var a in s)if(Object.prototype.hasOwnProperty.call(s,a))t[a]=s[a]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var s,n=1,e=arguments.length;n<e;n++){s=arguments[n];for(var a in s)if(Object.prototype.hasOwnProperty.call(s,a))t[a]=s[a]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-18061615.system.js","./p-6333265f.system.js"],(function(t){"use strict";var s,n,e,a,o,r;return{setters:[function(t){s=t.h;n=t.c;e=t.r},function(t){a=t.m},function(t){o=t.T},function(t){r=t.g}],execute:function(){var c=function(t){var e=t.states,a=t.callbacks;var o=e.styles;return s(n,{class:"squatch-container"},s("div",{style:{padding:t.states.styles.padding},part:"sqm-base"},o.closeButton&&s("span",{part:"sqm-close-button",class:"close squatch-header-close","data-close-panel":"#squatch-panel",onClick:function(){return a.closePopup()}},o.closeButtonText),s("slot",null),o.poweredBy?s("a",{class:"sqh-attribution",href:"https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget",target:"_blank"},"Powered By"):""))};function i(t){var s=o();function n(){var t;if(o()==="POPUP"){(t=window.frameElement["squatchJsApi"])===null||t===void 0?void 0:t.close()}}var e=t.popupPadding?t.popupPadding==="none"?"0":"var(--sl-spacing-"+t.popupPadding+")":"var(--sl-spacing-medium)";var a=t.embedPadding?t.embedPadding==="none"?"0":"var(--sl-spacing-"+t.embedPadding+")":"0";var r=o()==="POPUP"?e:a;return{states:{showCloseButton:t.closeButton&&s==="POPUP",styles:__assign(__assign({},t),{padding:r,closeButtonText:t.closeButtonText?t.closeButtonText:"X"})},data:{},callbacks:{closePopup:n}}}var u=".squatch-header-close{position:absolute;right:20px;top:10px;cursor:pointer}.squatch-container{background-color:var(--widget-background-color);display:block}";var l=t("sqm_popup_container",function(){function t(t){e(this,t);a(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=r(this);return s(c,Object.assign({},i(t)))};return t}());l.style=u}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(t,e){if(Object.defineProperty){Object.defineProperty(t,"raw",{value:e})}else{t.raw=e}return t};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-fef3786f.system.js","./p-18061615.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-6333265f.system.js","./p-4f775e84.system.js","./p-8428afbd.system.js"],(function(t){"use strict";var e,n,i,r,a,s,o,u,l,d,f,m,c;return{setters:[function(t){e=t.r;n=t.h},function(t){i=t.j;r=t.f;a=t.m},function(){},function(t){s=t.d;o=t.L;u=t.b;l=t.I;d=t.i},function(t){f=t.c},function(){},function(t){m=t.g},function(){},function(t){c=t.P}],execute:function(){var v=s.gql(__makeTemplateObject(["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"],["\n query {\n viewer {\n ... on User {\n id\n accountId\n firstName\n lastName\n email\n countryCode\n }\n }\n }\n"]));var g=s.gql(__makeTemplateObject(["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"],["\n mutation (\n $id: String!\n $accountId: String!\n $firstName: String!\n $lastName: String!\n ) {\n upsertUser(\n userInput: {\n id: $id\n accountId: $accountId\n firstName: $firstName\n lastName: $lastName\n }\n ) {\n firstName\n lastName\n }\n }\n"]));var _={country:"",email:"",firstName:"",lastName:"",errors:{},error:""};function y(t){var e=o();var n=i(false),a=n[0],s=n[1];var d=i(undefined),f=d[0],m=d[1];var c=i(_),y=c[0],N=c[1];var h=u(v,{},!(e===null||e===void 0?void 0:e.jwt));var p=l(g),b=p[0],x=p[1];r((function(){if(x===null||x===void 0?void 0:x.loading)return;if(x===null||x===void 0?void 0:x.errors){N((function(t){var e,n,i;return __assign(__assign({},t),{error:(i=(n=(e=x===null||x===void 0?void 0:x.errors)===null||e===void 0?void 0:e.response)===null||n===void 0?void 0:n.errors)===null||i===void 0?void 0:i[0].message})}))}else{m((function(t){var e;return __assign(__assign({},t),(e=x===null||x===void 0?void 0:x.data)===null||e===void 0?void 0:e.upsertUser)}));if(x===null||x===void 0?void 0:x.data)s(true)}}),[x===null||x===void 0?void 0:x.loading]);r((function(){var t,e;m((function(t){var e;return __assign(__assign({},t),(e=h===null||h===void 0?void 0:h.data)===null||e===void 0?void 0:e.viewer)}));N(__assign(__assign(__assign({},_),(t=h.data)===null||t===void 0?void 0:t.viewer),(e=x.data)===null||e===void 0?void 0:e.upsertUser))}),[h===null||h===void 0?void 0:h.data]);r((function(){var t,e;if((t=x===null||x===void 0?void 0:x.errors)===null||t===void 0?void 0:t.message){N(__assign(__assign({},(e=h.data)===null||e===void 0?void 0:e.viewer),{error:"Network request failed."}))}}),[x===null||x===void 0?void 0:x.errors]);var j=function(){s(false);if(y.firstName&&y.lastName){b({id:e===null||e===void 0?void 0:e.id,accountId:e===null||e===void 0?void 0:e.accountId,firstName:y.firstName,lastName:y.lastName});N((function(t){return __assign(__assign({},t),{errors:{},error:""})}));return}var t={};if(!y.firstName){t["firstName"]={message:"Field can't be empty"}}if(!y.lastName){t["lastName"]={message:"Field can't be empty"}}if(t!=={}){N((function(t){return __assign(__assign({},t),{error:"Please correct the errors below to update your profile."})}))}N((function(e){return __assign(__assign({},e),{errors:t})}))};return{states:{success:a,loading:(h===null||h===void 0?void 0:h.loading)||x.loading,submitDisabled:false,showCountry:!t.hideCountry,formState:y,user:f,text:{firstnametext:t.firstnametext,lastnametext:t.lastnametext,countrytext:t.countrytext,emailtext:t.emailtext,editProfileHeader:t.editProfileHeader,editProfileSubHeader:t.editProfileSubHeader,submitChangeButtonText:t.submitChangeButtonText}},callbacks:{onSubmit:j,onChange:function(t){var e=t.target,n=e.name,i=e.value;N((function(t){var e;return __assign(__assign({},t),(e={},e[n]=i,e))}))}}}}var N=t("sqm_portal_profile",function(){function t(t){e(this,t);this.ignored=true;this.firstnametext="First Name";this.lastnametext="Last Name";this.emailtext="Email";this.countrytext="Country";this.editProfileHeader="Edit your profile";this.editProfileSubHeader="Personal Information";this.submitChangeButtonText="Submit Changes";this.hideCountry=false;a(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=d()?h(m(this)):y(m(this));return n(c,Object.assign({},t))};return t}());function h(t){return f({states:{success:false,loading:false,submitDisabled:false,showCountry:!t.hideCountry,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:t.firstnametext,lastnametext:t.lastnametext,emailtext:t.emailtext,countrytext:t.countrytext,editProfileHeader:t.editProfileHeader,editProfileSubHeader:t.editProfileSubHeader,submitChangeButtonText:t.submitChangeButtonText},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:function(t){return console.log(t)},onChange:function(t){return console.log(t)}}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-18061615.system.js"],(function(t){"use strict";var n,e,r,i,o,u,a,c,s,l;return{setters:[function(t){n=t.r;e=t.h;r=t.c},function(t){i=t.n;o=t.f;u=t.m},function(t){a=t.H;c=t.C;s=t._;l=t.c}],execute:function(){function f(t){var n=t.domain;return __awaiter(this,void 0,void 0,(function(){var t,e,r,u,f,h;return __generator(this,(function(p){t=a();e=n;r=s();u=c(e,r,t);f=i(l,u),h=f[1];o((function(){h(u)}),[u]);return[2]}))}))}var h=t("sqm_graphql_client_provider",function(){function t(t){n(this,t);this.ignored=true;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){f(this);return e(r,{style:{display:"contents"}},e("slot",null))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i}from"./p-64c3217a.js";import{m as r}from"./p-901f5b80.js";import{L as s,e as o,i as e}from"./p-
|
|
1
|
+
import{r as t,h as i}from"./p-64c3217a.js";import{m as r}from"./p-901f5b80.js";import{L as s,e as o,i as e}from"./p-d1b5d727.js";import{c}from"./p-c1086930.js";import"./p-cef45012.js";import{g as n}from"./p-9ec99ced.js";import{L as a}from"./p-9907bc8a.js";const m=class{constructor(i){t(this,i),this.userIdentificationText="{email}",this.switchUserText="not you?",r(this)}disconnectedCallback(){}render(){const t=e()?function(t){return c({onSwitchClick:()=>o(void 0),filledInEmailText:"john@example.com",switchUserText:t.switchUserText},t.demoData||{},{arrayMerge:(t,i)=>i})}(this):function(t){var i;const r=s();return{onSwitchClick:()=>{o(void 0)},filledInEmailText:null===(i=t.userIdentificationText)||void 0===i?void 0:i.replace("{email}",(null==r?void 0:r.id)||"Error fetching email"),...t}}(n(this));return i(a,Object.assign({},t,{userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText}))}};export{m as sqm_logout_current_user}
|