@saasquatch/mint-components 1.5.0 → 1.5.1-2
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/CHANGELOG.md +13 -3
- package/dist/cjs/{GenericTableView-ed381b89.js → GenericTableView-c2a781ea.js} +2 -2
- package/dist/cjs/{JSS-c65a40f1.js → JSS-a75f3a9a.js} +2 -0
- package/dist/cjs/{ShadowViewAddon-a039bd16.js → ShadowViewAddon-2c6a65ed.js} +182 -30
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/{mixins-7b7c59fe.js → mixins-338ca5f1.js} +1 -1
- package/dist/cjs/{sqm-asset-card-view-d9ac6a95.js → sqm-asset-card-view-07420209.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-big-stat_31.cjs.entry.js → sqm-big-stat_34.cjs.entry.js} +170 -8
- package/dist/cjs/sqm-empty_5.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-hero-view-3b0d45d0.js → sqm-hero-view-d5d46a36.js} +1 -1
- package/dist/cjs/sqm-hero.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-673169c5.js → sqm-navigation-sidebar-item-view-bd8b4dfd.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-view-36632c96.js → sqm-navigation-sidebar-view-0ee28f65.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-container-view-5ea913a8.js → sqm-portal-container-view-2d11ed71.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-767085b1.js → sqm-portal-email-verification-view-423191eb.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-footer-view-918b4817.js → sqm-portal-footer-view-8442fd90.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-forgot-password-view-02b046e1.js → sqm-portal-forgot-password-view-97932f7a.js} +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-c7b037cf.js → sqm-portal-profile-view-b77382f6.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-reset-password-view-20df8d45.js → sqm-portal-reset-password-view-042073ca.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-section-view-f3c8475a.js → sqm-portal-section-view-765aae4d.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-1b07a1ba.js → sqm-portal-verify-email-view-cb3c9c2f.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +4 -4
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +728 -132
- package/dist/cjs/{sqm-text-span-view-c54af22c.js → sqm-text-span-view-ab4ad6ef.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +84 -0
- package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +58 -0
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +67 -0
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +216 -0
- package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +16 -0
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +38 -0
- package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +46 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +46 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +162 -0
- package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +10 -0
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -7
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -0
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +443 -103
- package/dist/collection/global/mixins.js +1 -1
- package/dist/esm/{GenericTableView-6924630b.js → GenericTableView-8dc8ae86.js} +2 -2
- package/dist/esm/{JSS-96eeab98.js → JSS-418cab16.js} +1 -1
- package/dist/esm/{ShadowViewAddon-e2ca6a02.js → ShadowViewAddon-9998d729.js} +180 -31
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/{mixins-10353a39.js → mixins-59fd94b7.js} +1 -1
- package/dist/esm/{sqm-asset-card-view-f9ca5345.js → sqm-asset-card-view-68f80b85.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/{sqm-big-stat_31.entry.js → sqm-big-stat_34.entry.js} +169 -10
- package/dist/esm/sqm-empty_5.entry.js +3 -3
- package/dist/esm/{sqm-hero-view-8e70916e.js → sqm-hero-view-99b40ec1.js} +1 -1
- package/dist/esm/sqm-hero.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-cce4518c.js → sqm-navigation-sidebar-item-view-73f753fa.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-view-816558e3.js → sqm-navigation-sidebar-view-9cb9a5f4.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/{sqm-portal-container-view-46929235.js → sqm-portal-container-view-34f26e2a.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-d3e13e95.js → sqm-portal-email-verification-view-cc73f8f4.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/{sqm-portal-footer-view-288d05a9.js → sqm-portal-footer-view-d06c4b78.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +2 -2
- package/dist/esm/{sqm-portal-forgot-password-view-6b99a1ad.js → sqm-portal-forgot-password-view-f7239087.js} +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-b40ffc59.js → sqm-portal-profile-view-28c39970.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +4 -4
- package/dist/esm/{sqm-portal-reset-password-view-2c0da51c.js → sqm-portal-reset-password-view-e0436989.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +4 -4
- package/dist/esm/{sqm-portal-section-view-61dbb8a9.js → sqm-portal-section-view-c8d1c727.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-0d005914.js → sqm-portal-verify-email-view-c489166b.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +4 -4
- package/dist/esm/sqm-referral-table_11.entry.js +4 -4
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +3 -3
- package/dist/esm/sqm-stencilbook.entry.js +726 -130
- package/dist/esm/{sqm-text-span-view-c8793d61.js → sqm-text-span-view-020db63f.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +2 -2
- package/dist/esm-es5/{GenericTableView-6924630b.js → GenericTableView-8dc8ae86.js} +1 -1
- package/dist/esm-es5/{JSS-96eeab98.js → JSS-418cab16.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-9998d729.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mixins-10353a39.js → mixins-59fd94b7.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-f9ca5345.js → sqm-asset-card-view-68f80b85.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_34.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-8e70916e.js → sqm-hero-view-99b40ec1.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-cce4518c.js → sqm-navigation-sidebar-item-view-73f753fa.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-816558e3.js → sqm-navigation-sidebar-view-9cb9a5f4.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-46929235.js → sqm-portal-container-view-34f26e2a.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-d3e13e95.js → sqm-portal-email-verification-view-cc73f8f4.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-288d05a9.js → sqm-portal-footer-view-d06c4b78.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-6b99a1ad.js → sqm-portal-forgot-password-view-f7239087.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-b40ffc59.js → sqm-portal-profile-view-28c39970.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-2c0da51c.js → sqm-portal-reset-password-view-e0436989.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-61dbb8a9.js → sqm-portal-section-view-c8d1c727.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-0d005914.js → sqm-portal-verify-email-view-c489166b.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.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-text-span-view-c8793d61.js → sqm-text-span-view-020db63f.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-acd89fad.entry.js → p-003042cf.entry.js} +1 -1
- package/dist/mint-components/{p-4744a00d.system.entry.js → p-02838fc9.system.entry.js} +1 -1
- package/dist/mint-components/{p-08592b79.system.js → p-06a4d499.system.js} +1 -1
- package/dist/mint-components/{p-b9d0fee0.system.entry.js → p-0db65ced.system.entry.js} +1 -1
- package/dist/mint-components/{p-3bb7f637.system.entry.js → p-138dcf89.system.entry.js} +1 -1
- package/dist/mint-components/{p-a09e3176.system.js → p-13f034ac.system.js} +1 -1
- package/dist/mint-components/{p-00c0fd3c.js → p-16b6aea4.js} +1 -1
- package/dist/mint-components/{p-ec77261d.system.js → p-190d0446.system.js} +1 -1
- package/dist/mint-components/{p-1ff4be7f.entry.js → p-1a9cd574.entry.js} +1 -1
- package/dist/mint-components/{p-b7e0cff8.system.entry.js → p-1c9004f0.system.entry.js} +1 -1
- package/dist/mint-components/{p-4556231d.entry.js → p-21b7949e.entry.js} +1 -1
- package/dist/mint-components/{p-db46fe90.js → p-227ccb7c.js} +1 -1
- package/dist/mint-components/{p-3bbb90a9.system.js → p-2800ad44.system.js} +1 -1
- package/dist/mint-components/{p-198409c1.entry.js → p-2821a373.entry.js} +1 -1
- package/dist/mint-components/{p-60abe71f.system.entry.js → p-2c98a3fb.system.entry.js} +1 -1
- package/dist/mint-components/{p-6241ce09.system.entry.js → p-2d07b528.system.entry.js} +1 -1
- package/dist/mint-components/{p-6660f97d.system.js → p-311a0e60.system.js} +1 -1
- package/dist/mint-components/{p-a36892ea.system.entry.js → p-31f0eaa9.system.entry.js} +1 -1
- package/dist/mint-components/{p-ec5633b8.js → p-36c2267d.js} +1 -1
- package/dist/mint-components/{p-b756428e.system.js → p-3768d478.system.js} +1 -1
- package/dist/mint-components/{p-c8cb3674.js → p-380b25a3.js} +1 -1
- package/dist/mint-components/p-436da6b8.system.js +1 -1
- package/dist/mint-components/{p-f34dd1c1.js → p-46416f3e.js} +1 -1
- package/dist/mint-components/{p-45ff7cfd.system.entry.js → p-471ed708.system.entry.js} +1 -1
- package/dist/mint-components/{p-cb7b2fe7.entry.js → p-510b0ce1.entry.js} +2 -2
- package/dist/mint-components/{p-09ec464d.system.entry.js → p-55d9ba7f.system.entry.js} +1 -1
- package/dist/mint-components/p-56fc0416.system.js +1 -0
- package/dist/mint-components/{p-126bcba1.system.js → p-573c4b39.system.js} +1 -1
- package/dist/mint-components/{p-e3fff405.entry.js → p-57fc3f18.entry.js} +1 -1
- package/dist/mint-components/{p-3bf4f950.system.js → p-5fca1bb9.system.js} +1 -1
- package/dist/mint-components/{p-26f627aa.js → p-61ff3ceb.js} +1 -1
- package/dist/mint-components/p-62059511.js +268 -0
- package/dist/mint-components/{p-91d119ad.system.js → p-72b3562a.system.js} +1 -1
- package/dist/mint-components/{p-d1aec4e5.entry.js → p-771cf678.entry.js} +1 -1
- package/dist/mint-components/{p-37e1ad86.system.entry.js → p-777b4178.system.entry.js} +1 -1
- package/dist/mint-components/{p-284edcb1.system.entry.js → p-81571092.system.entry.js} +1 -1
- package/dist/mint-components/p-82ce9a47.entry.js +150 -0
- package/dist/mint-components/p-86a647c2.system.entry.js +1 -0
- package/dist/mint-components/{p-6b784bc2.system.entry.js → p-87a0f6ff.system.entry.js} +1 -1
- package/dist/mint-components/p-883f9baa.entry.js +1 -0
- package/dist/mint-components/{p-73e64749.system.js → p-894cf728.system.js} +1 -1
- package/dist/mint-components/{p-2ec8c64c.js → p-8fc1aef1.js} +1 -1
- package/dist/mint-components/{p-3cf449ba.system.js → p-937bf427.system.js} +1 -1
- package/dist/mint-components/{p-4907c147.entry.js → p-9875ace8.entry.js} +1 -1
- package/dist/mint-components/{p-3552d340.js → p-99c57fce.js} +1 -1
- package/dist/mint-components/p-9cc4ae14.system.entry.js +1 -0
- package/dist/mint-components/{p-ba597021.js → p-9f08dc58.js} +1 -1
- package/dist/mint-components/{p-1830b02e.system.js → p-a1b9ca51.system.js} +1 -1
- package/dist/mint-components/{p-b178e987.entry.js → p-a2b19c36.entry.js} +1 -1
- package/dist/mint-components/{p-79e4c06a.system.entry.js → p-a994df5c.system.entry.js} +1 -1
- package/dist/mint-components/{p-7fe7dbb0.js → p-ab2cbd56.js} +1 -1
- package/dist/mint-components/{p-373fa002.js → p-ab8f86d3.js} +1 -1
- package/dist/mint-components/p-af512ea8.entry.js +9 -0
- package/dist/mint-components/{p-f02b8fa6.entry.js → p-b593cb86.entry.js} +1 -1
- package/dist/mint-components/p-b968f779.js +1 -0
- package/dist/mint-components/{p-a517d98b.system.js → p-baebc359.system.js} +1 -1
- package/dist/mint-components/{p-cf6369c6.system.js → p-bc58ebb5.system.js} +1 -1
- package/dist/mint-components/{p-2062f027.entry.js → p-c17c4a4d.entry.js} +1 -1
- package/dist/mint-components/{p-d6e7f685.system.entry.js → p-c2b561a0.system.entry.js} +1 -1
- package/dist/mint-components/{p-c887a653.system.js → p-c4c73067.system.js} +1 -1
- package/dist/mint-components/{p-3e556042.js → p-c5573b7c.js} +1 -1
- package/dist/mint-components/{p-100522a7.js → p-c6e6162c.js} +1 -1
- package/dist/mint-components/{p-52d599a9.entry.js → p-c888a6a8.entry.js} +1 -1
- package/dist/mint-components/{p-5c35a4e6.entry.js → p-c94a507b.entry.js} +1 -1
- package/dist/mint-components/p-dbe21db8.system.entry.js +1 -0
- package/dist/mint-components/p-dcec5845.js +1 -0
- package/dist/mint-components/{p-7ff8364c.entry.js → p-ddafff46.entry.js} +1 -1
- package/dist/mint-components/{p-5c75acad.js → p-e8f5f4e0.js} +1 -1
- package/dist/mint-components/{p-68f78218.system.entry.js → p-ebb79099.system.entry.js} +1 -1
- package/dist/mint-components/{p-dc31c423.entry.js → p-f221d418.entry.js} +1 -1
- package/dist/mint-components/{p-a639c6b4.system.js → p-fa6a579e.system.js} +1 -1
- package/dist/types/components/sqm-checkbox-field/CheckboxField.stories.d.ts +52 -0
- package/dist/types/components/sqm-checkbox-field/UseCheckboxField.stories.d.ts +28 -0
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +18 -0
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +38 -0
- package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +13 -0
- package/dist/types/components/sqm-dropdown-field/DropdownField.stories.d.ts +28 -0
- package/dist/types/components/sqm-dropdown-field/UseDropdownField.stories.d.ts +16 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +14 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +29 -0
- package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +9 -0
- package/dist/types/components.d.ts +124 -0
- package/dist/types/global/mixins.d.ts +2 -2
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-name-fields-view-c95e4768.js +0 -53
- package/dist/cjs/sqm-name-fields.cjs.entry.js +0 -61
- package/dist/esm/sqm-name-fields-view-69b1583f.js +0 -51
- package/dist/esm/sqm-name-fields.entry.js +0 -57
- package/dist/esm-es5/ShadowViewAddon-e2ca6a02.js +0 -1
- package/dist/esm-es5/sqm-big-stat_31.entry.js +0 -1
- package/dist/esm-es5/sqm-name-fields-view-69b1583f.js +0 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +0 -1
- package/dist/mint-components/p-3d2ee089.js +0 -1
- package/dist/mint-components/p-4279da4b.system.js +0 -1
- package/dist/mint-components/p-4368bdee.system.js +0 -1
- package/dist/mint-components/p-4646a33f.system.entry.js +0 -1
- package/dist/mint-components/p-79247be1.js +0 -268
- package/dist/mint-components/p-84b01832.js +0 -1
- package/dist/mint-components/p-8d880827.system.entry.js +0 -1
- package/dist/mint-components/p-98b05b4e.entry.js +0 -150
- package/dist/mint-components/p-9b48d01e.js +0 -1
- package/dist/mint-components/p-b72d85d6.system.entry.js +0 -1
- package/dist/mint-components/p-ca9e4ec2.entry.js +0 -9
- package/dist/mint-components/p-e5a7bd1b.entry.js +0 -1
- package/dist/mint-components/p-ee1684ae.entry.js +0 -1
- package/dist/mint-components/p-f4b9ba87.system.entry.js +0 -1
- package/shoelace/assets/icons/123.svg +0 -3
- package/shoelace/assets/icons/activity.svg +0 -3
- package/shoelace/assets/icons/apple.svg +0 -4
- package/shoelace/assets/icons/bandaid-fill.svg +0 -3
- package/shoelace/assets/icons/bandaid.svg +0 -4
- package/shoelace/assets/icons/bank.svg +0 -3
- package/shoelace/assets/icons/bank2.svg +0 -3
- package/shoelace/assets/icons/behance.svg +0 -3
- package/shoelace/assets/icons/bell-slash-fill.svg +0 -3
- package/shoelace/assets/icons/bell-slash.svg +0 -3
- package/shoelace/assets/icons/bluetooth.svg +0 -3
- package/shoelace/assets/icons/body-text.svg +0 -3
- package/shoelace/assets/icons/boombox-fill.svg +0 -4
- package/shoelace/assets/icons/boombox.svg +0 -6
- package/shoelace/assets/icons/boxes.svg +0 -3
- package/shoelace/assets/icons/cash-coin.svg +0 -6
- package/shoelace/assets/icons/check-lg.svg +0 -3
- package/shoelace/assets/icons/cloud-haze2.svg +0 -3
- package/shoelace/assets/icons/coin.svg +0 -5
- package/shoelace/assets/icons/currency-bitcoin.svg +0 -3
- package/shoelace/assets/icons/currency-dollar.svg +0 -3
- package/shoelace/assets/icons/currency-euro.svg +0 -3
- package/shoelace/assets/icons/currency-exchange.svg +0 -3
- package/shoelace/assets/icons/currency-pound.svg +0 -3
- package/shoelace/assets/icons/currency-yen.svg +0 -3
- package/shoelace/assets/icons/dash-lg.svg +0 -3
- package/shoelace/assets/icons/device-hdd-fill.svg +0 -4
- package/shoelace/assets/icons/device-hdd.svg +0 -5
- package/shoelace/assets/icons/device-ssd-fill.svg +0 -4
- package/shoelace/assets/icons/device-ssd.svg +0 -4
- package/shoelace/assets/icons/displayport-fill.svg +0 -3
- package/shoelace/assets/icons/displayport.svg +0 -4
- package/shoelace/assets/icons/dpad-fill.svg +0 -3
- package/shoelace/assets/icons/dpad.svg +0 -4
- package/shoelace/assets/icons/dribbble.svg +0 -3
- package/shoelace/assets/icons/ear-fill.svg +0 -3
- package/shoelace/assets/icons/ear.svg +0 -3
- package/shoelace/assets/icons/easel2-fill.svg +0 -4
- package/shoelace/assets/icons/easel2.svg +0 -3
- package/shoelace/assets/icons/easel3-fill.svg +0 -3
- package/shoelace/assets/icons/easel3.svg +0 -3
- package/shoelace/assets/icons/envelope-check-fill.svg +0 -4
- package/shoelace/assets/icons/envelope-check.svg +0 -4
- package/shoelace/assets/icons/envelope-dash-fill.svg +0 -4
- package/shoelace/assets/icons/envelope-dash.svg +0 -4
- package/shoelace/assets/icons/envelope-exclamation-fill.svg +0 -4
- package/shoelace/assets/icons/envelope-exclamation.svg +0 -4
- package/shoelace/assets/icons/envelope-plus-fill.svg +0 -4
- package/shoelace/assets/icons/envelope-plus.svg +0 -4
- package/shoelace/assets/icons/envelope-slash-fill.svg +0 -4
- package/shoelace/assets/icons/envelope-slash.svg +0 -4
- package/shoelace/assets/icons/envelope-x-fill.svg +0 -4
- package/shoelace/assets/icons/envelope-x.svg +0 -4
- package/shoelace/assets/icons/ethernet.svg +0 -4
- package/shoelace/assets/icons/exclamation-lg.svg +0 -3
- package/shoelace/assets/icons/explicit-fill.svg +0 -3
- package/shoelace/assets/icons/explicit.svg +0 -4
- package/shoelace/assets/icons/fan.svg +0 -4
- package/shoelace/assets/icons/file-earmark-pdf-fill.svg +0 -4
- package/shoelace/assets/icons/file-earmark-pdf.svg +0 -4
- package/shoelace/assets/icons/file-pdf-fill.svg +0 -4
- package/shoelace/assets/icons/file-pdf.svg +0 -4
- package/shoelace/assets/icons/fingerprint.svg +0 -7
- package/shoelace/assets/icons/gender-ambiguous.svg +0 -3
- package/shoelace/assets/icons/gender-female.svg +0 -3
- package/shoelace/assets/icons/gender-male.svg +0 -3
- package/shoelace/assets/icons/gender-trans.svg +0 -3
- package/shoelace/assets/icons/git.svg +0 -3
- package/shoelace/assets/icons/gpu-card.svg +0 -5
- package/shoelace/assets/icons/graph-down-arrow.svg +0 -3
- package/shoelace/assets/icons/graph-up-arrow.svg +0 -3
- package/shoelace/assets/icons/hdmi-fill.svg +0 -3
- package/shoelace/assets/icons/hdmi.svg +0 -4
- package/shoelace/assets/icons/headset-vr.svg +0 -4
- package/shoelace/assets/icons/hypnotize.svg +0 -4
- package/shoelace/assets/icons/infinity.svg +0 -3
- package/shoelace/assets/icons/info-lg.svg +0 -3
- package/shoelace/assets/icons/line.svg +0 -3
- package/shoelace/assets/icons/list-columns-reverse.svg +0 -3
- package/shoelace/assets/icons/list-columns.svg +0 -3
- package/shoelace/assets/icons/magic.svg +0 -3
- package/shoelace/assets/icons/mastodon.svg +0 -3
- package/shoelace/assets/icons/medium.svg +0 -3
- package/shoelace/assets/icons/memory.svg +0 -3
- package/shoelace/assets/icons/messenger.svg +0 -3
- package/shoelace/assets/icons/meta.svg +0 -3
- package/shoelace/assets/icons/microsoft.svg +0 -3
- package/shoelace/assets/icons/modem-fill.svg +0 -3
- package/shoelace/assets/icons/modem.svg +0 -4
- package/shoelace/assets/icons/mortarboard-fill.svg +0 -4
- package/shoelace/assets/icons/mortarboard.svg +0 -4
- package/shoelace/assets/icons/motherboard-fill.svg +0 -4
- package/shoelace/assets/icons/motherboard.svg +0 -4
- package/shoelace/assets/icons/nintendo-switch.svg +0 -4
- package/shoelace/assets/icons/optical-audio-fill.svg +0 -4
- package/shoelace/assets/icons/optical-audio.svg +0 -5
- package/shoelace/assets/icons/paypal.svg +0 -3
- package/shoelace/assets/icons/pc-display-horizontal.svg +0 -3
- package/shoelace/assets/icons/pc-display.svg +0 -3
- package/shoelace/assets/icons/pc-horizontal.svg +0 -3
- package/shoelace/assets/icons/pc.svg +0 -3
- package/shoelace/assets/icons/pci-card.svg +0 -4
- package/shoelace/assets/icons/person-rolodex.svg +0 -4
- package/shoelace/assets/icons/person-video.svg +0 -4
- package/shoelace/assets/icons/person-video2.svg +0 -4
- package/shoelace/assets/icons/person-video3.svg +0 -4
- package/shoelace/assets/icons/person-workspace.svg +0 -4
- package/shoelace/assets/icons/piggy-bank-fill.svg +0 -3
- package/shoelace/assets/icons/piggy-bank.svg +0 -4
- package/shoelace/assets/icons/pin-map-fill.svg +0 -4
- package/shoelace/assets/icons/pin-map.svg +0 -4
- package/shoelace/assets/icons/pinterest.svg +0 -3
- package/shoelace/assets/icons/playstation.svg +0 -3
- package/shoelace/assets/icons/plus-lg.svg +0 -3
- package/shoelace/assets/icons/plus-slash-minus.svg +0 -3
- package/shoelace/assets/icons/projector-fill.svg +0 -3
- package/shoelace/assets/icons/projector.svg +0 -4
- package/shoelace/assets/icons/qr-code-scan.svg +0 -7
- package/shoelace/assets/icons/qr-code.svg +0 -7
- package/shoelace/assets/icons/question-lg.svg +0 -3
- package/shoelace/assets/icons/quora.svg +0 -3
- package/shoelace/assets/icons/quote.svg +0 -3
- package/shoelace/assets/icons/radioactive.svg +0 -4
- package/shoelace/assets/icons/recycle.svg +0 -3
- package/shoelace/assets/icons/reddit.svg +0 -4
- package/shoelace/assets/icons/robot.svg +0 -4
- package/shoelace/assets/icons/router-fill.svg +0 -6
- package/shoelace/assets/icons/router.svg +0 -6
- package/shoelace/assets/icons/safe-fill.svg +0 -4
- package/shoelace/assets/icons/safe.svg +0 -4
- package/shoelace/assets/icons/safe2-fill.svg +0 -4
- package/shoelace/assets/icons/safe2.svg +0 -4
- package/shoelace/assets/icons/sd-card-fill.svg +0 -3
- package/shoelace/assets/icons/sd-card.svg +0 -4
- package/shoelace/assets/icons/send-check-fill.svg +0 -4
- package/shoelace/assets/icons/send-check.svg +0 -4
- package/shoelace/assets/icons/send-dash-fill.svg +0 -4
- package/shoelace/assets/icons/send-dash.svg +0 -4
- package/shoelace/assets/icons/send-exclamation-fill.svg +0 -4
- package/shoelace/assets/icons/send-exclamation.svg +0 -4
- package/shoelace/assets/icons/send-fill.svg +0 -3
- package/shoelace/assets/icons/send-plus-fill.svg +0 -4
- package/shoelace/assets/icons/send-plus.svg +0 -4
- package/shoelace/assets/icons/send-slash-fill.svg +0 -4
- package/shoelace/assets/icons/send-slash.svg +0 -4
- package/shoelace/assets/icons/send-x-fill.svg +0 -4
- package/shoelace/assets/icons/send-x.svg +0 -4
- package/shoelace/assets/icons/send.svg +0 -3
- package/shoelace/assets/icons/signal.svg +0 -3
- package/shoelace/assets/icons/skype.svg +0 -3
- package/shoelace/assets/icons/slash-lg.svg +0 -3
- package/shoelace/assets/icons/snapchat.svg +0 -3
- package/shoelace/assets/icons/spotify.svg +0 -3
- package/shoelace/assets/icons/stack-overflow.svg +0 -4
- package/shoelace/assets/icons/steam.svg +0 -4
- package/shoelace/assets/icons/strava.svg +0 -3
- package/shoelace/assets/icons/terminal-dash.svg +0 -4
- package/shoelace/assets/icons/terminal-plus.svg +0 -4
- package/shoelace/assets/icons/terminal-split.svg +0 -4
- package/shoelace/assets/icons/terminal-x.svg +0 -4
- package/shoelace/assets/icons/thunderbolt-fill.svg +0 -3
- package/shoelace/assets/icons/thunderbolt.svg +0 -4
- package/shoelace/assets/icons/ticket-detailed-fill.svg +0 -3
- package/shoelace/assets/icons/ticket-detailed.svg +0 -4
- package/shoelace/assets/icons/ticket-fill.svg +0 -3
- package/shoelace/assets/icons/ticket-perforated-fill.svg +0 -3
- package/shoelace/assets/icons/ticket-perforated.svg +0 -4
- package/shoelace/assets/icons/ticket.svg +0 -3
- package/shoelace/assets/icons/tiktok.svg +0 -3
- package/shoelace/assets/icons/translate.svg +0 -4
- package/shoelace/assets/icons/usb-c-fill.svg +0 -3
- package/shoelace/assets/icons/usb-c.svg +0 -4
- package/shoelace/assets/icons/usb-drive-fill.svg +0 -3
- package/shoelace/assets/icons/usb-drive.svg +0 -3
- package/shoelace/assets/icons/usb-fill.svg +0 -3
- package/shoelace/assets/icons/usb-micro-fill.svg +0 -3
- package/shoelace/assets/icons/usb-micro.svg +0 -4
- package/shoelace/assets/icons/usb-mini-fill.svg +0 -3
- package/shoelace/assets/icons/usb-mini.svg +0 -4
- package/shoelace/assets/icons/usb-plug-fill.svg +0 -3
- package/shoelace/assets/icons/usb-plug.svg +0 -3
- package/shoelace/assets/icons/usb-symbol.svg +0 -3
- package/shoelace/assets/icons/usb.svg +0 -4
- package/shoelace/assets/icons/vimeo.svg +0 -3
- package/shoelace/assets/icons/webcam-fill.svg +0 -4
- package/shoelace/assets/icons/webcam.svg +0 -4
- package/shoelace/assets/icons/window-dash.svg +0 -5
- package/shoelace/assets/icons/window-desktop.svg +0 -4
- package/shoelace/assets/icons/window-fullscreen.svg +0 -4
- package/shoelace/assets/icons/window-plus.svg +0 -5
- package/shoelace/assets/icons/window-split.svg +0 -4
- package/shoelace/assets/icons/window-stack.svg +0 -4
- package/shoelace/assets/icons/window-x.svg +0 -5
- package/shoelace/assets/icons/windows.svg +0 -3
- package/shoelace/assets/icons/wordpress.svg +0 -5
- package/shoelace/assets/icons/x-lg.svg +0 -4
- package/shoelace/assets/icons/xbox.svg +0 -3
- package/shoelace/assets/icons/yin-yang.svg +0 -4
- package/shoelace/themes/themes/dark.styles.d.ts +0 -2
- package/shoelace/themes/themes/dark.styles.js +0 -531
- package/shoelace/themes/themes/light.css +0 -439
- package/shoelace/themes/themes/light.styles.d.ts +0 -2
- package/shoelace/themes/themes/light.styles.js +0 -531
|
@@ -9,27 +9,26 @@ require('./use-callback-e754042f.js');
|
|
|
9
9
|
const index_module = require('./index.module-fb61a163.js');
|
|
10
10
|
require('./extends-08099afd.js');
|
|
11
11
|
require('./cjs-1066ec21.js');
|
|
12
|
-
require('./mixins-
|
|
13
|
-
const JSS = require('./JSS-
|
|
14
|
-
const GenericTableView = require('./GenericTableView-
|
|
12
|
+
require('./mixins-338ca5f1.js');
|
|
13
|
+
const JSS = require('./JSS-a75f3a9a.js');
|
|
14
|
+
const GenericTableView = require('./GenericTableView-c2a781ea.js');
|
|
15
15
|
const luxon = require('./luxon-59ca7d19.js');
|
|
16
16
|
require('./utils-01dbfd4a.js');
|
|
17
|
-
require('./sqm-text-span-view-
|
|
18
|
-
const sqmAssetCardView = require('./sqm-asset-card-view-
|
|
19
|
-
const sqmHeroView = require('./sqm-hero-view-
|
|
17
|
+
require('./sqm-text-span-view-ab4ad6ef.js');
|
|
18
|
+
const sqmAssetCardView = require('./sqm-asset-card-view-07420209.js');
|
|
19
|
+
const sqmHeroView = require('./sqm-hero-view-d5d46a36.js');
|
|
20
20
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-35015d30.js');
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const sqmPortalSectionView = require('./sqm-portal-section-view-f3c8475a.js');
|
|
21
|
+
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-0ee28f65.js');
|
|
22
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-bd8b4dfd.js');
|
|
23
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-423191eb.js');
|
|
24
|
+
const sqmPortalFooterView = require('./sqm-portal-footer-view-8442fd90.js');
|
|
25
|
+
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-97932f7a.js');
|
|
26
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-2d11ed71.js');
|
|
27
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-b77382f6.js');
|
|
28
|
+
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-042073ca.js');
|
|
29
|
+
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-cb3c9c2f.js');
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-2c6a65ed.js');
|
|
31
|
+
const sqmPortalSectionView = require('./sqm-portal-section-view-765aae4d.js');
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -3658,9 +3657,9 @@ const NewPortal = /*#__PURE__*/Object.freeze({
|
|
|
3658
3657
|
|
|
3659
3658
|
const referralWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Refer a friend and earn up to $1200 in rewards\"\r\n layout=\"columns\"\r\n image-pos=\"right\"\r\n background-color=\"#F9F9F9\"\r\n >\r\n </sqm-hero-image>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-portal-container\r\n justify-content=\"start\"\r\n direction=\"row\"\r\n center\r\n display=\"flex\"\r\n gap=\"xx-large\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/referralsCount\"\r\n >\r\n <sqm-text>\r\n <p>Referrals</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\r\n >\r\n <sqm-text>\r\n <p>Giftcards</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n text-align=\"center\"\r\n label-margin=\"xxx-small\"\r\n padding=\"none\"\r\n >\r\n <sqm-text slot=\"label\">\r\n <h3>Get rewarded when your friend uses our product</h3>\r\n </sqm-text>\r\n </sqm-titled-section>\r\n <sqm-referral-card vertical-alignment=\"start\">\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"left\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-text\r\n >They’ll get a $50 credit towards a new account and you’ll get:\r\n </sqm-text>\r\n <sqm-timeline icon=\"circle\">\r\n <sqm-timeline-entry\r\n reward=\"$50\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases a Business plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$200\"\r\n unit=\"visa giftcard\"\r\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$1000\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases an Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n </sqm-timeline>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"right\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-text>Choose how you want to share: </sqm-text>\r\n <sqm-text>\r\n <sub>Your unique referral link:</sub>\r\n <sqm-share-link\r\n tooltip-text=\"Copied to Clipboard\"\r\n tooltip-lifespan=\"1000\"\r\n >\r\n </sqm-share-link>\r\n </sqm-text>\r\n <sqm-portal-container\r\n gap=\"x-small\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-share-button\r\n medium=\"email\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share via email\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"linkedin\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share on LinkedIn\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"twitter\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Tweet about us\r\n </sqm-share-button>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-referral-card>\r\n </sqm-portal-container>\r\n <sqm-tabs placement=\"top\">\r\n <sqm-tab header=\"Leaderboard\">\r\n <sqm-portal-container\r\n gap=\"large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png\"\r\n description=\"Be one of the top 3 referrers at the end of the year and receive our product free for 1 year!\"\r\n layout=\"columns\"\r\n image-percentage=\"30\"\r\n padding-image=\"large\"\r\n padding-text=\"large\"\r\n background-color=\"#EFF8FE\"\r\n image-mobile-pos=\"top\"\r\n image-pos=\"right\"\r\n overlay-opacity=\"0.75\"\r\n >\r\n </sqm-hero-image>\r\n <sqm-leaderboard\r\n usersheading=\"Referrer\"\r\n statsheading=\"Referrals\"\r\n rankheading=\"Rank\"\r\n rank-type=\"rowNumber\"\r\n leaderboard-type=\"topStartedReferrers\"\r\n show-rank\r\n anonymous-user=\"Anonymous User\"\r\n >\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_leaderboard2.png\"\r\n empty-state-header=\"View your rank in the leaderboard\"\r\n empty-state-text=\"Be the first to refer a friend and reach the top of the leaderboard\"\r\n >\r\n </sqm-empty>\r\n </sqm-leaderboard>\r\n </sqm-portal-container>\r\n </sqm-tab>\r\n <sqm-tab header=\"Referral history\">\r\n <sqm-referral-table\r\n per-page=\"4\"\r\n hidden-columns=\"2\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels\r\n\t\t\tsm-breakpoint=\"599\"\r\n\t\t\tmd-breakpoint=\"799\"\r\n >\r\n <sqm-referral-table-user-column\r\n column-title=\"User\"\r\n anonymous-user=\"Anonymous User\"\r\n deleted-user=\"Deleted User\"\r\n >\r\n </sqm-referral-table-user-column>\r\n <sqm-referral-table-status-column\r\n column-title=\"Referral status\"\r\n converted-status-text=\"Converted\"\r\n in-progress-status-text=\"In Progress\"\r\n >\r\n </sqm-referral-table-status-column>\r\n <sqm-referral-table-rewards-column\r\n column-title=\"Rewards\"\r\n expiring-text=\"Expiring in\"\r\n fuel-tank-text=\"Your code is\"\r\n pending-for-text=\"{status} for {date}\"\r\n reward-received-text=\"Reward received on\"\r\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-referral-table-rewards-column>\r\n <sqm-referral-table-date-column\r\n column-title=\"Date referred\"\r\n date-shown=\"dateReferralStarted\"\r\n >\r\n </sqm-referral-table-date-column>\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\r\n empty-state-header=\"View your referral details\"\r\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\r\n ></sqm-empty>\r\n </sqm-referral-table>\r\n </sqm-tab>\r\n </sqm-tabs>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
|
|
3660
3659
|
|
|
3661
|
-
const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Refer friends and complete tasks to earn rewards\"\r\n layout=\"columns\"\r\n image-pos=\"right\"\r\n background-color=\"#F9F9F9\"\r\n image-mobile-pos=\"top\"\r\n image-percentage=\"50\"\r\n padding-image=\"none\"\r\n padding-text=\"xxxx-large\"\r\n >\r\n </sqm-hero-image>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-portal-container\r\n direction=\"row\"\r\n center\r\n display=\"flex\"\r\n justify-content=\"space-between\"\r\n gap=\"xxx-large\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/referralsCount\"\r\n >\r\n <sqm-text>\r\n <p>Referrals</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\r\n >\r\n <sqm-text>\r\n <p>Giftcards Earned</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\r\n >\r\n <sqm-text>\r\n <p>Points Balance</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n <sqm-scroll\r\n scroll-id=\"tab-3\"\r\n outline\r\n button-type=\"primary\"\r\n button-text=\"Redeem your rewards\"\r\n mobile\r\n >\r\n </sqm-scroll>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"xx-large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n text-align=\"center\"\r\n label-margin=\"xxx-small\"\r\n padding=\"none\"\r\n >\r\n <sqm-text slot=\"label\">\r\n <h3>Share $50 with friends</h3>\r\n </sqm-text>\r\n <sqm-text slot=\"content\">\r\n <p>\r\n They’ll get a $50 credit towards a new account and you’ll get up\r\n to $1200\r\n </p>\r\n </sqm-text>\r\n </sqm-titled-section>\r\n <sqm-referral-card vertical-alignment=\"start\">\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"left\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-text\r\n >They’ll get a $50 credit towards a new account and you’ll get:\r\n </sqm-text>\r\n <sqm-timeline icon=\"circle\">\r\n <sqm-timeline-entry\r\n reward=\"$50\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases a Business plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$200\"\r\n unit=\"visa giftcard\"\r\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$1000\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases an Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n </sqm-timeline>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"right\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-text>Choose how you want to share: </sqm-text>\r\n <sqm-text>\r\n <sub>Your unique referral link:</sub>\r\n <sqm-share-link\r\n tooltip-text=\"Copied to Clipboard\"\r\n tooltip-lifespan=\"1000\"\r\n >\r\n </sqm-share-link>\r\n </sqm-text>\r\n <sqm-portal-container\r\n gap=\"x-small\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-share-button\r\n medium=\"email\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share via email\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"linkedin\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share on LinkedIn\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"twitter\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Tweet about us\r\n </sqm-share-button>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-referral-card>\r\n <sqm-portal-container\r\n gap=\"xx-large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n justify-content=\"\"\r\n max-width=\"100%\"\r\n min-width=\"\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\r\n <sqm-text slot=\"label\">\r\n <h3>Earn more rewards</h3>\r\n </sqm-text>\r\n <sqm-text slot=\"content\">\r\n <p>\r\n Get points while using our product. Use those points to redeem\r\n rewards like one free month of Enterprise or two plane\r\n tickets to anywhere in North America\r\n </p>\r\n </sqm-text>\r\n </sqm-titled-section>\r\n <sqm-card-feed gap=\"24\" width=\"347\">\r\n <sqm-task-card\r\n reward-amount=\"20\"\r\n goal=\"1\"\r\n card-title=\"Complete a Survey\"\r\n description=\"Fill out our NPS survey and get 100 points for giving us honest feedback.\"\r\n button-text=\"Take survey\"\r\n reward-unit=\"Points\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"250\"\r\n goal=\"500\"\r\n show-progress-bar\r\n card-title=\"Spend $500\"\r\n description=\"Earn 150 points when you spend $500 or more.\"\r\n button-text=\"See plans\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n progress-bar-unit=\"$\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n goal=\"1\"\r\n reward-amount=\"50\"\r\n card-title=\"Follow Us on Twitter\"\r\n description=\"Earn 50 points when you follow us on Twitter!\"\r\n button-text=\"Follow\"\r\n button-link=\"https://twitter.com/\"\r\n open-new-tab=\"true\"\r\n event-key=\"socialFollow\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"1\"\r\n reward-unit=\"Free Month\"\r\n goal=\"1\"\r\n card-title=\"Upgrade Your Plan\"\r\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\r\n button-text=\"Upgrade\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n open-new-tab=\"false\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n </sqm-card-feed>\r\n </sqm-portal-container>\r\n <sqm-tabs>\r\n <sqm-tab header=\"Leaderboard\">\r\n <sqm-portal-container gap=\"large\">\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png\"\r\n description=\"Be one of the top 3 referrers at the end of the year and receive our product free for 1 year!\"\r\n layout=\"columns\"\r\n image-percentage=\"33%\"\r\n padding-image=\"large\"\r\n padding-text=\"large\"\r\n background-color=\"#EFF8FE\"\r\n >\r\n </sqm-hero-image>\r\n <sqm-leaderboard\r\n usersheading=\"Referrer\"\r\n statsheading=\"Referrals\"\r\n rankheading=\"Rank\"\r\n rank-type=\"rowNumber\"\r\n leaderboard-type=\"topStartedReferrers\"\r\n show-rank\r\n anonymous-user=\"Anonymous User\"\r\n >\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_leaderboard2.png\"\r\n empty-state-header=\"View your rank in the leaderboard\"\r\n empty-state-text=\"Be the first to refer a friend and reach the top of the leaderboard\"\r\n >\r\n </sqm-empty>\r\n </sqm-leaderboard>\r\n </sqm-portal-container>\r\n </sqm-tab>\r\n <sqm-tab header=\"Referral history\">\r\n <sqm-referral-table\r\n per-page=\"4\"\r\n hidden-columns=\"2\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels=\"\"\r\n\t\t\t sm-breakpoint=\"599\"\r\n\t\t\t md-breakpoint=\"799\"\r\n >\r\n <sqm-referral-table-user-column\r\n column-title=\"User\"\r\n anonymous-user=\"Anonymous User\"\r\n deleted-user=\"Deleted User\"\r\n >\r\n </sqm-referral-table-user-column>\r\n <sqm-referral-table-status-column\r\n column-title=\"Referral status\"\r\n converted-status-text=\"Converted\"\r\n in-progress-status-text=\"In Progress\"\r\n >\r\n </sqm-referral-table-status-column>\r\n <sqm-referral-table-rewards-column\r\n column-title=\"Rewards\"\r\n expiring-text=\"Expiring in\"\r\n fuel-tank-text=\"Your code is\"\r\n pending-for-text=\"{status} for {date}\"\r\n reward-received-text=\"Reward received on\"\r\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-referral-table-rewards-column>\r\n <sqm-referral-table-date-column\r\n column-title=\"Date referred\"\r\n date-shown=\"dateReferralStarted\"\r\n >\r\n </sqm-referral-table-date-column>\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\r\n empty-state-header=\"View your referral details\"\r\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\r\n >\r\n </sqm-empty>\r\n </sqm-referral-table>\r\n </sqm-tab>\r\n <sqm-tab header=\"Reward history\">\r\n <sqm-rewards-table\r\n per-page=\"4\"\r\n program-id=\"\"\r\n hidden-columns=\"0\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels=\"\"\r\n\t\t\t sm-breakpoint=\"599\"\r\n\t\t\t md-breakpoint=\"799\"\r\n >\r\n <sqm-rewards-table-reward-column\r\n available-text=\"{availableAmount} remaining\"\r\n column-title=\"Reward\"\r\n copy-text=\"Copied!\"\r\n redeemed-text=\"{redeemedAmount} redeemed\"\r\n >\r\n </sqm-rewards-table-reward-column>\r\n <sqm-rewards-table-source-column\r\n anonymous-user=\"Anonymous User\"\r\n column-title=\"Source\"\r\n deleted-user=\"Deleted User\"\r\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\r\n reward-exchange-text=\"Reward Exchange\"\r\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\r\n >\r\n </sqm-rewards-table-source-column>\r\n <sqm-rewards-table-status-column\r\n column-title=\"Status\"\r\n expiry-text=\"Expires on \"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-rewards-table-status-column>\r\n <sqm-rewards-table-date-column\r\n column-title=\"Date received\"\r\n date-shown=\"dateGiven\"\r\n >\r\n </sqm-rewards-table-date-column>\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\r\n empty-state-header=\"View your rewards\"\r\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\r\n >\r\n </sqm-empty>\r\n </sqm-rewards-table>\r\n </sqm-tab>\r\n <sqm-tab header=\"Redeem\">\r\n <sqm-reward-exchange-list\r\n back-text=\"Back\"\r\n button-text=\"Exchange Rewards\"\r\n cancel-text=\"Cancel\"\r\n choose-amount-title=\"Select\"\r\n choose-reward-title=\"Rewards\"\r\n confirmation-title=\"Confirm\"\r\n continue-text=\"Continue\"\r\n continue-to-confirmation-text=\"Continue to confirmation\"\r\n done-text=\"Done\"\r\n reward-title=\"Choose a reward\"\r\n not-available-error=\"{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }\"\r\n not-enough-error=\"Not enough {sourceUnit} to redeem for this reward\"\r\n query-error=\"Unable to load reward exchange list. Please try again\"\r\n redeem-text=\"Redeem\"\r\n redeem-title=\"Confirm and redeem\"\r\n redemption-error=\"An error occured trying to redeem this reward. Please try again\"\r\n redemption-success-text=\"Redeemed {sourceValue} for {destinationValue}\"\r\n select-text=\"Select amount to receive\"\r\n source-amount-message=\"{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}\"\r\n tooltiptext=\"Copied\"\r\n reward-name-title=\"Reward\"\r\n reward-amount-title=\"Reward Amount\"\r\n cost-title=\"Cost to Redeem\"\r\n reward-redeemed-text=\"Reward redeemed\"\r\n skeleton-card-num=\"8\"\r\n promo-code=\"Promo Code\"\r\n tooltip-text=\"Copied!\"\r\n >\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png\"\r\n empty-state-header=\"Redeem rewards\"\r\n empty-state-text=\"Use your points to redeem rewards once they become available\"\r\n ></sqm-empty>\r\n </sqm-reward-exchange-list>\r\n </sqm-tab>\r\n </sqm-tabs>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
|
|
3660
|
+
const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Refer friends and complete tasks to earn rewards\"\r\n layout=\"columns\"\r\n image-pos=\"right\"\r\n background-color=\"#F9F9F9\"\r\n image-mobile-pos=\"top\"\r\n image-percentage=\"50\"\r\n padding-image=\"none\"\r\n padding-text=\"xxxx-large\"\r\n >\r\n </sqm-hero-image>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-portal-container\r\n direction=\"row\"\r\n center\r\n display=\"flex\"\r\n justify-content=\"space-between\"\r\n gap=\"xxx-large\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/referralsCount\"\r\n >\r\n <sqm-text>\r\n <p>Referrals</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/integrationRewardsCountFiltered/AVAILABLE/global\"\r\n >\r\n <sqm-text>\r\n <p>Giftcards Earned</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\r\n >\r\n <sqm-text>\r\n <p>Points Balance</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n <sqm-scroll\r\n scroll-id=\"tab-3\"\r\n outline\r\n button-type=\"primary\"\r\n button-text=\"Redeem your rewards\"\r\n mobile\r\n >\r\n </sqm-scroll>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"xx-large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section\r\n text-align=\"center\"\r\n label-margin=\"xxx-small\"\r\n padding=\"none\"\r\n >\r\n <sqm-text slot=\"label\">\r\n <h3>Share $50 with friends</h3>\r\n </sqm-text>\r\n <sqm-text slot=\"content\">\r\n <p>\r\n They’ll get a $50 credit towards a new account and you’ll get up\r\n to $1200\r\n </p>\r\n </sqm-text>\r\n </sqm-titled-section>\r\n <sqm-referral-card vertical-alignment=\"start\">\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"left\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-text\r\n >They’ll get a $50 credit towards a new account and you’ll get:\r\n </sqm-text>\r\n <sqm-timeline icon=\"circle\">\r\n <sqm-timeline-entry\r\n reward=\"$50\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases a Business plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$200\"\r\n unit=\"visa giftcard\"\r\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n <sqm-timeline-entry\r\n reward=\"$1000\"\r\n unit=\"visa giftcard\"\r\n desc=\"Your friend purchases an Enterprise plan\"\r\n icon=\"circle\"\r\n >\r\n </sqm-timeline-entry>\r\n </sqm-timeline>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n gap=\"large\"\r\n slot=\"right\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-text>Choose how you want to share: </sqm-text>\r\n <sqm-text>\r\n <sub>Your unique referral link:</sub>\r\n <sqm-share-link\r\n tooltip-text=\"Copied to Clipboard\"\r\n tooltip-lifespan=\"1000\"\r\n >\r\n </sqm-share-link>\r\n </sqm-text>\r\n <sqm-portal-container\r\n gap=\"x-small\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-share-button\r\n medium=\"email\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share via email\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"linkedin\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Share on LinkedIn\r\n </sqm-share-button>\r\n <sqm-share-button\r\n medium=\"twitter\"\r\n icon-slot=\"prefix\"\r\n size=\"medium\"\r\n type=\"default\"\r\n >\r\n Tweet about us\r\n </sqm-share-button>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-referral-card>\r\n <sqm-portal-container\r\n gap=\"xx-large\"\r\n direction=\"column\"\r\n display=\"grid\"\r\n justify-content=\"\"\r\n max-width=\"100%\"\r\n min-width=\"\"\r\n padding=\"none\"\r\n >\r\n <sqm-titled-section text-align=\"center\" label-margin=\"xxx-small\">\r\n <sqm-text slot=\"label\">\r\n <h3>Earn more rewards</h3>\r\n </sqm-text>\r\n <sqm-text slot=\"content\">\r\n <p>\r\n Get points while using our product. Use those points to redeem\r\n rewards like one free month of Enterprise or two plane tickets\r\n to anywhere in North America\r\n </p>\r\n </sqm-text>\r\n </sqm-titled-section>\r\n <sqm-card-feed gap=\"24\" width=\"347\">\r\n <sqm-task-card\r\n reward-amount=\"20\"\r\n goal=\"1\"\r\n card-title=\"Complete a Survey\"\r\n description=\"Fill out our NPS survey and get 100 points for giving us honest feedback.\"\r\n button-text=\"Take survey\"\r\n reward-unit=\"Points\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"250\"\r\n goal=\"500\"\r\n show-progress-bar\r\n card-title=\"Spend $500\"\r\n description=\"Earn 150 points when you spend $500 or more.\"\r\n button-text=\"See plans\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n progress-bar-unit=\"$\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n goal=\"1\"\r\n reward-amount=\"50\"\r\n card-title=\"Follow Us on Twitter\"\r\n description=\"Earn 50 points when you follow us on Twitter!\"\r\n button-text=\"Follow\"\r\n button-link=\"https://twitter.com/\"\r\n open-new-tab=\"true\"\r\n event-key=\"socialFollow\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"1\"\r\n reward-unit=\"Free Month\"\r\n goal=\"1\"\r\n card-title=\"Upgrade Your Plan\"\r\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\r\n button-text=\"Upgrade\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n open-new-tab=\"false\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n </sqm-card-feed>\r\n </sqm-portal-container>\r\n <sqm-tabs>\r\n <sqm-tab header=\"Leaderboard\">\r\n <sqm-portal-container gap=\"large\">\r\n <sqm-hero-image\r\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png\"\r\n description=\"Be one of the top 3 referrers at the end of the year and receive our product free for 1 year!\"\r\n layout=\"columns\"\r\n image-percentage=\"33%\"\r\n padding-image=\"large\"\r\n padding-text=\"large\"\r\n background-color=\"#EFF8FE\"\r\n >\r\n </sqm-hero-image>\r\n <sqm-leaderboard\r\n usersheading=\"Referrer\"\r\n statsheading=\"Referrals\"\r\n rankheading=\"Rank\"\r\n rank-type=\"rowNumber\"\r\n leaderboard-type=\"topStartedReferrers\"\r\n show-rank\r\n anonymous-user=\"Anonymous User\"\r\n >\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_leaderboard2.png\"\r\n empty-state-header=\"View your rank in the leaderboard\"\r\n empty-state-text=\"Be the first to refer a friend and reach the top of the leaderboard\"\r\n >\r\n </sqm-empty>\r\n </sqm-leaderboard>\r\n </sqm-portal-container>\r\n </sqm-tab>\r\n <sqm-tab header=\"Referral history\">\r\n <sqm-referral-table\r\n per-page=\"4\"\r\n hidden-columns=\"2\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels=\"\"\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-referral-table-user-column\r\n column-title=\"User\"\r\n anonymous-user=\"Anonymous User\"\r\n deleted-user=\"Deleted User\"\r\n >\r\n </sqm-referral-table-user-column>\r\n <sqm-referral-table-status-column\r\n column-title=\"Referral status\"\r\n converted-status-text=\"Converted\"\r\n in-progress-status-text=\"In Progress\"\r\n >\r\n </sqm-referral-table-status-column>\r\n <sqm-referral-table-rewards-column\r\n column-title=\"Rewards\"\r\n expiring-text=\"Expiring in\"\r\n fuel-tank-text=\"Your code is\"\r\n pending-for-text=\"{status} for {date}\"\r\n reward-received-text=\"Reward received on\"\r\n status-long-text=\"{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }\"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-referral-table-rewards-column>\r\n <sqm-referral-table-date-column\r\n column-title=\"Date referred\"\r\n date-shown=\"dateReferralStarted\"\r\n >\r\n </sqm-referral-table-date-column>\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png\"\r\n empty-state-header=\"View your referral details\"\r\n empty-state-text=\"Refer a friend to view the status of your referrals and rewards earned\"\r\n >\r\n </sqm-empty>\r\n </sqm-referral-table>\r\n </sqm-tab>\r\n <sqm-tab header=\"Reward history\">\r\n <sqm-rewards-table\r\n per-page=\"4\"\r\n program-id=\"\"\r\n hidden-columns=\"0\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels=\"\"\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-rewards-table-reward-column\r\n available-text=\"{availableAmount} remaining\"\r\n column-title=\"Reward\"\r\n copy-text=\"Copied!\"\r\n redeemed-text=\"{redeemedAmount} redeemed\"\r\n >\r\n </sqm-rewards-table-reward-column>\r\n <sqm-rewards-table-source-column\r\n anonymous-user=\"Anonymous User\"\r\n column-title=\"Source\"\r\n deleted-user=\"Deleted User\"\r\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\r\n reward-exchange-text=\"Reward Exchange\"\r\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\r\n >\r\n </sqm-rewards-table-source-column>\r\n <sqm-rewards-table-status-column\r\n column-title=\"Status\"\r\n expiry-text=\"Expires on \"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-rewards-table-status-column>\r\n <sqm-rewards-table-date-column\r\n column-title=\"Date received\"\r\n date-shown=\"dateGiven\"\r\n >\r\n </sqm-rewards-table-date-column>\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\r\n empty-state-header=\"View your rewards\"\r\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\r\n >\r\n </sqm-empty>\r\n </sqm-rewards-table>\r\n </sqm-tab>\r\n <sqm-tab header=\"Redeem\">\r\n <sqm-reward-exchange-list\r\n back-text=\"Back\"\r\n button-text=\"Exchange Rewards\"\r\n cancel-text=\"Cancel\"\r\n choose-amount-title=\"Select\"\r\n choose-reward-title=\"Rewards\"\r\n confirmation-title=\"Confirm\"\r\n continue-text=\"Continue\"\r\n continue-to-confirmation-text=\"Continue to confirmation\"\r\n done-text=\"Done\"\r\n reward-title=\"Choose a reward\"\r\n not-available-error=\"{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }\"\r\n not-enough-error=\"Not enough {sourceUnit} to redeem for this reward\"\r\n query-error=\"Unable to load reward exchange list. Please try again\"\r\n redeem-text=\"Redeem\"\r\n redeem-title=\"Confirm and redeem\"\r\n redemption-error=\"An error occured trying to redeem this reward. Please try again\"\r\n redemption-success-text=\"Redeemed {sourceValue} for {destinationValue}\"\r\n select-text=\"Select amount to receive\"\r\n source-amount-message=\"{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}\"\r\n tooltiptext=\"Copied\"\r\n reward-name-title=\"Reward\"\r\n reward-amount-title=\"Reward Amount\"\r\n cost-title=\"Cost to Redeem\"\r\n reward-redeemed-text=\"Reward redeemed\"\r\n skeleton-card-num=\"8\"\r\n promo-code=\"Promo Code\"\r\n tooltip-text=\"Copied!\"\r\n >\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png\"\r\n empty-state-header=\"Redeem rewards\"\r\n empty-state-text=\"Use your points to redeem rewards once they become available\"\r\n ></sqm-empty>\r\n </sqm-reward-exchange-list>\r\n </sqm-tab>\r\n </sqm-tabs>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
|
|
3662
3661
|
|
|
3663
|
-
const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://i.imgur.com/bTwu1Um.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Refer friends and complete tasks to earn rewards\"\r\n layout=\"overlay\"\r\n padding-image=\"xxxx-large\"\r\n padding-text=\"xxx-large\"\r\n image-pos=\"center\"\r\n overlay-color=\"#5e5669\"\r\n overlay-opacity=\"0.9\"\r\n >\r\n </sqm-hero-image>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-program-explainer header=\"How it works\">\r\n <sqm-program-explainer-step\r\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\r\n header=\"Earn points for using our product\"\r\n icon=\"cash-stack\"\r\n text-color=\"#000000\"\r\n >\r\n </sqm-program-explainer-step>\r\n <sqm-program-explainer-step\r\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\r\n header=\"Redeem rewards with your points\"\r\n icon=\"people\"\r\n text-color=\"#000000\"\r\n >\r\n </sqm-program-explainer-step>\r\n </sqm-program-explainer>\r\n <sqm-portal-container\r\n center\r\n direction=\"row\"\r\n display=\"flex\"\r\n justify-content=\"space-between\"\r\n gap=\"xxx-large\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\r\n >\r\n <sqm-text>\r\n <p>Points Redeemed</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\r\n >\r\n <sqm-text>\r\n <p>Points Balance</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n <sqm-scroll\r\n scroll-id=\"tab-2\"\r\n outline\r\n button-type=\"primary\"\r\n button-text=\"Redeem your rewards\"\r\n mobile\r\n size=\"medium\"\r\n >\r\n </sqm-scroll>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-titled-section\r\n label-margin=\"small\"\r\n padding=\"none\"\r\n text-align=\"left\"\r\n >\r\n <sqm-text>Earn points </sqm-text>\r\n </sqm-titled-section>\r\n <sqm-card-feed gap=\"24\" width=\"347\">\r\n <sqm-task-card\r\n reward-amount=\"20\"\r\n goal=\"1\"\r\n card-title=\"Complete a Survey\"\r\n description=\"Fill out our NPS survey and get 100 points for giving us honest feedback.\"\r\n button-text=\"Take survey\"\r\n reward-unit=\"Points\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"250\"\r\n goal=\"500\"\r\n show-progress-bar\r\n card-title=\"Spend $500\"\r\n description=\"Earn 150 points when you spend $500 or more.\"\r\n button-text=\"See plans\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n progress-bar-unit=\"$\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n goal=\"1\"\r\n reward-amount=\"50\"\r\n card-title=\"Follow Us on Twitter\"\r\n description=\"Earn 50 points when you follow us on Twitter!\"\r\n button-text=\"Follow\"\r\n button-link=\"https://twitter.com/\"\r\n open-new-tab=\"true\"\r\n event-key=\"socialFollow\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"1\"\r\n reward-unit=\"Free Month\"\r\n goal=\"1\"\r\n card-title=\"Upgrade Your Plan\"\r\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\r\n button-text=\"Upgrade\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n open-new-tab=\"false\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n </sqm-card-feed>\r\n <sqm-tabs placement=\"top\">\r\n <sqm-tab header=\"Reward history\">\r\n <sqm-rewards-table\r\n per-page=\"4\"\r\n hidden-columns=\"0\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-rewards-table-reward-column\r\n available-text=\"{availableAmount} remaining\"\r\n column-title=\"Reward\"\r\n copy-text=\"Copied!\"\r\n redeemed-text=\"{redeemedAmount} redeemed\"\r\n >\r\n </sqm-rewards-table-reward-column>\r\n <sqm-rewards-table-source-column\r\n anonymous-user=\"Anonymous User\"\r\n column-title=\"Source\"\r\n deleted-user=\"Deleted User\"\r\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\r\n reward-exchange-text=\"Reward Exchange\"\r\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\r\n >\r\n </sqm-rewards-table-source-column>\r\n <sqm-rewards-table-status-column\r\n column-title=\"Status\"\r\n expiry-text=\"Expires on \"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-rewards-table-status-column>\r\n <sqm-rewards-table-date-column\r\n column-title=\"Date received\"\r\n date-shown=\"dateGiven\"\r\n >\r\n </sqm-rewards-table-date-column>\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\r\n empty-state-header=\"View your rewards\"\r\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\r\n >\r\n </sqm-empty>\r\n </sqm-rewards-table>\r\n </sqm-tab>\r\n <sqm-tab header=\"Redeem\">\r\n <sqm-reward-exchange-list\r\n back-text=\"Back\"\r\n button-text=\"Exchange Rewards\"\r\n cancel-text=\"Cancel\"\r\n choose-amount-title=\"Select\"\r\n choose-reward-title=\"Rewards\"\r\n confirmation-title=\"Confirm\"\r\n continue-text=\"Continue\"\r\n continue-to-confirmation-text=\"Continue to confirmation\"\r\n done-text=\"Done\"\r\n reward-title=\"Choose a reward\"\r\n not-available-error=\"{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }\"\r\n not-enough-error=\"Not enough {sourceUnit} to redeem for this reward\"\r\n query-error=\"Unable to load reward exchange list. Please try again\"\r\n redeem-text=\"Redeem\"\r\n redeem-title=\"Confirm and redeem\"\r\n redemption-error=\"An error occured trying to redeem this reward. Please try again\"\r\n redemption-success-text=\"Redeemed {sourceValue} for {destinationValue}\"\r\n select-text=\"Select amount to receive\"\r\n source-amount-message=\"{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}\"\r\n tooltiptext=\"Copied\"\r\n reward-name-title=\"Reward\"\r\n reward-amount-title=\"Reward Amount\"\r\n cost-title=\"Cost to Redeem\"\r\n reward-redeemed-text=\"Reward redeemed\"\r\n skeleton-card-num=\"8\"\r\n promo-code=\"Promo Code\"\r\n tooltip-text=\"Copied!\"\r\n >\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png\"\r\n empty-state-header=\"Redeem rewards\"\r\n empty-state-text=\"Use your points to redeem rewards once they become available\"\r\n ></sqm-empty>\r\n </sqm-reward-exchange-list>\r\n </sqm-tab>\r\n </sqm-tabs>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
|
|
3662
|
+
const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"small\"\r\n gap=\"xxxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-hero-image\r\n image-url=\"https://i.imgur.com/bTwu1Um.png\"\r\n header=\"MyCompany Rewards\"\r\n description=\"Complete tasks to earn rewards\"\r\n layout=\"overlay\"\r\n padding-image=\"xxxx-large\"\r\n padding-text=\"xxx-large\"\r\n image-pos=\"center\"\r\n overlay-color=\"#5e5669\"\r\n overlay-opacity=\"0.9\"\r\n >\r\n </sqm-hero-image>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xxx-large\"\r\n max-width=\"770px\"\r\n center\r\n display=\"grid\"\r\n >\r\n <sqm-program-explainer header=\"How it works\">\r\n <sqm-program-explainer-step\r\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\r\n header=\"Earn points for using our product\"\r\n icon=\"cash-stack\"\r\n text-color=\"#000000\"\r\n >\r\n </sqm-program-explainer-step>\r\n <sqm-program-explainer-step\r\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\r\n header=\"Redeem rewards with your points\"\r\n icon=\"people\"\r\n text-color=\"#000000\"\r\n >\r\n </sqm-program-explainer-step>\r\n </sqm-program-explainer>\r\n <sqm-portal-container\r\n center\r\n direction=\"row\"\r\n display=\"flex\"\r\n justify-content=\"space-between\"\r\n gap=\"xxx-large\"\r\n max-width=\"100%\"\r\n padding=\"none\"\r\n >\r\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\r\n >\r\n <sqm-text>\r\n <p>Points Redeemed</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n <sqm-big-stat\r\n flex-reverse=\"true\"\r\n alignment=\"left\"\r\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\r\n >\r\n <sqm-text>\r\n <p>Points Balance</p>\r\n </sqm-text>\r\n </sqm-big-stat>\r\n </sqm-stat-container>\r\n <sqm-scroll\r\n scroll-id=\"tab-2\"\r\n outline\r\n button-type=\"primary\"\r\n button-text=\"Redeem your rewards\"\r\n mobile\r\n size=\"medium\"\r\n >\r\n </sqm-scroll>\r\n </sqm-portal-container>\r\n <sqm-portal-container\r\n direction=\"column\"\r\n padding=\"none\"\r\n gap=\"xx-large\"\r\n display=\"grid\"\r\n max-width=\"100%\"\r\n >\r\n <sqm-titled-section\r\n label-margin=\"small\"\r\n padding=\"none\"\r\n text-align=\"left\"\r\n >\r\n <sqm-text>Earn points </sqm-text>\r\n </sqm-titled-section>\r\n <sqm-card-feed gap=\"24\" width=\"347\">\r\n <sqm-task-card\r\n reward-amount=\"20\"\r\n goal=\"1\"\r\n card-title=\"Complete a Survey\"\r\n description=\"Fill out our NPS survey and get 100 points for giving us honest feedback.\"\r\n button-text=\"Take survey\"\r\n reward-unit=\"Points\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"250\"\r\n goal=\"500\"\r\n show-progress-bar\r\n card-title=\"Spend $500\"\r\n description=\"Earn 150 points when you spend $500 or more.\"\r\n button-text=\"See plans\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n progress-bar-unit=\"$\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n goal=\"1\"\r\n reward-amount=\"50\"\r\n card-title=\"Follow Us on Twitter\"\r\n description=\"Earn 50 points when you follow us on Twitter!\"\r\n button-text=\"Follow\"\r\n button-link=\"https://twitter.com/\"\r\n open-new-tab=\"true\"\r\n event-key=\"socialFollow\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n finite=\"0\"\r\n reward-unit=\"Points\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n <sqm-task-card\r\n reward-amount=\"1\"\r\n reward-unit=\"Free Month\"\r\n goal=\"1\"\r\n card-title=\"Upgrade Your Plan\"\r\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\r\n button-text=\"Upgrade\"\r\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\r\n ended-message=\"Ended {endDate}\"\r\n expiry-message=\"Ends {endDate}\"\r\n open-new-tab=\"false\"\r\n finite=\"0\"\r\n starts-on-message=\"Starts {startDate}\"\r\n >\r\n </sqm-task-card>\r\n </sqm-card-feed>\r\n <sqm-tabs placement=\"top\">\r\n <sqm-tab header=\"Reward history\">\r\n <sqm-rewards-table\r\n per-page=\"4\"\r\n hidden-columns=\"0\"\r\n more-label=\"Next\"\r\n prev-label=\"Prev\"\r\n show-labels\r\n sm-breakpoint=\"599\"\r\n md-breakpoint=\"799\"\r\n >\r\n <sqm-rewards-table-reward-column\r\n available-text=\"{availableAmount} remaining\"\r\n column-title=\"Reward\"\r\n copy-text=\"Copied!\"\r\n redeemed-text=\"{redeemedAmount} redeemed\"\r\n >\r\n </sqm-rewards-table-reward-column>\r\n <sqm-rewards-table-source-column\r\n anonymous-user=\"Anonymous User\"\r\n column-title=\"Source\"\r\n deleted-user=\"Deleted User\"\r\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\r\n reward-exchange-text=\"Reward Exchange\"\r\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\r\n >\r\n </sqm-rewards-table-source-column>\r\n <sqm-rewards-table-status-column\r\n column-title=\"Status\"\r\n expiry-text=\"Expires on \"\r\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\r\n >\r\n </sqm-rewards-table-status-column>\r\n <sqm-rewards-table-date-column\r\n column-title=\"Date received\"\r\n date-shown=\"dateGiven\"\r\n >\r\n </sqm-rewards-table-date-column>\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\r\n empty-state-header=\"View your rewards\"\r\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\r\n >\r\n </sqm-empty>\r\n </sqm-rewards-table>\r\n </sqm-tab>\r\n <sqm-tab header=\"Redeem\">\r\n <sqm-reward-exchange-list\r\n back-text=\"Back\"\r\n button-text=\"Exchange Rewards\"\r\n cancel-text=\"Cancel\"\r\n choose-amount-title=\"Select\"\r\n choose-reward-title=\"Rewards\"\r\n confirmation-title=\"Confirm\"\r\n continue-text=\"Continue\"\r\n continue-to-confirmation-text=\"Continue to confirmation\"\r\n done-text=\"Done\"\r\n reward-title=\"Choose a reward\"\r\n not-available-error=\"{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {unavailableReasonCode} }\"\r\n not-enough-error=\"Not enough {sourceUnit} to redeem for this reward\"\r\n query-error=\"Unable to load reward exchange list. Please try again\"\r\n redeem-text=\"Redeem\"\r\n redeem-title=\"Confirm and redeem\"\r\n redemption-error=\"An error occured trying to redeem this reward. Please try again\"\r\n redemption-success-text=\"Redeemed {sourceValue} for {destinationValue}\"\r\n select-text=\"Select amount to receive\"\r\n source-amount-message=\"{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}\"\r\n tooltiptext=\"Copied\"\r\n reward-name-title=\"Reward\"\r\n reward-amount-title=\"Reward Amount\"\r\n cost-title=\"Cost to Redeem\"\r\n reward-redeemed-text=\"Reward redeemed\"\r\n skeleton-card-num=\"8\"\r\n promo-code=\"Promo Code\"\r\n tooltip-text=\"Copied!\"\r\n >\r\n <sqm-empty\r\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png\"\r\n empty-state-header=\"Redeem rewards\"\r\n empty-state-text=\"Use your points to redeem rewards once they become available\"\r\n ></sqm-empty>\r\n </sqm-reward-exchange-list>\r\n </sqm-tab>\r\n </sqm-tabs>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n </sqm-portal-container>\r\n</sqm-brand>\r\n";
|
|
3664
3663
|
|
|
3665
3664
|
const Widget_stories = {
|
|
3666
3665
|
title: "Templates / Widgets",
|
|
@@ -9382,7 +9381,7 @@ const ReferralIframeReadme = "# sqm-referral-iframe\r\n\r\n\r\n\r\n<!-- Auto Gen
|
|
|
9382
9381
|
|
|
9383
9382
|
const ForgotPasswordReadme = "# sqm-portal-forgot-password\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------- | --------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the password reset email. | `string` | `\"/resetPassword\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-forgot-password --> sqm-form-message\r\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
9384
9383
|
|
|
9385
|
-
const RegisterReadme = "# sqm-portal-register\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; };
|
|
9384
|
+
const RegisterReadme = "# sqm-portal-register\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\r\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\r\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\r\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; validationState?: FormState; enablePasswordValidation?: boolean; loginPath: string; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; refs?: { formRef: any; }; }` | `undefined` |\r\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\r\n| `enablePasswordValidation` | `enable-password-validation` | | `boolean` | `true` |\r\n| `hideInputs` | `hide-inputs` | | `boolean` | `false` |\r\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\r\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\r\n| `nextPage` | `next-page` | | `string` | `\"/\"` |\r\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\r\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\r\n| `redirectPath` | `redirect-path` | The page that users are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\r\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Used by\r\n\r\n - [sqm-stencilbook](../sqm-stencilbook)\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n- [sqm-password-field](../sqm-password-field)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-register --> sqm-form-message\r\n sqm-portal-register --> sqm-password-field\r\n sqm-stencilbook --> sqm-portal-register\r\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
9386
9385
|
|
|
9387
9386
|
const EditProfileReadme = "# sqm-portal-profile\r\n\r\n\r\n\r\n<!-- Auto Generated Below -->\r\n\r\n\r\n## Properties\r\n\r\n| Property | Attribute | Description | Type | Default |\r\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\r\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\r\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\r\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\r\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\r\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\r\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\r\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\r\n| `showCountry` | `show-country` | | `boolean` | `true` |\r\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\r\n\r\n\r\n## Dependencies\r\n\r\n### Depends on\r\n\r\n- [sqm-form-message](../sqm-form-message)\r\n\r\n### Graph\r\n```mermaid\r\ngraph TD;\r\n sqm-portal-profile --> sqm-form-message\r\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\r\n```\r\n\r\n----------------------------------------------\r\n\r\n*Built with [StencilJS](https://stenciljs.com/)*\r\n";
|
|
9388
9387
|
|
|
@@ -9881,10 +9880,10 @@ const errorProps$8 = {
|
|
|
9881
9880
|
},
|
|
9882
9881
|
};
|
|
9883
9882
|
const NameFields = () => {
|
|
9884
|
-
return index.h(
|
|
9883
|
+
return index.h(ShadowViewAddon.NameFieldsView, Object.assign({}, props$1));
|
|
9885
9884
|
};
|
|
9886
9885
|
const NameFieldsWithErrors = () => {
|
|
9887
|
-
return index.h(
|
|
9886
|
+
return index.h(ShadowViewAddon.NameFieldsView, Object.assign({}, errorProps$8));
|
|
9888
9887
|
};
|
|
9889
9888
|
|
|
9890
9889
|
const NameFields$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -9894,6 +9893,259 @@ const NameFields$1 = /*#__PURE__*/Object.freeze({
|
|
|
9894
9893
|
NameFieldsWithErrors: NameFieldsWithErrors
|
|
9895
9894
|
});
|
|
9896
9895
|
|
|
9896
|
+
const CheckboxField_stories = {
|
|
9897
|
+
title: "Components/Checkbox Field",
|
|
9898
|
+
};
|
|
9899
|
+
const defaultProps$a = {
|
|
9900
|
+
states: {
|
|
9901
|
+
validationErrors: {},
|
|
9902
|
+
checked: false,
|
|
9903
|
+
},
|
|
9904
|
+
content: {
|
|
9905
|
+
checkboxName: "agree",
|
|
9906
|
+
checkboxLabel: "By signing up you agree to the {labelLink}",
|
|
9907
|
+
checkboxLabelLink: "https://example.com",
|
|
9908
|
+
checkboxLabelLinkText: "Terms and Conditions",
|
|
9909
|
+
errorMessage: "Must be checked",
|
|
9910
|
+
},
|
|
9911
|
+
callbacks: {
|
|
9912
|
+
setChecked: () => { },
|
|
9913
|
+
},
|
|
9914
|
+
};
|
|
9915
|
+
const defaultRegisterProps = {
|
|
9916
|
+
states: {
|
|
9917
|
+
error: "",
|
|
9918
|
+
loading: false,
|
|
9919
|
+
confirmPassword: true,
|
|
9920
|
+
hideInputs: false,
|
|
9921
|
+
loginPath: "/login",
|
|
9922
|
+
},
|
|
9923
|
+
callbacks: {
|
|
9924
|
+
submit: () => console.log("Submit!"),
|
|
9925
|
+
inputFunction: () => { },
|
|
9926
|
+
},
|
|
9927
|
+
refs: {
|
|
9928
|
+
formRef: {},
|
|
9929
|
+
},
|
|
9930
|
+
content: { pageLabel: "Register", confirmPasswordLabel: "Confirm Password" },
|
|
9931
|
+
};
|
|
9932
|
+
const Default$b = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a))));
|
|
9933
|
+
const DefaultChecked = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
|
|
9934
|
+
...defaultProps$a.states,
|
|
9935
|
+
checked: true,
|
|
9936
|
+
} }))));
|
|
9937
|
+
const CustomLabel = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { content: {
|
|
9938
|
+
...defaultProps$a.content,
|
|
9939
|
+
checkboxLabel: "I Agree",
|
|
9940
|
+
} }))));
|
|
9941
|
+
const Error$3 = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
|
|
9942
|
+
...defaultProps$a.states,
|
|
9943
|
+
validationErrors: {
|
|
9944
|
+
agree: "Must be checked",
|
|
9945
|
+
},
|
|
9946
|
+
} }))));
|
|
9947
|
+
const CustomError = createHookStory(() => (index.h(ShadowViewAddon.CheckboxFieldView, Object.assign({}, defaultProps$a, { states: {
|
|
9948
|
+
...defaultProps$a.states,
|
|
9949
|
+
validationErrors: {
|
|
9950
|
+
agree: "This checkbox must be checked to continue",
|
|
9951
|
+
},
|
|
9952
|
+
} }))));
|
|
9953
|
+
const TermsAndConditions$1 = createHookStory(() => (index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
9954
|
+
//@ts-ignore
|
|
9955
|
+
content: {
|
|
9956
|
+
...defaultRegisterProps.content,
|
|
9957
|
+
terms: (index.h("p", null,
|
|
9958
|
+
index.h("sqm-checkbox-field", null))),
|
|
9959
|
+
} }))));
|
|
9960
|
+
const TermsAndConditionsCustomLabel = createHookStory(() => (index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
9961
|
+
//@ts-ignore
|
|
9962
|
+
content: {
|
|
9963
|
+
...defaultRegisterProps.content,
|
|
9964
|
+
terms: (index.h("p", null,
|
|
9965
|
+
"By signing up you agree to the",
|
|
9966
|
+
" ",
|
|
9967
|
+
index.h("a", { href: "https://example.com", target: "_blank" }, "Terms and Conditions"),
|
|
9968
|
+
index.h("sqm-checkbox-field", { "checkbox-label": "I agree" }))),
|
|
9969
|
+
} }))));
|
|
9970
|
+
const TermsAndConditionsLongCustomLabel = createHookStory(() => (index.h(ShadowViewAddon.PortalRegisterView, Object.assign({}, defaultRegisterProps, {
|
|
9971
|
+
//@ts-ignore
|
|
9972
|
+
content: {
|
|
9973
|
+
...defaultRegisterProps.content,
|
|
9974
|
+
terms: (index.h("sqm-checkbox-field", { "checkbox-label": "Participants must be at least 18 years of age and a legal resident of the U.S. or Canada. By signing up to participate in the rewards program, you agree to the {labelLink}.", "checkbox-label-link": "https://www.example.com", "checkbox-label-link-text": "terms", "checkbox-name": "termsAndConditions" })),
|
|
9975
|
+
} }))));
|
|
9976
|
+
|
|
9977
|
+
const CheckboxField = /*#__PURE__*/Object.freeze({
|
|
9978
|
+
__proto__: null,
|
|
9979
|
+
'default': CheckboxField_stories,
|
|
9980
|
+
Default: Default$b,
|
|
9981
|
+
DefaultChecked: DefaultChecked,
|
|
9982
|
+
CustomLabel: CustomLabel,
|
|
9983
|
+
Error: Error$3,
|
|
9984
|
+
CustomError: CustomError,
|
|
9985
|
+
TermsAndConditions: TermsAndConditions$1,
|
|
9986
|
+
TermsAndConditionsCustomLabel: TermsAndConditionsCustomLabel,
|
|
9987
|
+
TermsAndConditionsLongCustomLabel: TermsAndConditionsLongCustomLabel
|
|
9988
|
+
});
|
|
9989
|
+
|
|
9990
|
+
const UseCheckboxField_stories = {
|
|
9991
|
+
title: "Hooks / useCheckboxField",
|
|
9992
|
+
};
|
|
9993
|
+
function setupGraphQL$9() {
|
|
9994
|
+
const id = "testestest";
|
|
9995
|
+
const accountId = id;
|
|
9996
|
+
const programId = "sam-partner-test-2";
|
|
9997
|
+
//@ts-ignore
|
|
9998
|
+
window.widgetIdent = {
|
|
9999
|
+
tenantAlias: "test_a8b41jotf8a1v",
|
|
10000
|
+
appDomain: "https://staging.referralsaasquatch.com",
|
|
10001
|
+
programId,
|
|
10002
|
+
};
|
|
10003
|
+
stencilHooks_module.useEffect(() => {
|
|
10004
|
+
index_module.ae({
|
|
10005
|
+
accountId,
|
|
10006
|
+
id,
|
|
10007
|
+
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10008
|
+
});
|
|
10009
|
+
return () => {
|
|
10010
|
+
window.widgetIdent = undefined;
|
|
10011
|
+
index_module.ae(undefined);
|
|
10012
|
+
};
|
|
10013
|
+
}, []);
|
|
10014
|
+
return { id, accountId };
|
|
10015
|
+
}
|
|
10016
|
+
const TermsAndConditions$2 = createHookStory(() => {
|
|
10017
|
+
setupGraphQL$9();
|
|
10018
|
+
return (index.h("sqm-portal-register", null,
|
|
10019
|
+
index.h("div", { slot: "terms" },
|
|
10020
|
+
index.h("sqm-checkbox-field", { "checkbox-name": "terms" }))));
|
|
10021
|
+
});
|
|
10022
|
+
const TermsAndConditionsWithLabel = createHookStory(() => {
|
|
10023
|
+
setupGraphQL$9();
|
|
10024
|
+
return (index.h("sqm-portal-register", null,
|
|
10025
|
+
index.h("div", { slot: "terms" },
|
|
10026
|
+
index.h("sqm-checkbox-field", { "checkbox-label": "I agree", "checkbox-name": "terms" }))));
|
|
10027
|
+
});
|
|
10028
|
+
const MultipleCheckboxes = createHookStory(() => {
|
|
10029
|
+
setupGraphQL$9();
|
|
10030
|
+
return (index.h("sqm-portal-register", null,
|
|
10031
|
+
index.h("sqm-name-fields", { slot: "formData" }),
|
|
10032
|
+
index.h("sqm-checkbox-field", { slot: "formData", "checkbox-label": "I am not a robot", "error-message": "Cannot be a robot", "checkbox-name": "isHuman" }),
|
|
10033
|
+
index.h("div", { slot: "terms" },
|
|
10034
|
+
index.h("sqm-checkbox-field", null))));
|
|
10035
|
+
});
|
|
10036
|
+
const OptionalCheckboxes = createHookStory(() => {
|
|
10037
|
+
setupGraphQL$9();
|
|
10038
|
+
return (index.h("sqm-portal-register", null,
|
|
10039
|
+
index.h("sqm-name-fields", { slot: "formData" }),
|
|
10040
|
+
index.h("sqm-checkbox-field", { slot: "formData", "checkbox-label": "I am not a robot", "checkbox-required": "false", "checkbox-name": "isHuman" }),
|
|
10041
|
+
index.h("div", { slot: "terms" },
|
|
10042
|
+
index.h("sqm-checkbox-field", null))));
|
|
10043
|
+
});
|
|
10044
|
+
|
|
10045
|
+
const UseCheckboxField = /*#__PURE__*/Object.freeze({
|
|
10046
|
+
__proto__: null,
|
|
10047
|
+
'default': UseCheckboxField_stories,
|
|
10048
|
+
TermsAndConditions: TermsAndConditions$2,
|
|
10049
|
+
TermsAndConditionsWithLabel: TermsAndConditionsWithLabel,
|
|
10050
|
+
MultipleCheckboxes: MultipleCheckboxes,
|
|
10051
|
+
OptionalCheckboxes: OptionalCheckboxes
|
|
10052
|
+
});
|
|
10053
|
+
|
|
10054
|
+
const DropdownField_stories = {
|
|
10055
|
+
title: "Components/Dropdown Field",
|
|
10056
|
+
};
|
|
10057
|
+
const defaultProps$b = {
|
|
10058
|
+
states: {
|
|
10059
|
+
validationErrors: {},
|
|
10060
|
+
},
|
|
10061
|
+
content: {
|
|
10062
|
+
dropdownName: "options",
|
|
10063
|
+
dropdownLabel: "Select an option",
|
|
10064
|
+
errorMessage: "Must select an option",
|
|
10065
|
+
selectOptions: [
|
|
10066
|
+
index.h("sl-menu-item", { value: "option-1" }, "Option 1"),
|
|
10067
|
+
index.h("sl-menu-item", { value: "option-2" }, "Option 2"),
|
|
10068
|
+
index.h("sl-menu-item", { value: "option-3" }, "Option 3"),
|
|
10069
|
+
],
|
|
10070
|
+
},
|
|
10071
|
+
};
|
|
10072
|
+
const Default$c = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b))));
|
|
10073
|
+
const CustomLabel$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { content: {
|
|
10074
|
+
...defaultProps$b.content,
|
|
10075
|
+
dropdownLabel: "Pick your favorite",
|
|
10076
|
+
} }))));
|
|
10077
|
+
const Error$4 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { states: {
|
|
10078
|
+
...defaultProps$b.states,
|
|
10079
|
+
validationErrors: {
|
|
10080
|
+
options: "Must select an option",
|
|
10081
|
+
},
|
|
10082
|
+
} }))));
|
|
10083
|
+
const CustomError$1 = createHookStory(() => (index.h(ShadowViewAddon.DropdownFieldView, Object.assign({}, defaultProps$b, { content: { ...defaultProps$b.content, errorMessage: "An option must be selected to continue", }, states: {
|
|
10084
|
+
...defaultProps$b.states,
|
|
10085
|
+
validationErrors: {
|
|
10086
|
+
options: "Must select an option",
|
|
10087
|
+
},
|
|
10088
|
+
} }))));
|
|
10089
|
+
|
|
10090
|
+
const DropdownField = /*#__PURE__*/Object.freeze({
|
|
10091
|
+
__proto__: null,
|
|
10092
|
+
'default': DropdownField_stories,
|
|
10093
|
+
Default: Default$c,
|
|
10094
|
+
CustomLabel: CustomLabel$1,
|
|
10095
|
+
Error: Error$4,
|
|
10096
|
+
CustomError: CustomError$1
|
|
10097
|
+
});
|
|
10098
|
+
|
|
10099
|
+
const UseDropdownField_stories = {
|
|
10100
|
+
title: "Hooks / useDropdownField",
|
|
10101
|
+
};
|
|
10102
|
+
function setupGraphQL$a() {
|
|
10103
|
+
const id = "testestest";
|
|
10104
|
+
const accountId = id;
|
|
10105
|
+
const programId = "sam-partner-test-2";
|
|
10106
|
+
//@ts-ignore
|
|
10107
|
+
window.widgetIdent = {
|
|
10108
|
+
tenantAlias: "test_a8b41jotf8a1v",
|
|
10109
|
+
appDomain: "https://staging.referralsaasquatch.com",
|
|
10110
|
+
programId,
|
|
10111
|
+
};
|
|
10112
|
+
stencilHooks_module.useEffect(() => {
|
|
10113
|
+
index_module.ae({
|
|
10114
|
+
accountId,
|
|
10115
|
+
id,
|
|
10116
|
+
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJpZCI6InRlc3Rlc3Rlc3QifX0.qYnU5hNeIj9C_G3NogfG7btgCPGZC7JRXY0MG6a63zs",
|
|
10117
|
+
});
|
|
10118
|
+
return () => {
|
|
10119
|
+
window.widgetIdent = undefined;
|
|
10120
|
+
index_module.ae(undefined);
|
|
10121
|
+
};
|
|
10122
|
+
}, []);
|
|
10123
|
+
return { id, accountId };
|
|
10124
|
+
}
|
|
10125
|
+
const SelectOptions = createHookStory(() => {
|
|
10126
|
+
setupGraphQL$a();
|
|
10127
|
+
return (index.h("sqm-portal-register", null,
|
|
10128
|
+
index.h("sqm-dropdown-field", { slot: "formData", "dropdown-label": "Select an option", "dropdown-name": "options" },
|
|
10129
|
+
index.h("sl-menu-item", { value: "option-1" }, "Option 1"),
|
|
10130
|
+
index.h("sl-menu-item", { value: "option-2" }, "Option 2"),
|
|
10131
|
+
index.h("sl-menu-item", { value: "option-3" }, "Option 3"))));
|
|
10132
|
+
});
|
|
10133
|
+
const Countries = createHookStory(() => {
|
|
10134
|
+
setupGraphQL$a();
|
|
10135
|
+
return (index.h("sqm-portal-register", null,
|
|
10136
|
+
index.h("sqm-dropdown-field", { slot: "formData", "dropdown-label": "Country", "dropdown-name": "countryCode" },
|
|
10137
|
+
index.h("sl-menu-item", { value: "CA" }, "Canada"),
|
|
10138
|
+
index.h("sl-menu-item", { value: "US" }, "United States"),
|
|
10139
|
+
index.h("sl-menu-item", { value: "GB" }, "United Kingdom"))));
|
|
10140
|
+
});
|
|
10141
|
+
|
|
10142
|
+
const UseDropdownField = /*#__PURE__*/Object.freeze({
|
|
10143
|
+
__proto__: null,
|
|
10144
|
+
'default': UseDropdownField_stories,
|
|
10145
|
+
SelectOptions: SelectOptions,
|
|
10146
|
+
Countries: Countries
|
|
10147
|
+
});
|
|
10148
|
+
|
|
9897
10149
|
const scenario$i = "@author:derek\r\n@owner:derek\r\nFeature: Reward Exchange List\r\n\r\n The Reward Exchange List gives end users the power to exchange their rewards for other rewards.\r\n It populates a list from the reward exchange rules set up on a given tenant.\r\n\r\n Background:\r\n Given a tenant with reward exchange rules\r\n\r\n @motivating\r\n @ui\r\n Scenario: The empty state is shown if there are no visible exchanges\r\n Given a user with no visible exchanges\r\n When they view the reward exchange\r\n Then no exchange options are displayed\r\n And they see an image of a present\r\n And \"Redeem Rewards\" in bold\r\n And \"Use your points to redeem rewards once they become available\" below the bolded text\r\n And the pagination buttons are disabled\r\n\r\n @minutae\r\n @ui\r\n Scenario: A custom empty state can be provided\r\n Given a user with no visible exchanges\r\n And a custom empty state has been supplied in the \"empty\" slot\r\n When they view the reward exchange\r\n Then they see the custom empty state\r\n\r\n @motivating\r\n @ui\r\n Scenario: A Loading Skeleton is displayed when the reward exchange rules are loading\r\n Given a user\r\n When they load the reward exchange list\r\n Then they see a loading Skeleton\r\n And it has 8 skeleton cards\r\n When the reward exchange rules have loaded\r\n Then the skeleton is replaced with reward exchange options\r\n\r\n @motivating\r\n Scenario: An error banner appears when the reward exchange list fails to load\r\n Given a user trying to view the reward exchange list\r\n But it fails to load\r\n Then an error banner is displayed\r\n And it displays \"Unable to load reward exchange list. Please try again\"\r\n\r\n @motivating\r\n @ui\r\n Scenario: The exchange progress bar progresses through the exchange process\r\n Given a user who is eligible for the tenants reward exchange rules\r\n When they view the reward exchange list\r\n Then the process bar displays the following elements\r\n | elements |\r\n | Step 1 `Rewards` title in black |\r\n | Step 1 circle with green outline, white fill and number 1 in green |\r\n | Step 2 `Select` title in grey |\r\n | Step 2 circle with grey fill and number 2 in white |\r\n | Step 3 `Confirm` title in grey |\r\n | Step 3 circle with grey fill and number 3 in white |\r\n | lines between all steps are greyed out |\r\n When they continue to the selection page\r\n Then the progress bar displays the following elements\r\n | elements |\r\n | Step 1 `Rewards` title in black |\r\n | Step 1 circle with white checkmark and green fill |\r\n | Step 2 `Select` title in black |\r\n | Step 2 circle with green outline, white fill and number 2 in green |\r\n | Step 3 `Confirm` title in grey |\r\n | Step 3 circle with grey fill and number 3 in white |\r\n | Green line between step 1 and 2 |\r\n | Grey line between step 2 and 3 |\r\n When they continue to the confirmation page\r\n Then the progress bar displays the following elements\r\n | elements |\r\n | Step 1 `Rewards` title in black |\r\n | Step 1 circle with white checkmark and green fill |\r\n | Step 2 `Select` title in black |\r\n | Step 2 circle with white checkmark and green fill |\r\n | Step 3 `Confirm` title in black |\r\n | Step 3 circle with green outline, white fill and number 3 in green |\r\n | Green line between all steps |\r\n When they continue to the redemption page\r\n Then the progress bar displays the following elements\r\n | elements |\r\n | Step 1 `Rewards` title in black |\r\n | Step 1 circle with white checkmark and green fill |\r\n | Step 2 `Select` title in black |\r\n | Step 2 circle with white checkmark and green fill |\r\n | Step 3 `Confirm` title in black |\r\n | Step 3 circle with white checkmark and green fill |\r\n | Green line between all steps |\r\n\r\n @motivating\r\n Scenario: Users must choose a reward exchange option to continue to the selection page\r\n Given a user who is eligible for the tenants reward exchange rules\r\n When they view the reward exchange list\r\n Then the 'Continue' button is disabled\r\n When they select a reward exchange card\r\n Then the card is outlined in brand colour with a brand colour cirlcular check box icon in the top right\r\n And the continue button is no longer disabled\r\n When they click \"Continue\"\r\n Then they are brought to the selection page\r\n\r\n @motivating\r\n @ui\r\n Scenario: Reward exchange rule names and images are used in the reward exchange cards\r\n Given a tenant reward exchange rule\r\n And it has name \"My Visa Exchange Rule\"\r\n And it has an image\r\n When a user views the reward exchange list\r\n Then they see a exchange card with title \"My Visa Exchange Rule\"\r\n And the exchange image on the left hand side of the card\r\n\r\n @motivating\r\n Scenario Outline: Reward exchange source values are displayed on reward exchange cards\r\n Given a <type> reward exchange rule\r\n When a user views the reward exchange list\r\n Then they see <text> under the name on the exchange option cards\r\n And the pretty values are localized to a user locale\r\n Examples:\r\n | type | text |\r\n | FIXED_GLOBAL_REWARD | the exchange source pretty value |\r\n | STEPPED_FIXED_GLOBAL_REWARD | the exchange source min pretty value to the source max pretty value |\r\n | VARIABLE_GLOBAL_REWARD | the exchange source min pretty value to the source max pretty value |\r\n | VARIABLE_CREDIT_REWARD | the exchange source min pretty value to the source max pretty value |\r\n\r\n @motivating\r\n Scenario Outline: Reward exchange cards can display customized error messages\r\n Given a reward exchange rule\r\n And it has <availabilityPredicate>\r\n And the reward exchange list has prop \"not-available-error\" with <value>\r\n When the user views the reward exchange list\r\n Then the card for the reward exchange rule is disabled\r\n And <message> is displayed\r\n Examples:\r\n | availabilityPredicate | value | message |\r\n | 'champion' in user.segments ? \"NOT_CHAMPION\" : true | {unavailableReasonCode, select, NOT_CHAMPION {Sorry must be a champion!} other {unavailableReasonCode} } | Sorry must be a champion! |\r\n | user.customFields.purchaseCount < 10 ? \"MORE_PURCHASE\" : true | {unavailableReasonCode, select, MORE_PURCHASE {Complete 10 purchases to unlock} other {unavailableReasonCode} } | Complete 10 purchases to unlock |\r\n\r\n @motivating\r\n Scenario: Exchange options are disabled if they put a user over the W9 limit\r\n Given a user who is approaching their W9 limit\r\n And a reward exchange rule\r\n And its destination reward has a US taxable value that would put the user over their limit\r\n When they view the reward exchange list\r\n Then the reward exchange card is disabled\r\n And a \"US Tax Limit\" error message is displayed on to the right of a exclamation triangle icon\r\n And the text is orange\r\n And the icon is orange\r\n\r\n @motivating\r\n Scenario Outline: Exchange options are disabled if a users lacks enough credit to redeem\r\n Given a <type> reward exchange rule\r\n But the user lacks enough credit to exchange for it\r\n When they view the reward exchange list\r\n Then the reward exchange card is disabled\r\n And a <text> error message is displayed on to the right of a exclamation triangle icon\r\n And the text is orange\r\n And the icon is orange\r\n Examples:\r\n | type | text |\r\n | FIXED_GLOBAL_REWARD | {prettySourceValue} required |\r\n | STEPPED_FIXED_GLOBAL_REWARD | {prettySourceMinValue} required |\r\n | VARIABLE_GLOBAL_REWARD | {prettySourceMinValue} required |\r\n | VARIABLE_CREDIT_REWARD | {prettySourceMinValue} required |\r\n\r\n @motivating\r\n Scenario: Users can go back to the Rewards page from the Select page\r\n Given a user viewing the Select page\r\n Then they see a \"Cancel\" text button\r\n And a \"Continue to confirmation\" brand colour button in the bottom right corner\r\n When they click \"Cancel\"\r\n Then they return to the Rewards page\r\n\r\n @motivating\r\n Scenario: Users can go back to the Select Page from the Confirm page\r\n Given a user viewing the Confirm page\r\n Then they see a \"Back\" text button\r\n And a \"Redeem\" brand colour button in the bottom right corner\r\n When they click \"Back\"\r\n Then they return to the Select Page\r\n\r\n @motivating\r\n Scenario: Reward rules with visibility predicates that evaluates to false are not shown\r\n Given a tenant reward exchange rule with visibility predicates that evaluates to false\r\n When a user views the reward exchange list\r\n Then they do not see the card for that reward exchange rule\r\n\r\n @motivating\r\n Scenario Outline: Users can choose their reward option for variable rewards on the Select page\r\n Given a <type> exchange rule\r\n And it has the following fields\r\n | fields |\r\n | name |\r\n | description |\r\n | image |\r\n When a user views the reward exchange list\r\n And they progress to the Select page for this exchange\r\n Then they see the exchange rule image on the left hand side\r\n And on the right hand side they see the following in this order from top to bottom\r\n | elements |\r\n | exchange name |\r\n | exchange description |\r\n | select list with all exchange options using pretty values, destination reward above source reward |\r\n Examples:\r\n | type |\r\n | STEPPED_FIXED_GLOBAL_REWARD |\r\n | VARIABLE_GLOBAL_REWARD |\r\n | VARIABLE_CREDIT_REWARD |\r\n\r\n @motivating\r\n Scenario: Users who selected a fixed exchange rule see exchange information on the Select page\r\n Given a \"FIXED_GLOBAL_REWARD\" exchange rule\r\n And it has the following fields\r\n | fields |\r\n | name |\r\n | description |\r\n | image |\r\n When a user views the reward exchange list\r\n And they progress to the Select page for this exchange\r\n Then they see the exchange rule image on the left hand side\r\n And on the right hand side they see the following in this order from top to bottom\r\n | elements |\r\n | exchange name |\r\n | exchange source pretty value displayed in brand colour |\r\n | exchange description |\r\n\r\n @motivating\r\n Scenario Outline: Users selection variable rewards can only select rewards they are eligible to exchange for\r\n Given a <type> exchange rule\r\n When a user views the reward exchange list\r\n And they progress to the Select page for this exchange\r\n Then they see a drop down with all the reward exchange selections\r\n When they click on the drop down\r\n But they are not eligible for all of the exchanges options <dueToReason>\r\n Then the ineligble options are disabled\r\n And under the source value is <text>\r\n Examples:\r\n | type | dueToReason | text |\r\n | STEPPED_FIXED_GLOBAL_REWARD | due to insufficent source value | {prettySourceValue} required |\r\n | VARIABLE_GLOBAL_REWARD | due to insufficent source value | {prettySourceValue} required |\r\n | VARIABLE_CREDIT_REWARD | due to insufficent source value | {prettySourceValue} required |\r\n | STEPPED_FIXED_GLOBAL_REWARD | W9 | US Tax Limit |\r\n | VARIABLE_GLOBAL_REWARD | W9 | US Tax Limit |\r\n | VARIABLE_CREDIT_REWARD | W9 | US Tax Limit |\r\n\r\n @motivating\r\n Scenario Outline: The Confirm page allows users to view their exchange before committing\r\n Given a <type> exchange rule\r\n When a user views the reward exchange list\r\n And they select the exchange\r\n And they progress to Confirm page\r\n Then they see a row with title \"Reward\"\r\n And it contains the exchange name\r\n And it contains the exchange image\r\n And they <maySee> a row with title \"Reward Amount\"\r\n And it <mayContain> <amountTitle>\r\n And they see a row with title \"Cost to Redeem\"\r\n And it contains the source reward pretty value in bolded text\r\n Examples:\r\n | type | maySee | mayContain | amountTitle |\r\n | FIXED_GLOBAL_REWARD | don't | doesn't contain | N/A |\r\n | VARIABLE_GLOBAL_REWARD | see | contains | the pretty destination value |\r\n | STEPPED_FIXED_GLOBAL_REWARD | see | contains | the pretty destination value |\r\n | VARIABLE_CREDIT_REWARD | see | contains | the pretty destination value |\r\n\r\n @motivating\r\n Scenario: An error banner is displayed if an error occurs during redemeption\r\n Given a user has selected a reward to exchange\r\n And is on the confirmation page\r\n When they click \"Redeem\"\r\n But an error occurs\r\n Then an error banner appears\r\n And it contains details about the error\r\n And the reward exchange is not completed\r\n\r\n @motivating\r\n Scenario: Confetti is displayed when a reward exchange succeeds\r\n Given a user has selected a reward to exchange\r\n And they are on the confirmation page\r\n When they click \"Redeem\"\r\n And the exchange is successful\r\n Then they see confetti centered on the success page\r\n And they see text describing what they exchanged for their new reward\r\n And they see a \"Done\" brand colour button\r\n When they click \"Done\"\r\n Then they see the Rewards page\r\n\r\n @motivating\r\n Scenario: Fuel tank codes are shown when a reward exchange succeeds\r\n Given a user has selected to exchange for a fuel tank reward\r\n When they complete the reward exchange\r\n And are on the success page\r\n Then they see a textbox with their fuel tank code\r\n And a clipboard icon\r\n When they click the clipboard icon\r\n Then their fuel tank code is copied to their clipboard\r\n\r\n @motivating\r\n Scenario Outline: Users can exchange for any type of reward\r\n Given a <type> reward exchange rule for a <reward>\r\n And a user who has enough source credit to exchange for the reward\r\n When they go through the exchange flow\r\n And exchange for their reward\r\n Then their credit is exchanged for the <reward>\r\n Examples:\r\n | type | reward |\r\n | FIXED_GLOBAL_REWARD | gift card |\r\n | FIXED_GLOBAL_REWARD | fuel tank code |\r\n | FIXED_GLOBAL_REWARD | discount |\r\n | FIXED_GLOBAL_REWARD | credit reward |\r\n | STEPPED_FIXED_GLOBAL_REWARD | gift card |\r\n | STEPPED_FIXED_GLOBAL_REWARD | discount |\r\n | STEPPED_FIXED_GLOBAL_REWARD | credit reward |\r\n | VARIABLE_GLOBAL_REWARD | gift card |\r\n | VARIABLE_GLOBAL_REWARD | discount |\r\n | VARIABLE_GLOBAL_REWARD | credit reward |\r\n | VARIABLE_CREDIT_REWARD | credit reward |";
|
|
9898
10150
|
|
|
9899
10151
|
const RewardExchangeList_stories = {
|
|
@@ -10963,7 +11215,7 @@ const RewardsTable$1 = /*#__PURE__*/Object.freeze({
|
|
|
10963
11215
|
const UseReferralTable_stories = {
|
|
10964
11216
|
title: "Hooks / useReferralTable",
|
|
10965
11217
|
};
|
|
10966
|
-
function setupGraphQL$
|
|
11218
|
+
function setupGraphQL$b() {
|
|
10967
11219
|
const id = "testestest";
|
|
10968
11220
|
const accountId = id;
|
|
10969
11221
|
//@ts-ignore
|
|
@@ -11006,7 +11258,7 @@ function setupGraphQLKlip$1({ token, id }) {
|
|
|
11006
11258
|
return { id, accountId };
|
|
11007
11259
|
}
|
|
11008
11260
|
const ReferralTable$1 = createHookStory(() => {
|
|
11009
|
-
setupGraphQL$
|
|
11261
|
+
setupGraphQL$b();
|
|
11010
11262
|
index_module.A("sam-partner-test-2");
|
|
11011
11263
|
return (index.h("sqm-referral-table", null,
|
|
11012
11264
|
index.h("sqm-referral-table-user-column", null),
|
|
@@ -11766,7 +12018,7 @@ const Scroll = /*#__PURE__*/Object.freeze({
|
|
|
11766
12018
|
ShoelaceProps: ShoelaceProps
|
|
11767
12019
|
});
|
|
11768
12020
|
|
|
11769
|
-
const scenario$v = "@author:Zach\r\n@owner:Zach\r\nFeature: Tabs\r\n\r\n The Tabs takes in the Tab component as children and maps through to display their header and content.\r\n\r\n Background: A user on the portal is viewing the widget\r\n Given a user viewing the Tabs component\r\n\r\n @motivating\r\n Scenario: Content inside the active tab is shown\r\n Given the header is set to <tabHeader>\r\n And the content inside is <tabContent>\r\n And the user has clicked <tabHeader>\r\n Then the <tabContent> is shown\r\n Examples:\r\n | tabHeader | tabContent |\r\n | Settings | This is the settings tab |\r\n | General | This is the general tab |\r\n | History | This is the history tab |\r\n\r\n @motivating\r\n @ui\r\n Scenario: The placement of the tabs is configurable\r\n Given The placement prop has been passed a valid <placement>\r\n Then tabs are placed on the <placementResult>\r\n Examples:\r\n | placement | placementResult |\r\n | | top of the content |\r\n | left | left hand side of the content |\r\n | right | right hand side of the content |\r\n | bottom | bottom of the content |\r\n\r\n\r\n @minutae\r\n @ui\r\n Scenario Outline: Tabs are setup to use the brand color\r\n Given the brand color is set to darkblue\r\n Then the text inside the active tab is darkblue\r\n And the underline of the active tab is darkblue\r\n\r\n @ui\r\n Scenario: Tabs are responsive\r\n Given the user is on a mobile device\r\n When there are more tabs than the horizontal space allows for\r\n Then clickable arrows appear on the left and right of the tabs\r\n And the tabs are scrollable";
|
|
12021
|
+
const scenario$v = "@author:Zach\r\n@owner:Zach\r\nFeature: Tabs\r\n\r\n The Tabs takes in the Tab component as children and maps through to display their header and content.\r\n\r\n Background: A user on the portal is viewing the widget\r\n Given a user viewing the Tabs component\r\n\r\n @motivating\r\n Scenario: Content inside the active tab is shown\r\n Given the header is set to <tabHeader>\r\n And the content inside is <tabContent>\r\n And the user has clicked <tabHeader>\r\n Then the <tabContent> is shown\r\n Examples:\r\n | tabHeader | tabContent |\r\n | Settings | This is the settings tab |\r\n | General | This is the general tab |\r\n | History | This is the history tab |\r\n\r\n @motivating\r\n @ui\r\n Scenario: The placement of the tabs is configurable\r\n Given The placement prop has been passed a valid <placement>\r\n Then tabs are placed on the <placementResult>\r\n Examples:\r\n | placement | placementResult |\r\n | | top of the content |\r\n | left | left hand side of the content |\r\n | right | right hand side of the content |\r\n | bottom | bottom of the content |\r\n\r\n\r\n @minutae\r\n @ui\r\n Scenario Outline: Tabs are setup to use the brand color\r\n Given the brand color is set to darkblue\r\n Then the text inside the active tab is darkblue\r\n And the underline of the active tab is darkblue\r\n\r\n @ui\r\n Scenario: Tabs are responsive\r\n Given the user is on a mobile device\r\n When there are more tabs than the horizontal space allows for\r\n Then clickable arrows appear on the left and right of the tabs\r\n And the tabs are scrollable\r\n\r\n @landmine\r\n Scenario: Program section cannot be used inside of tabs\r\n Given a tabs component\r\n And tab containing a program section with program-id \"test123\"\r\n And the program section wraps a component using program context\r\n When the tabs component is rendered\r\n Then the \"sq:program-id\" event listener for the program section is removed\r\n And the component does not use program-id \"test123\" to source its data\r\n And falls back to the global program id";
|
|
11770
12022
|
|
|
11771
12023
|
const Tabs_stories = {
|
|
11772
12024
|
title: "Components/Tabs",
|
|
@@ -11804,117 +12056,457 @@ const SingleTab = () => (index.h("div", { style: { maxWidth: "700px", margin: "a
|
|
|
11804
12056
|
</sqm-tabs>
|
|
11805
12057
|
` }));
|
|
11806
12058
|
const ReferralProgram = () => (index.h("div", { style: { maxWidth: "700px", margin: "auto" }, innerHTML: `
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11812
|
-
|
|
11813
|
-
|
|
11814
|
-
|
|
11815
|
-
|
|
11816
|
-
|
|
11817
|
-
|
|
12059
|
+
<sqm-tabs>
|
|
12060
|
+
<sqm-tab header="Leaderboard">
|
|
12061
|
+
<sqm-leaderboard></sqm-leaderboard>
|
|
12062
|
+
</sqm-tab>
|
|
12063
|
+
<sqm-tab header="Referral history">
|
|
12064
|
+
<sqm-referral-table>
|
|
12065
|
+
<sqm-referral-table-user-column
|
|
12066
|
+
column-title="User"
|
|
12067
|
+
anonymous-user="Anonymous User"
|
|
12068
|
+
deleted-user="Deleted User"
|
|
12069
|
+
>
|
|
12070
|
+
</sqm-referral-table-user-column>
|
|
12071
|
+
<sqm-referral-table-status-column
|
|
12072
|
+
column-title="Referral status"
|
|
12073
|
+
converted-status-text="Converted"
|
|
12074
|
+
in-progress-status-text="In Progress"
|
|
12075
|
+
>
|
|
12076
|
+
</sqm-referral-table-status-column>
|
|
12077
|
+
<sqm-referral-table-rewards-column
|
|
12078
|
+
column-title="Rewards"
|
|
12079
|
+
expiring-text="Expiring in"
|
|
12080
|
+
fuel-tank-text="Your code is"
|
|
12081
|
+
pending-for-text="{status} for {date}"
|
|
12082
|
+
reward-received-text="Reward received on"
|
|
12083
|
+
status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"
|
|
12084
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12085
|
+
>
|
|
12086
|
+
</sqm-referral-table-rewards-column>
|
|
12087
|
+
<sqm-referral-table-date-column
|
|
12088
|
+
column-title="Date referred"
|
|
12089
|
+
date-shown="dateReferralStarted"
|
|
12090
|
+
>
|
|
12091
|
+
</sqm-referral-table-date-column>
|
|
12092
|
+
<sqm-empty
|
|
12093
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"
|
|
12094
|
+
empty-state-header="View your referral details"
|
|
12095
|
+
empty-state-text="Refer a friend to view the status of your referrals and rewards earned"
|
|
12096
|
+
>
|
|
12097
|
+
</sqm-empty
|
|
12098
|
+
></sqm-referral-table>
|
|
12099
|
+
</sqm-tab>
|
|
12100
|
+
<sqm-tab header="Reward history">
|
|
12101
|
+
<sqm-rewards-table
|
|
12102
|
+
><sqm-rewards-table-reward-column
|
|
12103
|
+
available-text="{availableAmount} remaining"
|
|
12104
|
+
column-title="Reward"
|
|
12105
|
+
copy-text="Copied!"
|
|
12106
|
+
redeemed-text="{redeemedAmount} redeemed"
|
|
12107
|
+
>
|
|
12108
|
+
</sqm-rewards-table-reward-column>
|
|
12109
|
+
<sqm-rewards-table-source-column
|
|
12110
|
+
anonymous-user="Anonymous User"
|
|
12111
|
+
column-title="Source"
|
|
12112
|
+
deleted-user="Deleted User"
|
|
12113
|
+
referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"
|
|
12114
|
+
reward-exchange-text="Reward Exchange"
|
|
12115
|
+
reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"
|
|
12116
|
+
>
|
|
12117
|
+
</sqm-rewards-table-source-column>
|
|
12118
|
+
<sqm-rewards-table-status-column
|
|
12119
|
+
column-title="Status"
|
|
12120
|
+
expiry-text="Expires on "
|
|
12121
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12122
|
+
>
|
|
12123
|
+
</sqm-rewards-table-status-column>
|
|
12124
|
+
<sqm-rewards-table-date-column
|
|
12125
|
+
column-title="Date received"
|
|
12126
|
+
date-shown="dateGiven"
|
|
12127
|
+
>
|
|
12128
|
+
</sqm-rewards-table-date-column>
|
|
12129
|
+
<sqm-empty
|
|
12130
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"
|
|
12131
|
+
empty-state-header="View your rewards"
|
|
12132
|
+
empty-state-text="Refer friends and complete tasks to view the details of your rewards"
|
|
12133
|
+
>
|
|
12134
|
+
</sqm-empty
|
|
12135
|
+
></sqm-rewards-table>
|
|
12136
|
+
</sqm-tab>
|
|
12137
|
+
</sqm-tabs>
|
|
11818
12138
|
` }));
|
|
11819
12139
|
const LoyaltyProgram = () => (index.h("div", { style: { maxWidth: "700px", margin: "auto" }, innerHTML: `
|
|
11820
|
-
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
|
|
11824
|
-
|
|
11825
|
-
|
|
11826
|
-
|
|
11827
|
-
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
12140
|
+
<sqm-tabs placement="top">
|
|
12141
|
+
<sqm-tab header="Leaderboard">
|
|
12142
|
+
<sqm-hero-image
|
|
12143
|
+
image-url="https://i.imgur.com/MVgOJn7.png"
|
|
12144
|
+
description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"
|
|
12145
|
+
layout="columns"
|
|
12146
|
+
image-percentage="33%"
|
|
12147
|
+
padding-image="large"
|
|
12148
|
+
padding-text="large"
|
|
12149
|
+
background-color=""
|
|
12150
|
+
></sqm-hero-image>
|
|
12151
|
+
<sqm-leaderboard></sqm-leaderboard>
|
|
12152
|
+
</sqm-tab>
|
|
12153
|
+
<sqm-tab header="Referral history">
|
|
12154
|
+
<sqm-referral-table>
|
|
12155
|
+
<sqm-referral-table-user-column
|
|
12156
|
+
column-title="User"
|
|
12157
|
+
anonymous-user="Anonymous User"
|
|
12158
|
+
deleted-user="Deleted User"
|
|
12159
|
+
>
|
|
12160
|
+
</sqm-referral-table-user-column>
|
|
12161
|
+
<sqm-referral-table-status-column
|
|
12162
|
+
column-title="Referral status"
|
|
12163
|
+
converted-status-text="Converted"
|
|
12164
|
+
in-progress-status-text="In Progress"
|
|
12165
|
+
>
|
|
12166
|
+
</sqm-referral-table-status-column>
|
|
12167
|
+
<sqm-referral-table-rewards-column
|
|
12168
|
+
column-title="Rewards"
|
|
12169
|
+
expiring-text="Expiring in"
|
|
12170
|
+
fuel-tank-text="Your code is"
|
|
12171
|
+
pending-for-text="{status} for {date}"
|
|
12172
|
+
reward-received-text="Reward received on"
|
|
12173
|
+
status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"
|
|
12174
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12175
|
+
>
|
|
12176
|
+
</sqm-referral-table-rewards-column>
|
|
12177
|
+
<sqm-referral-table-date-column
|
|
12178
|
+
column-title="Date referred"
|
|
12179
|
+
date-shown="dateReferralStarted"
|
|
12180
|
+
>
|
|
12181
|
+
</sqm-referral-table-date-column>
|
|
12182
|
+
<sqm-empty
|
|
12183
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"
|
|
12184
|
+
empty-state-header="View your referral details"
|
|
12185
|
+
empty-state-text="Refer a friend to view the status of your referrals and rewards earned"
|
|
12186
|
+
>
|
|
12187
|
+
</sqm-empty
|
|
12188
|
+
></sqm-referral-table>
|
|
12189
|
+
</sqm-tab>
|
|
12190
|
+
<sqm-tab header="Reward history">
|
|
12191
|
+
<sqm-rewards-table
|
|
12192
|
+
><sqm-rewards-table-reward-column
|
|
12193
|
+
available-text="{availableAmount} remaining"
|
|
12194
|
+
column-title="Reward"
|
|
12195
|
+
copy-text="Copied!"
|
|
12196
|
+
redeemed-text="{redeemedAmount} redeemed"
|
|
12197
|
+
>
|
|
12198
|
+
</sqm-rewards-table-reward-column>
|
|
12199
|
+
<sqm-rewards-table-source-column
|
|
12200
|
+
anonymous-user="Anonymous User"
|
|
12201
|
+
column-title="Source"
|
|
12202
|
+
deleted-user="Deleted User"
|
|
12203
|
+
referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"
|
|
12204
|
+
reward-exchange-text="Reward Exchange"
|
|
12205
|
+
reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"
|
|
12206
|
+
>
|
|
12207
|
+
</sqm-rewards-table-source-column>
|
|
12208
|
+
<sqm-rewards-table-status-column
|
|
12209
|
+
column-title="Status"
|
|
12210
|
+
expiry-text="Expires on "
|
|
12211
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12212
|
+
>
|
|
12213
|
+
</sqm-rewards-table-status-column>
|
|
12214
|
+
<sqm-rewards-table-date-column
|
|
12215
|
+
column-title="Date received"
|
|
12216
|
+
date-shown="dateGiven"
|
|
12217
|
+
>
|
|
12218
|
+
</sqm-rewards-table-date-column>
|
|
12219
|
+
<sqm-empty
|
|
12220
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"
|
|
12221
|
+
empty-state-header="View your rewards"
|
|
12222
|
+
empty-state-text="Refer friends and complete tasks to view the details of your rewards"
|
|
12223
|
+
>
|
|
12224
|
+
</sqm-empty
|
|
12225
|
+
></sqm-rewards-table>
|
|
12226
|
+
</sqm-tab>
|
|
12227
|
+
<sqm-tab header="Redeem">
|
|
12228
|
+
<sqm-reward-exchange-list></sqm-reward-exchange-list>
|
|
12229
|
+
</sqm-tab>
|
|
12230
|
+
</sqm-tabs>
|
|
11843
12231
|
` }));
|
|
11844
12232
|
const BottomTabs = () => (index.h("div", { style: { maxWidth: "700px", margin: "auto" }, innerHTML: `
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
11867
|
-
|
|
12233
|
+
<sqm-tabs placement="bottom">
|
|
12234
|
+
<sqm-tab header="Leaderboard">
|
|
12235
|
+
<sqm-hero-image
|
|
12236
|
+
image-url="https://i.imgur.com/MVgOJn7.png"
|
|
12237
|
+
description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"
|
|
12238
|
+
layout="columns"
|
|
12239
|
+
image-percentage="33%"
|
|
12240
|
+
padding-image="large"
|
|
12241
|
+
padding-text="large"
|
|
12242
|
+
background-color=""
|
|
12243
|
+
></sqm-hero-image>
|
|
12244
|
+
<sqm-leaderboard></sqm-leaderboard>
|
|
12245
|
+
</sqm-tab>
|
|
12246
|
+
<sqm-tab header="Referral history">
|
|
12247
|
+
<sqm-referral-table
|
|
12248
|
+
><sqm-referral-table-user-column
|
|
12249
|
+
column-title="User"
|
|
12250
|
+
anonymous-user="Anonymous User"
|
|
12251
|
+
deleted-user="Deleted User"
|
|
12252
|
+
>
|
|
12253
|
+
</sqm-referral-table-user-column>
|
|
12254
|
+
<sqm-referral-table-status-column
|
|
12255
|
+
column-title="Referral status"
|
|
12256
|
+
converted-status-text="Converted"
|
|
12257
|
+
in-progress-status-text="In Progress"
|
|
12258
|
+
>
|
|
12259
|
+
</sqm-referral-table-status-column>
|
|
12260
|
+
<sqm-referral-table-rewards-column
|
|
12261
|
+
column-title="Rewards"
|
|
12262
|
+
expiring-text="Expiring in"
|
|
12263
|
+
fuel-tank-text="Your code is"
|
|
12264
|
+
pending-for-text="{status} for {date}"
|
|
12265
|
+
reward-received-text="Reward received on"
|
|
12266
|
+
status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"
|
|
12267
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12268
|
+
>
|
|
12269
|
+
</sqm-referral-table-rewards-column>
|
|
12270
|
+
<sqm-referral-table-date-column
|
|
12271
|
+
column-title="Date referred"
|
|
12272
|
+
date-shown="dateReferralStarted"
|
|
12273
|
+
>
|
|
12274
|
+
</sqm-referral-table-date-column>
|
|
12275
|
+
<sqm-empty
|
|
12276
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"
|
|
12277
|
+
empty-state-header="View your referral details"
|
|
12278
|
+
empty-state-text="Refer a friend to view the status of your referrals and rewards earned"
|
|
12279
|
+
>
|
|
12280
|
+
</sqm-empty
|
|
12281
|
+
></sqm-referral-table>
|
|
12282
|
+
</sqm-tab>
|
|
12283
|
+
<sqm-tab header="Reward history">
|
|
12284
|
+
<sqm-rewards-table
|
|
12285
|
+
><sqm-rewards-table-reward-column
|
|
12286
|
+
available-text="{availableAmount} remaining"
|
|
12287
|
+
column-title="Reward"
|
|
12288
|
+
copy-text="Copied!"
|
|
12289
|
+
redeemed-text="{redeemedAmount} redeemed"
|
|
12290
|
+
>
|
|
12291
|
+
</sqm-rewards-table-reward-column>
|
|
12292
|
+
<sqm-rewards-table-source-column
|
|
12293
|
+
anonymous-user="Anonymous User"
|
|
12294
|
+
column-title="Source"
|
|
12295
|
+
deleted-user="Deleted User"
|
|
12296
|
+
referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"
|
|
12297
|
+
reward-exchange-text="Reward Exchange"
|
|
12298
|
+
reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"
|
|
12299
|
+
>
|
|
12300
|
+
</sqm-rewards-table-source-column>
|
|
12301
|
+
<sqm-rewards-table-status-column
|
|
12302
|
+
column-title="Status"
|
|
12303
|
+
expiry-text="Expires on "
|
|
12304
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12305
|
+
>
|
|
12306
|
+
</sqm-rewards-table-status-column>
|
|
12307
|
+
<sqm-rewards-table-date-column
|
|
12308
|
+
column-title="Date received"
|
|
12309
|
+
date-shown="dateGiven"
|
|
12310
|
+
>
|
|
12311
|
+
</sqm-rewards-table-date-column>
|
|
12312
|
+
<sqm-empty
|
|
12313
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"
|
|
12314
|
+
empty-state-header="View your rewards"
|
|
12315
|
+
empty-state-text="Refer friends and complete tasks to view the details of your rewards"
|
|
12316
|
+
>
|
|
12317
|
+
</sqm-empty
|
|
12318
|
+
></sqm-rewards-table>
|
|
12319
|
+
</sqm-tab>
|
|
12320
|
+
<sqm-tab header="Redeem">
|
|
12321
|
+
<sqm-reward-exchange-list></sqm-reward-exchange-list>
|
|
12322
|
+
</sqm-tab>
|
|
12323
|
+
</sqm-tabs>
|
|
11868
12324
|
` }));
|
|
11869
12325
|
const LeftTabs = () => (index.h("div", { style: { maxWidth: "900px", margin: "auto" }, innerHTML: `
|
|
11870
|
-
|
|
11871
|
-
|
|
11872
|
-
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
12326
|
+
<sqm-tabs placement="left">
|
|
12327
|
+
<sqm-tab header="Leaderboard">
|
|
12328
|
+
<sqm-hero-image
|
|
12329
|
+
image-url="https://i.imgur.com/MVgOJn7.png"
|
|
12330
|
+
description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"
|
|
12331
|
+
layout="columns"
|
|
12332
|
+
image-percentage="33%"
|
|
12333
|
+
padding-image="large"
|
|
12334
|
+
padding-text="large"
|
|
12335
|
+
background-color=""
|
|
12336
|
+
></sqm-hero-image>
|
|
12337
|
+
<sqm-leaderboard></sqm-leaderboard>
|
|
12338
|
+
</sqm-tab>
|
|
12339
|
+
<sqm-tab header="Referral history">
|
|
12340
|
+
<sqm-referral-table
|
|
12341
|
+
><sqm-referral-table-user-column
|
|
12342
|
+
column-title="User"
|
|
12343
|
+
anonymous-user="Anonymous User"
|
|
12344
|
+
deleted-user="Deleted User"
|
|
12345
|
+
>
|
|
12346
|
+
</sqm-referral-table-user-column>
|
|
12347
|
+
<sqm-referral-table-status-column
|
|
12348
|
+
column-title="Referral status"
|
|
12349
|
+
converted-status-text="Converted"
|
|
12350
|
+
in-progress-status-text="In Progress"
|
|
12351
|
+
>
|
|
12352
|
+
</sqm-referral-table-status-column>
|
|
12353
|
+
<sqm-referral-table-rewards-column
|
|
12354
|
+
column-title="Rewards"
|
|
12355
|
+
expiring-text="Expiring in"
|
|
12356
|
+
fuel-tank-text="Your code is"
|
|
12357
|
+
pending-for-text="{status} for {date}"
|
|
12358
|
+
reward-received-text="Reward received on"
|
|
12359
|
+
status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"
|
|
12360
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12361
|
+
>
|
|
12362
|
+
</sqm-referral-table-rewards-column>
|
|
12363
|
+
<sqm-referral-table-date-column
|
|
12364
|
+
column-title="Date referred"
|
|
12365
|
+
date-shown="dateReferralStarted"
|
|
12366
|
+
>
|
|
12367
|
+
</sqm-referral-table-date-column>
|
|
12368
|
+
<sqm-empty
|
|
12369
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"
|
|
12370
|
+
empty-state-header="View your referral details"
|
|
12371
|
+
empty-state-text="Refer a friend to view the status of your referrals and rewards earned"
|
|
12372
|
+
>
|
|
12373
|
+
</sqm-empty
|
|
12374
|
+
></sqm-referral-table>
|
|
12375
|
+
</sqm-tab>
|
|
12376
|
+
<sqm-tab header="Reward history">
|
|
12377
|
+
<sqm-rewards-table
|
|
12378
|
+
><sqm-rewards-table-reward-column
|
|
12379
|
+
available-text="{availableAmount} remaining"
|
|
12380
|
+
column-title="Reward"
|
|
12381
|
+
copy-text="Copied!"
|
|
12382
|
+
redeemed-text="{redeemedAmount} redeemed"
|
|
12383
|
+
>
|
|
12384
|
+
</sqm-rewards-table-reward-column>
|
|
12385
|
+
<sqm-rewards-table-source-column
|
|
12386
|
+
anonymous-user="Anonymous User"
|
|
12387
|
+
column-title="Source"
|
|
12388
|
+
deleted-user="Deleted User"
|
|
12389
|
+
referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"
|
|
12390
|
+
reward-exchange-text="Reward Exchange"
|
|
12391
|
+
reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"
|
|
12392
|
+
>
|
|
12393
|
+
</sqm-rewards-table-source-column>
|
|
12394
|
+
<sqm-rewards-table-status-column
|
|
12395
|
+
column-title="Status"
|
|
12396
|
+
expiry-text="Expires on "
|
|
12397
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12398
|
+
>
|
|
12399
|
+
</sqm-rewards-table-status-column>
|
|
12400
|
+
<sqm-rewards-table-date-column
|
|
12401
|
+
column-title="Date received"
|
|
12402
|
+
date-shown="dateGiven"
|
|
12403
|
+
>
|
|
12404
|
+
</sqm-rewards-table-date-column>
|
|
12405
|
+
<sqm-empty
|
|
12406
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"
|
|
12407
|
+
empty-state-header="View your rewards"
|
|
12408
|
+
empty-state-text="Refer friends and complete tasks to view the details of your rewards"
|
|
12409
|
+
>
|
|
12410
|
+
</sqm-empty
|
|
12411
|
+
></sqm-rewards-table>
|
|
12412
|
+
</sqm-tab>
|
|
12413
|
+
<sqm-tab header="Redeem">
|
|
12414
|
+
<sqm-reward-exchange-list></sqm-reward-exchange-list>
|
|
12415
|
+
</sqm-tab>
|
|
12416
|
+
</sqm-tabs>
|
|
11893
12417
|
` }));
|
|
11894
12418
|
const RightTabs = () => (index.h("div", { style: { maxWidth: "900px", margin: "auto" }, innerHTML: `
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
|
|
11902
|
-
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
|
|
11917
|
-
|
|
12419
|
+
<sqm-tabs placement="right">
|
|
12420
|
+
<sqm-tab header="Leaderboard">
|
|
12421
|
+
<sqm-hero-image
|
|
12422
|
+
image-url="https://i.imgur.com/MVgOJn7.png"
|
|
12423
|
+
description="Be one of the top 3 referrers at the end of the year and receive Klip free for 1 year!"
|
|
12424
|
+
layout="columns"
|
|
12425
|
+
image-percentage="33%"
|
|
12426
|
+
padding-image="large"
|
|
12427
|
+
padding-text="large"
|
|
12428
|
+
background-color=""
|
|
12429
|
+
></sqm-hero-image>
|
|
12430
|
+
<sqm-leaderboard></sqm-leaderboard>
|
|
12431
|
+
</sqm-tab>
|
|
12432
|
+
<sqm-tab header="Referral history">
|
|
12433
|
+
<sqm-referral-table
|
|
12434
|
+
><sqm-referral-table-user-column
|
|
12435
|
+
column-title="User"
|
|
12436
|
+
anonymous-user="Anonymous User"
|
|
12437
|
+
deleted-user="Deleted User"
|
|
12438
|
+
>
|
|
12439
|
+
</sqm-referral-table-user-column>
|
|
12440
|
+
<sqm-referral-table-status-column
|
|
12441
|
+
column-title="Referral status"
|
|
12442
|
+
converted-status-text="Converted"
|
|
12443
|
+
in-progress-status-text="In Progress"
|
|
12444
|
+
>
|
|
12445
|
+
</sqm-referral-table-status-column>
|
|
12446
|
+
<sqm-referral-table-rewards-column
|
|
12447
|
+
column-title="Rewards"
|
|
12448
|
+
expiring-text="Expiring in"
|
|
12449
|
+
fuel-tank-text="Your code is"
|
|
12450
|
+
pending-for-text="{status} for {date}"
|
|
12451
|
+
reward-received-text="Reward received on"
|
|
12452
|
+
status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} EXPIRED {Reward expired on} other {Not available} }"
|
|
12453
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12454
|
+
>
|
|
12455
|
+
</sqm-referral-table-rewards-column>
|
|
12456
|
+
<sqm-referral-table-date-column
|
|
12457
|
+
column-title="Date referred"
|
|
12458
|
+
date-shown="dateReferralStarted"
|
|
12459
|
+
>
|
|
12460
|
+
</sqm-referral-table-date-column>
|
|
12461
|
+
<sqm-empty
|
|
12462
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png"
|
|
12463
|
+
empty-state-header="View your referral details"
|
|
12464
|
+
empty-state-text="Refer a friend to view the status of your referrals and rewards earned"
|
|
12465
|
+
>
|
|
12466
|
+
</sqm-empty
|
|
12467
|
+
></sqm-referral-table>
|
|
12468
|
+
</sqm-tab>
|
|
12469
|
+
<sqm-tab header="Reward history">
|
|
12470
|
+
<sqm-rewards-table
|
|
12471
|
+
><sqm-rewards-table-reward-column
|
|
12472
|
+
available-text="{availableAmount} remaining"
|
|
12473
|
+
column-title="Reward"
|
|
12474
|
+
copy-text="Copied!"
|
|
12475
|
+
redeemed-text="{redeemedAmount} redeemed"
|
|
12476
|
+
>
|
|
12477
|
+
</sqm-rewards-table-reward-column>
|
|
12478
|
+
<sqm-rewards-table-source-column
|
|
12479
|
+
anonymous-user="Anonymous User"
|
|
12480
|
+
column-title="Source"
|
|
12481
|
+
deleted-user="Deleted User"
|
|
12482
|
+
referral-text="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}"
|
|
12483
|
+
reward-exchange-text="Reward Exchange"
|
|
12484
|
+
reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}"
|
|
12485
|
+
>
|
|
12486
|
+
</sqm-rewards-table-source-column>
|
|
12487
|
+
<sqm-rewards-table-status-column
|
|
12488
|
+
column-title="Status"
|
|
12489
|
+
expiry-text="Expires on "
|
|
12490
|
+
status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }"
|
|
12491
|
+
>
|
|
12492
|
+
</sqm-rewards-table-status-column>
|
|
12493
|
+
<sqm-rewards-table-date-column
|
|
12494
|
+
column-title="Date received"
|
|
12495
|
+
date-shown="dateGiven"
|
|
12496
|
+
>
|
|
12497
|
+
</sqm-rewards-table-date-column>
|
|
12498
|
+
<sqm-empty
|
|
12499
|
+
empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png"
|
|
12500
|
+
empty-state-header="View your rewards"
|
|
12501
|
+
empty-state-text="Refer friends and complete tasks to view the details of your rewards"
|
|
12502
|
+
>
|
|
12503
|
+
</sqm-empty
|
|
12504
|
+
></sqm-rewards-table>
|
|
12505
|
+
</sqm-tab>
|
|
12506
|
+
<sqm-tab header="Redeem">
|
|
12507
|
+
<sqm-reward-exchange-list></sqm-reward-exchange-list>
|
|
12508
|
+
</sqm-tab>
|
|
12509
|
+
</sqm-tabs>
|
|
11918
12510
|
` }));
|
|
11919
12511
|
|
|
11920
12512
|
const Tabs = /*#__PURE__*/Object.freeze({
|
|
@@ -11939,7 +12531,7 @@ const ShareCode_stories = {
|
|
|
11939
12531
|
},
|
|
11940
12532
|
};
|
|
11941
12533
|
const ShareCode = () => {
|
|
11942
|
-
return index.h("sqm-share-code",
|
|
12534
|
+
return index.h("sqm-share-code", { tooltiptext: "Copied to Clipboard" });
|
|
11943
12535
|
};
|
|
11944
12536
|
const CustomTooltipText = () => {
|
|
11945
12537
|
return index.h("sqm-share-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
@@ -11968,7 +12560,7 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
11968
12560
|
*
|
|
11969
12561
|
*/
|
|
11970
12562
|
//
|
|
11971
|
-
const Default$
|
|
12563
|
+
const Default$d = `
|
|
11972
12564
|
// No CSS
|
|
11973
12565
|
`;
|
|
11974
12566
|
const Orangey = `
|
|
@@ -12002,7 +12594,7 @@ const Klip = `
|
|
|
12002
12594
|
|
|
12003
12595
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
12004
12596
|
__proto__: null,
|
|
12005
|
-
Default: Default$
|
|
12597
|
+
Default: Default$d,
|
|
12006
12598
|
Orangey: Orangey,
|
|
12007
12599
|
Netflix: Netflix,
|
|
12008
12600
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -14608,6 +15200,8 @@ const stories = [
|
|
|
14608
15200
|
UseBigStat,
|
|
14609
15201
|
UseEditProfile,
|
|
14610
15202
|
UseLeaderboard,
|
|
15203
|
+
UseCheckboxField,
|
|
15204
|
+
UseDropdownField,
|
|
14611
15205
|
Router,
|
|
14612
15206
|
PortalFrame,
|
|
14613
15207
|
EditProfile,
|
|
@@ -14639,6 +15233,8 @@ const stories = [
|
|
|
14639
15233
|
Hero,
|
|
14640
15234
|
ReferralIframe$1,
|
|
14641
15235
|
NameFields$1,
|
|
15236
|
+
CheckboxField,
|
|
15237
|
+
DropdownField,
|
|
14642
15238
|
RewardExchangeList,
|
|
14643
15239
|
UseRewardExchangeList,
|
|
14644
15240
|
UseTaskCard,
|