@saasquatch/vanilla-components 1.2.3 → 1.3.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/sqh-close-button.cjs.entry.js +8 -3
  3. package/dist/cjs/sqh-copy-button_12.cjs.entry.js +179 -7
  4. package/dist/cjs/sqh-rewards-actions.cjs.entry.js +15 -0
  5. package/dist/cjs/widget-components.cjs.js +1 -1
  6. package/dist/collection/components/close-button/close-button.js +14 -3
  7. package/dist/collection/components/copy-button/copy-button.js +63 -24
  8. package/dist/collection/components/copy-link-button/copy-link-button.js +33 -12
  9. package/dist/collection/components/global-container/global-container.js +28 -10
  10. package/dist/collection/components/image-component/image-component.js +33 -12
  11. package/dist/collection/components/partner-stat-component/partner-stat-component.js +29 -11
  12. package/dist/collection/components/referral-code/referral-code.js +3 -0
  13. package/dist/collection/components/referral-component/referral-component.js +28 -10
  14. package/dist/collection/components/referral-list/referral-list.js +205 -58
  15. package/dist/collection/components/rewards-actions/rewards-actions.js +33 -6
  16. package/dist/collection/components/share-button/share-button.js +58 -22
  17. package/dist/collection/components/share-button-container/share-button-container.js +824 -164
  18. package/dist/collection/components/stat-component/stat-component.js +40 -10
  19. package/dist/collection/components/stats-container/stats-container.js +23 -6
  20. package/dist/collection/components/text-component/text-component.js +58 -43
  21. package/dist/esm/loader.mjs +1 -1
  22. package/dist/esm/sqh-close-button.entry.js +8 -3
  23. package/dist/esm/sqh-copy-button_12.entry.js +178 -6
  24. package/dist/esm/sqh-rewards-actions.entry.js +15 -0
  25. package/dist/esm/widget-components.mjs +1 -1
  26. package/dist/esm-es5/loader.mjs +1 -1
  27. package/dist/esm-es5/sqh-close-button.entry.js +14 -9
  28. package/dist/esm-es5/sqh-copy-button_12.entry.js +196 -24
  29. package/dist/esm-es5/sqh-rewards-actions.entry.js +15 -0
  30. package/dist/esm-es5/widget-components.mjs +1 -1
  31. package/dist/types/components/close-button/close-button.d.ts +9 -1
  32. package/dist/types/components/copy-button/copy-button.d.ts +63 -0
  33. package/dist/types/components/copy-link-button/copy-link-button.d.ts +33 -0
  34. package/dist/types/components/global-container/global-container.d.ts +28 -0
  35. package/dist/types/components/image-component/image-component.d.ts +33 -0
  36. package/dist/types/components/partner-stat-component/partner-stat-component.d.ts +29 -1
  37. package/dist/types/components/referral-code/referral-code.d.ts +3 -0
  38. package/dist/types/components/referral-component/referral-component.d.ts +28 -0
  39. package/dist/types/components/referral-list/referral-list.d.ts +167 -0
  40. package/dist/types/components/rewards-actions/rewards-actions.d.ts +18 -0
  41. package/dist/types/components/share-button/share-button.d.ts +58 -0
  42. package/dist/types/components/share-button-container/share-button-container.d.ts +494 -0
  43. package/dist/types/components/stat-component/stat-component.d.ts +32 -0
  44. package/dist/types/components/stats-container/stats-container.d.ts +18 -0
  45. package/dist/types/components/text-component/text-component.d.ts +58 -1
  46. package/dist/types/components.d.ts +1680 -2
  47. package/dist/widget-components/p-58be1132.system.js +1 -1
  48. package/dist/widget-components/{p-75ab4c57.entry.js → p-d7059393.entry.js} +1 -1
  49. package/dist/widget-components/{p-d2335c54.system.entry.js → p-fba5ea7f.system.entry.js} +1 -1
  50. package/dist/widget-components/widget-components.esm.js +1 -1
  51. package/dist/widget-components/widget-components.js +1 -1
  52. package/package.json +1 -1
@@ -5,8 +5,23 @@ const rewardsActionsCss = "sqh-rewards-actions .squatch-referrals-actions{text-a
5
5
  const RewardsActions = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
+ /**
9
+ * Text inside the previous button
10
+ *
11
+ * @uiName Previous Button Text
12
+ */
8
13
  this.previoustext = "Previous";
14
+ /**
15
+ * Text inside the hide button
16
+ *
17
+ * @uiName Hide Button Text
18
+ */
9
19
  this.hidetext = "Hide";
20
+ /**
21
+ * Text inside the next button
22
+ *
23
+ * @uiName Next Button Text
24
+ */
10
25
  this.nexttext = "Next";
11
26
  }
