@saasquatch/vanilla-components 1.2.4-5 → 1.2.4-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/cjs/{WidgetHost-71b013eb.js → WidgetHost-f349e877.js} +157 -0
  2. package/dist/cjs/{en-a49a5ef5.js → en-3a7cb52e.js} +2 -2
  3. package/dist/cjs/{index-deb40352.js → index-09a04159.js} +54 -3
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/sqh-close-button.cjs.entry.js +2 -2
  6. package/dist/cjs/{sqh-copy-button_12.cjs.entry.js → sqh-copy-button_14.cjs.entry.js} +1172 -22
  7. package/dist/cjs/sqh-referral-code.cjs.entry.js +2 -2
  8. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +1 -1
  9. package/dist/cjs/widget-components.cjs.js +3 -3
  10. package/dist/collection/collection-manifest.json +2 -0
  11. package/dist/collection/components/copy-button/copy-button.js +3 -3
  12. package/dist/collection/components/copy-link-button/copy-link-button.js +4 -1
  13. package/dist/collection/components/cta-component/cta-component.css +6 -0
  14. package/dist/collection/components/cta-component/cta-component.js +396 -0
  15. package/dist/collection/components/global-container/global-container.js +1 -1
  16. package/dist/collection/components/image-component/image-component.js +4 -1
  17. package/dist/collection/components/partner-stat-component/partner-stat-component.js +4 -1
  18. package/dist/collection/components/progress-indicator/progress-indicator.css +73 -0
  19. package/dist/collection/components/progress-indicator/progress-indicator.js +493 -0
  20. package/dist/collection/components/referral-list/referral-list.js +5 -2
  21. package/dist/collection/components/share-button-container/share-button-container.js +31 -44
  22. package/dist/collection/components/stat-component/stat-component.js +13 -7
  23. package/dist/collection/components/stats-container/stats-container.js +7 -5
  24. package/dist/collection/components/text-component/text-component.js +40 -16
  25. package/dist/collection/services/WidgetHost.js +157 -0
  26. package/dist/esm/{WidgetHost-9c337319.js → WidgetHost-c033b6ac.js} +157 -0
  27. package/dist/esm/{en-be593af0.js → en-a652ab83.js} +1 -1
  28. package/dist/esm/{index-8ea8b6d8.js → index-342d7c26.js} +54 -3
  29. package/dist/esm/loader.mjs +3 -3
  30. package/dist/esm/sqh-close-button.entry.js +2 -2
  31. package/dist/esm/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +1171 -23
  32. package/dist/esm/sqh-referral-code.entry.js +2 -2
  33. package/dist/esm/sqh-rewards-actions.entry.js +1 -1
  34. package/dist/esm/widget-components.mjs +3 -3
  35. package/dist/esm-es5/{WidgetHost-9c337319.js → WidgetHost-c033b6ac.js} +96 -4
  36. package/dist/esm-es5/{en-be593af0.js → en-a652ab83.js} +1 -1
  37. package/dist/esm-es5/{index-8ea8b6d8.js → index-342d7c26.js} +53 -3
  38. package/dist/esm-es5/loader.mjs +3 -3
  39. package/dist/esm-es5/sqh-close-button.entry.js +2 -2
  40. package/dist/esm-es5/{sqh-copy-button_12.entry.js → sqh-copy-button_14.entry.js} +1059 -34
  41. package/dist/esm-es5/sqh-referral-code.entry.js +2 -2
  42. package/dist/esm-es5/sqh-rewards-actions.entry.js +1 -1
  43. package/dist/esm-es5/widget-components.mjs +3 -3
  44. package/dist/types/components/copy-button/copy-button.d.ts +1 -3
  45. package/dist/types/components/copy-link-button/copy-link-button.d.ts +1 -2
  46. package/dist/types/components/cta-component/cta-component.d.ts +86 -0
  47. package/dist/types/components/global-container/global-container.d.ts +0 -2
  48. package/dist/types/components/image-component/image-component.d.ts +1 -2
  49. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +1 -2
  50. package/dist/types/components/progress-indicator/progress-indicator.d.ts +42 -0
  51. package/dist/types/components/referral-list/referral-list.d.ts +2 -3
  52. package/dist/types/components/share-button-container/share-button-container.d.ts +1 -56
  53. package/dist/types/components/stat-component/stat-component.d.ts +6 -10
  54. package/dist/types/components/stats-container/stats-container.d.ts +3 -4
  55. package/dist/types/components/text-component/text-component.d.ts +13 -20
  56. package/dist/types/components.d.ts +256 -120
  57. package/dist/types/saasquatch.d.ts +3 -1
  58. package/dist/types/services/WidgetHost.d.ts +5 -0
  59. package/dist/widget-components/p-0839fd2c.system.entry.js +10 -0
  60. package/dist/widget-components/{p-44a6559d.js → p-17d80384.js} +1 -1
  61. package/dist/widget-components/{p-54ea7a00.entry.js → p-3ba562d0.entry.js} +1 -1
  62. package/dist/widget-components/{p-366f1663.entry.js → p-4293e873.entry.js} +1 -1
  63. package/dist/widget-components/{p-8e232564.system.js → p-54e83dfb.system.js} +2 -2
  64. package/dist/widget-components/{p-e2b4739f.system.entry.js → p-665b8d42.system.entry.js} +1 -1
  65. package/dist/widget-components/{p-edd43dbc.js → p-6e753d23.js} +68 -3
  66. package/dist/widget-components/p-a952fcf2.entry.js +233 -0
  67. package/dist/widget-components/{p-a846f503.system.js → p-aaf44379.system.js} +1 -1
  68. package/dist/widget-components/{p-b17efca4.system.entry.js → p-abf8a511.system.entry.js} +1 -1
  69. package/dist/widget-components/p-ad5121cf.system.js +1 -0
  70. package/dist/widget-components/p-d9e9c55c.system.entry.js +1 -0
  71. package/dist/widget-components/{p-58be1132.system.js → p-e82def83.system.js} +1 -1
  72. package/dist/widget-components/{p-9746ae26.entry.js → p-fb528be6.entry.js} +1 -1
  73. package/dist/widget-components/p-fbf0c7fe.js +1 -0
  74. package/dist/widget-components/widget-components.esm.js +1 -1
  75. package/dist/widget-components/widget-components.js +1 -1
  76. package/docs/raisins.json +1 -1
  77. package/package.json +4 -3
  78. package/dist/widget-components/p-485eaf44.js +0 -1
  79. package/dist/widget-components/p-c8bc8c77.system.entry.js +0 -1
  80. package/dist/widget-components/p-d416634a.entry.js +0 -148
  81. package/dist/widget-components/p-d97c955d.system.entry.js +0 -8
  82. package/dist/widget-components/p-e61a8100.system.js +0 -1
