@saasquatch/mint-components 2.5.7-1 → 2.5.8
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-ee16ec1d.js → ShadowViewAddon-7f609b03.js} +5 -5
- package/dist/cjs/{data-962310e1.js → data-7ea0e395.js} +1 -1
- package/dist/cjs/{global-973bc63c.js → global-0316d9f8.js} +1 -1
- package/dist/cjs/{index-8530c62f.js → index-88a40938.js} +208 -111
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-51c48d7c.js → re-render-65869eb3.js} +1 -1
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +9 -9
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +17 -15
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-code-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +5 -5
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.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 +6 -4
- package/dist/cjs/{sqm-lead-checkbox-field-view-24ac7358.js → sqm-lead-checkbox-field-view-e12e8cb6.js} +1 -1
- package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-lead-input-field-view-7dfbc714.js → sqm-lead-input-field-view-67aaabf7.js} +1 -1
- package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
- 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-a2cab80e.js → sqm-navigation-sidebar-item-view-e7c53f14.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-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-partner-info-modal-view-c8972001.js → sqm-partner-info-modal-view-17dbf6f7.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-92866725.js → sqm-portal-email-verification-view-ff5e33b9.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-60e78cdb.js → sqm-portal-profile-view-6adaa202.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-7efa70c9.js → sqm-portal-verify-email-view-08be7dec.js} +1 -1
- package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- 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 +26906 -7647
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-92d8d19a.js → sqm-user-info-form-view-b2a78083.js} +3 -3
- package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
- package/dist/cjs/{subregions-3dbacb18.js → subregions-fd4e4ee2.js} +1 -1
- package/dist/cjs/{useChildElements-e5e26816.js → useChildElements-e9ed2d11.js} +1 -1
- package/dist/cjs/{useIndirectTaxForm-638adefa.js → useIndirectTaxForm-c5f31c83.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-9201777d.js → useInstantAccessRegistration-aaabf0a7.js} +2 -2
- package/dist/cjs/{useLeadFormState-f5b768b9.js → useLeadFormState-2040144a.js} +2 -2
- package/dist/cjs/{usePortalRegistrationForm-b3c0451b.js → usePortalRegistrationForm-671d2863.js} +2 -2
- package/dist/cjs/{useReferralCodes-5794a177.js → useReferralCodes-926af4e8.js} +1 -1
- package/dist/cjs/{useReferralTable-32b3541b.js → useReferralTable-21a2e1a4.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-feccd2c8.js → useRegistrationFormState-cf2e0ec6.js} +1 -1
- package/dist/cjs/{useVerificationEmail-f0807562.js → useVerificationEmail-1e73a140.js} +1 -1
- package/dist/cjs/{utilities-04345466.js → utilities-4995dc8f.js} +1 -1
- package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +2 -19
- package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +2 -19
- package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +2 -19
- package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +2 -19
- package/dist/collection/components/sqm-input-field/UseInputField.stories.js +2 -19
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +4 -2
- package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +3 -19
- package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +7 -36
- package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +16 -21
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +7 -40
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +4 -2
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +4 -19
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +7 -40
- package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +2 -19
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +2 -19
- package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +2 -20
- package/dist/esm/{ShadowViewAddon-0c8005bd.js → ShadowViewAddon-59f4b3fa.js} +5 -5
- package/dist/esm/{data-b0e80fd9.js → data-91756a72.js} +1 -1
- package/dist/esm/{global-cf0cc6b1.js → global-11396707.js} +1 -1
- package/dist/esm/{index-b04013cc.js → index-ebb35768.js} +185 -113
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-e911a0f7.js → re-render-fa467bec.js} +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +9 -9
- package/dist/esm/sqm-big-stat_47.entry.js +17 -15
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-code-verification.entry.js +3 -3
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-email-verification_2.entry.js +5 -5
- 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 +6 -4
- package/dist/esm/{sqm-lead-checkbox-field-view-d055e7bd.js → sqm-lead-checkbox-field-view-84103484.js} +1 -1
- package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
- package/dist/esm/{sqm-lead-input-field-view-b0d62f1c.js → sqm-lead-input-field-view-f9be9365.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-754b2484.js → sqm-navigation-sidebar-item-view-5ef06865.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-3b59be37.js → sqm-partner-info-modal-view-fb139e7c.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-88fbf496.js → sqm-portal-email-verification-view-1a2d6650.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-f27adfba.js → sqm-portal-profile-view-b81be8ff.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-ee40e3f2.js → sqm-portal-verify-email-view-0c421bd0.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 +24356 -5097
- 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-59473bfd.js → sqm-user-info-form-view-3b420e99.js} +3 -3
- package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm/{subregions-d9f177f6.js → subregions-c7df98a1.js} +1 -1
- package/dist/esm/{useChildElements-a69f208f.js → useChildElements-18bd6080.js} +1 -1
- package/dist/esm/{useIndirectTaxForm-4bcd91f9.js → useIndirectTaxForm-733f5cf4.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-8c678a5a.js → useInstantAccessRegistration-be58b9dd.js} +2 -2
- package/dist/esm/{useLeadFormState-34e05463.js → useLeadFormState-de1a8033.js} +2 -2
- package/dist/esm/{usePortalRegistrationForm-c6519939.js → usePortalRegistrationForm-751b1f36.js} +2 -2
- package/dist/esm/{useReferralCodes-d0a384e4.js → useReferralCodes-d1706a4b.js} +1 -1
- package/dist/esm/{useReferralTable-214dff06.js → useReferralTable-91d9edb4.js} +3 -3
- package/dist/esm/{useRegistrationFormState-72b4786d.js → useRegistrationFormState-7688ce40.js} +1 -1
- package/dist/esm/{useVerificationEmail-b2c349a3.js → useVerificationEmail-5fb29393.js} +1 -1
- package/dist/esm/{utilities-ceab25cd.js → utilities-937c375d.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-59f4b3fa.js +1 -0
- package/dist/esm-es5/{data-b0e80fd9.js → data-91756a72.js} +1 -1
- package/dist/esm-es5/{global-cf0cc6b1.js → global-11396707.js} +1 -1
- package/dist/esm-es5/index-ebb35768.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-e911a0f7.js → re-render-fa467bec.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- 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-d055e7bd.js → sqm-lead-checkbox-field-view-84103484.js} +1 -1
- package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-lead-input-field-view-b0d62f1c.js → sqm-lead-input-field-view-f9be9365.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-754b2484.js → sqm-navigation-sidebar-item-view-5ef06865.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-3b59be37.js → sqm-partner-info-modal-view-fb139e7c.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-88fbf496.js → sqm-portal-email-verification-view-1a2d6650.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-f27adfba.js → sqm-portal-profile-view-b81be8ff.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-ee40e3f2.js → sqm-portal-verify-email-view-0c421bd0.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-59473bfd.js → sqm-user-info-form-view-3b420e99.js} +1 -1
- package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
- package/dist/esm-es5/{subregions-d9f177f6.js → subregions-c7df98a1.js} +1 -1
- package/dist/esm-es5/{useChildElements-a69f208f.js → useChildElements-18bd6080.js} +1 -1
- package/dist/esm-es5/{useIndirectTaxForm-4bcd91f9.js → useIndirectTaxForm-733f5cf4.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-8c678a5a.js → useInstantAccessRegistration-be58b9dd.js} +1 -1
- package/dist/esm-es5/{useLeadFormState-34e05463.js → useLeadFormState-de1a8033.js} +1 -1
- package/dist/esm-es5/{usePortalRegistrationForm-c6519939.js → usePortalRegistrationForm-751b1f36.js} +1 -1
- package/dist/esm-es5/{useReferralCodes-d0a384e4.js → useReferralCodes-d1706a4b.js} +1 -1
- package/dist/esm-es5/{useReferralTable-214dff06.js → useReferralTable-91d9edb4.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-72b4786d.js → useRegistrationFormState-7688ce40.js} +1 -1
- package/dist/esm-es5/useVerificationEmail-5fb29393.js +1 -0
- package/dist/esm-es5/{utilities-ceab25cd.js → utilities-937c375d.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-2b5c577a.system.js → p-03a74fc7.system.js} +1 -1
- package/dist/mint-components/{p-492f2233.entry.js → p-03df9427.entry.js} +1 -1
- package/dist/mint-components/{p-076af819.system.js → p-046111cd.system.js} +1 -1
- package/dist/mint-components/{p-f53c7a87.system.entry.js → p-070f42cf.system.entry.js} +1 -1
- package/dist/mint-components/{p-b652d3b3.js → p-089c0803.js} +1 -1
- package/dist/mint-components/{p-c50c206e.system.js → p-0da266a0.system.js} +1 -1
- package/dist/mint-components/{p-09a6ab1f.entry.js → p-10462334.entry.js} +1 -1
- package/dist/mint-components/{p-a3d1c665.system.entry.js → p-1155ca26.system.entry.js} +1 -1
- package/dist/mint-components/p-13a3aa65.system.js +1 -0
- package/dist/mint-components/{p-487dac4b.system.js → p-16a23aba.system.js} +1 -1
- package/dist/mint-components/{p-5bacacba.entry.js → p-17896608.entry.js} +1 -1
- package/dist/mint-components/{p-7a8ed2f3.system.entry.js → p-17cc4f34.system.entry.js} +1 -1
- package/dist/mint-components/p-197eaa29.system.entry.js +1 -0
- package/dist/mint-components/{p-7558fe46.js → p-1db95c9f.js} +1 -1
- package/dist/mint-components/{p-0daa339e.entry.js → p-2085ee72.entry.js} +1 -1
- package/dist/mint-components/p-21150b90.entry.js +1 -0
- package/dist/mint-components/{p-b492fd4b.system.entry.js → p-2d7fe937.system.entry.js} +1 -1
- package/dist/mint-components/p-2d9a98fa.system.entry.js +1 -0
- package/dist/mint-components/{p-15f170d4.js → p-32c9963c.js} +1 -1
- package/dist/mint-components/p-33075c60.system.entry.js +1 -0
- package/dist/mint-components/{p-c9bdee4f.system.entry.js → p-376f10dd.system.entry.js} +1 -1
- package/dist/mint-components/{p-6f66bb97.system.js → p-39479fb8.system.js} +1 -1
- package/dist/mint-components/{p-b6a9c9de.entry.js → p-3a5e63e3.entry.js} +22 -22
- package/dist/mint-components/{p-9d06abb3.entry.js → p-3d71543d.entry.js} +2 -2
- package/dist/mint-components/p-41409f59.system.js +1 -0
- package/dist/mint-components/p-43601511.entry.js +1 -0
- package/dist/mint-components/p-4389e066.system.entry.js +1 -0
- package/dist/mint-components/{p-6a7cd966.system.js → p-442744e1.system.js} +1 -1
- package/dist/mint-components/{p-6cdde5e8.system.js → p-4c622397.system.js} +1 -1
- package/dist/mint-components/{p-a75748c4.js → p-4d09fcd7.js} +2 -2
- package/dist/mint-components/{p-c9ebc285.system.js → p-51c9df1e.system.js} +1 -1
- package/dist/mint-components/{p-88b65807.system.js → p-54750a6f.system.js} +1 -1
- package/dist/mint-components/{p-fd14377b.entry.js → p-54d60587.entry.js} +1 -1
- package/dist/mint-components/p-56cd9c37.system.entry.js +1 -0
- package/dist/mint-components/{p-2ff39583.entry.js → p-5827d621.entry.js} +2 -2
- package/dist/mint-components/{p-1933e4cc.system.entry.js → p-5af9c23b.system.entry.js} +1 -1
- package/dist/mint-components/{p-8fa1f8e3.entry.js → p-5c1556f7.entry.js} +1 -1
- package/dist/mint-components/{p-4639a9ed.entry.js → p-5c9ca25a.entry.js} +1 -1
- package/dist/mint-components/{p-e389aded.entry.js → p-6067884b.entry.js} +1 -1
- package/dist/mint-components/{p-2bea87fd.js → p-60c70417.js} +1 -1
- package/dist/mint-components/{p-c90d06ab.entry.js → p-6501187d.entry.js} +2 -2
- package/dist/mint-components/p-65551f9e.system.entry.js +1 -0
- package/dist/mint-components/{p-81b63e83.system.entry.js → p-67822db9.system.entry.js} +1 -1
- package/dist/mint-components/p-68595869.system.js +1 -0
- package/dist/mint-components/{p-94f3e0a2.js → p-6b289ca6.js} +1 -1
- package/dist/mint-components/p-6b516596.system.entry.js +1 -0
- package/dist/mint-components/{p-0c81f11f.system.entry.js → p-6dcdcd41.system.entry.js} +1 -1
- package/dist/mint-components/{p-5e7e4e54.system.entry.js → p-6ecbf0ea.system.entry.js} +1 -1
- package/dist/mint-components/{p-125c5bec.js → p-6fb06499.js} +2 -2
- package/dist/mint-components/{p-bd66c171.js → p-706d264c.js} +1 -1
- package/dist/mint-components/{p-12ae9c97.entry.js → p-70be3950.entry.js} +1 -1
- package/dist/mint-components/p-71a5086d.js +107 -0
- package/dist/mint-components/{p-d08ebaa9.js → p-74a9ff43.js} +1 -1
- package/dist/mint-components/{p-8aae5dba.system.entry.js → p-7813ce35.system.entry.js} +1 -1
- package/dist/mint-components/{p-fa2edc58.js → p-78892897.js} +1 -1
- package/dist/mint-components/p-78a9b530.js +1 -0
- package/dist/mint-components/{p-6b9ff091.system.js → p-79ede698.system.js} +1 -1
- package/dist/mint-components/{p-ff1336b3.entry.js → p-7accd5e5.entry.js} +1 -1
- package/dist/mint-components/p-7cc0fcf8.system.js +1 -0
- package/dist/mint-components/{p-483c2ce0.system.entry.js → p-7e3589f8.system.entry.js} +1 -1
- package/dist/mint-components/p-7f7f259b.entry.js +1 -0
- package/dist/mint-components/p-807b9f18.js +254 -0
- package/dist/mint-components/p-8312a5a9.entry.js +11 -0
- package/dist/mint-components/{p-74f50554.js → p-83a203f4.js} +1 -1
- package/dist/mint-components/{p-1e1543c7.entry.js → p-8587e630.entry.js} +1 -1
- package/dist/mint-components/{p-8680e52b.system.js → p-85dad572.system.js} +1 -1
- package/dist/mint-components/{p-930cc94f.system.js → p-869b59b4.system.js} +1 -1
- package/dist/mint-components/{p-5b043988.system.entry.js → p-86ce6534.system.entry.js} +1 -1
- package/dist/mint-components/{p-6ccdf33a.js → p-884af2a5.js} +1 -1
- package/dist/mint-components/{p-0f65e4ad.system.js → p-899eb06c.system.js} +1 -1
- package/dist/mint-components/{p-dd82a675.system.entry.js → p-8ee09381.system.entry.js} +1 -1
- package/dist/mint-components/{p-89b410d5.system.entry.js → p-8ff1d20b.system.entry.js} +1 -1
- package/dist/mint-components/{p-6be0e0a7.system.entry.js → p-9b60d882.system.entry.js} +1 -1
- package/dist/mint-components/{p-e73e0fc4.system.js → p-9bb5076e.system.js} +1 -1
- package/dist/mint-components/{p-3104b4ba.entry.js → p-9ca18f88.entry.js} +1 -1
- package/dist/mint-components/{p-9a7b1c63.system.js → p-9ccb9494.system.js} +1 -1
- package/dist/mint-components/{p-885630e6.entry.js → p-9ec3f733.entry.js} +1 -1
- package/dist/mint-components/{p-df531a5d.entry.js → p-a116ff2c.entry.js} +1 -1
- package/dist/mint-components/{p-201ae45a.js → p-a12e40cb.js} +1 -1
- package/dist/mint-components/{p-20b90db3.system.entry.js → p-a58dc862.system.entry.js} +1 -1
- package/dist/mint-components/{p-6eb14db9.system.entry.js → p-a84cc6ce.system.entry.js} +1 -1
- package/dist/mint-components/{p-b1f880ee.entry.js → p-b0700220.entry.js} +1 -1
- package/dist/mint-components/{p-c8f697e4.system.js → p-b07f4b89.system.js} +1 -1
- package/dist/mint-components/{p-a7a74002.js → p-b961a246.js} +1 -1
- package/dist/mint-components/{p-324dd9c9.system.entry.js → p-bcfbc5d2.system.entry.js} +1 -1
- package/dist/mint-components/{p-be38ae67.js → p-bea979b4.js} +1 -1
- package/dist/mint-components/{p-0c97293e.entry.js → p-bf80d219.entry.js} +1 -1
- package/dist/mint-components/{p-49ca1533.system.entry.js → p-c41fedaf.system.entry.js} +1 -1
- package/dist/mint-components/{p-1aa5cdff.entry.js → p-c512b048.entry.js} +1 -1
- package/dist/mint-components/{p-8f67c580.js → p-c5fc2c1e.js} +1 -1
- package/dist/mint-components/{p-6a7c9ae4.system.entry.js → p-cac92bc2.system.entry.js} +1 -1
- package/dist/mint-components/{p-83330731.system.js → p-d253e8eb.system.js} +1 -1
- package/dist/mint-components/{p-89eef397.entry.js → p-d343336e.entry.js} +1 -1
- package/dist/mint-components/{p-bd1a14ba.js → p-d3b0d256.js} +1 -1
- package/dist/mint-components/{p-05715d8c.system.entry.js → p-d7aa6a0b.system.entry.js} +1 -1
- package/dist/mint-components/{p-b6f5ab75.system.entry.js → p-da5361be.system.entry.js} +1 -1
- package/dist/mint-components/{p-e9942aae.system.js → p-df75ffd2.system.js} +1 -1
- package/dist/mint-components/p-e0f614a2.entry.js +147 -0
- package/dist/mint-components/{p-9a7f186b.entry.js → p-e2e80375.entry.js} +1 -1
- package/dist/mint-components/{p-0a8c9f35.system.entry.js → p-e3c7d37e.system.entry.js} +1 -1
- package/dist/mint-components/{p-6f3ba1ad.system.js → p-e5eea3a2.system.js} +1 -1
- package/dist/mint-components/{p-9c2e286c.entry.js → p-e629e87c.entry.js} +2 -2
- package/dist/mint-components/{p-2380b28e.system.entry.js → p-e71087b8.system.entry.js} +1 -1
- package/dist/mint-components/{p-119b9680.system.js → p-e78ec46b.system.js} +1 -1
- package/dist/mint-components/{p-ce06d498.js → p-e7c7a146.js} +2 -2
- package/dist/mint-components/{p-96e332db.entry.js → p-ebc7e7a6.entry.js} +1 -1
- package/dist/mint-components/{p-388fdcdc.js → p-ecdc2ea3.js} +1 -1
- package/dist/mint-components/{p-4ea630ba.system.js → p-ed18f6a0.system.js} +1 -1
- package/dist/mint-components/p-f05c18b9.system.entry.js +1 -0
- package/dist/mint-components/{p-da6cb2c3.system.entry.js → p-f84313d7.system.entry.js} +1 -1
- package/dist/mint-components/{p-00e588d3.js → p-f9f604a7.js} +1 -1
- package/dist/mint-components/{p-863bb414.entry.js → p-fabc805a.entry.js} +1 -1
- package/dist/mint-components/{p-6708043c.entry.js → p-fbc3bd6a.entry.js} +1 -1
- package/dist/mint-components/{p-d91a97d2.js → p-fe642b83.js} +1 -1
- package/dist/mint-components/{p-8ba39302.entry.js → p-feeeee0d.entry.js} +1 -1
- package/dist/types/components/sqm-portal-frame/PortalFrame.stories.d.ts +12 -2
- package/docs/docs.docx +0 -0
- package/docs/stats.json +1861 -1860
- package/package.json +2 -2
- package/dist/esm-es5/ShadowViewAddon-0c8005bd.js +0 -1
- package/dist/esm-es5/index-b04013cc.js +0 -1
- package/dist/esm-es5/useVerificationEmail-b2c349a3.js +0 -1
- package/dist/mint-components/p-11028f98.system.js +0 -1
- package/dist/mint-components/p-14f0af4c.system.entry.js +0 -1
- package/dist/mint-components/p-162e5426.system.js +0 -1
- package/dist/mint-components/p-1b673705.system.js +0 -1
- package/dist/mint-components/p-29be0454.system.entry.js +0 -1
- package/dist/mint-components/p-3f9d4025.js +0 -254
- package/dist/mint-components/p-4d690bf1.system.js +0 -1
- package/dist/mint-components/p-610cf45c.js +0 -107
- package/dist/mint-components/p-647ffff2.entry.js +0 -1
- package/dist/mint-components/p-6cfca206.js +0 -1
- package/dist/mint-components/p-822aae93.system.entry.js +0 -1
- package/dist/mint-components/p-9755e82a.system.entry.js +0 -1
- package/dist/mint-components/p-9c9cee02.system.entry.js +0 -1
- package/dist/mint-components/p-9d6ef5ca.entry.js +0 -11
- package/dist/mint-components/p-a40e05d2.system.entry.js +0 -1
- package/dist/mint-components/p-a976d930.system.entry.js +0 -1
- package/dist/mint-components/p-aaf15612.entry.js +0 -1
- package/dist/mint-components/p-af8833df.entry.js +0 -147
- package/dist/mint-components/p-c3a07f51.entry.js +0 -1
- package/dist/mint-components/p-e38b09a0.system.entry.js +0 -1
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d41c2c94.js');
|
|
6
6
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
7
|
-
const reRender = require('./re-render-
|
|
8
|
-
require('./index-
|
|
7
|
+
const reRender = require('./re-render-65869eb3.js');
|
|
8
|
+
require('./index-88a40938.js');
|
|
9
9
|
|
|
10
10
|
const TabView = ({}, children) => {
|
|
11
11
|
return index.h(index.Host, null, children);
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-d41c2c94.js');
|
|
6
6
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
7
7
|
const utils = require('./utils-6847bc06.js');
|
|
8
|
-
const index$1 = require('./index-
|
|
9
|
-
const reRender = require('./re-render-
|
|
10
|
-
const useChildElements = require('./useChildElements-
|
|
8
|
+
const index$1 = require('./index-88a40938.js');
|
|
9
|
+
const reRender = require('./re-render-65869eb3.js');
|
|
10
|
+
const useChildElements = require('./useChildElements-e9ed2d11.js');
|
|
11
11
|
|
|
12
12
|
const TabsView = ({ content, placement, textColor = "var(--sqm-text)", }) => {
|
|
13
13
|
// Vertical padding for top & bottom placement, horizontal for left & right.
|
package/dist/cjs/{sqm-user-info-form-view-92d8d19a.js → sqm-user-info-form-view-b2a78083.js}
RENAMED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-d41c2c94.js');
|
|
4
4
|
const JSS = require('./JSS-bf8078e9.js');
|
|
5
|
-
const global = require('./global-
|
|
6
|
-
const subregions = require('./subregions-
|
|
7
|
-
const data = require('./data-
|
|
5
|
+
const global = require('./global-0316d9f8.js');
|
|
6
|
+
const subregions = require('./subregions-fd4e4ee2.js');
|
|
7
|
+
const data = require('./data-7ea0e395.js');
|
|
8
8
|
const AsYouType = require('./AsYouType-5f15a922.js');
|
|
9
9
|
|
|
10
10
|
const style$3 = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d41c2c94.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-88a40938.js');
|
|
7
7
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
8
8
|
const keys = require('./keys-5a2c9ed2.js');
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-88a40938.js');
|
|
4
4
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
5
5
|
const parseStates = require('./parseStates-35013ba4.js');
|
|
6
|
-
const subregions = require('./subregions-
|
|
6
|
+
const subregions = require('./subregions-fd4e4ee2.js');
|
|
7
7
|
const jsonpointer = require('./jsonpointer-0db21316.js');
|
|
8
|
-
const data = require('./data-
|
|
8
|
+
const data = require('./data-7ea0e395.js');
|
|
9
9
|
|
|
10
10
|
var toArray = function toArray(a) {
|
|
11
11
|
var ret = Array(a.length);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-88a40938.js');
|
|
4
4
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-0db21316.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-cf2e0ec6.js');
|
|
7
7
|
|
|
8
8
|
function useInstantAccessRegistration(props) {
|
|
9
9
|
const locale = index.useLocale();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-88a40938.js');
|
|
4
4
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
5
5
|
const index$1 = require('./index-d41c2c94.js');
|
|
6
|
-
const global = require('./global-
|
|
6
|
+
const global = require('./global-0316d9f8.js');
|
|
7
7
|
const JSS = require('./JSS-bf8078e9.js');
|
|
8
8
|
|
|
9
9
|
const style = {
|
package/dist/cjs/{usePortalRegistrationForm-b3c0451b.js → usePortalRegistrationForm-671d2863.js}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
const jsonpointer = require('./jsonpointer-0db21316.js');
|
|
4
4
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
5
|
+
const index = require('./index-88a40938.js');
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-cf2e0ec6.js');
|
|
7
7
|
const AsYouType = require('./AsYouType-5f15a922.js');
|
|
8
8
|
|
|
9
9
|
const RegistrationFormQuery = index.dist.gql `
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-88a40938.js');
|
|
4
4
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
5
5
|
const index$1 = require('./index-d41c2c94.js');
|
|
6
|
-
const reRender = require('./re-render-
|
|
7
|
-
const useChildElements = require('./useChildElements-
|
|
6
|
+
const reRender = require('./re-render-65869eb3.js');
|
|
7
|
+
const useChildElements = require('./useChildElements-e9ed2d11.js');
|
|
8
8
|
|
|
9
9
|
const PLOP_TARGET_TAG = "RAISINS-PLOP-TARGET";
|
|
10
10
|
function isPlopTarget(element) {
|
package/dist/cjs/{useRegistrationFormState-feccd2c8.js → useRegistrationFormState-cf2e0ec6.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-88a40938.js');
|
|
4
4
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
|
|
4
|
-
const index = require('./index-
|
|
4
|
+
const index = require('./index-88a40938.js');
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
7
7
|
function isMobile(breakPoint) {
|
|
@@ -3,8 +3,7 @@ import { BigStatView } from "./sqm-big-stat-view";
|
|
|
3
3
|
import { useDemoBigStat } from "./useDemoBigStat";
|
|
4
4
|
import { useState } from "@saasquatch/stencil-hooks";
|
|
5
5
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
6
|
-
import {
|
|
7
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
6
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
8
7
|
export default {
|
|
9
8
|
title: "Hooks / useBigStat",
|
|
10
9
|
};
|
|
@@ -12,23 +11,7 @@ function setupGraphQL() {
|
|
|
12
11
|
const id = "zach.harrison@referralsaasquatch.com";
|
|
13
12
|
const accountId = id;
|
|
14
13
|
const programId = "klip-referral-program";
|
|
15
|
-
|
|
16
|
-
window.widgetIdent = {
|
|
17
|
-
tenantAlias: "test_a74miwdpofztj",
|
|
18
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
19
|
-
programId,
|
|
20
|
-
};
|
|
21
|
-
useEffect(() => {
|
|
22
|
-
setUserIdentity({
|
|
23
|
-
accountId,
|
|
24
|
-
id,
|
|
25
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIiwiYWNjb3VudElkIjoiemFjaC5oYXJyaXNvbkByZWZlcnJhbHNhYXNxdWF0Y2guY29tIn19.Wi8Vd5r64g5n8VNhiY-v5cqFcLwGxPG3Wi3dVSfkFZI",
|
|
26
|
-
});
|
|
27
|
-
return () => {
|
|
28
|
-
window.widgetIdent = undefined;
|
|
29
|
-
setUserIdentity(undefined);
|
|
30
|
-
};
|
|
31
|
-
}, []);
|
|
14
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
32
15
|
}
|
|
33
16
|
const View = (statType, format, label) => {
|
|
34
17
|
// console.log(`View("${statType}") - CALLED`);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
3
1
|
import { h } from "@stencil/core";
|
|
4
2
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
5
3
|
import scenario from "./sqm-checkbox-field.feature";
|
|
4
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
6
5
|
export default {
|
|
7
6
|
title: "Hooks / useCheckboxField",
|
|
8
7
|
parameters: {
|
|
@@ -13,23 +12,7 @@ function setupGraphQL() {
|
|
|
13
12
|
const id = "testestest";
|
|
14
13
|
const accountId = id;
|
|
15
14
|
const programId = "sam-partner-test-2";
|
|
16
|
-
|
|
17
|
-
window.widgetIdent = {
|
|
18
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
19
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
20
|
-
programId,
|
|
21
|
-
};
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
setUserIdentity({
|
|
24
|
-
accountId,
|
|
25
|
-
id,
|
|
26
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
27
|
-
});
|
|
28
|
-
return () => {
|
|
29
|
-
window.widgetIdent = undefined;
|
|
30
|
-
setUserIdentity(undefined);
|
|
31
|
-
};
|
|
32
|
-
}, []);
|
|
15
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
33
16
|
return { id, accountId };
|
|
34
17
|
}
|
|
35
18
|
export const TermsAndConditions = createHookStory(() => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
3
1
|
import { h } from "@stencil/core";
|
|
4
2
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
3
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
5
4
|
export default {
|
|
6
5
|
title: "Hooks / useDropdownField",
|
|
7
6
|
};
|
|
@@ -9,23 +8,7 @@ function setupGraphQL() {
|
|
|
9
8
|
const id = "testestest";
|
|
10
9
|
const accountId = id;
|
|
11
10
|
const programId = "sam-partner-test-2";
|
|
12
|
-
|
|
13
|
-
window.widgetIdent = {
|
|
14
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
15
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
16
|
-
programId,
|
|
17
|
-
};
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
setUserIdentity({
|
|
20
|
-
accountId,
|
|
21
|
-
id,
|
|
22
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
23
|
-
});
|
|
24
|
-
return () => {
|
|
25
|
-
window.widgetIdent = undefined;
|
|
26
|
-
setUserIdentity(undefined);
|
|
27
|
-
};
|
|
28
|
-
}, []);
|
|
11
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
29
12
|
return { id, accountId };
|
|
30
13
|
}
|
|
31
14
|
export const SelectOptions = createHookStory(() => {
|
|
@@ -1,28 +1,11 @@
|
|
|
1
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
3
1
|
import { h } from "@stencil/core";
|
|
4
2
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
3
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
5
4
|
function setupGraphQL() {
|
|
6
5
|
const id = "worried-camera@uexwltgh.mailosaur.net";
|
|
7
6
|
const accountId = id;
|
|
8
7
|
const programId = "a-referral-program";
|
|
9
|
-
|
|
10
|
-
window.widgetIdent = {
|
|
11
|
-
tenantAlias: "test_as36zjtpfy7oo",
|
|
12
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
13
|
-
programId,
|
|
14
|
-
};
|
|
15
|
-
useEffect(() => {
|
|
16
|
-
setUserIdentity({
|
|
17
|
-
accountId,
|
|
18
|
-
id,
|
|
19
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJmaXJzdE5hbWUiOiJ0ZXN0IiwibGFzdE5hbWUiOiJ0ZXN0In19.ziDWbdCwsTo1ijxl8d2__Ga-6iFOVShaJUPp2ZBMeO0",
|
|
20
|
-
});
|
|
21
|
-
return () => {
|
|
22
|
-
window.widgetIdent = undefined;
|
|
23
|
-
setUserIdentity(undefined);
|
|
24
|
-
};
|
|
25
|
-
}, []);
|
|
8
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
26
9
|
}
|
|
27
10
|
export default {
|
|
28
11
|
title: "Hooks / useEditProfile",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
3
1
|
import { h } from "@stencil/core";
|
|
4
2
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
5
3
|
import scenario from "./sqm-input-field.feature";
|
|
4
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
6
5
|
export default {
|
|
7
6
|
title: "Hooks / useInputField",
|
|
8
7
|
parameters: {
|
|
@@ -13,23 +12,7 @@ function setupGraphQL() {
|
|
|
13
12
|
const id = "testestest";
|
|
14
13
|
const accountId = id;
|
|
15
14
|
const programId = "sam-partner-test-2";
|
|
16
|
-
|
|
17
|
-
window.widgetIdent = {
|
|
18
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
19
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
20
|
-
programId,
|
|
21
|
-
};
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
setUserIdentity({
|
|
24
|
-
accountId,
|
|
25
|
-
id,
|
|
26
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
27
|
-
});
|
|
28
|
-
return () => {
|
|
29
|
-
window.widgetIdent = undefined;
|
|
30
|
-
setUserIdentity(undefined);
|
|
31
|
-
};
|
|
32
|
-
}, []);
|
|
15
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
33
16
|
return { id, accountId };
|
|
34
17
|
}
|
|
35
18
|
export const FormData = createHookStory(() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDemo, setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { fakeJwt, isDemo, setUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { h } from "@stencil/core";
|
|
4
4
|
import { demoMerge } from "../../utils/demoMerge";
|
|
@@ -495,7 +495,9 @@ function useRegistrationDemo(props) {
|
|
|
495
495
|
setUserIdentity({
|
|
496
496
|
id: "referrer@example.com",
|
|
497
497
|
accountId: "referrer@example.com",
|
|
498
|
-
jwt:
|
|
498
|
+
jwt: fakeJwt({
|
|
499
|
+
user: { id: "referrer@example.com", accountId: "referrer@example.com" },
|
|
500
|
+
}),
|
|
499
501
|
});
|
|
500
502
|
};
|
|
501
503
|
return demoMerge({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { setProgramId,
|
|
2
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
1
|
+
import { setProgramId, } from "@saasquatch/component-boilerplate";
|
|
3
2
|
import { h } from "@stencil/core";
|
|
4
3
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
4
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
5
5
|
export default {
|
|
6
6
|
title: "Hooks / useInvoiceTable",
|
|
7
7
|
};
|
|
@@ -9,23 +9,7 @@ function setupGraphQL() {
|
|
|
9
9
|
const id = "07bc01a0f123d20342b89ed8296946a747f770cc8bbd239d7f142fe629f826ac";
|
|
10
10
|
const accountId = "07bc01a0f123d20342b89ed8296946a747f770cc8bbd239d7f142fe629f826ac";
|
|
11
11
|
const programId = "22999";
|
|
12
|
-
|
|
13
|
-
window.widgetIdent = {
|
|
14
|
-
tenantAlias: "aprh0cfq6y8tk",
|
|
15
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
16
|
-
programId,
|
|
17
|
-
};
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
setUserIdentity({
|
|
20
|
-
accountId,
|
|
21
|
-
id,
|
|
22
|
-
jwt: "eyJraWQiOiJJUk1Yc1l5NllZcXE0Njk0MzdtRzhFUlF0OFFvS0ZCYUcxIiwidHlwIjoiSldUIiwiYWxnIjoiSFMyNTYifQ.eyJqdGkiOiI2NWVmYTdiMzY0NWJlNjQ2OGVjOGYwMDMiLCJpYXQiOjE3MTAyMDQ4NTEsImV4cCI6MTcxMDI5MTI1MSwic3ViIjoiTURkaVl6QXhZVEJtTVRJelpESXdNelF5WWpnNVpXUTRNamsyT1RRMllUYzBOMlkzTnpCall6aGlZbVF5TXpsa04yWXhOREptWlRZeU9XWTRNalpoWXc9PTpNRGRpWXpBeFlUQm1NVEl6WkRJd016UXlZamc1WldRNE1qazJPVFEyWVRjME4yWTNOekJqWXpoaVltUXlNemxrTjJZeE5ESm1aVFl5T1dZNE1qWmhZdz09QGFwcmgwY2ZxNnk4dGs6dXNlcnMiLCJ1c2VyIjp7ImlkIjoiMDdiYzAxYTBmMTIzZDIwMzQyYjg5ZWQ4Mjk2OTQ2YTc0N2Y3NzBjYzhiYmQyMzlkN2YxNDJmZTYyOWY4MjZhYyIsImFjY291bnRJZCI6IjA3YmMwMWEwZjEyM2QyMDM0MmI4OWVkODI5Njk0NmE3NDdmNzcwY2M4YmJkMjM5ZDdmMTQyZmU2MjlmODI2YWMiLCJkYXRlQmxvY2tlZCI6bnVsbH19.cYhNPaaBwffl3PxUZXuwQKmTd_3OgDGppxrBkMmJxNA",
|
|
23
|
-
});
|
|
24
|
-
return () => {
|
|
25
|
-
window.widgetIdent = undefined;
|
|
26
|
-
setUserIdentity(undefined);
|
|
27
|
-
};
|
|
28
|
-
}, []);
|
|
12
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
29
13
|
return { id, accountId };
|
|
30
14
|
}
|
|
31
15
|
export const InvoiceTable = createHookStory(() => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
3
|
-
import {
|
|
4
|
-
import { setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
3
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
5
4
|
export default {
|
|
6
5
|
title: "Hooks / useLeaderboard",
|
|
7
6
|
};
|
|
@@ -9,46 +8,18 @@ function setupGraphQL() {
|
|
|
9
8
|
const id = "testestest";
|
|
10
9
|
const accountId = id;
|
|
11
10
|
const programId = "sam-partner-test-2";
|
|
12
|
-
|
|
13
|
-
window.widgetIdent = {
|
|
14
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
15
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
16
|
-
programId,
|
|
17
|
-
};
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
setUserIdentity({
|
|
20
|
-
accountId,
|
|
21
|
-
id,
|
|
22
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
23
|
-
});
|
|
24
|
-
return () => {
|
|
25
|
-
window.widgetIdent = undefined;
|
|
26
|
-
setUserIdentity(undefined);
|
|
27
|
-
};
|
|
28
|
-
}, []);
|
|
11
|
+
useCannedEnvironment({ programId, user: { id, accountId } });
|
|
29
12
|
}
|
|
30
13
|
function setupOtherGraphQL() {
|
|
31
14
|
const id = "sam+klip@saasquat.ch";
|
|
32
15
|
const accountId = id;
|
|
33
16
|
const programId = "klip-referral-program";
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
window.widgetIdent = {
|
|
37
|
-
tenantAlias: "test_a74miwdpofztj",
|
|
38
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
17
|
+
// No one referred anyone in the stories' 2021 interval.
|
|
18
|
+
useCannedEnvironment({
|
|
39
19
|
programId,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
accountId,
|
|
44
|
-
id,
|
|
45
|
-
jwt: JWT,
|
|
46
|
-
});
|
|
47
|
-
return () => {
|
|
48
|
-
window.widgetIdent = undefined;
|
|
49
|
-
setUserIdentity(undefined);
|
|
50
|
-
};
|
|
51
|
-
}, []);
|
|
20
|
+
user: { id, accountId },
|
|
21
|
+
mocks: { Query: () => ({ userLeaderboard: () => ({ rows: [] }) }) },
|
|
22
|
+
});
|
|
52
23
|
return { id, accountId };
|
|
53
24
|
}
|
|
54
25
|
const View = (overrideProps) => {
|
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
import { navigation, useCurrentPage } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { fakeJwt, navigation, useCurrentPage, } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
2
3
|
import { h } from "@stencil/core";
|
|
3
4
|
import { PortalFrameView } from "./sqm-portal-frame-view";
|
|
5
|
+
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
4
6
|
function setupGraphQL() {
|
|
5
7
|
const id = "worried-camera@uexwltgh.mailosaur.net";
|
|
6
8
|
const accountId = id;
|
|
7
9
|
const programId = "a-referral-program";
|
|
8
10
|
//@ts-ignore
|
|
9
11
|
window.SquatchAndroid = true;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
tenantAlias: "test_as36zjtpfy7oo",
|
|
13
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
14
|
-
token:
|
|
15
|
-
// you have to change this if you change the id or accountId
|
|
16
|
-
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQiLCJpZCI6IndvcnJpZWQtY2FtZXJhQHVleHdsdGdoLm1haWxvc2F1ci5uZXQifX0.-WGV4_bzGCFp-OTIO-h-yp0MlgtkdufT_GgI4T691OY",
|
|
17
|
-
userId: id,
|
|
18
|
-
accountId,
|
|
12
|
+
// The Android SDK reads identity from widgetIdent rather than setUserIdentity.
|
|
13
|
+
useCannedEnvironment({
|
|
19
14
|
programId,
|
|
20
|
-
|
|
15
|
+
widgetIdent: {
|
|
16
|
+
token: fakeJwt({ user: { id, accountId } }),
|
|
17
|
+
userId: id,
|
|
18
|
+
accountId,
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
21
|
return { id, accountId };
|
|
22
22
|
}
|
|
23
23
|
function setupLoggedOut() {
|
|
24
24
|
const programId = "a-referral-program";
|
|
25
25
|
//@ts-ignore
|
|
26
26
|
window.SquatchAndroid = true;
|
|
27
|
-
|
|
28
|
-
window.widgetIdent = {
|
|
29
|
-
tenantAlias: "test_as36zjtpfy7oo",
|
|
30
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
31
|
-
programId,
|
|
32
|
-
};
|
|
27
|
+
useCannedEnvironment({ programId });
|
|
33
28
|
}
|
|
34
29
|
export default {
|
|
35
30
|
title: "Components/Microsite Frame",
|
|
@@ -59,19 +54,19 @@ export const FrameWithoutMenu = () => {
|
|
|
59
54
|
};
|
|
60
55
|
return h(PortalFrameView, { ...props });
|
|
61
56
|
};
|
|
62
|
-
export const FullStackFrame = () => {
|
|
57
|
+
export const FullStackFrame = createHookStory(() => {
|
|
63
58
|
var _a;
|
|
64
59
|
setupGraphQL();
|
|
65
60
|
return (h("div", null, h("sqm-portal-frame", null, h("div", { slot: "header", style: { display: "flex", flexDirection: "column" } }, h("span", { style: {
|
|
66
61
|
fontSize: "var(--sl-font-size-large)",
|
|
67
62
|
fontWeight: "bold",
|
|
68
63
|
} }, "Portal Header"), h("span", { style: { fontSize: "var(--sl-font-size-small)" } }, "A description for the portal")), h("a", { slot: "footer", class: "FooterEmail", href: "mailto:referrals@servicetitan.com" }, "referrals@servicetitan.com"), h("sqm-navigation-menu", { "menu-label": "Menu" }, h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/widget" }, "Dashboard"), h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/editProfile" }, "Edit Profile"), h("sl-menu-divider", null), h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/logout" }, "Logout")), h("h1", null, "Something")), h("p", null, "Current path:", " ", h("code", null, h("strong", null, (_a = useCurrentPage()) === null || _a === void 0 ? void 0 : _a.pathname))), h("button", { onClick: navigation.back }, "Go Back")));
|
|
69
|
-
};
|
|
70
|
-
export const FullStackFrameLoggedOut = () => {
|
|
64
|
+
});
|
|
65
|
+
export const FullStackFrameLoggedOut = createHookStory(() => {
|
|
71
66
|
var _a;
|
|
72
67
|
setupLoggedOut();
|
|
73
68
|
return (h("div", null, h("sqm-portal-frame", null, h("div", { slot: "header", style: { display: "flex", flexDirection: "column" } }, h("span", { style: {
|
|
74
69
|
fontSize: "var(--sl-font-size-large)",
|
|
75
70
|
fontWeight: "bold",
|
|
76
71
|
} }, "Portal Header"), h("span", { style: { fontSize: "var(--sl-font-size-small)" } }, "A description for the portal")), h("span", { slot: "footer" }, "sample@example.com"), h("sqm-navigation-menu", { "menu-label": "Menu" }, h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/widget" }, "Dashboard"), h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/editProfile" }, "Edit Profile"), h("sl-menu-divider", null), h("sl-menu-item", { exportparts: "base: menuitem-base", value: "/logout" }, "Logout")), h("h1", null, "Something")), h("p", null, "Current path:", " ", h("code", null, h("strong", null, (_a = useCurrentPage()) === null || _a === void 0 ? void 0 : _a.pathname))), h("button", { onClick: navigation.back }, "Go Back")));
|
|
77
|
-
};
|
|
72
|
+
});
|
|
@@ -1,53 +1,20 @@
|
|
|
1
1
|
import { setProgramId } from "@saasquatch/component-boilerplate";
|
|
2
|
-
import { setUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
3
|
-
import { useEffect } from "@saasquatch/universal-hooks";
|
|
4
2
|
import { h } from "@stencil/core";
|
|
5
3
|
import { createHookStory } from "../sqm-stencilbook/HookStoryAddon";
|
|
4
|
+
import { useCannedEnvironment } from "@saasquatch/component-boilerplate/canned";
|
|
6
5
|
export default {
|
|
7
6
|
title: "Hooks / useReferralTable",
|
|
8
7
|
};
|
|
9
8
|
function setupGraphQL() {
|
|
10
9
|
const id = "testestest";
|
|
11
10
|
const accountId = id;
|
|
12
|
-
|
|
13
|
-
window.widgetIdent = {
|
|
14
|
-
tenantAlias: "test_a8b41jotf8a1v",
|
|
15
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
16
|
-
// programId,
|
|
17
|
-
};
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
setUserIdentity({
|
|
20
|
-
accountId,
|
|
21
|
-
id,
|
|
22
|
-
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
23
|
-
});
|
|
24
|
-
return () => {
|
|
25
|
-
window.widgetIdent = undefined;
|
|
26
|
-
setUserIdentity(undefined);
|
|
27
|
-
};
|
|
28
|
-
}, []);
|
|
11
|
+
useCannedEnvironment({ user: { id, accountId } });
|
|
29
12
|
return { id, accountId };
|
|
30
13
|
}
|
|
31
|
-
function setupGraphQLKlip({
|
|
14
|
+
function setupGraphQLKlip({ id, locale }) {
|
|
32
15
|
const accountId = id;
|
|
33
16
|
// const programId = "klip-referral-program";
|
|
34
|
-
|
|
35
|
-
window.widgetIdent = {
|
|
36
|
-
tenantAlias: "test_a74miwdpofztj",
|
|
37
|
-
appDomain: "https://staging.referralsaasquatch.com",
|
|
38
|
-
// programId,
|
|
39
|
-
};
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
setUserIdentity({
|
|
42
|
-
accountId,
|
|
43
|
-
id,
|
|
44
|
-
jwt: token,
|
|
45
|
-
});
|
|
46
|
-
return () => {
|
|
47
|
-
window.widgetIdent = undefined;
|
|
48
|
-
setUserIdentity(undefined);
|
|
49
|
-
};
|
|
50
|
-
}, []);
|
|
17
|
+
useCannedEnvironment({ user: { id, accountId }, widgetIdent: { locale } });
|
|
51
18
|
return { id, accountId };
|
|
52
19
|
}
|
|
53
20
|
export const ReferralTable = createHookStory(() => {
|
|
@@ -85,8 +52,8 @@ export const ReferralTableDemoHookShowReferrer = createHookStory(() => {
|
|
|
85
52
|
});
|
|
86
53
|
export const ReferralTableEn = createHookStory(() => {
|
|
87
54
|
setupGraphQLKlip({
|
|
88
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWVuZ2xpc2giLCJpZCI6InNhbWVuZ2xpc2gifX0._6OTVF3gcipu_ibgthUNr5UHwC-2E_lhCENI5HpYvcw",
|
|
89
55
|
id: "samenglish",
|
|
56
|
+
locale: "en",
|
|
90
57
|
});
|
|
91
58
|
setProgramId("klip-referral-program");
|
|
92
59
|
const props = {
|
|
@@ -99,8 +66,8 @@ export const ReferralTableEn = createHookStory(() => {
|
|
|
99
66
|
});
|
|
100
67
|
export const ReferralTableTr = createHookStory(() => {
|
|
101
68
|
setupGraphQLKlip({
|
|
102
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbXR1cmtleSIsImlkIjoic2FtdHVya2V5In19.usSMe0RWg8W5FtwcvJayvAlxTw6vMxjTyWXaP8jI8_U",
|
|
103
69
|
id: "samturkey",
|
|
70
|
+
locale: "tr",
|
|
104
71
|
});
|
|
105
72
|
setProgramId("klip-referral-program");
|
|
106
73
|
const props = {
|
|
@@ -113,8 +80,8 @@ export const ReferralTableTr = createHookStory(() => {
|
|
|
113
80
|
});
|
|
114
81
|
export const ReferralTableFr = createHookStory(() => {
|
|
115
82
|
setupGraphQLKlip({
|
|
116
|
-
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InNhbWZyZW5jaCIsImlkIjoic2FtZnJlbmNoIn19.cwhasHpfU5MLV4vGbCQcazb6p19iSw5pD2zyrVHgePg",
|
|
117
83
|
id: "samfrench",
|
|
84
|
+
locale: "fr",
|
|
118
85
|
});
|
|
119
86
|
setProgramId("klip-referral-program");
|
|
120
87
|
const props = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isDemo, setUserIdentity } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { fakeJwt, isDemo, setUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { h } from "@stencil/core";
|
|
4
4
|
import { demoMerge } from "../../utils/demoMerge";
|
|
@@ -552,7 +552,9 @@ function useRegistrationDemo(props) {
|
|
|
552
552
|
setUserIdentity({
|
|
553
553
|
id: "referrer@example.com",
|
|
554
554
|
accountId: "referrer@example.com",
|
|
555
|
-
jwt:
|
|
555
|
+
jwt: fakeJwt({
|
|
556
|
+
user: { id: "referrer@example.com", accountId: "referrer@example.com" },
|
|
557
|
+
}),
|
|
556
558
|
});
|
|
557
559
|
};
|
|
558
560
|
return demoMerge({
|