@saasquatch/mint-components 2.1.9-1 → 2.1.9-11
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/parseStates-d1effc19.js +16 -0
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-big-stat_45.cjs.entry.js → sqm-big-stat_46.cjs.entry.js} +369 -5
- package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -4
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +25 -5
- package/dist/cjs/{sqm-partner-info-modal-view-e3faede9.js → sqm-partner-info-modal-view-98e2975d.js} +24 -18
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +28 -2
- package/dist/cjs/{sqm-user-info-form-view-efa08934.js → sqm-user-info-form-view-923ff8d9.js} +3 -11
- package/dist/cjs/sqm-widget-verification.cjs.entry.js +160 -22
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +23 -18
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +77 -6
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +5 -2
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +16 -0
- package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +3 -4
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -2
- package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +474 -13
- package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +14 -4
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +3 -11
- package/dist/esm/{ShadowViewAddon-d382a63e.js → ShadowViewAddon-657d18f0.js} +5 -5
- package/dist/esm/{data-a6752028.js → data-2b0feb3f.js} +2 -2
- package/dist/esm/{global-b2ee3a12.js → global-39f55ec2.js} +1 -1
- package/dist/esm/{index.module-e266b4d7.js → index.module-cede12c6.js} +1 -1
- package/dist/esm/{keys-406491dc.js → keys-db1897ae.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/parseStates-ed75e224.js +14 -0
- package/dist/esm/{re-render-4f4bd4da.js → re-render-7a0c7976.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +9 -9
- package/dist/esm/{sqm-big-stat_45.entry.js → sqm-big-stat_46.entry.js} +378 -15
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +7 -8
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +29 -9
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-google-sign-in.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-lead-checkbox-field-view-00d76ba1.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-d8f76a9d.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
- package/dist/esm/sqm-lead-input-field.entry.js +4 -4
- 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-7f966119.js → sqm-navigation-sidebar-item-view-48e7e0d3.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-pagination_3.entry.js +3 -3
- package/dist/esm/{sqm-partner-info-modal-view-77c231af.js → sqm-partner-info-modal-view-74328f70.js} +24 -19
- 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-13e25037.js → sqm-portal-email-verification-view-80736644.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-a172bdcc.js → sqm-portal-profile-view-a6be8558.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c1a72c4f.js → sqm-portal-verify-email-view-92297506.js} +1 -1
- package/dist/esm/sqm-qr-code.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- 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 +41 -15
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-b2dd8aa1.js → sqm-user-info-form-view-f9026468.js} +5 -13
- package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
- package/dist/esm/sqm-widget-verification.entry.js +160 -22
- package/dist/esm/{useChildElements-31ba3daf.js → useChildElements-c26d7347.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-1388dace.js → useInstantAccessRegistration-e2392f42.js} +2 -2
- package/dist/esm/{useLeadFormState-cec544ea.js → useLeadFormState-9099c8d4.js} +2 -2
- package/dist/esm/{usePayoutStatus-24145412.js → usePayoutStatus-fa504d49.js} +1 -1
- package/dist/esm/{usePortalRegistrationForm-6d562bf8.js → usePortalRegistrationForm-5844032a.js} +2 -2
- package/dist/esm/{useReferralCodes-1ca1fda0.js → useReferralCodes-3cde72d4.js} +1 -1
- package/dist/esm/{useReferralTable-456931fd.js → useReferralTable-35e6d4c1.js} +3 -3
- package/dist/esm/{useRegistrationFormState-0cee2d21.js → useRegistrationFormState-1813bdef.js} +1 -1
- package/dist/esm/{useVerificationEmail-5c6cd733.js → useVerificationEmail-cb3d51e3.js} +1 -1
- package/dist/esm/{utilities-f05633da.js → utilities-c9e730ed.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-d382a63e.js → ShadowViewAddon-657d18f0.js} +1 -1
- package/dist/esm-es5/{data-a6752028.js → data-2b0feb3f.js} +1 -1
- package/dist/esm-es5/{global-b2ee3a12.js → global-39f55ec2.js} +1 -1
- package/dist/esm-es5/{index.module-e266b4d7.js → index.module-cede12c6.js} +1 -1
- package/dist/esm-es5/{keys-406491dc.js → keys-db1897ae.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/parseStates-ed75e224.js +1 -0
- package/dist/esm-es5/{re-render-4f4bd4da.js → re-render-7a0c7976.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -0
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-google-sign-in.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-lead-checkbox-field-view-00d76ba1.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-d8f76a9d.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
- package/dist/esm-es5/sqm-lead-input-field.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-7f966119.js → sqm-navigation-sidebar-item-view-48e7e0d3.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-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-74328f70.js +1 -0
- 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-13e25037.js → sqm-portal-email-verification-view-80736644.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-a172bdcc.js → sqm-portal-profile-view-a6be8558.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-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-c1a72c4f.js → sqm-portal-verify-email-view-92297506.js} +1 -1
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.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/{sqm-user-info-form-view-b2dd8aa1.js → sqm-user-info-form-view-f9026468.js} +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-31ba3daf.js → useChildElements-c26d7347.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-1388dace.js → useInstantAccessRegistration-e2392f42.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-cec544ea.js → useLeadFormState-9099c8d4.js} +1 -1
- package/dist/esm-es5/{usePayoutStatus-24145412.js → usePayoutStatus-fa504d49.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-6d562bf8.js → usePortalRegistrationForm-5844032a.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-1ca1fda0.js → useReferralCodes-3cde72d4.js} +1 -1
- package/dist/esm-es5/{useReferralTable-456931fd.js → useReferralTable-35e6d4c1.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-0cee2d21.js → useRegistrationFormState-1813bdef.js} +1 -1
- package/dist/esm-es5/{useVerificationEmail-5c6cd733.js → useVerificationEmail-cb3d51e3.js} +1 -1
- package/dist/esm-es5/{utilities-f05633da.js → utilities-c9e730ed.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-9f21ea69.js → p-014977d7.js} +1 -1
- package/dist/mint-components/{p-30967f75.js → p-092db51a.js} +1 -1
- package/dist/mint-components/{p-bd804f4c.js → p-095b7128.js} +1 -1
- package/dist/mint-components/{p-bae7d6b5.system.entry.js → p-098d134a.system.entry.js} +1 -1
- package/dist/mint-components/{p-6596f0de.entry.js → p-0a1669f8.entry.js} +2 -2
- package/dist/mint-components/{p-2085bb01.system.entry.js → p-0a60980a.system.entry.js} +1 -1
- package/dist/mint-components/{p-504ed1f2.entry.js → p-0c43b6ff.entry.js} +1 -1
- package/dist/mint-components/{p-ab678644.js → p-0d75a207.js} +1 -1
- package/dist/mint-components/p-115dfc03.system.js +1 -0
- package/dist/mint-components/p-13f3a647.js +1 -0
- package/dist/mint-components/{p-473562fc.system.js → p-140e6a15.system.js} +1 -1
- package/dist/mint-components/{p-fa32d8eb.system.entry.js → p-15a703c7.system.entry.js} +1 -1
- package/dist/mint-components/{p-b9652150.entry.js → p-160828b4.entry.js} +1 -1
- package/dist/mint-components/{p-878bb2cf.system.entry.js → p-16deb1a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-1435edd4.entry.js → p-1b0cbbae.entry.js} +1 -1
- package/dist/mint-components/{p-aa0b0cd6.entry.js → p-1b2fcd7f.entry.js} +1 -1
- package/dist/mint-components/p-1c413a06.system.js +1 -0
- package/dist/mint-components/{p-2774c704.system.entry.js → p-21e7079a.system.entry.js} +1 -1
- package/dist/mint-components/p-278897bd.system.entry.js +1 -0
- package/dist/mint-components/{p-695ec086.system.js → p-28e0062c.system.js} +1 -1
- package/dist/mint-components/{p-c8060ef5.system.entry.js → p-2f4d8ab8.system.entry.js} +1 -1
- package/dist/mint-components/{p-dfb50245.entry.js → p-3181e54a.entry.js} +1 -1
- package/dist/mint-components/{p-5d79c8a0.system.js → p-31dde9fc.system.js} +1 -1
- package/dist/mint-components/{p-d863acaa.js → p-32d078a3.js} +1 -1
- package/dist/mint-components/{p-7528770e.entry.js → p-3461a8cb.entry.js} +1 -1
- package/dist/mint-components/{p-6e816a17.system.entry.js → p-357040e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-452f644f.system.js → p-36395228.system.js} +1 -1
- package/dist/mint-components/{p-5245e4ce.system.entry.js → p-3756d0d1.system.entry.js} +1 -1
- package/dist/mint-components/{p-5f6d617a.entry.js → p-37658fec.entry.js} +1 -1
- package/dist/mint-components/p-39840341.js +1 -0
- package/dist/mint-components/{p-5126508b.js → p-3c333076.js} +1 -1
- package/dist/mint-components/{p-6684e9ad.js → p-3c555674.js} +1 -1
- package/dist/mint-components/{p-21851092.js → p-3c88d2ed.js} +2 -2
- package/dist/mint-components/{p-e7a9ce16.js → p-438f6702.js} +1 -1
- package/dist/mint-components/{p-fe0eceba.system.entry.js → p-45475cf9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f7948b16.system.entry.js → p-52748a87.system.entry.js} +1 -1
- package/dist/mint-components/p-53f22cc0.system.entry.js +1 -0
- package/dist/mint-components/{p-614630a8.system.js → p-54bf015a.system.js} +1 -1
- package/dist/mint-components/{p-96cbca52.system.entry.js → p-5c9d030a.system.entry.js} +1 -1
- package/dist/mint-components/{p-1b7b65ef.entry.js → p-5dc9e95b.entry.js} +2 -2
- package/dist/mint-components/{p-82be3d10.system.entry.js → p-60085f20.system.entry.js} +1 -1
- package/dist/mint-components/{p-cc0fe4a3.entry.js → p-608da224.entry.js} +1 -1
- package/dist/mint-components/{p-5825aee6.system.entry.js → p-6194855b.system.entry.js} +1 -1
- package/dist/mint-components/{p-b8766db9.entry.js → p-62212b9a.entry.js} +1 -1
- package/dist/mint-components/{p-f3ddbe2f.system.entry.js → p-62e1c8b2.system.entry.js} +1 -1
- package/dist/mint-components/p-63c299f1.system.js +1 -0
- package/dist/mint-components/{p-9be145c6.system.entry.js → p-64b56141.system.entry.js} +1 -1
- package/dist/mint-components/{p-1b9705fd.system.js → p-64f56cc9.system.js} +1 -1
- package/dist/mint-components/{p-f95952a0.system.entry.js → p-66c0100c.system.entry.js} +1 -1
- package/dist/mint-components/{p-2ad9470d.system.entry.js → p-6a4496b3.system.entry.js} +1 -1
- package/dist/mint-components/{p-1775cb0c.system.js → p-70e34ae1.system.js} +2 -2
- package/dist/mint-components/{p-20280398.system.entry.js → p-71545bfd.system.entry.js} +1 -1
- package/dist/mint-components/{p-6d444f3f.system.js → p-74aac245.system.js} +1 -1
- package/dist/mint-components/{p-59644ef8.system.js → p-7547180f.system.js} +1 -1
- package/dist/mint-components/{p-f84605ec.system.js → p-77117f6c.system.js} +1 -1
- package/dist/mint-components/{p-a03189bd.js → p-7e36a1ff.js} +1 -1
- package/dist/mint-components/{p-5450693e.entry.js → p-8139fdec.entry.js} +1 -1
- package/dist/mint-components/{p-320b306b.js → p-8474aa63.js} +1 -1
- package/dist/mint-components/{p-33a6ab09.js → p-857a2d77.js} +1 -1
- package/dist/mint-components/{p-b179621d.system.js → p-86381dc7.system.js} +1 -1
- package/dist/mint-components/{p-e502fd80.entry.js → p-86a70151.entry.js} +1 -1
- package/dist/mint-components/{p-a30f0ffd.entry.js → p-886fb141.entry.js} +1 -1
- package/dist/mint-components/{p-b6fc53c9.entry.js → p-88c9cc1b.entry.js} +1 -1
- package/dist/mint-components/{p-97b8c481.js → p-896390f9.js} +1 -1
- package/dist/mint-components/p-8d5db0d5.entry.js +105 -0
- package/dist/mint-components/{p-fca34d77.js → p-8f9c1387.js} +1 -1
- package/dist/mint-components/{p-44afc747.entry.js → p-93c5c8ec.entry.js} +1 -1
- package/dist/mint-components/{p-9c381424.system.entry.js → p-95aaf35a.system.entry.js} +1 -1
- package/dist/mint-components/{p-f6fc7569.entry.js → p-96e4e6a4.entry.js} +1 -1
- package/dist/mint-components/{p-ed17e1b8.entry.js → p-991f60fc.entry.js} +1 -1
- package/dist/mint-components/{p-353ab6db.entry.js → p-996eb820.entry.js} +1 -1
- package/dist/mint-components/{p-b8288385.system.entry.js → p-998c989a.system.entry.js} +1 -1
- package/dist/mint-components/p-99b17bca.system.js +1 -0
- package/dist/mint-components/{p-82905fda.system.js → p-9b33e2a7.system.js} +1 -1
- package/dist/mint-components/{p-7767314d.system.entry.js → p-9bd53e4d.system.entry.js} +1 -1
- package/dist/mint-components/{p-89f8ab67.entry.js → p-9c1b0c8b.entry.js} +1 -1
- package/dist/mint-components/{p-07f3b868.entry.js → p-9e43f1eb.entry.js} +1 -1
- package/dist/mint-components/{p-9fa6606e.js → p-a5912b2f.js} +1 -1
- package/dist/mint-components/{p-7a7ebf08.js → p-a7ee6531.js} +1 -1
- package/dist/mint-components/{p-83277c69.system.js → p-a86ce218.system.js} +1 -1
- package/dist/mint-components/{p-d6c1e876.system.js → p-a8ecdc44.system.js} +1 -1
- package/dist/mint-components/{p-f3b21df2.system.js → p-b1b8e629.system.js} +1 -1
- package/dist/mint-components/{p-93cb9438.system.entry.js → p-b297016f.system.entry.js} +1 -1
- package/dist/mint-components/p-b2a99637.system.js +1 -0
- package/dist/mint-components/p-b2bde2f5.entry.js +1 -0
- package/dist/mint-components/{p-d2448c85.system.entry.js → p-b451970a.system.entry.js} +1 -1
- package/dist/mint-components/{p-4da8028d.system.entry.js → p-b5c0bad5.system.entry.js} +1 -1
- package/dist/mint-components/{p-ad017a39.js → p-b5f57914.js} +1 -1
- package/dist/mint-components/{p-80174c14.entry.js → p-b5fed7c6.entry.js} +1 -1
- package/dist/mint-components/{p-c2c01ab5.entry.js → p-ba953c21.entry.js} +1 -1
- package/dist/mint-components/{p-47f594c3.entry.js → p-bba694e4.entry.js} +1 -1
- package/dist/mint-components/{p-d5375baf.js → p-bcadd021.js} +1 -1
- package/dist/mint-components/{p-79854479.system.js → p-be63f29b.system.js} +1 -1
- package/dist/mint-components/p-bfbfde38.entry.js +33 -0
- package/dist/mint-components/p-c68c2331.js +1 -0
- package/dist/mint-components/{p-07da0ddd.system.entry.js → p-c7535e70.system.entry.js} +1 -1
- package/dist/mint-components/{p-d42aba0e.system.js → p-c84a2512.system.js} +1 -1
- package/dist/mint-components/{p-55b1be64.system.entry.js → p-c8e45671.system.entry.js} +1 -1
- package/dist/mint-components/{p-e5e8e13e.js → p-ce11858c.js} +1 -1
- package/dist/mint-components/{p-1d450b85.js → p-d20188db.js} +1 -1
- package/dist/mint-components/{p-e4d3b7a9.system.js → p-d355336b.system.js} +1 -1
- package/dist/mint-components/{p-5822a43f.system.entry.js → p-d5a1c979.system.entry.js} +1 -1
- package/dist/mint-components/p-d6714617.entry.js +1 -0
- package/dist/mint-components/{p-5e106c95.system.js → p-d798004f.system.js} +1 -1
- package/dist/mint-components/p-dac1f2cb.system.entry.js +1 -0
- package/dist/mint-components/{p-7333d103.system.entry.js → p-dbdb2a46.system.entry.js} +1 -1
- package/dist/mint-components/{p-c756bc32.system.js → p-e4dbca9a.system.js} +1 -1
- package/dist/mint-components/{p-7c0255ad.entry.js → p-e5ee6cf5.entry.js} +2 -2
- package/dist/mint-components/{p-8f5b316e.js → p-e95402dc.js} +1 -1
- package/dist/mint-components/{p-0a900fb1.system.entry.js → p-e9e05970.system.entry.js} +1 -1
- package/dist/mint-components/{p-3dc1e209.system.js → p-eaf5d0af.system.js} +1 -1
- package/dist/mint-components/{p-84866680.entry.js → p-f11d29fd.entry.js} +1 -1
- package/dist/mint-components/{p-dece706f.js → p-f18a6658.js} +1 -1
- package/dist/mint-components/{p-06ca4346.entry.js → p-f4a57aed.entry.js} +1 -1
- package/dist/mint-components/{p-2e2c5ec4.entry.js → p-f972e5c9.entry.js} +1 -1
- package/dist/mint-components/p-fa3d7e53.entry.js +291 -0
- package/dist/mint-components/{p-91c4b8d5.system.entry.js → p-fb4ab5ba.system.entry.js} +1 -1
- package/dist/mint-components/sqm-widget-verification.entry.js +356 -0
- package/dist/mint-components/sqm-widget-verification.system.entry.js +1 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +1 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +15 -2
- package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +8 -0
- package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +73 -0
- package/dist/types/components.d.ts +173 -3
- 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/cjs/extractProps-e9c55ba8.js +0 -35
- package/dist/esm/extractProps-54064fb0.js +0 -32
- package/dist/esm-es5/extractProps-54064fb0.js +0 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-77c231af.js +0 -1
- package/dist/mint-components/p-0797a946.js +0 -1
- package/dist/mint-components/p-1b0d7020.js +0 -1
- package/dist/mint-components/p-2c0bb139.entry.js +0 -33
- package/dist/mint-components/p-35724e1c.entry.js +0 -1
- package/dist/mint-components/p-38c7775a.js +0 -1
- package/dist/mint-components/p-470f7c0f.system.entry.js +0 -1
- package/dist/mint-components/p-4afbeea5.entry.js +0 -16
- package/dist/mint-components/p-4b365f1f.system.js +0 -1
- package/dist/mint-components/p-57dd28bd.system.js +0 -1
- package/dist/mint-components/p-66c070e2.entry.js +0 -105
- package/dist/mint-components/p-6e6f19ea.system.entry.js +0 -1
- package/dist/mint-components/p-71c585b7.entry.js +0 -1
- package/dist/mint-components/p-78909fc0.system.js +0 -1
- package/dist/mint-components/p-a9855b29.system.entry.js +0 -1
- package/dist/mint-components/p-e44c816e.system.js +0 -1
- package/dist/mint-components/p-e55aafe9.system.js +0 -1
- package/dist/mint-components/p-e6924adb.entry.js +0 -273
- package/dist/mint-components/p-e9a596d6.system.entry.js +0 -1
|
@@ -30,9 +30,10 @@ const ErrorView = require('./ErrorView-ee7b0f36.js');
|
|
|
30
30
|
const ShadowViewAddon = require('./ShadowViewAddon-d679ec76.js');
|
|
31
31
|
require('./sqm-portal-container-view-70a47420.js');
|
|
32
32
|
const data = require('./data-e83f8a41.js');
|
|
33
|
-
const
|
|
33
|
+
const keys = require('./keys-cff24974.js');
|
|
34
34
|
require('./eventKeys-7af4df4d.js');
|
|
35
35
|
const usePayoutStatus = require('./usePayoutStatus-cf050a03.js');
|
|
36
|
+
const parseStates = require('./parseStates-d1effc19.js');
|
|
36
37
|
|
|
37
38
|
/**
|
|
38
39
|
*
|
|
@@ -3392,7 +3393,7 @@ const PayoutStatusAlert = class {
|
|
|
3392
3393
|
}
|
|
3393
3394
|
};
|
|
3394
3395
|
function useDemoPayoutStatusAlert(props) {
|
|
3395
|
-
const states =
|
|
3396
|
+
const states = parseStates.parseStates(props.stateController);
|
|
3396
3397
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
|
|
3397
3398
|
? { ...prev, ...states[key] }
|
|
3398
3399
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
@@ -5771,7 +5772,7 @@ function EmptySlot$1() {
|
|
|
5771
5772
|
return (index.h("slot", { name: "empty" }, index.h("sqm-empty", { emptyStateImage: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png", emptyStateHeader: "Redeem rewards", emptyStateText: "Use your points to redeem rewards once they become available" })));
|
|
5772
5773
|
}
|
|
5773
5774
|
function useRewardExchangeListDemo(props) {
|
|
5774
|
-
const states =
|
|
5775
|
+
const states = parseStates.parseStates(props.stateController);
|
|
5775
5776
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-reward-exchange-list"
|
|
5776
5777
|
? { ...prev, ...states[key] }
|
|
5777
5778
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
@@ -6393,6 +6394,24 @@ function useTaskCardDemo(props) {
|
|
|
6393
6394
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
6394
6395
|
}
|
|
6395
6396
|
|
|
6397
|
+
/**
|
|
6398
|
+
* Util function for getting just the props with a certain prefix.
|
|
6399
|
+
* @param props Text props on stencil component
|
|
6400
|
+
* @param prefix Prefix denoting which group the text prop belongs to
|
|
6401
|
+
* @returns A new object with all keys with the prefix provided. The prefix is removed from each key.
|
|
6402
|
+
*/
|
|
6403
|
+
function extractProps(props, prefix) {
|
|
6404
|
+
const keys = Object.keys(props).filter((k) => k.startsWith(prefix));
|
|
6405
|
+
const formattedProps = keys.reduce((prev, k) => {
|
|
6406
|
+
const key = k.replace(prefix, "");
|
|
6407
|
+
return {
|
|
6408
|
+
...prev,
|
|
6409
|
+
[key]: props[k],
|
|
6410
|
+
};
|
|
6411
|
+
}, {});
|
|
6412
|
+
return formattedProps;
|
|
6413
|
+
}
|
|
6414
|
+
|
|
6396
6415
|
function getCurrentStep(user) {
|
|
6397
6416
|
var _a, _b;
|
|
6398
6417
|
if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
|
|
@@ -7677,7 +7696,7 @@ const TaxAndCashMonolith = class {
|
|
|
7677
7696
|
getGeneralStepTextProps(prefix) {
|
|
7678
7697
|
const props = utils.getProps(this);
|
|
7679
7698
|
return {
|
|
7680
|
-
...extractProps
|
|
7699
|
+
...extractProps(props, prefix),
|
|
7681
7700
|
generalErrorTitle: props.generalErrorTitle,
|
|
7682
7701
|
generalErrorDescription: props.generalErrorDescription,
|
|
7683
7702
|
fieldRequiredError: props.fieldRequiredError,
|
|
@@ -7735,7 +7754,7 @@ function useDemoTaxAndCash(props) {
|
|
|
7735
7754
|
namespace: data.TAX_CONTEXT_NAMESPACE,
|
|
7736
7755
|
initialValue: "/1",
|
|
7737
7756
|
});
|
|
7738
|
-
const states =
|
|
7757
|
+
const states = parseStates.parseStates(props.stateController);
|
|
7739
7758
|
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
|
|
7740
7759
|
? { ...prev, ...states[key] }
|
|
7741
7760
|
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
@@ -7940,6 +7959,350 @@ function useUserNameDemo(props) {
|
|
|
7940
7959
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
7941
7960
|
}
|
|
7942
7961
|
|
|
7962
|
+
const USER_LOOKUP = index_module.dist.gql `
|
|
7963
|
+
query checkUserVerification {
|
|
7964
|
+
viewer {
|
|
7965
|
+
... on User {
|
|
7966
|
+
id
|
|
7967
|
+
accountId
|
|
7968
|
+
email
|
|
7969
|
+
emailVerified
|
|
7970
|
+
managedIdentity {
|
|
7971
|
+
email
|
|
7972
|
+
emailVerified
|
|
7973
|
+
}
|
|
7974
|
+
impactConnection {
|
|
7975
|
+
connected
|
|
7976
|
+
}
|
|
7977
|
+
}
|
|
7978
|
+
}
|
|
7979
|
+
}
|
|
7980
|
+
`;
|
|
7981
|
+
function useWidgetVerification() {
|
|
7982
|
+
const userIdentity = index_module.J();
|
|
7983
|
+
const [showCode, setShowCode] = index_module.In({
|
|
7984
|
+
namespace: keys.SHOW_CODE_NAMESPACE,
|
|
7985
|
+
initialValue: false,
|
|
7986
|
+
});
|
|
7987
|
+
const [email, setEmail] = index_module.In({
|
|
7988
|
+
namespace: keys.VERIFICATION_EMAIL_NAMESPACE,
|
|
7989
|
+
initialValue: userIdentity === null || userIdentity === void 0 ? void 0 : userIdentity.email,
|
|
7990
|
+
});
|
|
7991
|
+
const setContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
7992
|
+
const [loading, setLoading] = domContextHooks_module.useState(true);
|
|
7993
|
+
const [showPartnerModal, setShowPartnerModal] = domContextHooks_module.useState(false);
|
|
7994
|
+
const [fetch] = index_module.Xe(USER_LOOKUP);
|
|
7995
|
+
domContextHooks_module.useEffect(() => {
|
|
7996
|
+
const checkUser = async () => {
|
|
7997
|
+
var _a, _b, _c, _d, _e;
|
|
7998
|
+
try {
|
|
7999
|
+
const res = await fetch({});
|
|
8000
|
+
if (!res || res instanceof Error)
|
|
8001
|
+
throw new Error();
|
|
8002
|
+
// Flow changed to send email -> verify code -> show early partner creation modal
|
|
8003
|
+
const emailVerified = ((_a = res === null || res === void 0 ? void 0 : res.viewer) === null || _a === void 0 ? void 0 : _a.emailVerified) || ((_c = (_b = res === null || res === void 0 ? void 0 : res.viewer) === null || _b === void 0 ? void 0 : _b.managedIdentity) === null || _c === void 0 ? void 0 : _c.emailVerified);
|
|
8004
|
+
const isConnected = (_e = (_d = res === null || res === void 0 ? void 0 : res.viewer) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.connected;
|
|
8005
|
+
if (isConnected) {
|
|
8006
|
+
// Partner already created, show widget content
|
|
8007
|
+
setContext(true);
|
|
8008
|
+
}
|
|
8009
|
+
else if (emailVerified) {
|
|
8010
|
+
// Email verified but no partner yet, show partner modal
|
|
8011
|
+
setShowPartnerModal(true);
|
|
8012
|
+
}
|
|
8013
|
+
}
|
|
8014
|
+
catch (e) {
|
|
8015
|
+
console.error("Could not fetch user information:", e);
|
|
8016
|
+
}
|
|
8017
|
+
finally {
|
|
8018
|
+
setLoading(false);
|
|
8019
|
+
}
|
|
8020
|
+
};
|
|
8021
|
+
checkUser();
|
|
8022
|
+
}, []);
|
|
8023
|
+
const onVerification = () => {
|
|
8024
|
+
setShowPartnerModal(true);
|
|
8025
|
+
};
|
|
8026
|
+
const onPartnerModalComplete = () => {
|
|
8027
|
+
setShowPartnerModal(false);
|
|
8028
|
+
setContext(true);
|
|
8029
|
+
};
|
|
8030
|
+
return { showCode, showPartnerModal, onVerification, onPartnerModalComplete, loading };
|
|
8031
|
+
}
|
|
8032
|
+
|
|
8033
|
+
const WidgetVerification = class {
|
|
8034
|
+
constructor(hostRef) {
|
|
8035
|
+
index.registerInstance(this, hostRef);
|
|
8036
|
+
// ! Any updated must be reflected in sqm-widget-verification-internal AND sqm-email-verification AND sqm-code-verification AND sqm-partner-info-modal
|
|
8037
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8038
|
+
GENERAL PROPS
|
|
8039
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8040
|
+
/**
|
|
8041
|
+
* @uiName General verify widget header text
|
|
8042
|
+
* @uiGroup General Text
|
|
8043
|
+
*/
|
|
8044
|
+
this.general_verifyEmailHeader = "Verify your email";
|
|
8045
|
+
/**
|
|
8046
|
+
* @uiName General verify widget description text
|
|
8047
|
+
* @uiGroup General Text
|
|
8048
|
+
*/
|
|
8049
|
+
this.general_verifyEmailDescription = "To get your cash paid out directly to your bank account, please complete your account setup";
|
|
8050
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8051
|
+
EMAIL STEP PROPS
|
|
8052
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8053
|
+
/**
|
|
8054
|
+
* @uiName Verify email widget header text
|
|
8055
|
+
* @uiGroup Email Verification Step
|
|
8056
|
+
*/
|
|
8057
|
+
this.emailStep_verifyEmailHeaderText = "Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";
|
|
8058
|
+
/**
|
|
8059
|
+
* @uiName Send code to email alert header
|
|
8060
|
+
* @uiGroup Email Verification Step
|
|
8061
|
+
*/
|
|
8062
|
+
this.emailStep_sendCodeErrorHeader = "There was an error sending your code.";
|
|
8063
|
+
/**
|
|
8064
|
+
* @uiName Send code to email alert description
|
|
8065
|
+
* @uiGroup Email Verification Step
|
|
8066
|
+
*/
|
|
8067
|
+
this.emailStep_sendCodeErrorDescription = "Please try again. If this problem continues, contact our program support team.";
|
|
8068
|
+
/**
|
|
8069
|
+
* @uiName Email input label
|
|
8070
|
+
* @uiGroup Email Verification Step
|
|
8071
|
+
*/
|
|
8072
|
+
this.emailStep_emailLabel = "Email";
|
|
8073
|
+
/**
|
|
8074
|
+
* @uiName Send code button text
|
|
8075
|
+
* @uiGroup Email Verification Step
|
|
8076
|
+
*/
|
|
8077
|
+
this.emailStep_sendCodeText = "Send code";
|
|
8078
|
+
/**
|
|
8079
|
+
* @uiName Send code button text
|
|
8080
|
+
* @uiGroup Email Verification Step
|
|
8081
|
+
*/
|
|
8082
|
+
this.emailStep_emailValidationErrorText = "Please enter a valid email";
|
|
8083
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8084
|
+
CODE STEP PROPS
|
|
8085
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8086
|
+
/**
|
|
8087
|
+
* @uiName Verify code widget header text
|
|
8088
|
+
* @uiGroup Code Verification Step
|
|
8089
|
+
*/
|
|
8090
|
+
this.codeStep_verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
8091
|
+
/**
|
|
8092
|
+
* @uiName Reverify code widget header text
|
|
8093
|
+
* @uiGroup Code Verification Step
|
|
8094
|
+
*/
|
|
8095
|
+
this.codeStep_reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
|
|
8096
|
+
/**
|
|
8097
|
+
* Text displayed under verify button
|
|
8098
|
+
* @uiName Resend code text
|
|
8099
|
+
* @uiGroup Code Verification Step
|
|
8100
|
+
*/
|
|
8101
|
+
this.codeStep_resendCodeText = "Didn't receive your code? {resendCodeLink}";
|
|
8102
|
+
/**
|
|
8103
|
+
* The link that appears in the resend code link
|
|
8104
|
+
* @uiName Resend code label
|
|
8105
|
+
* @uiGroup Code Verification Step
|
|
8106
|
+
*/
|
|
8107
|
+
this.codeStep_resendCodeLabel = "Resend code";
|
|
8108
|
+
/**
|
|
8109
|
+
* Link text displayed under verify button
|
|
8110
|
+
* @uiName Resend code text
|
|
8111
|
+
* @uiGroup Code Verification Step
|
|
8112
|
+
*/
|
|
8113
|
+
this.codeStep_codeResentSuccessfullyText = "Another code has been sent to {email}";
|
|
8114
|
+
/**
|
|
8115
|
+
* Error text displayed under verification input
|
|
8116
|
+
* @uiName Invalid code text
|
|
8117
|
+
* @uiGroup Code Verification Step
|
|
8118
|
+
*/
|
|
8119
|
+
this.codeStep_invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
|
|
8120
|
+
/**
|
|
8121
|
+
* @uiName Verify code button text
|
|
8122
|
+
* @uiGroup Code Verification Step
|
|
8123
|
+
*/
|
|
8124
|
+
this.codeStep_verifyText = "Verify";
|
|
8125
|
+
/**
|
|
8126
|
+
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
8127
|
+
* @uiName Network error message
|
|
8128
|
+
* @uiGroup Code Verification Step
|
|
8129
|
+
*/
|
|
8130
|
+
this.codeStep_networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
8131
|
+
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
8132
|
+
PARTNER CREATION STEP PROPS
|
|
8133
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
8134
|
+
/**
|
|
8135
|
+
* @uiName New partner header
|
|
8136
|
+
* @uiGroup Partner Creation Step
|
|
8137
|
+
* @uiWidget textArea
|
|
8138
|
+
*/
|
|
8139
|
+
this.createPartnerStep_modalHeader = "Let's get you ready for rewards";
|
|
8140
|
+
/**
|
|
8141
|
+
* @uiName Existing partner header
|
|
8142
|
+
* @uiGroup Partner Creation Step
|
|
8143
|
+
* @uiWidget textArea
|
|
8144
|
+
*/
|
|
8145
|
+
this.createPartnerStep_modalHeaderExistingPartner = "We found an existing account";
|
|
8146
|
+
/**
|
|
8147
|
+
* @uiName New partner description
|
|
8148
|
+
* @uiGroup Partner Creation Step
|
|
8149
|
+
* @uiWidget textArea
|
|
8150
|
+
*/
|
|
8151
|
+
this.createPartnerStep_descriptionNewPartner = "Confirm your country and currency now to get your future rewards faster.";
|
|
8152
|
+
/**
|
|
8153
|
+
* @uiName Existing partner description
|
|
8154
|
+
* @uiGroup Partner Creation Step
|
|
8155
|
+
* @uiWidget textArea
|
|
8156
|
+
*/
|
|
8157
|
+
this.createPartnerStep_descriptionExistingPartner = "We found an account with this email on our referral program provider, impact.com. Please confirm your country and currency now to get your future rewards faster.";
|
|
8158
|
+
/**
|
|
8159
|
+
* @uiName Existing partner support description
|
|
8160
|
+
* @uiGroup Partner Creation Step
|
|
8161
|
+
* @uiWidget textArea
|
|
8162
|
+
*/
|
|
8163
|
+
this.createPartnerStep_supportDescriptionExistingPartner = "If this is a mistake, please contact Support or sign up for this referral program with a different email.";
|
|
8164
|
+
/**
|
|
8165
|
+
* @uiName Country label
|
|
8166
|
+
* @uiGroup Partner Creation Step
|
|
8167
|
+
*/
|
|
8168
|
+
this.createPartnerStep_countryLabel = "Country";
|
|
8169
|
+
/**
|
|
8170
|
+
* @uiName Currency label
|
|
8171
|
+
* @uiGroup Partner Creation Step
|
|
8172
|
+
*/
|
|
8173
|
+
this.createPartnerStep_currencyLabel = "Currency";
|
|
8174
|
+
/**
|
|
8175
|
+
* @uiName Submit button label
|
|
8176
|
+
* @uiGroup Partner Creation Step
|
|
8177
|
+
*/
|
|
8178
|
+
this.createPartnerStep_submitButtonLabel = "Submit";
|
|
8179
|
+
/**
|
|
8180
|
+
* @uiName Confirm button label
|
|
8181
|
+
* @uiGroup Partner Creation Step
|
|
8182
|
+
*/
|
|
8183
|
+
this.createPartnerStep_confirmButtonLabel = "Confirm";
|
|
8184
|
+
/**
|
|
8185
|
+
* @uiName Search country placeholder
|
|
8186
|
+
* @uiGroup Partner Creation Step
|
|
8187
|
+
*/
|
|
8188
|
+
this.createPartnerStep_searchCountryPlaceholder = "Search for a country";
|
|
8189
|
+
/**
|
|
8190
|
+
* @uiName Search currency placeholder
|
|
8191
|
+
* @uiGroup Partner Creation Step
|
|
8192
|
+
*/
|
|
8193
|
+
this.createPartnerStep_searchCurrencyPlaceholder = "Search for a currency";
|
|
8194
|
+
/**
|
|
8195
|
+
* @uiName Network error text
|
|
8196
|
+
* @uiGroup Partner Creation Step
|
|
8197
|
+
* @uiWidget textArea
|
|
8198
|
+
*/
|
|
8199
|
+
this.createPartnerStep_networkErrorText = "An error occurred. Please try again.";
|
|
8200
|
+
/**
|
|
8201
|
+
* @uiName Missing fields error text
|
|
8202
|
+
* @uiGroup Partner Creation Step
|
|
8203
|
+
* @uiWidget textArea
|
|
8204
|
+
*/
|
|
8205
|
+
this.createPartnerStep_missingFieldsErrorText = "Please select both a country and currency.";
|
|
8206
|
+
/**
|
|
8207
|
+
* @undocumented
|
|
8208
|
+
* @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
|
|
8209
|
+
* @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
|
|
8210
|
+
* @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
|
|
8211
|
+
*/
|
|
8212
|
+
this.stateController = "{}";
|
|
8213
|
+
domContextHooks_module.h$1(this);
|
|
8214
|
+
}
|
|
8215
|
+
disconnectedCallback() { }
|
|
8216
|
+
getStepTextProps(prefix) {
|
|
8217
|
+
const props = utils.getProps(this);
|
|
8218
|
+
return extractProps(props, prefix);
|
|
8219
|
+
}
|
|
8220
|
+
render() {
|
|
8221
|
+
const props = index_module.isDemo()
|
|
8222
|
+
? useDemoWidgetVerificationInternal(this)
|
|
8223
|
+
: useWidgetVerification();
|
|
8224
|
+
if (props.loading)
|
|
8225
|
+
return index.h("sl-spinner", null);
|
|
8226
|
+
const style = {
|
|
8227
|
+
Dialog: {
|
|
8228
|
+
"&::part(panel)": {
|
|
8229
|
+
maxWidth: "480px",
|
|
8230
|
+
},
|
|
8231
|
+
"&::part(title)": {
|
|
8232
|
+
fontSize: "var(--sl-font-size-x-large)",
|
|
8233
|
+
fontWeight: "600",
|
|
8234
|
+
padding: "var(--sl-spacing-x-large) var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
|
|
8235
|
+
},
|
|
8236
|
+
"&::part(body)": {
|
|
8237
|
+
padding: "0 var(--sl-spacing-x-large)",
|
|
8238
|
+
fontSize: "var(--sl-font-size-small)",
|
|
8239
|
+
overflow: "visible",
|
|
8240
|
+
},
|
|
8241
|
+
"&::part(footer)": {
|
|
8242
|
+
display: "flex",
|
|
8243
|
+
flexDirection: "column",
|
|
8244
|
+
gap: "var(--sl-spacing-small)",
|
|
8245
|
+
},
|
|
8246
|
+
"&::part(overlay)": {
|
|
8247
|
+
background: "rgba(0, 0, 0, 0.5)",
|
|
8248
|
+
},
|
|
8249
|
+
"&::part(close-button)": {
|
|
8250
|
+
display: "none",
|
|
8251
|
+
},
|
|
8252
|
+
},
|
|
8253
|
+
};
|
|
8254
|
+
const sheet = JSS.createStyleSheet(style);
|
|
8255
|
+
const styleString = sheet.toString();
|
|
8256
|
+
const generalText = this.getStepTextProps("general_");
|
|
8257
|
+
const partnerText = this.getStepTextProps("createPartnerStep_");
|
|
8258
|
+
const dialogLabel = props.showPartnerModal
|
|
8259
|
+
? partnerText.modalHeader
|
|
8260
|
+
: generalText.verifyEmailHeader;
|
|
8261
|
+
const renderStepContent = () => {
|
|
8262
|
+
if (props.showPartnerModal) {
|
|
8263
|
+
return (index.h("sqm-partner-info-modal", Object.assign({ embedded: true }, partnerText)));
|
|
8264
|
+
}
|
|
8265
|
+
if (props.showCode) {
|
|
8266
|
+
return (index.h("sqm-code-verification", Object.assign({ onVerification: props.onVerification }, this.getStepTextProps("codeStep_"), extractProps(props, "sqm-code-verification_"))));
|
|
8267
|
+
}
|
|
8268
|
+
return (index.h("sqm-email-verification", Object.assign({}, this.getStepTextProps("emailStep_"), extractProps(props, "sqm-email-verification_"))));
|
|
8269
|
+
};
|
|
8270
|
+
return (index.h("div", null, index.h("style", { type: "text/css" }, styleString), index.h("sl-dialog", { class: sheet.classes.Dialog, noHeader: false, open: true, label: dialogLabel, "onSl-request-close": (e) => {
|
|
8271
|
+
e.preventDefault();
|
|
8272
|
+
}, "onSl-hide": (e) => {
|
|
8273
|
+
var _a;
|
|
8274
|
+
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
|
|
8275
|
+
e.preventDefault();
|
|
8276
|
+
}
|
|
8277
|
+
} }, renderStepContent())));
|
|
8278
|
+
}
|
|
8279
|
+
};
|
|
8280
|
+
function useDemoWidgetVerificationInternal(props) {
|
|
8281
|
+
const [showCode, setShowCode] = index_module.In({
|
|
8282
|
+
namespace: keys.SHOW_CODE_NAMESPACE,
|
|
8283
|
+
initialValue: false,
|
|
8284
|
+
});
|
|
8285
|
+
const [email, setEmail] = index_module.In({
|
|
8286
|
+
namespace: keys.VERIFICATION_EMAIL_NAMESPACE,
|
|
8287
|
+
initialValue: undefined,
|
|
8288
|
+
});
|
|
8289
|
+
const setContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
8290
|
+
const states = parseStates.parseStates(props.stateController);
|
|
8291
|
+
const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-widget-verification"
|
|
8292
|
+
? { ...prev, ...states[key] }
|
|
8293
|
+
: { ...prev, [`${key}_stateController`]: states[key] }, {});
|
|
8294
|
+
const onVerification = () => {
|
|
8295
|
+
setContext(true);
|
|
8296
|
+
};
|
|
8297
|
+
return cjs.cjs({
|
|
8298
|
+
showCode,
|
|
8299
|
+
showPartnerModal: false,
|
|
8300
|
+
onVerification,
|
|
8301
|
+
onPartnerModalComplete: () => { },
|
|
8302
|
+
loading: false,
|
|
8303
|
+
}, formatted || {}, { arrayMerge: (_, a) => a });
|
|
8304
|
+
}
|
|
8305
|
+
|
|
7943
8306
|
exports.sqm_big_stat = BigStat;
|
|
7944
8307
|
exports.sqm_brand = BrandComponent;
|
|
7945
8308
|
exports.sqm_brand_selector = SqmBrandSelector;
|
|
@@ -7985,3 +8348,4 @@ exports.sqm_tax_and_cash = TaxAndCashMonolith;
|
|
|
7985
8348
|
exports.sqm_timeline = Timeline;
|
|
7986
8349
|
exports.sqm_timeline_entry = TimelineReward;
|
|
7987
8350
|
exports.sqm_user_name = UserName;
|
|
8351
|
+
exports.sqm_widget_verification = WidgetVerification;
|
|
@@ -65,7 +65,6 @@ const style = {
|
|
|
65
65
|
},
|
|
66
66
|
ContinueButton: {
|
|
67
67
|
width: "100%",
|
|
68
|
-
maxWidth: "100px",
|
|
69
68
|
},
|
|
70
69
|
FooterContainer: {
|
|
71
70
|
display: "flex",
|
|
@@ -143,9 +142,9 @@ function WidgetCodeVerificationView(props) {
|
|
|
143
142
|
index.h("sl-input", { class: inputClass, name: "code" }),
|
|
144
143
|
index.h("sl-input", { class: inputClass, name: "code" })),
|
|
145
144
|
states.verifyFailed && (index.h("p", { class: sheet.classes.ErrorText }, text.invalidCodeText)),
|
|
146
|
-
index.h("
|
|
147
|
-
|
|
148
|
-
index.h(
|
|
145
|
+
index.h("div", { class: sheet.classes.FooterContainer },
|
|
146
|
+
index.h(sqmTextSpanView.TextSpanView, { type: "p" }, resendCodeText)),
|
|
147
|
+
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)))));
|
|
149
148
|
}
|
|
150
149
|
|
|
151
150
|
const VerifyEmailWithCodeMutation = index_module.dist.gql `
|
|
@@ -10,9 +10,10 @@ const cjs = require('./cjs-1066ec21.js');
|
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const sqmTextSpanView = require('./sqm-text-span-view-f274fdf2.js');
|
|
13
|
-
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-
|
|
13
|
+
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-98e2975d.js');
|
|
14
14
|
const keys = require('./keys-cff24974.js');
|
|
15
15
|
const eventKeys = require('./eventKeys-7af4df4d.js');
|
|
16
|
+
const parseStates = require('./parseStates-d1effc19.js');
|
|
16
17
|
const useVerificationEmail = require('./useVerificationEmail-994bc32f.js');
|
|
17
18
|
|
|
18
19
|
const UpsertUserEmailMutation = index_module.dist.gql `
|
|
@@ -149,11 +150,9 @@ const style = {
|
|
|
149
150
|
gap: "var(--sl-spacing-medium)",
|
|
150
151
|
position: "relative",
|
|
151
152
|
flexDirection: "column",
|
|
152
|
-
maxWidth: "320px",
|
|
153
153
|
},
|
|
154
154
|
ContinueButton: {
|
|
155
155
|
width: "100%",
|
|
156
|
-
maxWidth: "100px",
|
|
157
156
|
},
|
|
158
157
|
SkeletonOne: {
|
|
159
158
|
width: "50%",
|
|
@@ -506,6 +505,7 @@ const GET_BRAND_NAME = index_module.dist.gql `
|
|
|
506
505
|
function usePartnerInfoModal(props) {
|
|
507
506
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
508
507
|
const locale = index_module.L();
|
|
508
|
+
const setVerificationContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
|
|
509
509
|
const { data: userData, loading: userLoading, refetch, } = index_module.wn(GET_USER_PARTNER_INFO, {});
|
|
510
510
|
const user = userData === null || userData === void 0 ? void 0 : userData.user;
|
|
511
511
|
const { data: currenciesData, loading: currenciesLoading } = index_module.wn(GET_CURRENCIES, { variables: { locale } });
|
|
@@ -606,6 +606,7 @@ function usePartnerInfoModal(props) {
|
|
|
606
606
|
window.dispatchEvent(new Event(eventKeys.TAX_FORM_UPDATED_EVENT_KEY));
|
|
607
607
|
await refetch();
|
|
608
608
|
setSuccess(true);
|
|
609
|
+
setVerificationContext(true);
|
|
609
610
|
}
|
|
610
611
|
catch (e) {
|
|
611
612
|
console.error("Partner creation error:", e);
|
|
@@ -622,7 +623,7 @@ function usePartnerInfoModal(props) {
|
|
|
622
623
|
open: showModal,
|
|
623
624
|
loading: userLoading || countriesLoading || currenciesLoading,
|
|
624
625
|
submitting: connectLoading,
|
|
625
|
-
isExistingPartner:
|
|
626
|
+
isExistingPartner: impactConnection === null || impactConnection === void 0 ? void 0 : impactConnection.publisher,
|
|
626
627
|
countryCode,
|
|
627
628
|
currency,
|
|
628
629
|
error,
|
|
@@ -721,6 +722,19 @@ const PartnerInfoModal = class {
|
|
|
721
722
|
* @uiWidget textArea
|
|
722
723
|
*/
|
|
723
724
|
this.missingFieldsErrorText = "Please select both a country and currency.";
|
|
725
|
+
/**
|
|
726
|
+
* When true, renders only the form content without its own sl-dialog wrapper.
|
|
727
|
+
* Used when embedded inside another dialog (e.g. sqm-widget-verification).
|
|
728
|
+
* @undocumented
|
|
729
|
+
*/
|
|
730
|
+
this.embedded = false;
|
|
731
|
+
/**
|
|
732
|
+
* @undocumented
|
|
733
|
+
* @componentState { "title": "New partner", "props": { "states": { "open": true, "isExistingPartner": false } } }
|
|
734
|
+
* @componentState { "title": "Existing partner", "props": { "states": { "open": true, "isExistingPartner": true, "countryCode": "US", "currency": "USD" } } }
|
|
735
|
+
* @componentState { "title": "Connected (hidden)", "props": { "states": { "open": false } } }
|
|
736
|
+
*/
|
|
737
|
+
this.stateController = "{}";
|
|
724
738
|
domContextHooks_module.h$1(this);
|
|
725
739
|
}
|
|
726
740
|
disconnectedCallback() { }
|
|
@@ -732,6 +746,9 @@ const PartnerInfoModal = class {
|
|
|
732
746
|
const props = index_module.isDemo()
|
|
733
747
|
? useDemoPartnerInfoModal(this)
|
|
734
748
|
: usePartnerInfoModal(this);
|
|
749
|
+
if (this.embedded) {
|
|
750
|
+
return index.h(sqmPartnerInfoModalView.PartnerInfoModalContent, Object.assign({}, props));
|
|
751
|
+
}
|
|
735
752
|
return index.h(sqmPartnerInfoModalView.PartnerInfoModalView, Object.assign({}, props));
|
|
736
753
|
}
|
|
737
754
|
};
|
|
@@ -739,6 +756,9 @@ function useDemoPartnerInfoModal(props) {
|
|
|
739
756
|
const [countryCode, setCountryCode] = domContextHooks_module.useState("US");
|
|
740
757
|
const [currency, setCurrency] = domContextHooks_module.useState("");
|
|
741
758
|
const [error, setError] = domContextHooks_module.useState("");
|
|
759
|
+
const parsed = parseStates.parseStates(props.stateController);
|
|
760
|
+
const stateOverride = (parsed === null || parsed === void 0 ? void 0 : parsed["sqm-partner-info-modal"]) || parsed || {};
|
|
761
|
+
// @ts-ignore
|
|
742
762
|
return cjs.cjs({
|
|
743
763
|
states: {
|
|
744
764
|
brandName: "Test Brand",
|
|
@@ -792,7 +812,7 @@ function useDemoPartnerInfoModal(props) {
|
|
|
792
812
|
supportDescriptionExistingPartner: props.supportDescriptionExistingPartner,
|
|
793
813
|
modalHeaderExistingPartner: props.modalHeaderExistingPartner,
|
|
794
814
|
},
|
|
795
|
-
}, props.demoData ||
|
|
815
|
+
}, props.demoData || stateOverride, { arrayMerge: (_, a) => a });
|
|
796
816
|
}
|
|
797
817
|
|
|
798
818
|
exports.sqm_email_verification = WidgetEmailVerification;
|
package/dist/cjs/{sqm-partner-info-modal-view-e3faede9.js → sqm-partner-info-modal-view-98e2975d.js}
RENAMED
|
@@ -14,7 +14,7 @@ const style = {
|
|
|
14
14
|
padding: "var(--sl-spacing-x-large) var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
|
|
15
15
|
},
|
|
16
16
|
"&::part(body)": {
|
|
17
|
-
padding: "
|
|
17
|
+
padding: "0 var(--sl-spacing-x-large)",
|
|
18
18
|
fontSize: "var(--sl-font-size-small)",
|
|
19
19
|
overflow: "visible",
|
|
20
20
|
},
|
|
@@ -22,7 +22,6 @@ const style = {
|
|
|
22
22
|
display: "flex",
|
|
23
23
|
flexDirection: "column",
|
|
24
24
|
gap: "var(--sl-spacing-small)",
|
|
25
|
-
padding: "var(--sl-spacing-small) var(--sl-spacing-x-large) var(--sl-spacing-x-large)",
|
|
26
25
|
},
|
|
27
26
|
"&::part(overlay)": {
|
|
28
27
|
background: "rgba(0, 0, 0, 0.5)",
|
|
@@ -62,14 +61,11 @@ const style = {
|
|
|
62
61
|
},
|
|
63
62
|
},
|
|
64
63
|
};
|
|
65
|
-
function
|
|
64
|
+
function PartnerInfoModalContent(props) {
|
|
66
65
|
var _a, _b;
|
|
67
66
|
const { states, callbacks, text } = props;
|
|
68
67
|
const sheet = JSS.createStyleSheet(style);
|
|
69
68
|
const styleString = sheet.toString();
|
|
70
|
-
console.log(states, "partner info modal states"); // TEMP
|
|
71
|
-
if (!states.open)
|
|
72
|
-
return index.h("div", null);
|
|
73
69
|
const description = states.isExistingPartner ? (index.h("div", { class: sheet.classes.DescriptionContainer },
|
|
74
70
|
index.h("p", null, text.descriptionExistingPartner),
|
|
75
71
|
index.h("p", null, text.supportDescriptionExistingPartner))) : (index.h("p", null,
|
|
@@ -78,17 +74,7 @@ function PartnerInfoModalView(props) {
|
|
|
78
74
|
const buttonLabel = states.isExistingPartner
|
|
79
75
|
? text.confirmButtonLabel
|
|
80
76
|
: text.submitButtonLabel;
|
|
81
|
-
return
|
|
82
|
-
? text.modalHeaderExistingPartner
|
|
83
|
-
: text.modalHeader, "onSl-request-close": (e) => {
|
|
84
|
-
e.preventDefault();
|
|
85
|
-
}, "onSl-hide": (e) => {
|
|
86
|
-
var _a;
|
|
87
|
-
// Prevent closing when clicking outside the dialog but not dropdowns
|
|
88
|
-
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
|
|
89
|
-
e.preventDefault();
|
|
90
|
-
}
|
|
91
|
-
} },
|
|
77
|
+
return [
|
|
92
78
|
index.h("style", { type: "text/css" }, styleString),
|
|
93
79
|
description,
|
|
94
80
|
index.h("div", { class: sheet.classes.FormFields },
|
|
@@ -102,7 +88,27 @@ function PartnerInfoModalView(props) {
|
|
|
102
88
|
index.h("sl-input", { class: sheet.classes.SearchInput, placeholder: text.searchCurrencyPlaceholder, onKeyDown: (e) => e.stopPropagation(), "onSl-input": (e) => { var _a; return callbacks.setCurrencySearch((_a = e.target) === null || _a === void 0 ? void 0 : _a.value); } }), (_b = states.filteredCurrencies) === null || _b === void 0 ? void 0 :
|
|
103
89
|
_b.map((c) => (index.h("sl-menu-item", { value: c.currencyCode }, c.currencyCode))))),
|
|
104
90
|
states.error && index.h("p", { class: sheet.classes.ErrorMessage }, states.error),
|
|
105
|
-
index.h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting || !states.countryCode || !states.currency, onClick: callbacks.onSubmit, style: { width: "100%" }, exportparts: "base: primarybutton-base" }, buttonLabel)
|
|
91
|
+
index.h("sl-button", { slot: "footer", type: "primary", loading: states.submitting, disabled: states.submitting || !states.countryCode || !states.currency, onClick: callbacks.onSubmit, style: { width: "100%" }, exportparts: "base: primarybutton-base" }, buttonLabel),
|
|
92
|
+
];
|
|
93
|
+
}
|
|
94
|
+
function PartnerInfoModalView(props) {
|
|
95
|
+
const { states, text } = props;
|
|
96
|
+
const sheet = JSS.createStyleSheet(style);
|
|
97
|
+
console.log(states, "partner info modal states"); // TEMP
|
|
98
|
+
if (!states.open)
|
|
99
|
+
return index.h("div", null);
|
|
100
|
+
return (index.h("sl-dialog", { class: sheet.classes.Dialog, open: states.open, noHeader: false, label: states.isExistingPartner
|
|
101
|
+
? text.modalHeaderExistingPartner
|
|
102
|
+
: text.modalHeader, "onSl-request-close": (e) => {
|
|
103
|
+
e.preventDefault();
|
|
104
|
+
}, "onSl-hide": (e) => {
|
|
105
|
+
var _a;
|
|
106
|
+
if (((_a = e.target) === null || _a === void 0 ? void 0 : _a.tagName) === "SL-DIALOG") {
|
|
107
|
+
e.preventDefault();
|
|
108
|
+
}
|
|
109
|
+
} },
|
|
110
|
+
index.h(PartnerInfoModalContent, Object.assign({}, props))));
|
|
106
111
|
}
|
|
107
112
|
|
|
113
|
+
exports.PartnerInfoModalContent = PartnerInfoModalContent;
|
|
108
114
|
exports.PartnerInfoModalView = PartnerInfoModalView;
|
|
@@ -35,10 +35,10 @@ require('./ErrorView-ee7b0f36.js');
|
|
|
35
35
|
const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
|
|
36
36
|
const ShadowViewAddon = require('./ShadowViewAddon-d679ec76.js');
|
|
37
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js');
|
|
38
|
-
const sqmUserInfoFormView = require('./sqm-user-info-form-view-
|
|
38
|
+
const sqmUserInfoFormView = require('./sqm-user-info-form-view-923ff8d9.js');
|
|
39
39
|
const data = require('./data-e83f8a41.js');
|
|
40
40
|
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-818d9e9a.js');
|
|
41
|
-
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-
|
|
41
|
+
const sqmPartnerInfoModalView = require('./sqm-partner-info-modal-view-98e2975d.js');
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -18859,6 +18859,31 @@ const PartnerInfoModal = /*#__PURE__*/Object.freeze({
|
|
|
18859
18859
|
FullStackDemo: FullStackDemo
|
|
18860
18860
|
});
|
|
18861
18861
|
|
|
18862
|
+
const WidgetVerification_stories = {
|
|
18863
|
+
title: "Components/Widget Verification",
|
|
18864
|
+
};
|
|
18865
|
+
const Step1Email = () => (index.h("sqm-widget-verification", { stateController: JSON.stringify({
|
|
18866
|
+
"sqm-widget-verification": { showCode: false },
|
|
18867
|
+
}) }));
|
|
18868
|
+
const Step2Code = () => (index.h("sqm-widget-verification", { stateController: JSON.stringify({
|
|
18869
|
+
"sqm-widget-verification": { showCode: true },
|
|
18870
|
+
}) }));
|
|
18871
|
+
const Step3PartnerModal = () => (index.h("sqm-widget-verification", { stateController: JSON.stringify({
|
|
18872
|
+
"sqm-widget-verification": { showPartnerModal: true },
|
|
18873
|
+
}) }));
|
|
18874
|
+
const Loading$h = () => (index.h("sqm-widget-verification", { stateController: JSON.stringify({
|
|
18875
|
+
"sqm-widget-verification": { loading: true },
|
|
18876
|
+
}) }));
|
|
18877
|
+
|
|
18878
|
+
const WidgetVerification = /*#__PURE__*/Object.freeze({
|
|
18879
|
+
__proto__: null,
|
|
18880
|
+
'default': WidgetVerification_stories,
|
|
18881
|
+
Step1Email: Step1Email,
|
|
18882
|
+
Step2Code: Step2Code,
|
|
18883
|
+
Step3PartnerModal: Step3PartnerModal,
|
|
18884
|
+
Loading: Loading$h
|
|
18885
|
+
});
|
|
18886
|
+
|
|
18862
18887
|
function deepFreeze(obj) {
|
|
18863
18888
|
if (obj instanceof Map) {
|
|
18864
18889
|
obj.clear = obj.delete = obj.set = function () {
|
|
@@ -21553,6 +21578,7 @@ const stories = [
|
|
|
21553
21578
|
TaxAndCashReferralTableRewardsCell,
|
|
21554
21579
|
TaxAndCashReferralTable$1,
|
|
21555
21580
|
PartnerInfoModal,
|
|
21581
|
+
WidgetVerification,
|
|
21556
21582
|
];
|
|
21557
21583
|
const StencilStorybook = class {
|
|
21558
21584
|
constructor(hostRef) {
|