@saasquatch/mint-components 1.7.1-0 → 1.7.2-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-b997bca7.js → ShadowViewAddon-d0a52d38.js} +17 -12
- package/dist/cjs/{global-de2bf4f7.js → global-6785de71.js} +1 -1
- package/dist/cjs/{index.module-ccd9cbad.js → index.module-02576958.js} +8 -8
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-378abee0.js → re-render-c484d9ab.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +37 -37
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-7e751389.js → sqm-navigation-sidebar-item-view-21dcca39.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
- 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-6f0aea50.js → sqm-portal-email-verification-view-d6e14e8d.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-0abcf3b8.js → sqm-portal-profile-view-13a1229f.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- 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 +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +48 -48
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-4cfa421a.js → useChildElements-74eb05b6.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-45026b1f.js → useInstantAccessRegistration-11ff69f8.js} +2 -2
- package/dist/cjs/{useReferralTable-f1f85db9.js → useReferralTable-6ca43436.js} +6 -6
- package/dist/cjs/{useRegistrationFormState-7e9641c4.js → useRegistrationFormState-01d63bda.js} +1 -1
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +7 -7
- package/dist/collection/components/sqm-share-link/useShareLink.js +6 -1
- package/dist/esm/{ShadowViewAddon-5508ac9d.js → ShadowViewAddon-2c82b555.js} +17 -12
- package/dist/esm/{global-3cb5aea4.js → global-91edfca0.js} +1 -1
- package/dist/esm/{index.module-c549b2c8.js → index.module-99d8522e.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-3211b893.js → re-render-096db0eb.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat_39.entry.js +39 -39
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
- package/dist/esm/sqm-logout-current-user.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-e9296d4b.js → sqm-navigation-sidebar-item-view-eb765b9c.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- 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-87413403.js → sqm-portal-email-verification-view-408af676.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-977710a3.js → sqm-portal-profile-view-efa44888.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +5 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +4 -4
- package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- 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 +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +48 -48
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-a97f3864.js → useChildElements-b945a965.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-47501f2c.js → useInstantAccessRegistration-7f9f4360.js} +2 -2
- package/dist/esm/{useReferralTable-d5398ef2.js → useReferralTable-e425f29d.js} +6 -6
- package/dist/esm/{useRegistrationFormState-b1f730bd.js → useRegistrationFormState-c9d54ef3.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-2c82b555.js +1 -0
- package/dist/esm-es5/{global-3cb5aea4.js → global-91edfca0.js} +1 -1
- package/dist/esm-es5/{index.module-c549b2c8.js → index.module-99d8522e.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-3211b893.js → re-render-096db0eb.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-e9296d4b.js → sqm-navigation-sidebar-item-view-eb765b9c.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-87413403.js → sqm-portal-email-verification-view-408af676.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-977710a3.js → sqm-portal-profile-view-efa44888.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-a97f3864.js → useChildElements-b945a965.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-47501f2c.js → useInstantAccessRegistration-7f9f4360.js} +1 -1
- package/dist/esm-es5/{useReferralTable-d5398ef2.js → useReferralTable-e425f29d.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-c9d54ef3.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-626dc2ce.entry.js → p-00196b47.entry.js} +5 -5
- package/dist/mint-components/{p-b16930c5.entry.js → p-05f069ce.entry.js} +2 -2
- package/dist/mint-components/{p-086bc650.system.js → p-0943b547.system.js} +1 -1
- package/dist/mint-components/p-09cdd442.system.entry.js +1 -0
- package/dist/mint-components/{p-b0008fd2.system.entry.js → p-0a892e0f.system.entry.js} +1 -1
- package/dist/mint-components/p-0ad6459e.entry.js +1 -0
- package/dist/mint-components/{p-e5883a5f.entry.js → p-0b8f38a8.entry.js} +1 -1
- package/dist/mint-components/p-0de80de6.js +1 -0
- package/dist/mint-components/{p-c5fe9915.system.entry.js → p-13570402.system.entry.js} +1 -1
- package/dist/mint-components/{p-35604900.system.entry.js → p-1e884e97.system.entry.js} +1 -1
- package/dist/mint-components/p-1fa097d3.entry.js +1 -0
- package/dist/mint-components/p-22d1e92e.system.js +1 -0
- package/dist/mint-components/{p-fc7d9d19.system.entry.js → p-25ad41bd.system.entry.js} +1 -1
- package/dist/mint-components/{p-f60232ab.entry.js → p-2adb5310.entry.js} +1 -1
- package/dist/mint-components/{p-b4f1239f.system.entry.js → p-2bba85ac.system.entry.js} +1 -1
- package/dist/mint-components/{p-eaf2b723.js → p-2e9a5714.js} +1 -1
- package/dist/mint-components/{p-bb7f5f8b.entry.js → p-3e0bb7f9.entry.js} +1 -1
- package/dist/mint-components/{p-a3e28532.system.js → p-41c62fef.system.js} +1 -1
- package/dist/mint-components/{p-4f09f749.js → p-42844992.js} +1 -1
- package/dist/mint-components/{p-66a30837.system.entry.js → p-53f4f635.system.entry.js} +1 -1
- package/dist/mint-components/{p-239f4be8.entry.js → p-57a89487.entry.js} +1 -1
- package/dist/mint-components/p-59318941.system.js +1 -0
- package/dist/mint-components/{p-6fc0c1a8.system.entry.js → p-66e3cb0c.system.entry.js} +1 -1
- package/dist/mint-components/{p-600b792e.system.entry.js → p-6d1a2821.system.entry.js} +1 -1
- package/dist/mint-components/p-6e793d76.system.entry.js +1 -0
- package/dist/mint-components/p-6fed24de.entry.js +1 -0
- package/dist/mint-components/{p-10b03137.system.entry.js → p-7d5ee633.system.entry.js} +1 -1
- package/dist/mint-components/{p-f2ec822a.js → p-831d1332.js} +1 -1
- package/dist/mint-components/{p-34c90e51.system.entry.js → p-84ee5462.system.entry.js} +1 -1
- package/dist/mint-components/p-878daf52.js +1 -0
- package/dist/mint-components/p-89e86134.entry.js +1 -0
- package/dist/mint-components/{p-cdddccfe.js → p-8b28c511.js} +1 -1
- package/dist/mint-components/{p-1d78d8ba.system.js → p-8b2b5d37.system.js} +1 -1
- package/dist/mint-components/{p-18ecc54e.system.entry.js → p-8f1974f8.system.entry.js} +1 -1
- package/dist/mint-components/{p-2d6f3bbc.entry.js → p-9a74f167.entry.js} +1 -1
- package/dist/mint-components/{p-6cb2eff2.system.entry.js → p-9b2e0735.system.entry.js} +1 -1
- package/dist/mint-components/{p-46f41615.system.js → p-9f3a0252.system.js} +1 -1
- package/dist/mint-components/{p-c9210918.entry.js → p-a23a2a86.entry.js} +1 -1
- package/dist/mint-components/{p-cf5b20fc.system.js → p-a372d9cf.system.js} +1 -1
- package/dist/mint-components/{p-f6ee8a24.system.entry.js → p-a65e2e14.system.entry.js} +1 -1
- package/dist/mint-components/{p-7195cdd7.system.entry.js → p-a6c026bc.system.entry.js} +1 -1
- package/dist/mint-components/{p-1f4828ad.system.js → p-a79208b8.system.js} +1 -1
- package/dist/mint-components/{p-8b02bfc7.system.entry.js → p-abfb3897.system.entry.js} +1 -1
- package/dist/mint-components/{p-4069a5ac.entry.js → p-b0ef4f17.entry.js} +1 -1
- package/dist/mint-components/{p-6a578070.entry.js → p-b0f3c6c5.entry.js} +2 -2
- package/dist/mint-components/{p-1527ce05.entry.js → p-b4fddf49.entry.js} +1 -1
- package/dist/mint-components/{p-125c8c60.system.entry.js → p-b5b9aaba.system.entry.js} +1 -1
- package/dist/mint-components/{p-5ef6521c.system.js → p-b6dafb9b.system.js} +1 -1
- package/dist/mint-components/p-b9bf7576.system.js +1 -0
- package/dist/mint-components/{p-36182652.entry.js → p-b9c7b7ef.entry.js} +1 -1
- package/dist/mint-components/{p-8f13044b.system.entry.js → p-ba295930.system.entry.js} +1 -1
- package/dist/mint-components/{p-ac453316.system.entry.js → p-be8f19ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-d41556bd.entry.js → p-c24d34d8.entry.js} +1 -1
- package/dist/mint-components/{p-b43ea640.entry.js → p-c2bd46e2.entry.js} +1 -1
- package/dist/mint-components/{p-428256ab.js → p-ce5b03c8.js} +8 -3
- package/dist/mint-components/p-ce748fab.js +1 -0
- package/dist/mint-components/{p-2ff85968.entry.js → p-d5e83056.entry.js} +1 -1
- package/dist/mint-components/{p-bb5ec5c2.js → p-d65bf9dc.js} +1 -1
- package/dist/mint-components/{p-706a112f.entry.js → p-d846f34f.entry.js} +2 -2
- package/dist/mint-components/p-db9652e7.system.entry.js +1 -0
- package/dist/mint-components/{p-b4deff58.entry.js → p-e058ba88.entry.js} +1 -1
- package/dist/mint-components/{p-c1962b42.entry.js → p-e3de804b.entry.js} +1 -1
- package/dist/mint-components/{p-d9e05949.system.entry.js → p-e49392c3.system.entry.js} +1 -1
- package/dist/mint-components/p-e9197aac.entry.js +1 -0
- package/dist/mint-components/{p-6ff1de8a.js → p-eab33344.js} +1 -1
- package/dist/mint-components/{p-01d691c5.system.entry.js → p-ed9374ef.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0604038.system.js → p-ee7bc1c7.system.js} +1 -1
- package/dist/mint-components/{p-bb9a9cf3.entry.js → p-ef6a3ff3.entry.js} +2 -2
- package/dist/mint-components/{p-25fd6ee0.system.entry.js → p-f04ce58d.system.entry.js} +1 -1
- package/dist/mint-components/p-f064bf28.entry.js +1 -0
- package/dist/mint-components/p-f21aa0bd.entry.js +1 -0
- package/dist/mint-components/{p-01be40a8.system.entry.js → p-f60d9f3e.system.entry.js} +1 -1
- package/dist/mint-components/{p-9df46d84.system.js → p-f63961b4.system.js} +1 -1
- package/dist/mint-components/{p-b953ae7f.js → p-f71cfd64.js} +1 -1
- package/dist/mint-components/{p-e3fc9e65.system.entry.js → p-f7b5c0ac.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-5508ac9d.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-b1f730bd.js +0 -1
- package/dist/mint-components/p-2108937d.js +0 -1
- package/dist/mint-components/p-37678b57.entry.js +0 -1
- package/dist/mint-components/p-3c02b80b.entry.js +0 -1
- package/dist/mint-components/p-5da880d1.js +0 -1
- package/dist/mint-components/p-6a15c0c5.system.entry.js +0 -1
- package/dist/mint-components/p-79787bf3.system.js +0 -1
- package/dist/mint-components/p-844b9513.entry.js +0 -1
- package/dist/mint-components/p-87a6bfa4.entry.js +0 -1
- package/dist/mint-components/p-99ec46fe.js +0 -1
- package/dist/mint-components/p-a984852e.entry.js +0 -1
- package/dist/mint-components/p-ad1fb768.entry.js +0 -1
- package/dist/mint-components/p-b2f447a6.entry.js +0 -1
- package/dist/mint-components/p-c0e7d16e.system.js +0 -1
- package/dist/mint-components/p-c32a8733.system.js +0 -1
- package/dist/mint-components/p-e61bedb4.system.entry.js +0 -1
- package/dist/mint-components/p-fd8addea.system.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-3cc28285.system.js","./p-
|
|
1
|
+
System.register(["./p-3cc28285.system.js","./p-41c62fef.system.js"],(function(t){"use strict";var e,r;return{setters:[function(t){e=t.y},function(t){r=t.V}],execute:function(){t("u",n);var s=t("R","sq:registration-form-state");function n(t){var n=r();var i=e(n,s,t),o=i[0],a=i[1];return{registrationFormState:o,setRegistrationFormState:a}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-3cc28285.system.js","./p-41c62fef.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-1a673057.system.js","./p-6333265f.system.js","./p-b6dafb9b.system.js"],(function(t){"use strict";var n,e,s,a,i,c,o,r;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m},function(t){a=t.v;i=t.i},function(t){c=t.c},function(){},function(){},function(t){o=t.g},function(t){r=t.N}],execute:function(){function u(t){var n=a();return{states:{active:n.pathname===t.path},data:{label:t.label,icon:t.icon,path:t.path}}}var f=t("sqm_navigation_sidebar_item",function(){function t(t){n(this,t);s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=i()?p(o(this)):u(o(this));return e(r,Object.assign({},t))};return t}());function p(t){return c({states:{active:false},data:{label:t.label||"Dashboard",icon:t.icon||"house"}},t.demoData||{},{arrayMerge:function(t,n){return n}})}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as i,r as o}from"./p-64c3217a.js";import{k as l,f as r,m as s}from"./p-901f5b80.js";import{d as t,q as a,b as e,
|
|
1
|
+
import{h as i,r as o}from"./p-64c3217a.js";import{k as l,f as r,m as s}from"./p-901f5b80.js";import{d as t,q as a,b as e,h as d,f as n,i as v}from"./p-8b28c511.js";import{j as u}from"./p-e7e129ac.js";import{c as m}from"./p-c1086930.js";import{A as c,a as p,H as f,b as h,E as b}from"./p-02be1a88.js";import{c as g}from"./p-cef45012.js";import{T as y}from"./p-5d0c9424.js";import{u as w}from"./p-878daf52.js";import{A as E}from"./p-121cdc60.js";const k=g({Wrapper:{...c,"max-width":"600px"},Column:p,HostBlock:f,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:h,ErrorStyle:b}),j=k.toString();function x(o){var l,r,s,t,a,e,d,n,v,u,m,c,p,f,h,b,g,w,E,x;const{states:P,refs:q,callbacks:M,content:F}=o;return P.error&&window.scrollTo({top:0,left:0,behavior:"smooth"}),i("div",{class:k.classes.Wrapper,part:"sqm-base"},i("style",{type:"text/css"},"\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n",j),i(y,{type:"h3"},F.pageLabel),i("sl-form",{class:k.classes.Column,"onSl-submit":M.submit,ref:i=>q.formRef.current=i,novalidate:!0},(null===(l=P.registrationFormState)||void 0===l?void 0:l.disabled)?i("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},i("div",{part:"erroralert-text"},P.registrationFormState.disabledMessage)):P.error&&i("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},i("div",{part:"erroralert-text"},o.states.error)),F.formData,!P.hideInputs&&i("sl-input",Object.assign({exportparts:"label: input-label",type:"email",name:"/email",label:F.emailLabel||"Email",disabled:P.loading||(null===(r=P.registrationFormState)||void 0===r?void 0:r.disabled),required:!0,validationError:({value:i})=>i?i.includes("@")?void 0:F.invalidEmailErrorMessage:F.requiredFieldErrorMessage},(null===(t=null===(s=P.registrationFormState)||void 0===s?void 0:s.initialData)||void 0===t?void 0:t.email)?{value:null===(e=null===(a=P.registrationFormState)||void 0===a?void 0:a.initialData)||void 0===e?void 0:e.email}:{},(null===(n=null===(d=P.registrationFormState)||void 0===d?void 0:d.validationErrors)||void 0===n?void 0:n.email)?{class:k.classes.ErrorStyle,helpText:(null===(u=null===(v=P.registrationFormState)||void 0===v?void 0:v.validationErrors)||void 0===u?void 0:u.email)||F.requiredFieldErrorMessage}:[])),!P.hideInputs&&i("sqm-password-field",{fieldLabel:F.passwordLabel,"disable-validation":!P.enablePasswordValidation}),F.passwordField,!P.hideInputs&&P.confirmPassword&&i("sl-input",Object.assign({exportparts:"label: input-label",type:"password",name:"/confirmPassword",label:F.confirmPasswordLabel,disabled:P.loading||(null===(m=P.registrationFormState)||void 0===m?void 0:m.disabled),required:!0},(null===(p=null===(c=P.registrationFormState)||void 0===c?void 0:c.initialData)||void 0===p?void 0:p.confirmPassword)?{value:null===(h=null===(f=P.registrationFormState)||void 0===f?void 0:f.initialData)||void 0===h?void 0:h.confirmPassword}:{},(null===(g=null===(b=P.registrationFormState)||void 0===b?void 0:b.validationErrors)||void 0===g?void 0:g.confirmPassword)?{class:k.classes.ErrorStyle,helpText:(null===(E=null===(w=P.registrationFormState)||void 0===w?void 0:w.validationErrors)||void 0===E?void 0:E.confirmPassword)||F.requiredFieldErrorMessage}:[])),F.terms,i("div",{class:k.classes.ButtonsContainer},i("sl-button",{submit:!0,loading:P.loading,disabled:null===(x=P.registrationFormState)||void 0===x?void 0:x.disabled,exportparts:"base: primarybutton-base",type:"primary"},F.submitLabel||"Register"),F.secondaryButton)))}const P=t.gql`
|
|
2
2
|
query RegistrationFormQuery($key: String!) {
|
|
3
3
|
form(key: $key) {
|
|
4
4
|
key
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(u,a)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,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(e){return c([t,e])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=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,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(u,a)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,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(e){return c([t,e])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=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-41c62fef.system.js","./p-22d1e92e.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.r;n=t.h;r=t.c},function(t){o=t.m},function(){},function(t){i=t.a}],execute:function(){var u=t("sqm_rewards_table_customer_note_column",function(){function t(t){e(this,t);this.columnTitle="Note";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.renderCell=function(t,e){return __awaiter(this,void 0,void 0,(function(){var r,o;return __generator(this,(function(i){o=t;return[2,n("sqm-rewards-table-customer-note-cell",{note:(r=o===null||o===void 0?void 0:o.meta)===null||r===void 0?void 0:r.message,locale:e})]}))}))};t.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.columnTitle]}))}))};t.prototype.render=function(){i([this.columnTitle]);return n(r,{style:{display:"none"}})};return t}())}}}));
|