package/docs/raisins.json CHANGED
@@ -1 +1 @@
1
- {"schemaVersion":"0.0.1","modules":[{"tags":[{"tagName":"sqh-close-button","title":"Close Button","attributes":[{"name":"text","type":"string","title":"Button Text","description":"The text shown inside the close button.","default":"Close"}],"exampleGroup":"Common Components","examples":[{"title":"Close Popup Button","content":"<sqh-close-button text=\"Close\"></sqh-close-button>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-copy-button","title":"Copy Button","attributes":[{"name":"backgroundcolor","type":"string","title":"Button Color","description":"","uiWidget":"color","format":"color"},{"name":"borderradius","type":"number","title":"Border Radius","description":"Define the radius of the corners with a pixel amount."},{"name":"codefontcolor","type":"string","title":"Fuel Tank Code Color","description":"","uiWidget":"color","format":"color"},{"name":"codefontsize","type":"number","title":"Code Font Size","description":"Font size of the fuel tank code."},{"name":"copyfailure","type":"string","title":"Copy Failure Text","description":"Shown when the button has failed to copy the code to the users clipboard."},{"name":"copysuccess","type":"string","title":"Copy Success Text","description":"Shown when the code is successfully copied to the users clipboard."},{"name":"fontsize","type":"number","title":"Font Size","description":""},{"name":"ishidden","type":"boolean","title":"Hide Button","description":"Hide or show the component"},{"name":"rewardkey","type":"string","title":"Reward Key","description":"The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user."},{"name":"text","type":"string","title":"Button Text","description":""},{"name":"textcolor","type":"string","title":"Button Text Color","description":"","uiWidget":"color","format":"color"},{"name":"width","type":"number","title":"Button Max Width","description":""}],"exampleGroup":"Common Components","examples":[{"title":"Fuel Tank Copy Button","content":"<sqh-copy-button ishidden=\"false\" copysuccess=\"copied!\" copyfailure=\"Press Ctrl+C to copy\" codefontcolor=\"#000000\" codefontsize=\"14\" text=\"COPY CODE\" fontsize=\"14\" width=\"170\" backgroundcolor=\"#35b21e\" textcolor=\"#ffffff\" borderradius=\"4\" rewardkey=\"referredReward\" codefontsize=\"14\" codefontcolor=\"#000000\"></sqh-copy-button>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-copy-link-button","title":"Copy Link Button","attributes":[{"name":"buttoncolor","type":"string","title":"Button Color","description":"","uiWidget":"color","format":"color"},{"name":"copyfailure","type":"string","title":"Copy Failure Text","description":"Shown when the button has failed to copy the code to the users clipboard."},{"name":"copysuccess","type":"string","title":"Copy Success Text","description":"Shown when the code is successfully copied to the users clipboard."},{"name":"ishidden","type":"boolean","title":"Hide Button","description":"Hide or show the component"},{"name":"text","type":"string","title":"Button Text","description":""},{"name":"textcolor","type":"string","title":"Button Text Color","description":"","uiWidget":"color","format":"color"}],"exampleGroup":"Common Components","examples":[{"title":"Copy Link Button","content":"<sqh-copy-link-button ishidden=\"false\" copysuccess=\"copied!\" copyfailure=\"Press Ctrl+C to copy\" text=\"Copy\" buttoncolor=\"#5C6164\" textcolor=\"#FFFFFF\"></sqh-copy-link-button>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-global-container","title":"Global Container","slots":[{"name":"","title":"Widget Content"}],"attributes":[{"name":"background","type":"string","title":"Background Color","description":"Configure the background color.","uiWidget":"color","format":"color"},{"name":"fontfamily","type":"string","title":"Font Family","description":"Font family used inside the container.","enum":["Roboto","Artifakt Element","Helvetica Neue,Helvetica,Arial,sans-serif","Lato,sans-serif","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"],"enumNames":["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"]},{"name":"loadingcolor","type":"string","title":"Loading Color","description":"The background colour of the component while in the loading state.","uiWidget":"color","format":"color"},{"name":"maxwidth","type":"string","title":"Container Max Width","description":""},{"name":"poweredby","type":"boolean","title":"Show Powered By","description":"Show the Powered by SaaSquatch link. This can only be disabled on Pro plans."}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-image-component","title":"Image Component","attributes":[{"name":"alignment","type":"string","title":"Horizontal Alignment","description":"","enum":["left","center","right"],"enumNames":["Left","Center","Right"]},{"name":"borderradius","type":"number","title":"Border Radius","description":"Define the radius of the corners with a pixel amount."},{"name":"css","type":"string","title":"CSS","description":"Additional CSS applied to the image element","uiWidget":"textArea"},{"name":"ishidden","type":"boolean","title":"Hide Image","description":"Hide or show the component"},{"name":"url","type":"string","title":"Image URL","description":"","uiWidget":"imageUpload","format":"url"},{"name":"width","type":"number","title":"Width","description":"Define the width of the image with a pixel amount."}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-partner-stat-component","title":"Partner Stat","attributes":[{"name":"ishidden","type":"boolean","title":"Hide Stat","description":"Hide or show the component"},{"name":"statcolor","type":"string","title":"Color","description":"Color of the stat value and description","uiWidget":"color","format":"color"},{"name":"statdescription","type":"string","title":"Description","description":""},{"name":"stattype","type":"string","title":"Stat Type","description":"Determines what type of stat is displayed. Manual paths are also supported.","uiWidget":"statTypeSelector","minLength":1},{"name":"statvalue","type":"string","title":"Value","description":"Value of the stat"}],"exampleGroup":"Statistics","examples":[{"title":"Pending CASH/CAD","content":"<sqh-partner-stat-component statcolor=\"#000000\" stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyPendingCredit\" statdescription=\"Pending Balance\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-partner-stat-component>"},{"title":"Available CASH/CAD","content":"<sqh-partner-stat-component stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyValue\" statdescription=\"Available Balance\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#4CAF50\"></sqh-partner-stat-component>"},{"title":"Redeemed CASH/CAD","content":"<sqh-partner-stat-component stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyRedeemedCredit\" statdescription=\"Redeemed Balance\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-partner-stat-component>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-referral-code","title":"Referral Code","attributes":[],"exampleGroup":"Referrals","examples":[{"title":"Referral Code","content":"<sqh-referral-code />"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-referral-component","title":"Referral Component","attributes":[{"name":"locale","type":"string","title":"Local","description":"Configure the local"},{"name":"referraltype","type":"\"converted\" | \"pending\" | \"referrer\"","title":"Referral Type","description":"Type of referral"}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-referral-list","title":"Referral List","attributes":[{"name":"cancelledcolor","type":"string","title":"Cancelled Color","description":"Color of the cancelled icon and text in the rewards column.","uiWidget":"color","format":"color","uiGroup":"Cancelled Rewards"},{"name":"cancelledcontent","type":"string","title":"Cancelled Content","description":"Content shown in the referral column for a cancelled reward.","uiGroup":"Cancelled Rewards"},{"name":"cancelledvalue","type":"string","title":"Cancelled Value","description":"Text shown alongside the icon in the referral column for a cancelled reward.","uiGroup":"Cancelled Rewards"},{"name":"convertedcontent","type":"string","title":"Converted Content","description":"Content shown when a referral is converted","uiGroup":"Converted Referrals"},{"name":"customernotecolor","type":"string","title":"Customer Note Color","description":"","uiWidget":"color","format":"color","uiGroup":"Converted Referrals"},{"name":"expiredcolor","type":"string","title":"Expired Color","description":"Color of the expired reward icon and text in the rewards column.","uiWidget":"color","format":"color","uiGroup":"Expired Rewards"},{"name":"expiredcontent","type":"string","title":"Expired Content","description":"Expired content shown in the user column","uiGroup":"Expired Rewards"},{"name":"expiredvalue","type":"string","title":"Expired Value","description":"Expired content shown alongside the icon in the referral column","uiGroup":"Expired Rewards"},{"name":"expiresvalue","type":"string","title":"Expires Value","description":"Reward expiry ICU message","uiGroup":"Expired Rewards"},{"name":"internationalization","type":"boolean","title":"Internationalization","description":"When true, the local gets set by using the value passed to the referral component"},{"name":"ishidden","type":"boolean","title":"Hide Referral List","description":"Hide or show the component"},{"name":"noreferralsyet","type":"string","title":"Empty Referrals Text","description":"Shown when referral list is empty"},{"name":"paginateless","type":"string","title":"Paginate Less Text","description":"Shown inside the paginate less button"},{"name":"paginatemore","type":"string","title":"Paginate More Text","description":"Shown inside the paginate more button"},{"name":"pendingcolor","type":"string","title":"Pending Color","description":"Color of the pending reward icon and text in the rewards column.","uiWidget":"color","format":"color","uiGroup":"Pending Referrals"},{"name":"pendingcontent","type":"string","title":"Pending Content","description":"Pending content shown in the user column","uiGroup":"Pending Referrals"},{"name":"pendingvalue","type":"string","title":"Pending Value","description":"Pending content shown alongside the icon in the referral column","uiGroup":"Pending Referrals"},{"name":"redeemedvalue","type":"string","title":"Redeemed Value","description":"Shown when reward is redeemed","uiGroup":"Converted Referrals"},{"name":"referralnamecolor","type":"string","title":"Referral Name Color","description":"Text color of the referred user's name","uiWidget":"color","format":"color"},{"name":"referraltextcolor","type":"string","title":"Referral Text Color","description":"","uiWidget":"color","format":"color"},{"name":"referrercontent","type":"string","title":"Referrer Content","description":"Text explaining who referred you to the program","uiGroup":"Referrer"},{"name":"referrervalue","type":"string","title":"Referrer Value","description":"Referred Text shown in reward column","uiGroup":"Referrer"},{"name":"rewardcolor","type":"string","title":"Reward Color","description":"Color of the successful reward icon and text in the rewards column.","uiWidget":"color","format":"color","uiGroup":"Converted Referrals"},{"name":"showexpiry","type":"boolean","title":"Show Expired Rewards","description":""},{"name":"shownotes","type":"boolean","title":"Show Customer Note","description":""},{"name":"showreferrer","type":"boolean","title":"Show Referred By","description":"Show referral and reward information on who referred you.","uiGroup":"Referrer"},{"name":"unknownuser","type":"string","title":"Unknown User Text","description":"Text shown when the referred user's name is unknown"},{"name":"usefirstreward","type":"boolean","title":"Use First Reward","description":"Show the value of the first earned reward inside the rewards column","uiGroup":"Converted Referrals"},{"name":"valuecontent","type":"string","title":"Value Content","description":"Value shown in the rewards column","uiWidget":"textArea","uiGroup":"Converted Referrals"}],"exampleGroup":"Referrals","examples":[{"title":"Referral List","content":"<sqh-referral-list ishidden=\"false\" showreferrer=\"true\" usefirstreward=\"false\" referralnamecolor=\"darkslategray\" referraltextcolor=\"lightgray\" rewardcolor=\"#4BB543\" pendingcolor=\"lightgray\" pendingvalue=\"Reward Pending\" referrervalue=\"Referred\" referrercontent=\"Referred you {date}\" convertedcontent=\"Signed up, referred {date}\" pendingcontent=\"Trial user, referred {date}\" pendingvalue=\"Referral pending\" valuecontent=\"and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}\" expiredcolor=\"lightgray\" expiredvalue=\"Expired Reward\" expiredcontent=\"Signed up, referred {date}\" cancelledcolor=\"#C81D05\" cancelledvalue=\"Cancelled Reward\" cancelledcontent=\"Signed up, referred {date}\" paginatemore=\"View More\" paginateless=\"Previous\" noreferralsyet=\"No Referrals Yet...\" unknownuser=\"Your Friend\"></sqh-referral-list>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-rewards-actions","title":"Reward Actions","attributes":[{"name":"hidetext","type":"string","title":"Hide Button Text","description":"Text inside the hide button","default":"Hide"},{"name":"nexttext","type":"string","title":"Next Button Text","description":"Text inside the next button","default":"Next"},{"name":"previoustext","type":"string","title":"Previous Button Text","description":"Text inside the previous button","default":"Previous"}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-share-button","title":"Share Button","attributes":[{"name":"backgroundcolor","type":"string","title":"Share Button Background Color","description":"Background color of the share button","uiWidget":"color","format":"color"},{"name":"button-class-name","type":"string","title":"Share Button Class Name","description":"CSS Class name used to style the share button"},{"name":"displayrule","type":"string","title":"Share Button Display Rule","description":"Show or hide button depending on what type of device the user is on"},{"name":"icon","type":"string","title":"Share Button Icon","description":"Share button icon"},{"name":"iconhorizontal","type":"number","title":"Share Button Icon Horizontal","description":"Number to horizontally align the share button icon"},{"name":"iconsize","type":"number","title":"Share Button Icon Size","description":"Size of the Share button icon"},{"name":"iconvertical","type":"number","title":"Share Button Icon Vertical","description":"Number to vertically align the share button icon"},{"name":"text","type":"string","title":"Share Button Text","description":"Text inside the share button"},{"name":"textcolor","type":"string","title":"Share Button Text Color","description":"Color of the text inside the share button","uiWidget":"color","format":"color"},{"name":"type","type":"string","title":"Share Button Type","description":"Type of the share button"},{"name":"url","type":"string","title":"URL","description":"URL redirect location","uiWidget":"imageUpload","format":"url"}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-share-button-container","title":"Share Button Container","attributes":[{"name":"emailbackgroundcolor","type":"string","title":"Email Background Color","description":"Background color of the Email button","uiWidget":"color","format":"color","uiGroup":"Email"},{"name":"emailclass-name","type":"string","title":"Email Class Name","description":"CSS class name for additional styling.","default":"email-share","uiGroup":"Email"},{"name":"emaildisplayrule","type":"string","title":"Email Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Email"},{"name":"emailicon","type":"string","title":"Email Icon","description":"Email button icon","default":"mail","uiGroup":"Email"},{"name":"emailiconhorizontal","type":"number","title":"Email Icon Horizontal","description":"Number to horizontally align the Email button icon","uiGroup":"Email"},{"name":"emailiconsize","type":"number","title":"Email Icon Size","description":"Size of the Email button icon","uiGroup":"Email"},{"name":"emailiconvertical","type":"number","title":"Email Icon Vertical","description":"Number to vertically align the Email button icon","uiGroup":"Email"},{"name":"emailtext","type":"string","title":"Email Text","description":"Text inside the Email button","uiGroup":"Email"},{"name":"emailtextcolor","type":"string","title":"Email Text Color","description":"Color of the text inside the Email button","uiWidget":"color","format":"color","uiGroup":"Email"},{"name":"facebookbackgroundcolor","type":"string","title":"Facebook Background Color","description":"Background color of the facebook button","uiWidget":"color","format":"color","uiGroup":"Facebook"},{"name":"facebookclass-name","type":"string","title":"Facebook Class Name","description":"CSS class name for additional styling.","uiGroup":"Facebook"},{"name":"facebookdisplayrule","type":"string","title":"Facebook Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Facebook"},{"name":"facebookicon","type":"string","title":"Facebook Icon","description":"Facebook button icon","default":"facebook","uiGroup":"Facebook"},{"name":"facebookiconhorizontal","type":"number","title":"Facebook Icon Horizontal","description":"Number to horizontally align the facebook button icon","default":9,"uiGroup":"Facebook"},{"name":"facebookiconsize","type":"number","title":"Facebook Icon Size","description":"Size of the facebook button icon","default":1.2,"uiGroup":"Facebook"},{"name":"facebookiconvertical","type":"number","title":"Facebook Icon Vertical","description":"Number to vertically align the facebook button icon","uiGroup":"Facebook"},{"name":"facebooktext","type":"string","title":"Facebook Text","description":"Text inside the facebook button","uiGroup":"Facebook"},{"name":"facebooktextcolor","type":"string","title":"Facebook Text Color","description":"Color of the text inside the facebook button","uiWidget":"color","format":"color","uiGroup":"Facebook"},{"name":"ishidden","type":"boolean","title":"Hide Share Buttons","description":"Hide or show the component"},{"name":"linebackgroundcolor","type":"string","title":"Line Background Color","description":"Background color of the Line button","uiWidget":"color","format":"color","uiGroup":"Line Messenger"},{"name":"lineclass-name","type":"string","title":"Line Class Name","description":"CSS class name for additional styling.","uiGroup":"Line Messenger"},{"name":"linedisplayrule","type":"string","title":"Line Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-only","hidden"],"enumNames":["Mobile Only","Hide"],"uiGroup":"Line Messenger"},{"name":"lineicon","type":"string","title":"Line Icon","description":"Line button icon","default":"line","uiGroup":"Line Messenger"},{"name":"lineiconhorizontal","type":"number","title":"Line Icon Horizontal","description":"Number to horizontally align the Line button icon","default":-2,"uiGroup":"Line Messenger"},{"name":"lineiconsize","type":"number","title":"Line Icon Size","description":"Size of the Line button icon","default":2.2,"uiGroup":"Line Messenger"},{"name":"lineiconvertical","type":"number","title":"Line Icon Vertical","description":"Number to vertically align the Line button icon","default":-5,"uiGroup":"Line Messenger"},{"name":"linetext","type":"string","title":"Line Text","description":"Text inside the Line button","uiGroup":"Line Messenger"},{"name":"linetextcolor","type":"string","title":"Line Text Color","description":"Color of the text inside the Line button","uiWidget":"color","format":"color","uiGroup":"Line Messenger"},{"name":"linkedinbackgroundcolor","type":"string","title":"Linkedin Background Color","description":"Background color of the linkedin button","uiWidget":"color","format":"color","uiGroup":"LinkedIn"},{"name":"linkedinclass-name","type":"string","title":"Linkedin Class Name","description":"CSS class name for additional styling.","uiGroup":"LinkedIn"},{"name":"linkedindisplayrule","type":"string","title":"Linkedin Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"LinkedIn"},{"name":"linkedinicon","type":"string","title":"Linkedin Icon","description":"Linkedin button icon","default":"linkedin","uiGroup":"LinkedIn"},{"name":"linkediniconhorizontal","type":"number","title":"Linkedin Icon Horizontal","description":"Number to horizontally align the Linkedin button icon","uiGroup":"LinkedIn"},{"name":"linkediniconsize","type":"number","title":"Linkedin Icon Size","description":"Size of the Linkedin button icon","default":1.2,"uiGroup":"LinkedIn"},{"name":"linkediniconvertical","type":"number","title":"Linkedin Icon Vertical","description":"Number to vertically align the Linkedin button icon","uiGroup":"LinkedIn"},{"name":"linkedintext","type":"string","title":"Linkedin Text","description":"Text inside the linkedin button","uiGroup":"LinkedIn"},{"name":"linkedintextcolor","type":"string","title":"Linkedin Text Color","description":"Color of the text inside the Linkedin button","uiWidget":"color","format":"color","uiGroup":"LinkedIn"},{"name":"messengerbackgroundcolor","type":"string","title":"Messenger Background Color","description":"Background color of the Messenger button","uiWidget":"color","format":"color","uiGroup":"Messenger"},{"name":"messengerclass-name","type":"string","title":"Messenger Class Name","description":"CSS class name for additional styling.","uiGroup":"Messenger"},{"name":"messengerdisplayrule","type":"string","title":"Messenger Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Messenger"},{"name":"messengericon","type":"string","title":"Messenger Icon","description":"Messenger button icon","default":"messenger","uiGroup":"Messenger"},{"name":"messengericonhorizontal","type":"number","title":"Messenger Icon Horizontal","description":"Number to horizontally align the Messenger button icon","default":7,"uiGroup":"Messenger"},{"name":"messengericonsize","type":"number","title":"Messenger Icon Size","description":"Size of the Messenger button icon","default":1.4,"uiGroup":"Messenger"},{"name":"messengericonvertical","type":"number","title":"Messenger Icon Vertical","description":"Number to vertically align the Messenger button icon","default":3,"uiGroup":"Messenger"},{"name":"messengertext","type":"string","title":"Messenger Text","description":"Text inside the Messenger button","uiGroup":"Messenger"},{"name":"messengertextcolor","type":"string","title":"Messenger Text Color","description":"Color of the text inside the Messenger button","uiWidget":"color","format":"color","uiGroup":"Messenger"},{"name":"pinterestbackgroundcolor","type":"string","title":"Pinterest Background Color","description":"Background color of the Pinterest button","uiWidget":"color","format":"color","uiGroup":"Pinterest"},{"name":"pinterestclass-name","type":"string","title":"Pinterest Class Name","description":"CSS class name for additional styling.","uiGroup":"Pinterest"},{"name":"pinterestdisplayrule","type":"string","title":"Pinterest Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Pinterest"},{"name":"pinteresticon","type":"string","title":"Pinterest Icon","description":"Pinterest button icon","default":"pinterest","uiGroup":"Pinterest"},{"name":"pinteresticonhorizontal","type":"number","title":"Pinterest Icon Horizontal","description":"Number to horizontally align the Pinterest button icon","default":9,"uiGroup":"Pinterest"},{"name":"pinteresticonsize","type":"number","title":"Pinterest Icon Size","description":"Size of the Pinterest button icon","default":1.2,"uiGroup":"Pinterest"},{"name":"pinteresticonvertical","type":"number","title":"Pinterest Icon Vertical","description":"Number to vertically align the Pinterest button icon","default":4,"uiGroup":"Pinterest"},{"name":"pinteresttext","type":"string","title":"Pinterest Text","description":"Text inside the Pinterest button","uiGroup":"Pinterest"},{"name":"pinteresttextcolor","type":"string","title":"Pinterest Text Color","description":"Color of the text inside the Pinterest button","uiWidget":"color","format":"color","uiGroup":"Pinterest"},{"name":"smsbackgroundcolor","type":"string","title":"SMS Background Color","description":"Background color of the SMS button","uiWidget":"color","format":"color","uiGroup":"SMS"},{"name":"smsclass-name","type":"string","title":"SMS Class Name","description":"CSS class name for additional styling.","uiGroup":"SMS"},{"name":"smsdisplayrule","type":"string","title":"SMS Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-only","hidden"],"enumNames":["Mobile Only","Hide"],"uiGroup":"SMS"},{"name":"smsicon","type":"string","title":"SMS Icon","description":"SMS button icon","default":"chat","uiGroup":"SMS"},{"name":"smsiconhorizontal","type":"number","title":"SMS Icon Horizontal","description":"Number to horizontally align the SMS button icon","uiGroup":"SMS"},{"name":"smsiconsize","type":"number","title":"SMS Icon Size","description":"Size of the SMS button icon","uiGroup":"SMS"},{"name":"smsiconvertical","type":"number","title":"SMS Icon Vertical","description":"Number to vertically align the SMS button icon","uiGroup":"SMS"},{"name":"smstext","type":"string","title":"SMS Text","description":"Text inside the SMS button","uiGroup":"SMS"},{"name":"smstextcolor","type":"string","title":"SMS Text Color","description":"Color of the text inside the SMS button","uiWidget":"color","format":"color","uiGroup":"SMS"},{"name":"twitterbackgroundcolor","type":"string","title":"Twitter Background Color","description":"Background color of the twitter button","uiWidget":"color","format":"color","uiGroup":"Twitter"},{"name":"twitterclass-name","type":"string","title":"Twitter Class Name","description":"CSS class name for additional styling.","uiGroup":"Twitter"},{"name":"twitterdisplayrule","type":"string","title":"Twitter Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Twitter"},{"name":"twittericon","type":"string","title":"Twitter Icon","description":"Twitter button icon","default":"twitter","uiGroup":"Twitter"},{"name":"twittericonhorizontal","type":"number","title":"Twitter Icon Horizontal","description":"Number to horizontally align the twitter button icon","default":9,"uiGroup":"Twitter"},{"name":"twittericonsize","type":"number","title":"Twitter Icon Size","description":"Size of the twitter button icon","default":1.2,"uiGroup":"Twitter"},{"name":"twittericonvertical","type":"number","title":"Twitter Icon Vertical","description":"Number to vertically align the twitter button icon","uiGroup":"Twitter"},{"name":"twittertext","type":"string","title":"Twitter Text","description":"Text inside the twitter button","uiGroup":"Twitter"},{"name":"twittertextcolor","type":"string","title":"Twitter Text Color","description":"Color of the text inside the twitter button","uiWidget":"color","format":"color","uiGroup":"Twitter"},{"name":"whatsappbackgroundcolor","type":"string","title":"WhatsApp Background Color","description":"Background color of the WhatsApp button","uiWidget":"color","format":"color","uiGroup":"WhatsApp"},{"name":"whatsappclass-name","type":"string","title":"WhatsApp Class Name","description":"CSS class name for additional styling.","uiGroup":"WhatsApp"},{"name":"whatsappdisplayrule","type":"string","title":"WhatsApp Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-only","hidden"],"enumNames":["Mobile Only","Hide"],"uiGroup":"WhatsApp"},{"name":"whatsappicon","type":"string","title":"WhatsApp Icon","description":"WhatsApp button icon","default":"whatsapp","uiGroup":"WhatsApp"},{"name":"whatsappiconhorizontal","type":"number","title":"WhatsApp Icon Horizontal","description":"Number to horizontally align the WhatsApp button icon","default":7,"uiGroup":"WhatsApp"},{"name":"whatsappiconsize","type":"number","title":"WhatsApp Icon Size","description":"Size of the WhatsApp button icon","default":1.4,"uiGroup":"WhatsApp"},{"name":"whatsappiconvertical","type":"number","title":"WhatsApp Icon Vertical","description":"Number to vertically align the WhatsApp button icon","default":2,"uiGroup":"WhatsApp"},{"name":"whatsapptext","type":"string","title":"WhatsApp Text","description":"Text inside the WhatsApp button","uiGroup":"WhatsApp"},{"name":"whatsapptextcolor","type":"string","title":"WhatsApp Text Color","description":"Color of the text inside the WhatsApp button","default":"#fff","uiWidget":"color","format":"color","uiGroup":"WhatsApp"}],"exampleGroup":"Sharing","examples":[{"title":"Share Button Group","content":"<sqh-share-button-container ishidden=\"false\" emaildisplayrule=\"mobile-and-desktop\" emailtext=\"Email\" emailtextcolor=\"#ffffff\" emailbackgroundcolor=\"#4b4d50\" facebookdisplayrule=\"mobile-and-desktop\" facebooktext=\"Facebook\" facebooktextcolor=\"#ffffff\" facebookbackgroundcolor=\"#234079\" twitterdisplayrule=\"mobile-and-desktop\" twittertext=\"Twitter\" twittertextcolor=\"#ffffff\" twitterbackgroundcolor=\"#4797d2\" smsdisplayrule=\"mobile-only\" smstext=\"SMS\" smstextcolor=\"#ffffff\" smsbackgroundcolor=\"#7bbf38\" whatsappdisplayrule=\"mobile-only\" whatsapptext=\"Whatspp\" whatsapptextcolor=\"#ffffff\" whatsappbackgroundcolor=\"#25D366\" linkedindisplayrule=\"hidden\" linkedintext=\"LinkedIn\" linkedintextcolor=\"#ffffff\" linkedinbackgroundcolor=\"#0084b9\" pinterestdisplayrule=\"hidden\" pinteresttext=\"Pinterest\" pinteresttextcolor=\"#ffffff\" pinterestbackgroundcolor=\"#cb2027\" messengerdisplayrule=\"hidden\" messengertext=\"Messenger\" messengertextcolor=\"#ffffff\" messengerbackgroundcolor=\"#0084ff\" linedisplayrule=\"mobile-only\" linetext=\"Line Messenger\" linetextcolor=\"#ffffff\" linebackgroundcolor=\"#00c300\"></sqh-share-button-container>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-stat-component","title":"Stat Component","attributes":[{"name":"ishidden","type":"boolean","title":"Hide Stat","description":"Hide or show the component"},{"name":"statcolor","type":"string","title":"Stat Color","description":"Text color of the stat","uiWidget":"color","format":"color"},{"name":"statdescription","type":"string","title":"Stat Description","description":"Description shown underneath stat value"},{"name":"stattype","type":"string","title":"Stat Type","description":"Type of stat being displayed. e.g /rewardsCount","uiWidget":"statTypeSelector","minLength":1},{"name":"statvalue","type":"string","title":"Stat Value","description":"Value shown inside stat"}],"exampleGroup":"Statistics","examples":[{"title":"Referral Count","content":"<sqh-stat-component ishidden=\"false\" statcolor=\"#4caf50\" stattype=\"/referralsCount\" statdescription=\"Friends Referred\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-stat-component>"},{"title":"Reward Count","content":"<sqh-stat-component ishidden=\"false\" stattype=\"/rewardsCount\" statdescription=\"Total Rewards\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-stat-component>"},{"title":"Credit Earned","content":"<sqh-stat-component ishidden=\"false\" stattype=\"/rewardBalance/CREDIT/CENTS/prettyAssignedCredit\" statdescription=\"Credit earned\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-stat-component>"},{"title":"Points Earned","content":"<sqh-stat-component statcolor=\"#000000\" stattype=\"/rewardBalance/CREDIT/POINT/totalAssignedCredit\" statdescription=\"Points Earned\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-stat-component>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-stats-container","title":"Stats Container","slots":[{"name":"","title":"Stats"}],"attributes":[{"name":"ishidden","type":"boolean","title":"Is Hidden","description":"Hide the component","default":false},{"name":"paddingbottom","type":"string","title":"Padding Bottom","description":"Configure the padding bottom of the container"},{"name":"paddingtop","type":"string","title":"Padding Top","description":"Configure the padding top of the container"}],"exampleGroup":"Statistics","examples":[{"title":"Referral Stat Group","content":"<sqh-stats-container ishidden=\"false\" paddingtop=\"0\" paddingbottom=\"0\"><sqh-stat-component ishidden=\"false\" statcolor=\"#4caf50\" stattype=\"/referralsCount\" statdescription=\"Friends Referred\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-stat-component><sqh-stat-component ishidden=\"false\" stattype=\"/rewardsCount\" statdescription=\"Total Rewards\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-stat-component><sqh-stat-component ishidden=\"false\" stattype=\"/rewardBalance/CREDIT/CENTS/prettyAssignedCredit\" statdescription=\"Credit earned\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-stat-component></sqh-stats-container>"},{"title":"Partner Stat Group","content":"<sqh-stats-container ishidden=\"false\" paddingtop=\"0\" paddingbottom=\"0\"><sqh-partner-stat-component ishidden=\"false\" statcolor=\"#000000\" stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyPendingCredit\" statdescription=\"Pending Balance\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-partner-stat-component><sqh-partner-stat-component ishidden=\"false\" stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyValue\" statdescription=\"Available Balance\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#4caf50\"></sqh-partner-stat-component><sqh-partner-stat-component ishidden=\"false\" stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyRedeemedCredit\" statdescription=\"Redeemed Balance\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-partner-stat-component></sqh-stats-container>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-text-component","title":"Text Component","attributes":[{"name":"background","type":"string","title":"Background","description":"Background the container, color or url"},{"name":"color","type":"string","title":"Color","description":"Color of the text","uiWidget":"color","format":"color"},{"name":"fontfamily","type":"string","title":"Font Family","description":"Font family of the text"},{"name":"fontsize","type":"string","title":"Font Size","description":"Size of the text"},{"name":"height","type":"string","title":"Height","description":"Height of the container"},{"name":"ishidden","type":"boolean","title":"Hide Text","description":"Hide or show the component"},{"name":"ismarkdown","type":"boolean","title":"Is Markdown","description":"Compiles plain text into markdown"},{"name":"paddingbottom","type":"string","title":"Padding Bottom","description":"Bottom padding on text"},{"name":"paddingtop","type":"string","title":"Padding Top","description":"Top padding on text"},{"name":"text","type":"string","title":"Text","description":"The text content"},{"name":"textalign","type":"string","title":"Text Align","description":"Text alignment","enum":["left","center","right"],"enumNames":["Left","Center","Right"]}],"exampleGroup":"Common Components","examples":[{"title":"Header Text","content":"<sqh-text-component sqhheader=\"true\" ishidden=\"false\" ismarkdown=\"false\" text=\"Give $10 and Get $10!\" color=\"#4486E1\" fontsize=\"30\" textalign=\"center\" paddingtop=\"30\" paddingbottom=\"10\"></sqh-text-component>"},{"title":"Paragraph Text","content":"<sqh-text-component sqhbody=\"true\" ishidden=\"false\" ismarkdown=\"true\" text=\"Give a friend a $10 and receive $10 for yourself when they purchase.<br/><br/>Share the link below or use the code **<sqh-referral-code />**\" color=\"#000000\" fontsize=\"13\" textalign=\"center\" paddingtop=\"5\" paddingbottom=\"20\"></sqh-text-component>"}],"canvasRenderer":"always-replace"}]}]}
1
+ {"schemaVersion":"0.0.1","modules":[{"tags":[{"tagName":"sqh-close-button","title":"Close Button","attributes":[{"name":"text","type":"string","title":"Button Text","description":"The text shown inside the close button.","default":"Close","required":false}],"exampleGroup":"Common Components","examples":[{"title":"Close Popup Button","content":"<sqh-close-button text=\"Close\"></sqh-close-button>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-copy-button","title":"Copy Button","attributes":[{"name":"backgroundcolor","type":"string","title":"Button Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"borderradius","type":"number","title":"Border Radius","description":"Define the radius of the corners with a pixel amount.","required":false},{"name":"codefontcolor","type":"string","title":"Fuel Tank Code Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"codefontsize","type":"number","title":"Code Font Size","description":"Font size of the fuel tank code.","required":false},{"name":"copyfailure","type":"string","title":"Copy Failure Text","description":"Shown when the button has failed to copy the code to the users clipboard.","required":false},{"name":"copysuccess","type":"string","title":"Copy Success Text","description":"Shown when the code is successfully copied to the users clipboard.","required":false},{"name":"fontsize","type":"number","title":"Font Size","description":"","required":false},{"name":"ishidden","type":"boolean","title":"Hide Button","description":"","required":false},{"name":"rewardkey","type":"string","title":"Reward Key","description":"The rewardKey of a fuel tank reward. This is used to get the fuel tank code for a user.","required":false},{"name":"text","type":"string","title":"Button Text","description":"","required":false},{"name":"textcolor","type":"string","title":"Button Text Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"width","type":"number","title":"Button Max Width","description":"","required":false}],"exampleGroup":"Common Components","examples":[{"title":"Fuel Tank Copy Button","content":"<sqh-copy-button ishidden=\"false\" copysuccess=\"copied!\" copyfailure=\"Press Ctrl+C to copy\" codefontcolor=\"#000000\" codefontsize=\"14\" text=\"COPY CODE\" fontsize=\"14\" width=\"170\" backgroundcolor=\"#35b21e\" textcolor=\"#ffffff\" borderradius=\"4\" rewardkey=\"referredReward\" codefontsize=\"14\" codefontcolor=\"#000000\"></sqh-copy-button>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-copy-link-button","title":"Copy Link Button","attributes":[{"name":"buttoncolor","type":"string","title":"Button Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"copyfailure","type":"string","title":"Copy Failure Text","description":"Shown when the button has failed to copy the code to the users clipboard.","required":false},{"name":"copysuccess","type":"string","title":"Copy Success Text","description":"Shown when the code is successfully copied to the users clipboard.","required":false},{"name":"ishidden","type":"boolean","title":"Hide Button","description":"","required":false},{"name":"text","type":"string","title":"Button Text","description":"","required":false},{"name":"textcolor","type":"string","title":"Button Text Color","description":"","uiWidget":"color","format":"color","required":false}],"exampleGroup":"Common Components","examples":[{"title":"Copy Link Button","content":"<sqh-copy-link-button ishidden=\"false\" copysuccess=\"copied!\" copyfailure=\"Press Ctrl+C to copy\" text=\"Copy\" buttoncolor=\"#5C6164\" textcolor=\"#FFFFFF\"></sqh-copy-link-button>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-cta-component","title":"Call To Action","attributes":[{"name":"background","type":"string","title":"Background","description":"","required":false},{"name":"borderradius","type":"string","title":"Border Radius","description":"","required":false},{"name":"buttonbackground","type":"string","title":"Button Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"color","type":"string","title":"Text Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"fontfamily","type":"string","title":"Font Family","description":"","required":false},{"name":"fontsize","type":"string","title":"Font Size","description":"","required":false},{"name":"fontweight","type":"string","title":"Font Weight","description":"","required":false},{"name":"height","type":"string","title":"Button Height","description":"Button height in pixels.","required":false},{"name":"ishidden","type":"boolean","title":"Hide Text","description":"","required":false},{"name":"ismarkdown","type":"boolean","title":"Use Markdown","description":"Compile plain text into markdown.","required":false},{"name":"paddingbottom","type":"string","title":"Padding Bottom","description":"","required":false},{"name":"paddingtop","type":"string","title":"Padding Top","description":"","required":false},{"name":"text","type":"string","title":"Text","description":"","required":false},{"name":"textalign","type":"string","title":"Text Alignment","description":"","enum":["left","center","right"],"enumNames":["Left","Center","Right"],"required":false},{"name":"url","type":"string","title":"Button Link","description":"","required":false},{"name":"width","type":"string","title":"Button Width","description":"Button width in pixels.","required":false}],"examples":[]},{"tagName":"sqh-global-container","title":"Global Container","slots":[{"name":"","title":"Widget Content"}],"attributes":[{"name":"background","type":"string","title":"Background Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"fontfamily","type":"string","title":"Font Family","description":"Font family used inside the container.","enum":["Roboto","Artifakt Element","Helvetica Neue,Helvetica,Arial,sans-serif","Lato,sans-serif","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"],"enumNames":["Roboto","Artifakt Element","Helvetica Neue","Lato","Times New Roman","Arial","Courier","Tahoma","Verdana","Georgia"],"required":false},{"name":"loadingcolor","type":"string","title":"Loading Color","description":"The background colour of the component while in the loading state.","uiWidget":"color","format":"color","required":false},{"name":"maxwidth","type":"string","title":"Container Max Width","description":"","required":false},{"name":"poweredby","type":"boolean","title":"Show Powered By","description":"Show the Powered by SaaSquatch link. This can only be disabled on Pro plans.","required":false}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-image-component","title":"Image Component","attributes":[{"name":"alignment","type":"string","title":"Horizontal Alignment","description":"","enum":["left","center","right"],"enumNames":["Left","Center","Right"],"required":false},{"name":"borderradius","type":"number","title":"Border Radius","description":"Define the radius of the corners with a pixel amount.","required":false},{"name":"css","type":"string","title":"CSS","description":"Additional CSS applied to the image element","uiWidget":"textArea","required":false},{"name":"ishidden","type":"boolean","title":"Hide Image","description":"","required":false},{"name":"url","type":"string","title":"Image URL","description":"","uiWidget":"imageUpload","format":"url","required":false},{"name":"width","type":"number","title":"Width","description":"Define the width of the image with a pixel amount.","required":false}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-partner-stat-component","title":"Partner Stat","attributes":[{"name":"ishidden","type":"boolean","title":"Hide Stat","description":"","required":false},{"name":"statcolor","type":"string","title":"Color","description":"Color of the stat value and description","uiWidget":"color","format":"color","required":false},{"name":"statdescription","type":"string","title":"Description","description":"","required":false},{"name":"stattype","type":"string","title":"Stat Type","description":"Determines what type of stat is displayed. Manual paths are also supported.","uiWidget":"statTypeSelector","minLength":1,"required":true},{"name":"statvalue","type":"string","title":"Value","description":"Value of the stat","required":false}],"exampleGroup":"Statistics","examples":[{"title":"Pending CASH/CAD","content":"<sqh-partner-stat-component statcolor=\"#000000\" stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyPendingCredit\" statdescription=\"Pending Balance\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-partner-stat-component>"},{"title":"Available CASH/CAD","content":"<sqh-partner-stat-component stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyValue\" statdescription=\"Available Balance\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#4CAF50\"></sqh-partner-stat-component>"},{"title":"Redeemed CASH/CAD","content":"<sqh-partner-stat-component stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyRedeemedCredit\" statdescription=\"Redeemed Balance\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-partner-stat-component>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-progress-indicator","title":"sqh-progress-indicator","attributes":[{"name":"align","type":"string","title":"align","description":"","required":false},{"name":"earned","type":"string","title":"earned","description":"","required":false},{"name":"ishidden","type":"boolean","title":"ishidden","description":"","default":false,"required":false},{"name":"percentagecolor","type":"string","title":"percentagecolor","description":"","required":false},{"name":"percentagesize","type":"string","title":"percentagesize","description":"","required":false},{"name":"progress","type":"string","title":"progress","description":"","required":false},{"name":"progresscolor","type":"string","title":"progresscolor","description":"","required":false},{"name":"progresstype","type":"string","title":"progresstype","description":"","required":false},{"name":"progresswidth","type":"string","title":"progresswidth","description":"","required":false},{"name":"textcolor","type":"string","title":"textcolor","description":"","required":false}],"examples":[]},{"tagName":"sqh-referral-code","title":"Referral Code","attributes":[],"exampleGroup":"Referrals","examples":[{"title":"Referral Code","content":"<sqh-referral-code />"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-referral-component","title":"Referral Component","attributes":[{"name":"locale","type":"string","title":"Local","description":"Configure the local","required":false},{"name":"referraltype","type":"\"converted\" | \"pending\" | \"referrer\"","title":"Referral Type","description":"Type of referral","required":false}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-referral-list","title":"Referral List","attributes":[{"name":"cancelledcolor","type":"string","title":"Cancelled Color","description":"Color of the cancelled icon and text in the rewards column.","uiWidget":"color","format":"color","uiGroup":"Cancelled Rewards","required":false},{"name":"cancelledcontent","type":"string","title":"Cancelled Content","description":"Content shown in the referral column for a cancelled reward.","uiGroup":"Cancelled Rewards","required":false},{"name":"cancelledvalue","type":"string","title":"Cancelled Value","description":"Text shown alongside the icon in the referral column for a cancelled reward.","uiGroup":"Cancelled Rewards","required":false},{"name":"convertedcontent","type":"string","title":"Converted Content","description":"Content shown when a referral is converted","uiGroup":"Converted Referrals","required":false},{"name":"customernotecolor","type":"string","title":"Customer Note Color","description":"","uiWidget":"color","format":"color","uiGroup":"Converted Referrals","required":false},{"name":"expiredcolor","type":"string","title":"Expired Color","description":"Color of the expired reward icon and text in the rewards column.","uiWidget":"color","format":"color","uiGroup":"Expired Rewards","required":false},{"name":"expiredcontent","type":"string","title":"Expired Content","description":"Expired content shown in the user column","uiGroup":"Expired Rewards","required":false},{"name":"expiredvalue","type":"string","title":"Expired Value","description":"Expired content shown alongside the icon in the referral column","uiGroup":"Expired Rewards","required":false},{"name":"expiresvalue","type":"string","title":"Expires Value","description":"Reward expiry ICU message","uiGroup":"Expired Rewards","required":false},{"name":"internationalization","type":"boolean","title":"Internationalization","description":"When true, the local gets set by using the value passed to the referral component","required":false},{"name":"ishidden","type":"boolean","title":"Hide Referral List","description":"","required":false},{"name":"noreferralsyet","type":"string","title":"Empty Referrals Text","description":"Shown when referral list is empty","required":false},{"name":"paginateless","type":"string","title":"Paginate Less Text","description":"Shown inside the paginate less button","required":false},{"name":"paginatemore","type":"string","title":"Paginate More Text","description":"Shown inside the paginate more button","required":false},{"name":"pendingcolor","type":"string","title":"Pending Color","description":"Color of the pending reward icon and text in the rewards column.","uiWidget":"color","format":"color","uiGroup":"Pending Referrals","required":false},{"name":"pendingcontent","type":"string","title":"Pending Content","description":"Pending content shown in the user column","uiGroup":"Pending Referrals","required":false},{"name":"pendingvalue","type":"string","title":"Pending Value","description":"Pending content shown alongside the icon in the referral column","uiGroup":"Pending Referrals","required":false},{"name":"redeemedvalue","type":"string","title":"Redeemed Value","description":"Shown when reward is redeemed","uiGroup":"Converted Referrals","required":false},{"name":"referralnamecolor","type":"string","title":"Referral Name Color","description":"Text color of the referred user's name","uiWidget":"color","format":"color","required":false},{"name":"referraltextcolor","type":"string","title":"Referral Status Text Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"referrercontent","type":"string","title":"Referrer Content","description":"Text explaining who referred you to the program","uiGroup":"Referrer","required":false},{"name":"referrervalue","type":"string","title":"Referrer Value","description":"Referred Text shown in reward column","uiGroup":"Referrer","required":false},{"name":"rewardcolor","type":"string","title":"Reward Color","description":"Color of the successful reward icon and text in the rewards column.","uiWidget":"color","format":"color","uiGroup":"Converted Referrals","required":false},{"name":"showexpiry","type":"boolean","title":"Show Expired Rewards","description":"","required":false},{"name":"shownotes","type":"boolean","title":"Show Customer Note","description":"","required":false},{"name":"showreferrer","type":"boolean","title":"Show Referred By","description":"Show referral and reward information on who referred you.","uiGroup":"Referrer","required":false},{"name":"unknownuser","type":"string","title":"Unknown User Text","description":"Text shown when the referred user's name is unknown","required":false},{"name":"usefirstreward","type":"boolean","title":"Use First Reward","description":"Show the value of the first earned reward inside the rewards column","uiGroup":"Converted Referrals","required":false},{"name":"valuecontent","type":"string","title":"Value Content","description":"Value shown in the rewards column","uiWidget":"textArea","uiGroup":"Converted Referrals","required":false}],"exampleGroup":"Referrals","examples":[{"title":"Referral List","content":"<sqh-referral-list ishidden=\"false\" showreferrer=\"true\" usefirstreward=\"false\" referralnamecolor=\"darkslategray\" referraltextcolor=\"lightgray\" rewardcolor=\"#4BB543\" pendingcolor=\"lightgray\" pendingvalue=\"Reward Pending\" referrervalue=\"Referred\" referrercontent=\"Referred you {date}\" convertedcontent=\"Signed up, referred {date}\" pendingcontent=\"Trial user, referred {date}\" pendingvalue=\"Referral pending\" valuecontent=\"and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}\" expiredcolor=\"lightgray\" expiredvalue=\"Expired Reward\" expiredcontent=\"Signed up, referred {date}\" cancelledcolor=\"#C81D05\" cancelledvalue=\"Cancelled Reward\" cancelledcontent=\"Signed up, referred {date}\" paginatemore=\"View More\" paginateless=\"Previous\" noreferralsyet=\"No Referrals Yet...\" unknownuser=\"Your Friend\"></sqh-referral-list>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-rewards-actions","title":"Reward Actions","attributes":[{"name":"hidetext","type":"string","title":"Hide Button Text","description":"Text inside the hide button","default":"Hide","required":false},{"name":"nexttext","type":"string","title":"Next Button Text","description":"Text inside the next button","default":"Next","required":false},{"name":"previoustext","type":"string","title":"Previous Button Text","description":"Text inside the previous button","default":"Previous","required":false}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-share-button","title":"Share Button","attributes":[{"name":"backgroundcolor","type":"string","title":"Share Button Background Color","description":"Background color of the share button","uiWidget":"color","format":"color","required":false},{"name":"button-class-name","type":"string","title":"Share Button Class Name","description":"CSS Class name used to style the share button","required":false},{"name":"displayrule","type":"string","title":"Share Button Display Rule","description":"Show or hide button depending on what type of device the user is on","required":false},{"name":"icon","type":"string","title":"Share Button Icon","description":"Share button icon","required":false},{"name":"iconhorizontal","type":"number","title":"Share Button Icon Horizontal","description":"Number to horizontally align the share button icon","required":false},{"name":"iconsize","type":"number","title":"Share Button Icon Size","description":"Size of the Share button icon","required":false},{"name":"iconvertical","type":"number","title":"Share Button Icon Vertical","description":"Number to vertically align the share button icon","required":false},{"name":"text","type":"string","title":"Share Button Text","description":"Text inside the share button","required":false},{"name":"textcolor","type":"string","title":"Share Button Text Color","description":"Color of the text inside the share button","uiWidget":"color","format":"color","required":false},{"name":"type","type":"string","title":"Share Button Type","description":"Type of the share button","required":false},{"name":"url","type":"string","title":"URL","description":"URL redirect location","uiWidget":"imageUpload","format":"url","required":false}],"examples":[],"canvasRenderer":"always-replace"},{"tagName":"sqh-share-button-container","title":"Share Button Container","attributes":[{"name":"emailbackgroundcolor","type":"string","title":"Email Background Color","description":"Background color of the Email button","uiWidget":"color","format":"color","uiGroup":"Email","required":false},{"name":"emailclass-name","type":"string","title":"Email Class Name","description":"CSS class name for additional styling.","default":"email-share","uiGroup":"Email","required":false},{"name":"emaildisplayrule","type":"string","title":"Email Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Email","required":false},{"name":"emailicon","type":"string","title":"Email Icon","description":"Email button icon","default":"mail","uiGroup":"Email","required":false},{"name":"emailiconhorizontal","type":"number","title":"Email Icon Horizontal","description":"Number to horizontally align the Email button icon","uiGroup":"Email","required":false},{"name":"emailiconsize","type":"number","title":"Email Icon Size","description":"","uiGroup":"Email","required":false},{"name":"emailiconvertical","type":"number","title":"Email Icon Vertical","description":"Number to vertically align the Email button icon","uiGroup":"Email","required":false},{"name":"emailtext","type":"string","title":"Email Text","description":"","uiGroup":"Email","required":false},{"name":"emailtextcolor","type":"string","title":"Email Text Color","description":"","uiWidget":"color","format":"color","uiGroup":"Email","required":false},{"name":"facebookbackgroundcolor","type":"string","title":"Facebook Background Color","description":"Background color of the facebook button","uiWidget":"color","format":"color","uiGroup":"Facebook","required":false},{"name":"facebookclass-name","type":"string","title":"Facebook Class Name","description":"CSS class name for additional styling.","uiGroup":"Facebook","required":false},{"name":"facebookdisplayrule","type":"string","title":"Facebook Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Facebook","required":false},{"name":"facebookicon","type":"string","title":"Facebook Icon","description":"Facebook button icon","default":"facebook","uiGroup":"Facebook","required":false},{"name":"facebookiconhorizontal","type":"number","title":"Facebook Icon Horizontal","description":"Number to horizontally align the facebook button icon","default":9,"uiGroup":"Facebook","required":false},{"name":"facebookiconsize","type":"number","title":"Facebook Icon Size","description":"","default":1.2,"uiGroup":"Facebook","required":false},{"name":"facebookiconvertical","type":"number","title":"Facebook Icon Vertical","description":"Number to vertically align the facebook button icon","uiGroup":"Facebook","required":false},{"name":"facebooktext","type":"string","title":"Facebook Text","description":"","uiGroup":"Facebook","required":false},{"name":"facebooktextcolor","type":"string","title":"Facebook Text Color","description":"","uiWidget":"color","format":"color","uiGroup":"Facebook","required":false},{"name":"ishidden","type":"boolean","title":"Hide Share Buttons","description":"","required":false},{"name":"linebackgroundcolor","type":"string","title":"Line Background Color","description":"Background color of the Line button","uiWidget":"color","format":"color","uiGroup":"Line Messenger","required":false},{"name":"lineclass-name","type":"string","title":"Line Class Name","description":"CSS class name for additional styling.","uiGroup":"Line Messenger","required":false},{"name":"linedisplayrule","type":"string","title":"Line Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-only","hidden"],"enumNames":["Mobile Only","Hide"],"uiGroup":"Line Messenger","required":false},{"name":"lineicon","type":"string","title":"Line Icon","description":"Line button icon","default":"line","uiGroup":"Line Messenger","required":false},{"name":"lineiconhorizontal","type":"number","title":"Line Icon Horizontal","description":"Number to horizontally align the Line button icon","default":-2,"uiGroup":"Line Messenger","required":false},{"name":"lineiconsize","type":"number","title":"Line Icon Size","description":"","default":2.2,"uiGroup":"Line Messenger","required":false},{"name":"lineiconvertical","type":"number","title":"Line Icon Vertical","description":"Number to vertically align the Line button icon","default":-5,"uiGroup":"Line Messenger","required":false},{"name":"linetext","type":"string","title":"Line Text","description":"","uiGroup":"Line Messenger","required":false},{"name":"linetextcolor","type":"string","title":"Line Text Color","description":"","uiWidget":"color","format":"color","uiGroup":"Line Messenger","required":false},{"name":"linkedinbackgroundcolor","type":"string","title":"Linkedin Background Color","description":"Background color of the linkedin button","uiWidget":"color","format":"color","uiGroup":"LinkedIn","required":false},{"name":"linkedinclass-name","type":"string","title":"Linkedin Class Name","description":"CSS class name for additional styling.","uiGroup":"LinkedIn","required":false},{"name":"linkedindisplayrule","type":"string","title":"Linkedin Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"LinkedIn","required":false},{"name":"linkedinicon","type":"string","title":"Linkedin Icon","description":"Linkedin button icon","default":"linkedin","uiGroup":"LinkedIn","required":false},{"name":"linkediniconhorizontal","type":"number","title":"Linkedin Icon Horizontal","description":"Number to horizontally align the Linkedin button icon","uiGroup":"LinkedIn","required":false},{"name":"linkediniconsize","type":"number","title":"Linkedin Icon Size","description":"","default":1.2,"uiGroup":"LinkedIn","required":false},{"name":"linkediniconvertical","type":"number","title":"Linkedin Icon Vertical","description":"Number to vertically align the Linkedin button icon","uiGroup":"LinkedIn","required":false},{"name":"linkedintext","type":"string","title":"Linkedin Text","description":"","uiGroup":"LinkedIn","required":false},{"name":"linkedintextcolor","type":"string","title":"Linkedin Text Color","description":"","uiWidget":"color","format":"color","uiGroup":"LinkedIn","required":false},{"name":"messengerbackgroundcolor","type":"string","title":"Messenger Background Color","description":"Background color of the Messenger button","uiWidget":"color","format":"color","uiGroup":"Messenger","required":false},{"name":"messengerclass-name","type":"string","title":"Messenger Class Name","description":"CSS class name for additional styling.","uiGroup":"Messenger","required":false},{"name":"messengerdisplayrule","type":"string","title":"Messenger Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Messenger","required":false},{"name":"messengericon","type":"string","title":"Messenger Icon","description":"Messenger button icon","default":"messenger","uiGroup":"Messenger","required":false},{"name":"messengericonhorizontal","type":"number","title":"Messenger Icon Horizontal","description":"Number to horizontally align the Messenger button icon","default":7,"uiGroup":"Messenger","required":false},{"name":"messengericonsize","type":"number","title":"Messenger Icon Size","description":"","default":1.4,"uiGroup":"Messenger","required":false},{"name":"messengericonvertical","type":"number","title":"Messenger Icon Vertical","description":"Number to vertically align the Messenger button icon","default":3,"uiGroup":"Messenger","required":false},{"name":"messengertext","type":"string","title":"Messenger Text","description":"","uiGroup":"Messenger","required":false},{"name":"messengertextcolor","type":"string","title":"Messenger Text Color","description":"","uiWidget":"color","format":"color","uiGroup":"Messenger","required":false},{"name":"pinterestbackgroundcolor","type":"string","title":"Pinterest Background Color","description":"Background color of the Pinterest button","uiWidget":"color","format":"color","uiGroup":"Pinterest","required":false},{"name":"pinterestclass-name","type":"string","title":"Pinterest Class Name","description":"CSS class name for additional styling.","uiGroup":"Pinterest","required":false},{"name":"pinterestdisplayrule","type":"string","title":"Pinterest Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Pinterest","required":false},{"name":"pinteresticon","type":"string","title":"Pinterest Icon","description":"Pinterest button icon","default":"pinterest","uiGroup":"Pinterest","required":false},{"name":"pinteresticonhorizontal","type":"number","title":"Pinterest Icon Horizontal","description":"Number to horizontally align the Pinterest button icon","default":9,"uiGroup":"Pinterest","required":false},{"name":"pinteresticonsize","type":"number","title":"Pinterest Icon Size","description":"","default":1.2,"uiGroup":"Pinterest","required":false},{"name":"pinteresticonvertical","type":"number","title":"Pinterest Icon Vertical","description":"Number to vertically align the Pinterest button icon","default":4,"uiGroup":"Pinterest","required":false},{"name":"pinteresttext","type":"string","title":"Pinterest Text","description":"","uiGroup":"Pinterest","required":false},{"name":"pinteresttextcolor","type":"string","title":"Pinterest Text Color","description":"","uiWidget":"color","format":"color","uiGroup":"Pinterest","required":false},{"name":"smsbackgroundcolor","type":"string","title":"SMS Background Color","description":"Background color of the SMS button","uiWidget":"color","format":"color","uiGroup":"SMS","required":false},{"name":"smsclass-name","type":"string","title":"SMS Class Name","description":"CSS class name for additional styling.","uiGroup":"SMS","required":false},{"name":"smsdisplayrule","type":"string","title":"SMS Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-only","hidden"],"enumNames":["Mobile Only","Hide"],"uiGroup":"SMS","required":false},{"name":"smsicon","type":"string","title":"SMS Icon","description":"SMS button icon","default":"chat","uiGroup":"SMS","required":false},{"name":"smsiconhorizontal","type":"number","title":"SMS Icon Horizontal","description":"Number to horizontally align the SMS button icon","uiGroup":"SMS","required":false},{"name":"smsiconsize","type":"number","title":"SMS Icon Size","description":"","uiGroup":"SMS","required":false},{"name":"smsiconvertical","type":"number","title":"SMS Icon Vertical","description":"Number to vertically align the SMS button icon","uiGroup":"SMS","required":false},{"name":"smstext","type":"string","title":"SMS Text","description":"","uiGroup":"SMS","required":false},{"name":"smstextcolor","type":"string","title":"SMS Text Color","description":"","uiWidget":"color","format":"color","uiGroup":"SMS","required":false},{"name":"twitterbackgroundcolor","type":"string","title":"Twitter Background Color","description":"Background color of the twitter button","uiWidget":"color","format":"color","uiGroup":"Twitter","required":false},{"name":"twitterclass-name","type":"string","title":"Twitter Class Name","description":"CSS class name for additional styling.","uiGroup":"Twitter","required":false},{"name":"twitterdisplayrule","type":"string","title":"Twitter Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-and-desktop","mobile-only","desktop-only","hidden"],"enumNames":["Mobile and Desktop","Mobile Only","Desktop Only","Hide"],"uiGroup":"Twitter","required":false},{"name":"twittericon","type":"string","title":"Twitter Icon","description":"Twitter button icon","default":"twitter","uiGroup":"Twitter","required":false},{"name":"twittericonhorizontal","type":"number","title":"Twitter Icon Horizontal","description":"Number to horizontally align the twitter button icon","default":9,"uiGroup":"Twitter","required":false},{"name":"twittericonsize","type":"number","title":"Twitter Icon Size","description":"","default":1.2,"uiGroup":"Twitter","required":false},{"name":"twittericonvertical","type":"number","title":"Twitter Icon Vertical","description":"Number to vertically align the twitter button icon","uiGroup":"Twitter","required":false},{"name":"twittertext","type":"string","title":"Twitter Text","description":"","uiGroup":"Twitter","required":false},{"name":"twittertextcolor","type":"string","title":"Twitter Text Color","description":"","uiWidget":"color","format":"color","uiGroup":"Twitter","required":false},{"name":"whatsappbackgroundcolor","type":"string","title":"WhatsApp Background Color","description":"Background color of the WhatsApp button","uiWidget":"color","format":"color","uiGroup":"WhatsApp","required":false},{"name":"whatsappclass-name","type":"string","title":"WhatsApp Class Name","description":"CSS class name for additional styling.","uiGroup":"WhatsApp","required":false},{"name":"whatsappdisplayrule","type":"string","title":"WhatsApp Display Rule","description":"Show and hide button depending on what type of device the user is on","enum":["mobile-only","hidden"],"enumNames":["Mobile Only","Hide"],"uiGroup":"WhatsApp","required":false},{"name":"whatsappicon","type":"string","title":"WhatsApp Icon","description":"WhatsApp button icon","default":"whatsapp","uiGroup":"WhatsApp","required":false},{"name":"whatsappiconhorizontal","type":"number","title":"WhatsApp Icon Horizontal","description":"Number to horizontally align the WhatsApp button icon","default":7,"uiGroup":"WhatsApp","required":false},{"name":"whatsappiconsize","type":"number","title":"WhatsApp Icon Size","description":"","default":1.4,"uiGroup":"WhatsApp","required":false},{"name":"whatsappiconvertical","type":"number","title":"WhatsApp Icon Vertical","description":"Number to vertically align the WhatsApp button icon","default":2,"uiGroup":"WhatsApp","required":false},{"name":"whatsapptext","type":"string","title":"WhatsApp Text","description":"","uiGroup":"WhatsApp","required":false},{"name":"whatsapptextcolor","type":"string","title":"WhatsApp Text Color","description":"","default":"#fff","uiWidget":"color","format":"color","uiGroup":"WhatsApp","required":false}],"exampleGroup":"Sharing","examples":[{"title":"Share Button Group","content":"<sqh-share-button-container ishidden=\"false\" emaildisplayrule=\"mobile-and-desktop\" emailtext=\"Email\" emailtextcolor=\"#ffffff\" emailbackgroundcolor=\"#4b4d50\" facebookdisplayrule=\"mobile-and-desktop\" facebooktext=\"Facebook\" facebooktextcolor=\"#ffffff\" facebookbackgroundcolor=\"#234079\" twitterdisplayrule=\"mobile-and-desktop\" twittertext=\"Twitter\" twittertextcolor=\"#ffffff\" twitterbackgroundcolor=\"#4797d2\" smsdisplayrule=\"mobile-only\" smstext=\"SMS\" smstextcolor=\"#ffffff\" smsbackgroundcolor=\"#7bbf38\" whatsappdisplayrule=\"mobile-only\" whatsapptext=\"Whatspp\" whatsapptextcolor=\"#ffffff\" whatsappbackgroundcolor=\"#25D366\" linkedindisplayrule=\"hidden\" linkedintext=\"LinkedIn\" linkedintextcolor=\"#ffffff\" linkedinbackgroundcolor=\"#0084b9\" pinterestdisplayrule=\"hidden\" pinteresttext=\"Pinterest\" pinteresttextcolor=\"#ffffff\" pinterestbackgroundcolor=\"#cb2027\" messengerdisplayrule=\"hidden\" messengertext=\"Messenger\" messengertextcolor=\"#ffffff\" messengerbackgroundcolor=\"#0084ff\" linedisplayrule=\"mobile-only\" linetext=\"Line Messenger\" linetextcolor=\"#ffffff\" linebackgroundcolor=\"#00c300\"></sqh-share-button-container>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-stat-component","title":"Stat Component","attributes":[{"name":"ishidden","type":"boolean","title":"Hide Component","description":"","required":false},{"name":"statcolor","type":"string","title":"Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"statdescription","type":"string","title":"Description","description":"Text shown underneath the stat value","required":false},{"name":"stattype","type":"string","title":"Stat Type","description":"Type of stat being displayed. e.g /rewardsCount","uiWidget":"statTypeSelector","minLength":1,"required":true},{"name":"statvalue","type":"string","title":"Stat Value","description":"","required":false}],"exampleGroup":"Statistics","examples":[{"title":"Referral Count","content":"<sqh-stat-component ishidden=\"false\" statcolor=\"#4caf50\" stattype=\"/referralsCount\" statdescription=\"Friends Referred\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-stat-component>"},{"title":"Reward Count","content":"<sqh-stat-component ishidden=\"false\" stattype=\"/rewardsCount\" statdescription=\"Total Rewards\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-stat-component>"},{"title":"Credit Earned","content":"<sqh-stat-component ishidden=\"false\" stattype=\"/rewardBalance/CREDIT/CENTS/prettyAssignedCredit\" statdescription=\"Credit earned\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-stat-component>"},{"title":"Points Earned","content":"<sqh-stat-component statcolor=\"#000000\" stattype=\"/rewardBalance/CREDIT/POINT/totalAssignedCredit\" statdescription=\"Points Earned\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-stat-component>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-stats-container","title":"Stats Container","slots":[{"name":"","title":"Stats"}],"attributes":[{"name":"ishidden","type":"boolean","title":"Is Hidden","description":"","default":false,"required":false},{"name":"paddingbottom","type":"string","title":"Padding Bottom","description":"Define the top padding of the container with a pixel amount.","required":false},{"name":"paddingtop","type":"string","title":"Padding Top","description":"Define the bottom padding of the container with a pixel amount.","required":false}],"exampleGroup":"Statistics","examples":[{"title":"Referral Stat Group","content":"<sqh-stats-container ishidden=\"false\" paddingtop=\"0\" paddingbottom=\"0\"><sqh-stat-component ishidden=\"false\" statcolor=\"#4caf50\" stattype=\"/referralsCount\" statdescription=\"Friends Referred\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-stat-component><sqh-stat-component ishidden=\"false\" stattype=\"/rewardsCount\" statdescription=\"Total Rewards\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-stat-component><sqh-stat-component ishidden=\"false\" stattype=\"/rewardBalance/CREDIT/CENTS/prettyAssignedCredit\" statdescription=\"Credit earned\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-stat-component></sqh-stats-container>"},{"title":"Partner Stat Group","content":"<sqh-stats-container ishidden=\"false\" paddingtop=\"0\" paddingbottom=\"0\"><sqh-partner-stat-component ishidden=\"false\" statcolor=\"#000000\" stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyPendingCredit\" statdescription=\"Pending Balance\" paddingtop=\"10\" paddingbottom=\"10\"></sqh-partner-stat-component><sqh-partner-stat-component ishidden=\"false\" stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyValue\" statdescription=\"Available Balance\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#4caf50\"></sqh-partner-stat-component><sqh-partner-stat-component ishidden=\"false\" stattype=\"/rewardBalance/CREDIT/CASH_CAD/prettyRedeemedCredit\" statdescription=\"Redeemed Balance\" paddingtop=\"10\" paddingbottom=\"10\" statcolor=\"#000000\"></sqh-partner-stat-component></sqh-stats-container>"}],"canvasRenderer":"always-replace"},{"tagName":"sqh-text-component","title":"Text Component","attributes":[{"name":"background","type":"string","title":"Background","description":"Fill the background with a color or image. Input color values as a HEX code and an image as a URL.","required":false},{"name":"color","type":"string","title":"Text Color","description":"","uiWidget":"color","format":"color","required":false},{"name":"fontfamily","type":"string","title":"Font Family","description":"","required":false},{"name":"fontsize","type":"string","title":"Font Size","description":"","required":false},{"name":"fontweight","type":"string","title":"Font Weight","description":"","required":false},{"name":"height","type":"string","title":"Height","description":"Define the height of the container with a pixel amount.","required":false},{"name":"ishidden","type":"boolean","title":"Hide Text","description":"","required":false},{"name":"ismarkdown","type":"boolean","title":"Use Markdown","description":"Compile plain text into markdown.","required":false},{"name":"paddingbottom","type":"string","title":"Padding Bottom","description":"Define the bottom padding of the container with a pixel amount.","required":false},{"name":"paddingtop","type":"string","title":"Padding Top","description":"Define the top padding of the container with a pixel amount.","required":false},{"name":"text","type":"string","title":"Text","description":"","required":false},{"name":"textalign","type":"string","title":"Text Alignment","description":"","enum":["left","center","right"],"enumNames":["Left","Center","Right"],"required":false}],"exampleGroup":"Common Components","examples":[{"title":"Header Text","content":"<sqh-text-component sqhheader=\"true\" ishidden=\"false\" ismarkdown=\"false\" text=\"Give $10 and Get $10!\" color=\"#4486E1\" fontsize=\"30\" textalign=\"center\" paddingtop=\"30\" paddingbottom=\"10\"></sqh-text-component>"},{"title":"Paragraph Text","content":"<sqh-text-component sqhbody=\"true\" ishidden=\"false\" ismarkdown=\"true\" text=\"Give a friend a $10 and receive $10 for yourself when they purchase.<br/><br/>Share the link below or use the code **<sqh-referral-code />**\" color=\"#000000\" fontsize=\"13\" textalign=\"center\" paddingtop=\"5\" paddingbottom=\"20\"></sqh-text-component>"}],"canvasRenderer":"always-replace"}]}]}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@saasquatch/vanilla-components",
3
3
  "title": "Vanilla Components",
4
- "version": "1.2.4-5",
4
+ "version": "1.2.4-8",
5
5
  "description": "A minimal design library with components for referral and loyalty experiences.",
6
- "icon": "https://res.cloudinary.com/saasquatch/image/upload/v1651014187/squatch-assets/Vanilla_Package_Icon.png",
6
+ "icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Vanilla.svg",
7
7
  "raisins": "docs/raisins.json",
8
8
  "main": "dist/index.js",
9
9
  "module": "dist/index.mjs",
@@ -60,6 +60,7 @@
60
60
  "puppeteer": "3.0.3",
61
61
  "ts-node": "^8.10.1",
62
62
  "uuid": "^8.3.0",
63
+ "progressbar.js": "^1.0.1",
63
64
  "workbox-build": "4.3.1"
64
65
  },
65
66
  "resolutions": {
@@ -78,7 +79,7 @@
78
79
  "gitHead": "8bb7593d8b46310071835017f0cd63c8c36013b4",
79
80
  "dependencies": {
80
81
  "@formatjs/intl-pluralrules": "^1.5.8",
81
- "@raisins/stencil-docs-target": "^0.2.7"
82
+ "@raisins/stencil-docs-target": "^0.2.8"
82
83
  },
83
84
  "jest": {
84
85
  "transform": {
@@ -1 +0,0 @@
1
- const t="widget-components";let e,n,l=!1,o=!1,s=!1,r=0,c=!1;const i="undefined"!=typeof window?window:{},f=i.CSS,a=i.document||{head:{}},u=i.HTMLElement||class{},d={t:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},p=t=>Promise.resolve(t),h=(()=>{try{return new CSSStyleSheet,!0}catch(t){}return!1})(),$=(t,e,n)=>{n&&n.map(([n,l,o])=>{const s=t,r=m(e,o),c=y(n);d.ael(s,l,r,c),(e.o=e.o||[]).push(()=>d.rel(s,l,r,c))})},m=(t,e)=>n=>{256&t.t?t.s[e](n):(t.i=t.i||[]).push([e,n])},y=t=>0!=(2&t),b=new WeakMap,g=t=>"sc-"+t.u,w={},v=t=>"object"==(t=typeof t)||"function"===t,j="undefined"!=typeof Deno,k=!(j||"undefined"==typeof global||"function"!=typeof require||!global.process||"string"!=typeof __filename||global.origin&&"string"==typeof global.origin),O=(j&&Deno,k?process:j&&Deno,k?process:j&&Deno,(t,e,...n)=>{let l=null,o=null,s=!1,r=!1,c=[];const i=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?i(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!v(l))&&(l+=""),s&&r?c[c.length-1].p+=l:c.push(s?M(null,l):l),r=s)};if(i(n),e){e.name&&(o=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter(e=>t[e]).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,_);const f=M(t,null);return f.h=e,c.length>0&&(f.$=c),f.m=o,f}),M=(t,e)=>({t:0,g:t,p:e,v:null,$:null,h:null,m:null}),S={},_={forEach:(t,e)=>t.map(C).forEach(e),map:(t,e)=>t.map(C).map(e).map(x)},C=t=>({vattrs:t.h,vchildren:t.$,vkey:t.j,vname:t.m,vtag:t.g,vtext:t.p}),x=t=>{if("function"==typeof t.vtag){const e=Object.assign({},t.vattrs);return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),O(t.vtag,e,...t.vchildren||[])}const e=M(t.vtag,t.vtext);return e.h=t.vattrs,e.$=t.vchildren,e.j=t.vkey,e.m=t.vname,e},D=(t,e,n,l,o,s)=>{if(n!==l){let r=yt(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=N(n),s=N(l);e.remove(...o.filter(t=>t&&!s.includes(t))),e.add(...s.filter(t=>t&&!o.includes(t)))}else if(r||"o"!==e[0]||"n"!==e[1]){const c=v(l);if((r||c&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]=l;else{let o=null==l?"":l;"list"===e?r=!1:null!=n&&t[e]==o||(t[e]=o)}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&s||o)&&!c&&t.setAttribute(e,l=!0===l?"":l)}else e="-"===e[2]?e.slice(3):yt(i,c)?c.slice(2):c[2]+e.slice(3),n&&d.rel(t,e,n,!1),l&&d.ael(t,e,l,!1)}},E=/\s/,N=t=>t?t.split(E):[],R=(t,e,n,l)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,s=t&&t.h||w,r=e.h||w;for(l in s)l in r||D(o,l,s[l],void 0,n,e.t);for(l in r)D(o,l,s[l],r[l],n,e.t)},T=(t,o,r)=>{let c,i,f,u=o.$[r],d=0;if(l||(s=!0,"slot"===u.g&&(u.t|=u.$?2:1)),null!==u.p)c=u.v=a.createTextNode(u.p);else if(1&u.t)c=u.v=a.createTextNode("");else if(c=u.v=a.createElement(2&u.t?"slot-fb":u.g),R(null,u,!1),u.$)for(d=0;d<u.$.length;++d)i=T(t,u,d),i&&c.appendChild(i);return c["s-hn"]=n,3&u.t&&(c["s-sr"]=!0,c["s-cr"]=e,c["s-sn"]=u.m||"",f=t&&t.$&&t.$[r],f&&f.g===u.g&&t.v&&L(t.v,!1)),c},L=(t,e)=>{d.t|=1;const l=t.childNodes;for(let t=l.length-1;t>=0;t--){const o=l[t];o["s-hn"]!==n&&o["s-ol"]&&(q(o).insertBefore(o,W(o)),o["s-ol"].remove(),o["s-ol"]=void 0,s=!0),e&&L(o,e)}d.t&=-2},P=(t,e,n,l,o,s)=>{let r,c=t["s-cr"]&&t["s-cr"].parentNode||t;for(;o<=s;++o)l[o]&&(r=T(null,n,o),r&&(l[o].v=r,c.insertBefore(r,W(e))))},A=(t,e,n,l,s)=>{for(;e<=n;++e)(l=t[e])&&(o=!0,(s=l.v)["s-ol"]?s["s-ol"].remove():L(s,!0),s.remove())},U=(t,e)=>t.g===e.g&&("slot"!==t.g||t.m===e.m),W=t=>t&&t["s-ol"]||t,q=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,F=(t,e)=>{const n=e.v=t.v,l=t.$,o=e.$,s=e.p;let r;null===s?("slot"===e.g||R(t,e,!1),null!==l&&null!==o?((t,e,n,l)=>{let o,s=0,r=0,c=e.length-1,i=e[0],f=e[c],a=l.length-1,u=l[0],d=l[a];for(;s<=c&&r<=a;)null==i?i=e[++s]:null==f?f=e[--c]:null==u?u=l[++r]:null==d?d=l[--a]:U(i,u)?(F(i,u),i=e[++s],u=l[++r]):U(f,d)?(F(f,d),f=e[--c],d=l[--a]):U(i,d)?("slot"!==i.g&&"slot"!==d.g||L(i.v.parentNode,!1),F(i,d),t.insertBefore(i.v,f.v.nextSibling),i=e[++s],d=l[--a]):U(f,u)?("slot"!==i.g&&"slot"!==d.g||L(f.v.parentNode,!1),F(f,u),t.insertBefore(f.v,i.v),f=e[--c],u=l[++r]):(o=T(e&&e[r],n,r),u=l[++r],o&&q(i.v).insertBefore(o,W(i.v)));s>c?P(t,null==l[a+1]?null:l[a+1].v,n,l,r,a):r>a&&A(e,s,c)})(n,l,e,o):null!==o?(null!==t.p&&(n.textContent=""),P(n,null,e,o,0,o.length-1)):null!==l&&A(l,0,l.length-1)):(r=n["s-cr"])?r.parentNode.textContent=s:t.p!==s&&(n.data=s)},H=t=>{let e,n,l,o,s,r,c=t.childNodes;for(n=0,l=c.length;n<l;n++)if(e=c[n],1===e.nodeType){if(e["s-sr"])for(s=e["s-sn"],e.hidden=!1,o=0;o<l;o++)if(c[o]["s-hn"]!==e["s-hn"])if(r=c[o].nodeType,""!==s){if(1===r&&s===c[o].getAttribute("slot")){e.hidden=!0;break}}else if(1===r||3===r&&""!==c[o].textContent.trim()){e.hidden=!0;break}H(e)}},V=[],z=t=>{let e,n,l,s,r,c,i=0,f=t.childNodes,a=f.length;for(;i<a;i++){if(e=f[i],e["s-sr"]&&(n=e["s-cr"]))for(l=n.parentNode.childNodes,s=e["s-sn"],c=l.length-1;c>=0;c--)n=l[c],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(B(n,s)?(r=V.find(t=>t.k===n),o=!0,n["s-sn"]=n["s-sn"]||s,r?r.O=e:V.push({O:e,k:n}),n["s-sr"]&&V.map(t=>{B(t.k,n["s-sn"])&&(r=V.find(t=>t.k===n),r&&!t.O&&(t.O=r.O))})):V.some(t=>t.k===n)||V.push({k:n}));1===e.nodeType&&z(e)}},B=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,G=t=>ht(t).M,I=(t,e,n)=>{const l=G(t);return{emit:t=>J(l,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},J=(t,e,n)=>{const l=d.ce(e,n);return t.dispatchEvent(l),l},K=(t,e)=>{e&&!t.S&&e["s-p"]&&e["s-p"].push(new Promise(e=>t.S=e))},Q=(t,e)=>{if(t.t|=16,!(4&t.t))return K(t,t._),xt(()=>X(t,e));t.t|=512},X=(t,e)=>{const n=t.s;let l;return e&&(t.t|=256,t.i&&(t.i.map(([t,e])=>nt(n,t,e)),t.i=null),l=nt(n,"componentWillLoad")),lt(l,()=>Y(t,n,e))},Y=(t,r,c)=>{const i=t.M,f=i["s-rc"];c&&(t=>{const e=t.C;((t,e)=>{let n=g(e),l=vt.get(n);if(t=11===t.nodeType?t:a,l)if("string"==typeof l){let e,o=b.get(t=t.head||t);o||b.set(t,o=new Set),o.has(n)||(e=a.createElement("style"),e.innerHTML=l,t.insertBefore(e,t.querySelector("link")),o&&o.add(n))}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l])})(t.M.getRootNode(),e)})(t);((t,r)=>{const c=t.M,i=t.C,f=t.D||M(null,null),u=(t=>t&&t.g===S)(r)?r:O(null,null,r);if(n=c.tagName,u.g=null,u.t|=4,t.D=u,u.v=f.v=c,e=c["s-cr"],l=0!=(1&i.t),o=!1,F(f,u),d.t|=1,s){let t,e,n,l,o,s;z(u.v);let r=0;for(;r<V.length;r++)t=V[r],e=t.k,e["s-ol"]||(n=a.createTextNode(""),n["s-nr"]=e,e.parentNode.insertBefore(e["s-ol"]=n,e));for(r=0;r<V.length;r++)if(t=V[r],e=t.k,t.O){for(l=t.O.parentNode,o=t.O.nextSibling,n=e["s-ol"];n=n.previousSibling;)if(s=n["s-nr"],s&&s["s-sn"]===e["s-sn"]&&l===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&l!==e.parentNode||e.nextSibling!==o)&&e!==o&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),l.insertBefore(e,o))}else 1===e.nodeType&&(e.hidden=!0)}o&&H(u.v),d.t&=-2,V.length=0})(t,Z(t,r)),f&&(f.map(t=>t()),i["s-rc"]=void 0);{const e=i["s-p"],n=()=>tt(t);0===e.length?n():(Promise.all(e).then(n),t.t|=4,e.length=0)}},Z=(t,e)=>{try{e=e.render(),t.t&=-17,t.t|=2}catch(t){bt(t)}return e},tt=t=>{const e=t.M,n=t.s,l=t._;64&t.t||(t.t|=64,ot(e),nt(n,"componentDidLoad"),t.N(e),l||et()),t.S&&(t.S(),t.S=void 0),512&t.t&&Ct(()=>Q(t,!1)),t.t&=-517},et=()=>{ot(a.documentElement),d.t|=2,Ct(()=>J(i,"appload",{detail:{namespace:"widget-components"}}))},nt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){bt(t)}},lt=(t,e)=>t&&t.then?t.then(e):e(),ot=t=>t.classList.add("hydrated"),st=(t,e,n)=>{if(e.R){t.watchers&&(e.T=t.watchers);const l=Object.entries(e.R),o=t.prototype;if(l.map(([t,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(o,t,{get(){return((t,e)=>ht(this).L.get(e))(0,t)},set(n){((t,e,n,l)=>{const o=ht(t),s=o.L.get(e),r=o.t,c=o.s;if(n=((t,e)=>null==t||v(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(n,l.R[e][0]),!(8&r&&void 0!==s||n===s)&&(o.L.set(e,n),c)){if(l.T&&128&r){const t=l.T[e];t&&t.map(t=>{try{c[t](n,s,e)}catch(t){bt(t)}})}2==(18&r)&&Q(o,!1)}})(this,t,n,e)},configurable:!0,enumerable:!0})}),1&n){const e=new Map;o.attributeChangedCallback=function(t,n,l){d.jmp(()=>{const n=e.get(t);this[n]=(null!==l||"boolean"!=typeof this[n])&&l})},t.observedAttributes=l.filter(([t,e])=>15&e[0]).map(([t,n])=>{const l=n[1]||t;return e.set(l,t),l})}}return t},rt=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this,l=e.call(n,!1);if(t){let t,e=0;for(;e<n.childNodes.length;e++)t=n.childNodes[e]["s-nr"],t&&(l.__appendChild?l.__appendChild(t.cloneNode(!0)):l.appendChild(t.cloneNode(!0)))}return l}},ct=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const e=t["s-sn"]=ft(t),n=at(this.childNodes,e);if(n){const l=ut(n,e),o=l[l.length-1];return o.parentNode.insertBefore(t,o.nextSibling)}return this.__appendChild(t)}},it=(t,e)=>{class n extends Array{item(t){return this[t]}}if(8&e.t){const e=t.__lookupGetter__("childNodes");Object.defineProperty(t,"children",{get(){return this.childNodes.map(t=>1===t.nodeType)}}),Object.defineProperty(t,"childElementCount",{get:()=>t.children.length}),Object.defineProperty(t,"childNodes",{get(){const t=e.call(this);if(0==(1&d.t)&&2&ht(this).t){const e=new n;for(let n=0;n<t.length;n++){const l=t[n]["s-nr"];l&&e.push(l)}return e}return n.from(t)}})}},ft=t=>t["s-sn"]||1===t.nodeType&&t.getAttribute("slot")||"",at=(t,e)=>{let n,l=0;for(;l<t.length;l++){if(n=t[l],n["s-sr"]&&n["s-sn"]===e)return n;if(n=at(n.childNodes,e),n)return n}return null},ut=(t,e)=>{const n=[t];for(;(t=t.nextSibling)&&t["s-sn"]===e;)n.push(t);return n},dt=(t,e={})=>{const n=[],l=e.exclude||[],o=i.customElements,s=a.head,r=s.querySelector("meta[charset]"),c=a.createElement("style"),f=[];let u,p=!0;Object.assign(d,e),d.l=new URL(e.resourcesUrl||"./",a.baseURI).href,e.syncQueue&&(d.t|=4),t.map(t=>t[1].map(e=>{const s={t:e[0],u:e[1],R:e[2],P:e[3]};s.R=e[2],s.P=e[3],s.T={};const r=s.u,c=class extends HTMLElement{constructor(t){super(t),mt(t=this,s),it(t,s)}connectedCallback(){u&&(clearTimeout(u),u=null),p?f.push(this):d.jmp(()=>(t=>{if(0==(1&d.t)){const e=ht(t),n=e.C,l=()=>{};if(1&e.t)$(t,e,n.P);else{e.t|=1,12&n.t&&(t=>{const e=t["s-cr"]=a.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){K(e,e._=n);break}}n.R&&Object.entries(n.R).map(([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}}),Ct(()=>(async(t,e,n,l,o)=>{if(0==(32&e.t)){{if(e.t|=32,(o=wt(n)).then){const t=()=>{};o=await o,t()}o.isProxied||(n.T=o.watchers,st(o,n,2),o.isProxied=!0);const t=()=>{};e.t|=8;try{new o(e)}catch(t){bt(t)}e.t&=-9,e.t|=128,t()}if(o.style){let t=o.style;const e=g(n);if(!vt.has(e)){const l=()=>{};((t,e,n)=>{let l=vt.get(t);h&&n?(l=l||new CSSStyleSheet,l.replace(e)):l=e,vt.set(t,l)})(e,t,!!(1&n.t)),l()}}}const s=e._,r=()=>Q(e,!0);s&&s["s-rc"]?s["s-rc"].push(r):r()})(0,e,n))}l()}})(this))}disconnectedCallback(){d.jmp(()=>(()=>{if(0==(1&d.t)){const t=ht(this);t.o&&(t.o.map(t=>t()),t.o=void 0)}})())}forceUpdate(){(()=>{{const t=ht(this);t.M.isConnected&&2==(18&t.t)&&Q(t,!1)}})()}componentOnReady(){return ht(this).A}};rt(c.prototype),ct(c.prototype),s.U=t[0],l.includes(r)||o.get(r)||(n.push(r),o.define(r,st(c,s,1)))})),c.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",c.setAttribute("data-styles",""),s.insertBefore(c,r?r.nextSibling:s.firstChild),p=!1,f.length?f.map(t=>t.connectedCallback()):d.jmp(()=>u=setTimeout(et,30))},pt=new WeakMap,ht=t=>pt.get(t),$t=(t,e)=>pt.set(e.s=t,e),mt=(t,e)=>{const n={t:0,M:t,C:e,L:new Map};return n.A=new Promise(t=>n.N=t),t["s-p"]=[],t["s-rc"]=[],$(t,n,e.P),pt.set(t,n)},yt=(t,e)=>e in t,bt=t=>console.error(t),gt=new Map,wt=t=>{const e=t.u.replace(/-/g,"_"),n=t.U,l=gt.get(n);return l?l[e]:__sc_import_widget_components(`./${n}.entry.js`).then(t=>(gt.set(n,t),t[e]),bt)},vt=new Map,jt=[],kt=[],Ot=[],Mt=(t,e)=>n=>{t.push(n),c||(c=!0,e&&4&d.t?Ct(_t):d.raf(_t))},St=(t,e)=>{let n=0,l=0;for(;n<t.length&&(l=performance.now())<e;)try{t[n++](l)}catch(t){bt(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},_t=()=>{r++,(t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){bt(t)}t.length=0})(jt);{const t=2==(6&d.t)?performance.now()+14*Math.ceil(.1*r):1/0;St(kt,t),St(Ot,t),kt.length>0&&(Ot.push(...kt),kt.length=0),(c=jt.length+kt.length+Ot.length>0)?d.raf(_t):r=0}},Ct=t=>p().then(t),xt=Mt(kt,!0);export{f as C,u as H,t as N,p as a,dt as b,I as c,a as d,G as g,O as h,d as p,$t as r,i as w}
@@ -1 +0,0 @@
1
- System.register(["./p-e61a8100.system.js","./p-22e300c7.system.js","./p-8e232564.system.js"],(function(e){"use strict";var t,o,n,s,r;return{setters:[function(e){t=e.r;o=e.h;n=e.g},function(){},function(e){s=e.A;r=e.w}],execute:function(){var c="sqh-close-button .squatch-header-close{position:absolute;top:4px;right:6px;background:transparent;border:0;color:#4486e1;font-size:12px}sqh-close-button .squatch-header-close:hover{text-decoration:underline}";var u=e("sqh_close_button",function(){function e(e){t(this,e);this.text="Close"}e.prototype.handleClick=function(){s.ui.close()};e.prototype.componentDidLoad=function(){var e=r();if(e&&e.engagementMedium!="POPUP"){this.closeButton.setAttribute("style","display:none")}};e.prototype.render=function(){return o("span",{class:"close squatch-header-close","data-close-panel":"#squatch-panel"},this.text)};Object.defineProperty(e.prototype,"closeButton",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());u.style=c}}}));