12
27
  render() {
@@ -3,5 +3,5 @@ import { p as patchBrowser } from './en-be593af0.js';
3
3
  import './_commonjsHelpers-1d681858.js';
4
4
 
5
5
  patchBrowser().then(options => {
6
- return bootstrapLazy([["sqh-close-button",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"padding":[1],"textalign":[1],"background":[1],"height":[1]}],[0,"sqh-referral-component",{"referral":[16],"referraltype":[1],"referralvariables":[16],"unknownuser":[16],"locale":[1]}],[0,"sqh-share-button",{"displayrule":[1],"text":[1],"backgroundcolor":[1],"textcolor":[1],"icon":[1],"buttonClassName":[1,"button-class-name"],"iconhorizontal":[2],"iconvertical":[2],"iconsize":[2],"type":[1],"url":[1]}]]]], options);
6
+ return bootstrapLazy([["sqh-close-button",[[0,"sqh-close-button",{"text":[1]},[[0,"click","handleClick"]]]]],["sqh-referral-code",[[0,"sqh-referral-code",{"referralcode":[32]}]]],["sqh-rewards-actions",[[0,"sqh-rewards-actions",{"previoustext":[1],"hidetext":[1],"nexttext":[1]}]]],["sqh-copy-button_12",[[0,"sqh-referral-list",{"ishidden":[4],"paginatemore":[1],"paginateless":[1],"noreferralsyet":[1],"referralnamecolor":[1],"referraltextcolor":[1],"unknownuser":[1],"showexpiry":[4],"shownotes":[4],"redeemedvalue":[1],"showreferrer":[4],"referrercontent":[1],"referrervalue":[1],"rewardcolor":[1],"customernotecolor":[1],"usefirstreward":[4],"convertedcontent":[1],"valuecontent":[1],"pendingcolor":[1],"pendingcontent":[1],"pendingvalue":[1],"expiredcolor":[1],"expiredcontent":[1],"expiredvalue":[1],"expiresvalue":[1],"cancelledcolor":[1],"cancelledcontent":[1],"cancelledvalue":[1],"internationalization":[4],"referrals":[32],"referralsCount":[32],"referredBy":[32],"rewards":[32],"loading":[32],"offset":[32],"locale":[32]}],[0,"sqh-share-button-container",{"ishidden":[4],"emaildisplayrule":[1],"emailtext":[1],"emailbackgroundcolor":[1],"emailtextcolor":[1],"emailicon":[1],"emailclassName":[1,"emailclass-name"],"emailiconhorizontal":[2],"emailiconvertical":[2],"emailiconsize":[2],"facebookdisplayrule":[1],"facebooktext":[1],"facebookbackgroundcolor":[1],"facebooktextcolor":[1],"facebookicon":[1],"facebookclassName":[1,"facebookclass-name"],"facebookiconhorizontal":[2],"facebookiconvertical":[2],"facebookiconsize":[2],"twitterdisplayrule":[1],"twittertext":[1],"twitterbackgroundcolor":[1],"twittertextcolor":[1],"twittericon":[1],"twitterclassName":[1,"twitterclass-name"],"twittericonhorizontal":[2],"twittericonvertical":[2],"twittericonsize":[2],"smsdisplayrule":[1],"smstext":[1],"smsbackgroundcolor":[1],"smstextcolor":[1],"smsicon":[1],"smsclassName":[1,"smsclass-name"],"smsiconhorizontal":[2],"smsiconvertical":[2],"smsiconsize":[2],"whatsappdisplayrule":[1],"whatsapptext":[1],"whatsappbackgroundcolor":[1],"whatsapptextcolor":[1],"whatsappicon":[1],"whatsappclassName":[1,"whatsappclass-name"],"whatsappiconhorizontal":[2],"whatsappiconvertical":[2],"whatsappiconsize":[2],"linkedindisplayrule":[1],"linkedintext":[1],"linkedinbackgroundcolor":[1],"linkedintextcolor":[1],"linkedinicon":[1],"linkedinclassName":[1,"linkedinclass-name"],"linkediniconhorizontal":[2],"linkediniconvertical":[2],"linkediniconsize":[2],"pinterestdisplayrule":[1],"pinteresttext":[1],"pinterestbackgroundcolor":[1],"pinteresttextcolor":[1],"pinteresticon":[1],"pinterestclassName":[1,"pinterestclass-name"],"pinteresticonhorizontal":[2],"pinteresticonvertical":[2],"pinteresticonsize":[2],"messengerdisplayrule":[1],"messengertext":[1],"messengerbackgroundcolor":[1],"messengertextcolor":[1],"messengericon":[1],"messengerclassName":[1,"messengerclass-name"],"messengericonhorizontal":[2],"messengericonvertical":[2],"messengericonsize":[2],"linedisplayrule":[1],"linetext":[1],"linebackgroundcolor":[1],"linetextcolor":[1],"lineicon":[1],"lineclassName":[1,"lineclass-name"],"lineiconhorizontal":[2],"lineiconvertical":[2],"lineiconsize":[2],"emailurl":[32],"facebookurl":[32],"twitterurl":[32],"smsurl":[32],"whatsappurl":[32],"linkedinurl":[32],"pinteresturl":[32],"messengerurl":[32],"lineurl":[32]}],[0,"sqh-copy-button",{"ishidden":[4],"text":[1],"width":[2],"backgroundcolor":[1],"borderradius":[2],"textcolor":[1],"fontsize":[2],"copysuccess":[1],"copyfailure":[1],"rewardkey":[1],"codefontsize":[2],"codefontcolor":[1],"fueltankcode":[32]}],[0,"sqh-copy-link-button",{"ishidden":[4],"text":[1],"copysuccess":[1],"copyfailure":[1],"buttoncolor":[1],"textcolor":[1],"sharelink":[32]}],[4,"sqh-global-container",{"background":[1],"loadingcolor":[1],"fontfamily":[1],"maxwidth":[1],"poweredby":[4]}],[0,"sqh-image-component",{"ishidden":[4],"url":[1],"width":[2],"borderradius":[2],"alignment":[1],"css":[1]}],[0,"sqh-partner-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[0,"sqh-stat-component",{"ishidden":[4],"stattype":[1],"statvalue":[1],"statdescription":[1],"statcolor":[1]}],[4,"sqh-stats-container",{"ishidden":[4],"paddingtop":[1],"paddingbottom":[1],"loading":[32],"stats":[32]},[[0,"statTypeUpdated","statTypeUpdatedHandler"],[0,"statAdded","statAddedHandler"]]],[0,"sqh-text-component",{"ishidden":[4],"ismarkdown":[4],"text":[1],"fontfamily":[1],"color":[1],"fontsize":[1],"paddingtop":[1],"paddingbottom":[1],"textalign":[1],"background":[1],"height":[1]}],[0,"sqh-referral-component",{"referral":[16],"referraltype":[1],"referralvariables":[16],"unknownuser":[16],"locale":[1]}],[0,"sqh-share-button",{"displayrule":[1],"text":[1],"backgroundcolor":[1],"textcolor":[1],"icon":[1],"buttonClassName":[1,"button-class-name"],"iconhorizontal":[2],"iconvertical":[2],"iconsize":[2],"type":[1],"url":[1]}]]]], options);
7
7
  });
@@ -5,7 +5,7 @@ var defineCustomElements = function (win, options) {
5
5
  if (typeof window === 'undefined')
6
6
  return Promise.resolve();
7
7
  return patchEsm().then(function () {
8
- return bootstrapLazy([["sqh-close-button", [[0, "sqh-close-button", { "text": [1] }, [[0, "click", "handleClick"]]]]], ["sqh-referral-code", [[0, "sqh-referral-code", { "referralcode": [32] }]]], ["sqh-rewards-actions", [[0, "sqh-rewards-actions", { "previoustext": [1], "hidetext": [1], "nexttext": [1] }]]], ["sqh-copy-button_12", [[0, "sqh-referral-list", { "ishidden": [4], "paginatemore": [1], "paginateless": [1], "noreferralsyet": [1], "referralnamecolor": [1], "referraltextcolor": [1], "unknownuser": [1], "showexpiry": [4], "shownotes": [4], "redeemedvalue": [1], "showreferrer": [4], "referrercontent": [1], "referrervalue": [1], "rewardcolor": [1], "customernotecolor": [1], "usefirstreward": [4], "convertedcontent": [1], "valuecontent": [1], "pendingcolor": [1], "pendingcontent": [1], "pendingvalue": [1], "expiredcolor": [1], "expiredcontent": [1], "expiredvalue": [1], "expiresvalue": [1], "cancelledcolor": [1], "cancelledcontent": [1], "cancelledvalue": [1], "internationalization": [4], "referrals": [32], "referralsCount": [32], "referredBy": [32], "rewards": [32], "loading": [32], "offset": [32], "locale": [32] }], [0, "sqh-share-button-container", { "ishidden": [4], "emaildisplayrule": [1], "emailtext": [1], "emailbackgroundcolor": [1], "emailtextcolor": [1], "emailicon": [1], "emailclassName": [1, "emailclass-name"], "emailiconhorizontal": [2], "emailiconvertical": [2], "emailiconsize": [2], "facebookdisplayrule": [1], "facebooktext": [1], "facebookbackgroundcolor": [1], "facebooktextcolor": [1], "facebookicon": [1], "facebookclassName": [1, "facebookclass-name"], "facebookiconhorizontal": [2], "facebookiconvertical": [2], "facebookiconsize": [2], "twitterdisplayrule": [1], "twittertext": [1], "twitterbackgroundcolor": [1], "twittertextcolor": [1], "twittericon": [1], "twitterclassName": [1, "twitterclass-name"], "twittericonhorizontal": [2], "twittericonvertical": [2], "twittericonsize": [2], "smsdisplayrule": [1], "smstext": [1], "smsbackgroundcolor": [1], "smstextcolor": [1], "smsicon": [1], "smsclassName": [1, "smsclass-name"], "smsiconhorizontal": [2], "smsiconvertical": [2], "smsiconsize": [2], "whatsappdisplayrule": [1], "whatsapptext": [1], "whatsappbackgroundcolor": [1], "whatsapptextcolor": [1], "whatsappicon": [1], "whatsappclassName": [1, "whatsappclass-name"], "whatsappiconhorizontal": [2], "whatsappiconvertical": [2], "whatsappiconsize": [2], "linkedindisplayrule": [1], "linkedintext": [1], "linkedinbackgroundcolor": [1], "linkedintextcolor": [1], "linkedinicon": [1], "linkedinclassName": [1, "linkedinclass-name"], "linkediniconhorizontal": [2], "linkediniconvertical": [2], "linkediniconsize": [2], "pinterestdisplayrule": [1], "pinteresttext": [1], "pinterestbackgroundcolor": [1], "pinteresttextcolor": [1], "pinteresticon": [1], "pinterestclassName": [1, "pinterestclass-name"], "pinteresticonhorizontal": [2], "pinteresticonvertical": [2], "pinteresticonsize": [2], "messengerdisplayrule": [1], "messengertext": [1], "messengerbackgroundcolor": [1], "messengertextcolor": [1], "messengericon": [1], "messengerclassName": [1, "messengerclass-name"], "messengericonhorizontal": [2], "messengericonvertical": [2], "messengericonsize": [2], "linedisplayrule": [1], "linetext": [1], "linebackgroundcolor": [1], "linetextcolor": [1], "lineicon": [1], "lineclassName": [1, "lineclass-name"], "lineiconhorizontal": [2], "lineiconvertical": [2], "lineiconsize": [2], "emailurl": [32], "facebookurl": [32], "twitterurl": [32], "smsurl": [32], "whatsappurl": [32], "linkedinurl": [32], "pinteresturl": [32], "messengerurl": [32], "lineurl": [32] }], [0, "sqh-copy-button", { "ishidden": [4], "text": [1], "width": [2], "backgroundcolor": [1], "borderradius": [2], "textcolor": [1], "fontsize": [2], "copysuccess": [1], "copyfailure": [1], "rewardkey": [1], "codefontsize": [2], "codefontcolor": [1], "fueltankcode": [32] }], [0, "sqh-copy-link-button", { "ishidden": [4], "text": [1], "copysuccess": [1], "copyfailure": [1], "buttoncolor": [1], "textcolor": [1], "sharelink": [32] }], [4, "sqh-global-container", { "background": [1], "loadingcolor": [1], "fontfamily": [1], "maxwidth": [1], "poweredby": [4] }], [0, "sqh-image-component", { "ishidden": [4], "url": [1], "width": [2], "borderradius": [2], "alignment": [1], "css": [1] }], [0, "sqh-partner-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [0, "sqh-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [4, "sqh-stats-container", { "ishidden": [4], "paddingtop": [1], "paddingbottom": [1], "loading": [32], "stats": [32] }, [[0, "statTypeUpdated", "statTypeUpdatedHandler"], [0, "statAdded", "statAddedHandler"]]], [0, "sqh-text-component", { "ishidden": [4], "ismarkdown": [4], "text": [1], "fontfamily": [1], "color": [1], "fontsize": [1], "paddingtop": [1], "paddingbottom": [1], "padding": [1], "textalign": [1], "background": [1], "height": [1] }], [0, "sqh-referral-component", { "referral": [16], "referraltype": [1], "referralvariables": [16], "unknownuser": [16], "locale": [1] }], [0, "sqh-share-button", { "displayrule": [1], "text": [1], "backgroundcolor": [1], "textcolor": [1], "icon": [1], "buttonClassName": [1, "button-class-name"], "iconhorizontal": [2], "iconvertical": [2], "iconsize": [2], "type": [1], "url": [1] }]]]], options);
8
+ return bootstrapLazy([["sqh-close-button", [[0, "sqh-close-button", { "text": [1] }, [[0, "click", "handleClick"]]]]], ["sqh-referral-code", [[0, "sqh-referral-code", { "referralcode": [32] }]]], ["sqh-rewards-actions", [[0, "sqh-rewards-actions", { "previoustext": [1], "hidetext": [1], "nexttext": [1] }]]], ["sqh-copy-button_12", [[0, "sqh-referral-list", { "ishidden": [4], "paginatemore": [1], "paginateless": [1], "noreferralsyet": [1], "referralnamecolor": [1], "referraltextcolor": [1], "unknownuser": [1], "showexpiry": [4], "shownotes": [4], "redeemedvalue": [1], "showreferrer": [4], "referrercontent": [1], "referrervalue": [1], "rewardcolor": [1], "customernotecolor": [1], "usefirstreward": [4], "convertedcontent": [1], "valuecontent": [1], "pendingcolor": [1], "pendingcontent": [1], "pendingvalue": [1], "expiredcolor": [1], "expiredcontent": [1], "expiredvalue": [1], "expiresvalue": [1], "cancelledcolor": [1], "cancelledcontent": [1], "cancelledvalue": [1], "internationalization": [4], "referrals": [32], "referralsCount": [32], "referredBy": [32], "rewards": [32], "loading": [32], "offset": [32], "locale": [32] }], [0, "sqh-share-button-container", { "ishidden": [4], "emaildisplayrule": [1], "emailtext": [1], "emailbackgroundcolor": [1], "emailtextcolor": [1], "emailicon": [1], "emailclassName": [1, "emailclass-name"], "emailiconhorizontal": [2], "emailiconvertical": [2], "emailiconsize": [2], "facebookdisplayrule": [1], "facebooktext": [1], "facebookbackgroundcolor": [1], "facebooktextcolor": [1], "facebookicon": [1], "facebookclassName": [1, "facebookclass-name"], "facebookiconhorizontal": [2], "facebookiconvertical": [2], "facebookiconsize": [2], "twitterdisplayrule": [1], "twittertext": [1], "twitterbackgroundcolor": [1], "twittertextcolor": [1], "twittericon": [1], "twitterclassName": [1, "twitterclass-name"], "twittericonhorizontal": [2], "twittericonvertical": [2], "twittericonsize": [2], "smsdisplayrule": [1], "smstext": [1], "smsbackgroundcolor": [1], "smstextcolor": [1], "smsicon": [1], "smsclassName": [1, "smsclass-name"], "smsiconhorizontal": [2], "smsiconvertical": [2], "smsiconsize": [2], "whatsappdisplayrule": [1], "whatsapptext": [1], "whatsappbackgroundcolor": [1], "whatsapptextcolor": [1], "whatsappicon": [1], "whatsappclassName": [1, "whatsappclass-name"], "whatsappiconhorizontal": [2], "whatsappiconvertical": [2], "whatsappiconsize": [2], "linkedindisplayrule": [1], "linkedintext": [1], "linkedinbackgroundcolor": [1], "linkedintextcolor": [1], "linkedinicon": [1], "linkedinclassName": [1, "linkedinclass-name"], "linkediniconhorizontal": [2], "linkediniconvertical": [2], "linkediniconsize": [2], "pinterestdisplayrule": [1], "pinteresttext": [1], "pinterestbackgroundcolor": [1], "pinteresttextcolor": [1], "pinteresticon": [1], "pinterestclassName": [1, "pinterestclass-name"], "pinteresticonhorizontal": [2], "pinteresticonvertical": [2], "pinteresticonsize": [2], "messengerdisplayrule": [1], "messengertext": [1], "messengerbackgroundcolor": [1], "messengertextcolor": [1], "messengericon": [1], "messengerclassName": [1, "messengerclass-name"], "messengericonhorizontal": [2], "messengericonvertical": [2], "messengericonsize": [2], "linedisplayrule": [1], "linetext": [1], "linebackgroundcolor": [1], "linetextcolor": [1], "lineicon": [1], "lineclassName": [1, "lineclass-name"], "lineiconhorizontal": [2], "lineiconvertical": [2], "lineiconsize": [2], "emailurl": [32], "facebookurl": [32], "twitterurl": [32], "smsurl": [32], "whatsappurl": [32], "linkedinurl": [32], "pinteresturl": [32], "messengerurl": [32], "lineurl": [32] }], [0, "sqh-copy-button", { "ishidden": [4], "text": [1], "width": [2], "backgroundcolor": [1], "borderradius": [2], "textcolor": [1], "fontsize": [2], "copysuccess": [1], "copyfailure": [1], "rewardkey": [1], "codefontsize": [2], "codefontcolor": [1], "fueltankcode": [32] }], [0, "sqh-copy-link-button", { "ishidden": [4], "text": [1], "copysuccess": [1], "copyfailure": [1], "buttoncolor": [1], "textcolor": [1], "sharelink": [32] }], [4, "sqh-global-container", { "background": [1], "loadingcolor": [1], "fontfamily": [1], "maxwidth": [1], "poweredby": [4] }], [0, "sqh-image-component", { "ishidden": [4], "url": [1], "width": [2], "borderradius": [2], "alignment": [1], "css": [1] }], [0, "sqh-partner-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [0, "sqh-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [4, "sqh-stats-container", { "ishidden": [4], "paddingtop": [1], "paddingbottom": [1], "loading": [32], "stats": [32] }, [[0, "statTypeUpdated", "statTypeUpdatedHandler"], [0, "statAdded", "statAddedHandler"]]], [0, "sqh-text-component", { "ishidden": [4], "ismarkdown": [4], "text": [1], "fontfamily": [1], "color": [1], "fontsize": [1], "paddingtop": [1], "paddingbottom": [1], "textalign": [1], "background": [1], "height": [1] }], [0, "sqh-referral-component", { "referral": [16], "referraltype": [1], "referralvariables": [16], "unknownuser": [16], "locale": [1] }], [0, "sqh-share-button", { "displayrule": [1], "text": [1], "backgroundcolor": [1], "textcolor": [1], "icon": [1], "buttonClassName": [1, "button-class-name"], "iconhorizontal": [2], "iconvertical": [2], "iconsize": [2], "type": [1], "url": [1] }]]]], options);
9
9
  });
10
10
  };
11
11
  export { defineCustomElements };
@@ -2,29 +2,34 @@ import { r as registerInstance, h, g as getElement } from './index-8ea8b6d8.js';
2
2
  import './_commonjsHelpers-1d681858.js';
3
3
  import { A as API, w as widgetIdent } from './WidgetHost-a27e693d.js';
4
4
  var closeButtonCss = "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}";
5
- var TwitterShareButton = /** @class */ (function () {
6
- function TwitterShareButton(hostRef) {
5
+ var CloseButton = /** @class */ (function () {
6
+ function CloseButton(hostRef) {
7
7
  registerInstance(this, hostRef);
8
+ /**
9
+ * The text shown inside the close button.
10
+ *
11
+ * @uiName Button Text
12
+ */
8
13
  this.text = "Close";
9
14
  }
10
- TwitterShareButton.prototype.handleClick = function () {
15
+ CloseButton.prototype.handleClick = function () {
11
16
  API.ui.close();
12
17
  };
13
- TwitterShareButton.prototype.componentDidLoad = function () {
18
+ CloseButton.prototype.componentDidLoad = function () {
14
19
  var widget = widgetIdent();
15
20
  if (widget && widget.engagementMedium != "POPUP") {
16
21
  this.closeButton.setAttribute("style", "display:none");
17
22
  }
18
23
  };
19
- TwitterShareButton.prototype.render = function () {
24
+ CloseButton.prototype.render = function () {
20
25
  return (h("span", { class: "close squatch-header-close", "data-close-panel": "#squatch-panel" }, this.text));
21
26
  };
22
- Object.defineProperty(TwitterShareButton.prototype, "closeButton", {
27
+ Object.defineProperty(CloseButton.prototype, "closeButton", {
23
28
  get: function () { return getElement(this); },
24
29
  enumerable: false,
25
30
  configurable: true
26
31
  });
27
- return TwitterShareButton;
32
+ return CloseButton;
28
33
  }());
29
- TwitterShareButton.style = closeButtonCss;
30
- export { TwitterShareButton as sqh_close_button };
34
+ CloseButton.style = closeButtonCss;
35
+ export { CloseButton as sqh_close_button };
@@ -2296,35 +2296,35 @@ var ImageComponent = /** @class */ (function () {
2296
2296
  }());
2297
2297
  ImageComponent.style = imageComponentCss;
2298
2298
  var partnerStatComponentCss = "sqh-partner-stat-component{text-align:center;width:140px;float:left}sqh-partner-stat-component>div{padding:10px}sqh-partner-stat-component .stat-value{font-size:20px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-partner-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-partner-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-partner-stat-component:first-child{border-radius:4px 4px 0 0}sqh-partner-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-partner-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-partner-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
2299
- var StatComponent = /** @class */ (function () {
2300
- function StatComponent(hostRef) {
2299
+ var PartnerStatComponent = /** @class */ (function () {
2300
+ function PartnerStatComponent(hostRef) {
2301
2301
  registerInstance(this, hostRef);
2302
2302
  this.statTypeUpdated = createEvent(this, "statTypeUpdated", 7);
2303
2303
  this.statAdded = createEvent(this, "statAdded", 7);
2304
2304
  }
2305
- StatComponent.prototype.componentWillLoad = function () {
2305
+ PartnerStatComponent.prototype.componentWillLoad = function () {
2306
2306
  this.statAddedHandler(this.elem);
2307
2307
  };
2308
- StatComponent.prototype.stattypeHandler = function (newValue, oldValue) {
2308
+ PartnerStatComponent.prototype.stattypeHandler = function (newValue, oldValue) {
2309
2309
  if (newValue !== oldValue)
2310
2310
  this.statTypeUpdatedHandler(this.elem);
2311
2311
  };
2312
- StatComponent.prototype.statAddedHandler = function (stat) {
2312
+ PartnerStatComponent.prototype.statAddedHandler = function (stat) {
2313
2313
  this.statAdded.emit(stat);
2314
2314
  };
2315
- StatComponent.prototype.statTypeUpdatedHandler = function (stat) {
2315
+ PartnerStatComponent.prototype.statTypeUpdatedHandler = function (stat) {
2316
2316
  this.statTypeUpdated.emit(stat);
2317
2317
  };
2318
- StatComponent.prototype.render = function () {
2318
+ PartnerStatComponent.prototype.render = function () {
2319
2319
  var clz = css(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), this.statcolor);
2320
2320
  return (!this.ishidden && (h("div", { class: clz }, h("div", { class: "stat-value" }, this.statvalue), h("div", { class: "stat-description" }, this.statdescription))));
2321
2321
  };
2322
- Object.defineProperty(StatComponent.prototype, "elem", {
2322
+ Object.defineProperty(PartnerStatComponent.prototype, "elem", {
2323
2323
  get: function () { return getElement(this); },
2324
2324
  enumerable: false,
2325
2325
  configurable: true
2326
2326
  });
2327
- Object.defineProperty(StatComponent, "watchers", {
2327
+ Object.defineProperty(PartnerStatComponent, "watchers", {
2328
2328
  get: function () {
2329
2329
  return {
2330
2330
  "stattype": ["stattypeHandler"]
@@ -2333,9 +2333,9 @@ var StatComponent = /** @class */ (function () {
2333
2333
  enumerable: false,
2334
2334
  configurable: true
2335
2335
  });
2336
- return StatComponent;
2336
+ return PartnerStatComponent;
2337
2337
  }());
2338
- StatComponent.style = partnerStatComponentCss;
2338
+ PartnerStatComponent.style = partnerStatComponentCss;
2339
2339
  var TYPE;
2340
2340
  (function (TYPE) {
2341
2341
  /**
@@ -6833,33 +6833,201 @@ var shareButtonContainerCss = "sqh-share-button-container{text-align:center;disp
6833
6833
  var ShareButtonContainer = /** @class */ (function () {
6834
6834
  function ShareButtonContainer(hostRef) {
6835
6835
  registerInstance(this, hostRef);
6836
+ /**
6837
+ * Email button icon
6838
+ *
6839
+ * @uiName Email Icon
6840
+ * @uiGroup emailButton
6841
+ */
6836
6842
  this.emailicon = "mail";
6843
+ /**
6844
+ * CSS Class name used to style the Email button
6845
+ *
6846
+ * @uiName Email Class Name
6847
+ * @uiGroup emailButton
6848
+ */
6837
6849
  this.emailclassName = "email-share";
6850
+ /**
6851
+ * Facebook button icon
6852
+ *
6853
+ * @uiName Facebook Icon
6854
+ * @uiGroup facebookButton
6855
+ */
6838
6856
  this.facebookicon = "facebook";
6857
+ /**
6858
+ * Number to horizontally align the facebook button icon
6859
+ *
6860
+ * @uiName Facebook Icon Horizontal
6861
+ * @uiGroup facebookButton
6862
+ */
6839
6863
  this.facebookiconhorizontal = 9;
6864
+ /**
6865
+ * Size of the facebook button icon
6866
+ *
6867
+ * @uiName Facebook Icon Size
6868
+ * @uiGroup facebookButton
6869
+ */
6840
6870
  this.facebookiconsize = 1.2;
6871
+ /**
6872
+ * Twitter button icon
6873
+ *
6874
+ * @uiName Twitter Icon
6875
+ * @uiGroup twitterButton
6876
+ */
6841
6877
  this.twittericon = "twitter";
6878
+ /**
6879
+ * Number to horizontally align the twitter button icon
6880
+ *
6881
+ * @uiName Twitter Icon Horizontal
6882
+ * @uiGroup twitterButton
6883
+ */
6842
6884
  this.twittericonhorizontal = 9;
6885
+ /**
6886
+ * Size of the twitter button icon
6887
+ *
6888
+ * @uiName Twitter Icon Size
6889
+ * @uiGroup twitterButton
6890
+ */
6843
6891
  this.twittericonsize = 1.2;
6892
+ /**
6893
+ * SMS button icon
6894
+ *
6895
+ * @uiName SMS Icon
6896
+ * @uiGroup smsButton
6897
+ */
6844
6898
  this.smsicon = "chat";
6899
+ /**
6900
+ * Color of the text inside the WhatsApp button
6901
+ *
6902
+ * @uiName WhatsApp Text Color
6903
+ * @uiGroup whatsappButton
6904
+ */
6845
6905
  this.whatsapptextcolor = "#fff";
6906
+ /**
6907
+ * WhatsApp button icon
6908
+ *
6909
+ * @uiName WhatsApp Icon
6910
+ * @uiGroup whatsappButton
6911
+ */
6846
6912
  this.whatsappicon = "whatsapp";
6913
+ /**
6914
+ * Number to horizontally align the WhatsApp button icon
6915
+ *
6916
+ * @uiName WhatsApp Icon Horizontal
6917
+ * @uiGroup whatsappButton
6918
+ */
6847
6919
  this.whatsappiconhorizontal = 7;
6920
+ /**
6921
+ * Number to vertically align the WhatsApp button icon
6922
+ *
6923
+ * @uiName WhatsApp Icon Vertical
6924
+ * @uiGroup whatsappButton
6925
+ */
6848
6926
  this.whatsappiconvertical = 2;
6927
+ /**
6928
+ * Size of the WhatsApp button icon
6929
+ *
6930
+ * @uiName WhatsApp Icon Size
6931
+ * @uiGroup whatsappButton
6932
+ */
6849
6933
  this.whatsappiconsize = 1.4;
6934
+ /**
6935
+ * Linkedin button icon
6936
+ *
6937
+ * @uiName Linkedin Icon
6938
+ * @uiGroup linkedinButton
6939
+ */
6850
6940
  this.linkedinicon = "linkedin";
6941
+ /**
6942
+ * Size of the Linkedin button icon
6943
+ *
6944
+ * @uiName Linkedin Icon Size
6945
+ * @uiGroup linkedinButton
6946
+ */
6851
6947
  this.linkediniconsize = 1.2;
6948
+ /**
6949
+ * Pinterest button icon
6950
+ *
6951
+ * @uiName Pinterest Icon
6952
+ * @uiGroup pinterestButton
6953
+ */
6852
6954
  this.pinteresticon = "pinterest";
6955
+ /**
6956
+ * Number to horizontally align the Pinterest button icon
6957
+ *
6958
+ * @uiName Pinterest Icon Horizontal
6959
+ * @uiGroup pinterestButton
6960
+ */
6853
6961
  this.pinteresticonhorizontal = 9;
6962
+ /**
6963
+ * Number to vertically align the Pinterest button icon
6964
+ *
6965
+ * @uiName Pinterest Icon Vertical
6966
+ * @uiGroup pinterestButton
6967
+ */
6854
6968
  this.pinteresticonvertical = 4;
6969
+ /**
6970
+ * Size of the Pinterest button icon
6971
+ *
6972
+ * @uiName Pinterest Icon Size
6973
+ * @uiGroup pinterestButton
6974
+ */
6855
6975
  this.pinteresticonsize = 1.2;
6976
+ /**
6977
+ * Messenger button icon
6978
+ *
6979
+ * @uiName Messenger Icon
6980
+ * @uiGroup messengerButton
6981
+ */
6856
6982
  this.messengericon = "messenger";
6983
+ /**
6984
+ * Number to horizontally align the Messenger button icon
6985
+ *
6986
+ * @uiName Messenger Icon Horizontal
6987
+ * @uiGroup messengerButton
6988
+ */
6857
6989
  this.messengericonhorizontal = 7;
6990
+ /**
6991
+ * Number to vertically align the Messenger button icon
6992
+ *
6993
+ * @uiName Messenger Icon Vertical
6994
+ * @uiGroup messengerButton
6995
+ */
6858
6996
  this.messengericonvertical = 3;
6997
+ /**
6998
+ * Size of the Messenger button icon
6999
+ *
7000
+ * @uiName Messenger Icon Size
7001
+ * @uiGroup messengerButton
7002
+ */
6859
7003
  this.messengericonsize = 1.4;
7004
+ /**
7005
+ * Line button icon
7006
+ *
7007
+ * @uiName Line Icon
7008
+ * @uiGroup lineButton
7009
+ */
6860
7010
  this.lineicon = "line";
7011
+ /**
7012
+ * Number to horizontally align the Line button icon
7013
+ *
7014
+ * @uiName Line Icon Horizontal
7015
+ * @uiGroup lineButton
7016
+ */
6861
7017
  this.lineiconhorizontal = -2;
7018
+ /**
7019
+ * Number to vertically align the Line button icon
7020
+ *
7021
+ * @uiName Line Icon Vertical
7022
+ * @uiGroup lineButton
7023
+ */
6862
7024
  this.lineiconvertical = -5;
7025
+ /**
7026
+ * Size of the Line button icon
7027
+ *
7028
+ * @uiName Line Icon Size
7029
+ * @uiGroup lineButton
7030
+ */
6863
7031
  this.lineiconsize = 2.2;
6864
7032
  }
6865
7033
  ShareButtonContainer.prototype.componentWillLoad = function () {
@@ -6916,35 +7084,35 @@ var ShareButtonContainer = /** @class */ (function () {
6916
7084
  }());
6917
7085
  ShareButtonContainer.style = shareButtonContainerCss;
6918
7086
  var statComponentCss = "sqh-stat-component{text-align:center;width:140px;float:left}sqh-stat-component>div{padding:10px}sqh-stat-component .stat-value{white-space:nowrap;font-size:30px;line-height:20px;margin-top:20px;margin-bottom:8px;font-weight:300}sqh-stat-component .stat-description{text-transform:uppercase;font-size:12px}@media (max-width: 499px){sqh-stat-component{width:100%;text-align:left;background:#f2f2f2;border:1px solid #ddd}sqh-stat-component:first-child{border-radius:4px 4px 0 0}sqh-stat-component:last-child{border-radius:0 0 4px 4px}}@media (max-width: 499px){sqh-stat-component .stat-value{font-size:22px;float:left;width:60px;text-align:center;margin:0 10px 0 0}}@media (max-width: 499px){sqh-stat-component .stat-description{line-height:20px;padding-left:100px;overflow-wrap:break-word}}";
6919
- var StatComponent$1 = /** @class */ (function () {
6920
- function StatComponent$1(hostRef) {
7087
+ var StatComponent = /** @class */ (function () {
7088
+ function StatComponent(hostRef) {
6921
7089
  registerInstance(this, hostRef);
6922
7090
  this.statTypeUpdated = createEvent(this, "statTypeUpdated", 7);
6923
7091
  this.statAdded = createEvent(this, "statAdded", 7);
6924
7092
  }
6925
- StatComponent$1.prototype.componentWillLoad = function () {
7093
+ StatComponent.prototype.componentWillLoad = function () {
6926
7094
  this.statAddedHandler(this.elem);
6927
7095
  };
6928
- StatComponent$1.prototype.stattypeHandler = function (newValue, oldValue) {
7096
+ StatComponent.prototype.stattypeHandler = function (newValue, oldValue) {
6929
7097
  if (newValue !== oldValue)
6930
7098
  this.statTypeUpdatedHandler(this.elem);
6931
7099
  };
6932
- StatComponent$1.prototype.statAddedHandler = function (stat) {
7100
+ StatComponent.prototype.statAddedHandler = function (stat) {
6933
7101
  this.statAdded.emit(stat);
6934
7102
  };
6935
- StatComponent$1.prototype.statTypeUpdatedHandler = function (stat) {
7103
+ StatComponent.prototype.statTypeUpdatedHandler = function (stat) {
6936
7104
  this.statTypeUpdated.emit(stat);
6937
7105
  };
6938
- StatComponent$1.prototype.render = function () {
7106
+ StatComponent.prototype.render = function () {
6939
7107
  var clz = css(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), this.statcolor);
6940
7108
  return (!this.ishidden && (h("div", { class: clz }, h("div", { class: "stat-value" }, this.statvalue), h("div", { class: "stat-description" }, this.statdescription))));
6941
7109
  };
6942
- Object.defineProperty(StatComponent$1.prototype, "elem", {
7110
+ Object.defineProperty(StatComponent.prototype, "elem", {
6943
7111
  get: function () { return getElement(this); },
6944
7112
  enumerable: false,
6945
7113
  configurable: true
6946
7114
  });
6947
- Object.defineProperty(StatComponent$1, "watchers", {
7115
+ Object.defineProperty(StatComponent, "watchers", {
6948
7116
  get: function () {
6949
7117
  return {
6950
7118
  "stattype": ["stattypeHandler"]
@@ -6953,9 +7121,9 @@ var StatComponent$1 = /** @class */ (function () {
6953
7121
  enumerable: false,
6954
7122
  configurable: true
6955
7123
  });
6956
- return StatComponent$1;
7124
+ return StatComponent;
6957
7125
  }());
6958
- StatComponent$1.style = statComponentCss;
7126
+ StatComponent.style = statComponentCss;
6959
7127
  /**
6960
7128
  * Tokenize input string.
6961
7129
  */
@@ -7256,6 +7424,11 @@ var statsContainerCss = "sqh-stats-container{display:-ms-flexbox;display:flex;-m
7256
7424
  var StatsContainer = /** @class */ (function () {
7257
7425
  function StatsContainer(hostRef) {
7258
7426
  registerInstance(this, hostRef);
7427
+ /**
7428
+ * Hide the component
7429
+ *
7430
+ * @uiName Is Hidden
7431
+ */
7259
7432
  this.ishidden = false;
7260
7433
  this.statPaths = [
7261
7434
  "/rewardBalance/:type/:unit/:valuetype?/:isGlobal?",
@@ -9456,7 +9629,6 @@ var textComponentCss = "sqh-text-component{display:block}sqh-text-component p{ma
9456
9629
  var TextComponent = /** @class */ (function () {
9457
9630
  function TextComponent(hostRef) {
9458
9631
  registerInstance(this, hostRef);
9459
- this.padding = "10px 20px 15px";
9460
9632
  }
9461
9633
  TextComponent.prototype.render = function () {
9462
9634
  var regex = /\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/i;
@@ -9481,5 +9653,5 @@ var TextComponent = /** @class */ (function () {
9481
9653
  return TextComponent;
9482
9654
  }());
9483
9655
  TextComponent.style = textComponentCss;
9484
- export { CopyButton as sqh_copy_button, CopyLinkButton as sqh_copy_link_button, GlobalContainer as sqh_global_container, ImageComponent as sqh_image_component, StatComponent as sqh_partner_stat_component, ReferralComponent as sqh_referral_component, ReferralList as sqh_referral_list, ShareButton as sqh_share_button, ShareButtonContainer as sqh_share_button_container, StatComponent$1 as sqh_stat_component, StatsContainer as sqh_stats_container, TextComponent as sqh_text_component };
9656
+ export { CopyButton as sqh_copy_button, CopyLinkButton as sqh_copy_link_button, GlobalContainer as sqh_global_container, ImageComponent as sqh_image_component, PartnerStatComponent as sqh_partner_stat_component, ReferralComponent as sqh_referral_component, ReferralList as sqh_referral_list, ShareButton as sqh_share_button, ShareButtonContainer as sqh_share_button_container, StatComponent as sqh_stat_component, StatsContainer as sqh_stats_container, TextComponent as sqh_text_component };
9485
9657
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
@@ -3,8 +3,23 @@ var rewardsActionsCss = "sqh-rewards-actions .squatch-referrals-actions{text-ali
3
3
  var RewardsActions = /** @class */ (function () {
4
4
  function RewardsActions(hostRef) {
5
5
  registerInstance(this, hostRef);
6
+ /**
7
+ * Text inside the previous button
8
+ *
9
+ * @uiName Previous Button Text
10
+ */
6
11
  this.previoustext = "Previous";
12
+ /**
13
+ * Text inside the hide button
14
+ *
15
+ * @uiName Hide Button Text
16
+ */
7
17
  this.hidetext = "Hide";
18
+ /**
19
+ * Text inside the next button
20
+ *
21
+ * @uiName Next Button Text
22
+ */
8
23
  this.nexttext = "Next";
9
24
  }
10
25
  RewardsActions.prototype.render = function () {
@@ -2,5 +2,5 @@ import { b as bootstrapLazy } from './index-8ea8b6d8.js';
2
2
  import { p as patchBrowser } from './en-be593af0.js';
3
3
  import './_commonjsHelpers-1d681858.js';
4
4
  patchBrowser().then(function (options) {
5
- return bootstrapLazy([["sqh-close-button", [[0, "sqh-close-button", { "text": [1] }, [[0, "click", "handleClick"]]]]], ["sqh-referral-code", [[0, "sqh-referral-code", { "referralcode": [32] }]]], ["sqh-rewards-actions", [[0, "sqh-rewards-actions", { "previoustext": [1], "hidetext": [1], "nexttext": [1] }]]], ["sqh-copy-button_12", [[0, "sqh-referral-list", { "ishidden": [4], "paginatemore": [1], "paginateless": [1], "noreferralsyet": [1], "referralnamecolor": [1], "referraltextcolor": [1], "unknownuser": [1], "showexpiry": [4], "shownotes": [4], "redeemedvalue": [1], "showreferrer": [4], "referrercontent": [1], "referrervalue": [1], "rewardcolor": [1], "customernotecolor": [1], "usefirstreward": [4], "convertedcontent": [1], "valuecontent": [1], "pendingcolor": [1], "pendingcontent": [1], "pendingvalue": [1], "expiredcolor": [1], "expiredcontent": [1], "expiredvalue": [1], "expiresvalue": [1], "cancelledcolor": [1], "cancelledcontent": [1], "cancelledvalue": [1], "internationalization": [4], "referrals": [32], "referralsCount": [32], "referredBy": [32], "rewards": [32], "loading": [32], "offset": [32], "locale": [32] }], [0, "sqh-share-button-container", { "ishidden": [4], "emaildisplayrule": [1], "emailtext": [1], "emailbackgroundcolor": [1], "emailtextcolor": [1], "emailicon": [1], "emailclassName": [1, "emailclass-name"], "emailiconhorizontal": [2], "emailiconvertical": [2], "emailiconsize": [2], "facebookdisplayrule": [1], "facebooktext": [1], "facebookbackgroundcolor": [1], "facebooktextcolor": [1], "facebookicon": [1], "facebookclassName": [1, "facebookclass-name"], "facebookiconhorizontal": [2], "facebookiconvertical": [2], "facebookiconsize": [2], "twitterdisplayrule": [1], "twittertext": [1], "twitterbackgroundcolor": [1], "twittertextcolor": [1], "twittericon": [1], "twitterclassName": [1, "twitterclass-name"], "twittericonhorizontal": [2], "twittericonvertical": [2], "twittericonsize": [2], "smsdisplayrule": [1], "smstext": [1], "smsbackgroundcolor": [1], "smstextcolor": [1], "smsicon": [1], "smsclassName": [1, "smsclass-name"], "smsiconhorizontal": [2], "smsiconvertical": [2], "smsiconsize": [2], "whatsappdisplayrule": [1], "whatsapptext": [1], "whatsappbackgroundcolor": [1], "whatsapptextcolor": [1], "whatsappicon": [1], "whatsappclassName": [1, "whatsappclass-name"], "whatsappiconhorizontal": [2], "whatsappiconvertical": [2], "whatsappiconsize": [2], "linkedindisplayrule": [1], "linkedintext": [1], "linkedinbackgroundcolor": [1], "linkedintextcolor": [1], "linkedinicon": [1], "linkedinclassName": [1, "linkedinclass-name"], "linkediniconhorizontal": [2], "linkediniconvertical": [2], "linkediniconsize": [2], "pinterestdisplayrule": [1], "pinteresttext": [1], "pinterestbackgroundcolor": [1], "pinteresttextcolor": [1], "pinteresticon": [1], "pinterestclassName": [1, "pinterestclass-name"], "pinteresticonhorizontal": [2], "pinteresticonvertical": [2], "pinteresticonsize": [2], "messengerdisplayrule": [1], "messengertext": [1], "messengerbackgroundcolor": [1], "messengertextcolor": [1], "messengericon": [1], "messengerclassName": [1, "messengerclass-name"], "messengericonhorizontal": [2], "messengericonvertical": [2], "messengericonsize": [2], "linedisplayrule": [1], "linetext": [1], "linebackgroundcolor": [1], "linetextcolor": [1], "lineicon": [1], "lineclassName": [1, "lineclass-name"], "lineiconhorizontal": [2], "lineiconvertical": [2], "lineiconsize": [2], "emailurl": [32], "facebookurl": [32], "twitterurl": [32], "smsurl": [32], "whatsappurl": [32], "linkedinurl": [32], "pinteresturl": [32], "messengerurl": [32], "lineurl": [32] }], [0, "sqh-copy-button", { "ishidden": [4], "text": [1], "width": [2], "backgroundcolor": [1], "borderradius": [2], "textcolor": [1], "fontsize": [2], "copysuccess": [1], "copyfailure": [1], "rewardkey": [1], "codefontsize": [2], "codefontcolor": [1], "fueltankcode": [32] }], [0, "sqh-copy-link-button", { "ishidden": [4], "text": [1], "copysuccess": [1], "copyfailure": [1], "buttoncolor": [1], "textcolor": [1], "sharelink": [32] }], [4, "sqh-global-container", { "background": [1], "loadingcolor": [1], "fontfamily": [1], "maxwidth": [1], "poweredby": [4] }], [0, "sqh-image-component", { "ishidden": [4], "url": [1], "width": [2], "borderradius": [2], "alignment": [1], "css": [1] }], [0, "sqh-partner-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [0, "sqh-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [4, "sqh-stats-container", { "ishidden": [4], "paddingtop": [1], "paddingbottom": [1], "loading": [32], "stats": [32] }, [[0, "statTypeUpdated", "statTypeUpdatedHandler"], [0, "statAdded", "statAddedHandler"]]], [0, "sqh-text-component", { "ishidden": [4], "ismarkdown": [4], "text": [1], "fontfamily": [1], "color": [1], "fontsize": [1], "paddingtop": [1], "paddingbottom": [1], "padding": [1], "textalign": [1], "background": [1], "height": [1] }], [0, "sqh-referral-component", { "referral": [16], "referraltype": [1], "referralvariables": [16], "unknownuser": [16], "locale": [1] }], [0, "sqh-share-button", { "displayrule": [1], "text": [1], "backgroundcolor": [1], "textcolor": [1], "icon": [1], "buttonClassName": [1, "button-class-name"], "iconhorizontal": [2], "iconvertical": [2], "iconsize": [2], "type": [1], "url": [1] }]]]], options);
5
+ return bootstrapLazy([["sqh-close-button", [[0, "sqh-close-button", { "text": [1] }, [[0, "click", "handleClick"]]]]], ["sqh-referral-code", [[0, "sqh-referral-code", { "referralcode": [32] }]]], ["sqh-rewards-actions", [[0, "sqh-rewards-actions", { "previoustext": [1], "hidetext": [1], "nexttext": [1] }]]], ["sqh-copy-button_12", [[0, "sqh-referral-list", { "ishidden": [4], "paginatemore": [1], "paginateless": [1], "noreferralsyet": [1], "referralnamecolor": [1], "referraltextcolor": [1], "unknownuser": [1], "showexpiry": [4], "shownotes": [4], "redeemedvalue": [1], "showreferrer": [4], "referrercontent": [1], "referrervalue": [1], "rewardcolor": [1], "customernotecolor": [1], "usefirstreward": [4], "convertedcontent": [1], "valuecontent": [1], "pendingcolor": [1], "pendingcontent": [1], "pendingvalue": [1], "expiredcolor": [1], "expiredcontent": [1], "expiredvalue": [1], "expiresvalue": [1], "cancelledcolor": [1], "cancelledcontent": [1], "cancelledvalue": [1], "internationalization": [4], "referrals": [32], "referralsCount": [32], "referredBy": [32], "rewards": [32], "loading": [32], "offset": [32], "locale": [32] }], [0, "sqh-share-button-container", { "ishidden": [4], "emaildisplayrule": [1], "emailtext": [1], "emailbackgroundcolor": [1], "emailtextcolor": [1], "emailicon": [1], "emailclassName": [1, "emailclass-name"], "emailiconhorizontal": [2], "emailiconvertical": [2], "emailiconsize": [2], "facebookdisplayrule": [1], "facebooktext": [1], "facebookbackgroundcolor": [1], "facebooktextcolor": [1], "facebookicon": [1], "facebookclassName": [1, "facebookclass-name"], "facebookiconhorizontal": [2], "facebookiconvertical": [2], "facebookiconsize": [2], "twitterdisplayrule": [1], "twittertext": [1], "twitterbackgroundcolor": [1], "twittertextcolor": [1], "twittericon": [1], "twitterclassName": [1, "twitterclass-name"], "twittericonhorizontal": [2], "twittericonvertical": [2], "twittericonsize": [2], "smsdisplayrule": [1], "smstext": [1], "smsbackgroundcolor": [1], "smstextcolor": [1], "smsicon": [1], "smsclassName": [1, "smsclass-name"], "smsiconhorizontal": [2], "smsiconvertical": [2], "smsiconsize": [2], "whatsappdisplayrule": [1], "whatsapptext": [1], "whatsappbackgroundcolor": [1], "whatsapptextcolor": [1], "whatsappicon": [1], "whatsappclassName": [1, "whatsappclass-name"], "whatsappiconhorizontal": [2], "whatsappiconvertical": [2], "whatsappiconsize": [2], "linkedindisplayrule": [1], "linkedintext": [1], "linkedinbackgroundcolor": [1], "linkedintextcolor": [1], "linkedinicon": [1], "linkedinclassName": [1, "linkedinclass-name"], "linkediniconhorizontal": [2], "linkediniconvertical": [2], "linkediniconsize": [2], "pinterestdisplayrule": [1], "pinteresttext": [1], "pinterestbackgroundcolor": [1], "pinteresttextcolor": [1], "pinteresticon": [1], "pinterestclassName": [1, "pinterestclass-name"], "pinteresticonhorizontal": [2], "pinteresticonvertical": [2], "pinteresticonsize": [2], "messengerdisplayrule": [1], "messengertext": [1], "messengerbackgroundcolor": [1], "messengertextcolor": [1], "messengericon": [1], "messengerclassName": [1, "messengerclass-name"], "messengericonhorizontal": [2], "messengericonvertical": [2], "messengericonsize": [2], "linedisplayrule": [1], "linetext": [1], "linebackgroundcolor": [1], "linetextcolor": [1], "lineicon": [1], "lineclassName": [1, "lineclass-name"], "lineiconhorizontal": [2], "lineiconvertical": [2], "lineiconsize": [2], "emailurl": [32], "facebookurl": [32], "twitterurl": [32], "smsurl": [32], "whatsappurl": [32], "linkedinurl": [32], "pinteresturl": [32], "messengerurl": [32], "lineurl": [32] }], [0, "sqh-copy-button", { "ishidden": [4], "text": [1], "width": [2], "backgroundcolor": [1], "borderradius": [2], "textcolor": [1], "fontsize": [2], "copysuccess": [1], "copyfailure": [1], "rewardkey": [1], "codefontsize": [2], "codefontcolor": [1], "fueltankcode": [32] }], [0, "sqh-copy-link-button", { "ishidden": [4], "text": [1], "copysuccess": [1], "copyfailure": [1], "buttoncolor": [1], "textcolor": [1], "sharelink": [32] }], [4, "sqh-global-container", { "background": [1], "loadingcolor": [1], "fontfamily": [1], "maxwidth": [1], "poweredby": [4] }], [0, "sqh-image-component", { "ishidden": [4], "url": [1], "width": [2], "borderradius": [2], "alignment": [1], "css": [1] }], [0, "sqh-partner-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [0, "sqh-stat-component", { "ishidden": [4], "stattype": [1], "statvalue": [1], "statdescription": [1], "statcolor": [1] }], [4, "sqh-stats-container", { "ishidden": [4], "paddingtop": [1], "paddingbottom": [1], "loading": [32], "stats": [32] }, [[0, "statTypeUpdated", "statTypeUpdatedHandler"], [0, "statAdded", "statAddedHandler"]]], [0, "sqh-text-component", { "ishidden": [4], "ismarkdown": [4], "text": [1], "fontfamily": [1], "color": [1], "fontsize": [1], "paddingtop": [1], "paddingbottom": [1], "textalign": [1], "background": [1], "height": [1] }], [0, "sqh-referral-component", { "referral": [16], "referraltype": [1], "referralvariables": [16], "unknownuser": [16], "locale": [1] }], [0, "sqh-share-button", { "displayrule": [1], "text": [1], "backgroundcolor": [1], "textcolor": [1], "icon": [1], "buttonClassName": [1, "button-class-name"], "iconhorizontal": [2], "iconvertical": [2], "iconsize": [2], "type": [1], "url": [1] }]]]], options);
6
6
  });
@@ -1,4 +1,12 @@
1
- export declare class TwitterShareButton {
1
+ /**
2
+ * @uiName Close Button
3
+ */
4
+ export declare class CloseButton {
5
+ /**
6
+ * The text shown inside the close button.
7
+ *
8
+ * @uiName Button Text
9
+ */
2
10
  text: string;
3
11
  closeButton: HTMLElement;
4
12
  handleClick(): void;
@@ -1,16 +1,79 @@
1
1
  import Clipboard from "clipboard";
2
+ /**
3
+ * @uiName Copy Button
4
+ */
2
5
  export declare class CopyButton {
6
+ /**
7
+ * Hide or show the component
8
+ *
9
+ * @uiName Hide Button
10
+ */
3
11
  ishidden: boolean;
12
+ /**
13
+ * Text shown inside the copy button.
14
+ *
15
+ * @uiName Button Text
16
+ */
4
17
  text: string;
18
+ /**
19
+ * Sets a maximum width on the copy button.
20
+ *
21
+ * @uiName Max Width
22
+ */
5
23
  width: number;
24
+ /**
25
+ * Background & border color of the copy button.
26
+ *
27
+ * @uiName Background Color
28
+ */
6
29
  backgroundcolor: string;
30
+ /**
31
+ * Configure border radius with pixel amount
32
+ *
33
+ * @uiName Border Radius
34
+ */
7
35
  borderradius: number;
36
+ /**
37
+ * Color of text inside the copy button.
38
+ *
39
+ * @uiName Text Color
40
+ */
8
41
  textcolor: string;
42
+ /**
43
+ * Font size of the copy button text.
44
+ *
45
+ * @uiName Font Size
46
+ */
9
47
  fontsize: number;
48
+ /**
49
+ * Shown when the code is successfully copied to the users clipboard.
50
+ *
51
+ * @uiName Copy Success Text
52
+ */
10
53
  copysuccess: string;
54
+ /**
55
+ * Shown when the button has failed to copy the code to the users clipboard.
56
+ *
57
+ * @uiName Copy Failure Text
58
+ */
11
59
  copyfailure: string;
60
+ /**
61
+ * rewardkey is used to get the fuel tank code for a user.
62
+ *
63
+ * @uiName Reward Key
64
+ */
12
65
  rewardkey: string;
66
+ /**
67
+ * Font size of the fuel tank code.
68
+ *
69
+ * @uiName Code Font Size
70
+ */
13
71
  codefontsize: number;
72
+ /**
73
+ * Text color of the fuel tank code.
74
+ *
75
+ * @uiName Code Font Color
76
+ */
14
77
  codefontcolor: string;
15
78
  fueltankcode: string;
16
79
  componentWillLoad(): Promise<void>;