@saasquatch/mint-components 1.13.2 → 1.13.3-10

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 (91) hide show
  1. package/dist/cjs/ErrorView-b2fcf954.js +35 -0
  2. package/dist/cjs/{ShadowViewAddon-cf0ee0a0.js → ShadowViewAddon-3ddee92b.js} +6 -5
  3. package/dist/cjs/copy-text-view-c85acaaa.js +96 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/mint-components.cjs.js +1 -1
  6. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +3 -2
  7. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +3 -2
  8. package/dist/cjs/{sqm-invoice-table-view-baded4af.js → sqm-invoice-table-view-16ac73d0.js} +2 -31
  9. package/dist/cjs/sqm-pagination_3.cjs.entry.js +6 -5
  10. package/dist/cjs/sqm-qr-code-view-3f30d2cd.js +94 -0
  11. package/dist/cjs/sqm-qr-code.cjs.entry.js +199 -0
  12. package/dist/cjs/sqm-stencilbook.cjs.entry.js +55 -6
  13. package/dist/cjs/{copy-text-view-a5524c20.js → useReferralCodes-82e8797b.js} +0 -93
  14. package/dist/collection/collection-manifest.json +1 -0
  15. package/dist/collection/components/sqm-qr-code/QRCode.stories.js +37 -0
  16. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +89 -0
  17. package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +229 -0
  18. package/dist/collection/components/sqm-qr-code/useQRCode.js +129 -0
  19. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  20. package/dist/esm/ErrorView-48e2b969.js +33 -0
  21. package/dist/esm/{ShadowViewAddon-fd07e6e1.js → ShadowViewAddon-499b1f86.js} +2 -1
  22. package/dist/esm/copy-text-view-782137ba.js +94 -0
  23. package/dist/esm/loader.js +1 -1
  24. package/dist/esm/mint-components.js +1 -1
  25. package/dist/esm/sqm-banking-info-form_17.entry.js +2 -1
  26. package/dist/esm/sqm-big-stat_39.entry.js +3 -2
  27. package/dist/esm/{sqm-invoice-table-view-af69cd33.js → sqm-invoice-table-view-2c726568.js} +2 -30
  28. package/dist/esm/sqm-pagination_3.entry.js +2 -1
  29. package/dist/esm/sqm-qr-code-view-7c441329.js +92 -0
  30. package/dist/esm/sqm-qr-code.entry.js +195 -0
  31. package/dist/esm/sqm-stencilbook.entry.js +55 -6
  32. package/dist/esm/{copy-text-view-459a2e35.js → useReferralCodes-8f75921a.js} +1 -93
  33. package/dist/esm-es5/ErrorView-48e2b969.js +1 -0
  34. package/dist/esm-es5/ShadowViewAddon-499b1f86.js +1 -0
  35. package/dist/esm-es5/copy-text-view-782137ba.js +1 -0
  36. package/dist/esm-es5/loader.js +1 -1
  37. package/dist/esm-es5/mint-components.js +1 -1
  38. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  39. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  40. package/dist/esm-es5/sqm-invoice-table-view-2c726568.js +1 -0
  41. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  42. package/dist/esm-es5/sqm-qr-code-view-7c441329.js +1 -0
  43. package/dist/esm-es5/sqm-qr-code.entry.js +1 -0
  44. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  45. package/dist/esm-es5/useReferralCodes-8f75921a.js +1 -0
  46. package/dist/mint-components/mint-components.esm.js +1 -1
  47. package/dist/mint-components/{p-f29eda2f.entry.js → p-012af236.entry.js} +4 -4
  48. package/dist/mint-components/p-06267664.system.js +1 -0
  49. package/dist/mint-components/p-31015791.js +1 -0
  50. package/dist/mint-components/p-37996351.system.js +1 -1
  51. package/dist/mint-components/p-3a62a7e2.system.js +1 -0
  52. package/dist/mint-components/p-3b90e01b.system.js +1 -0
  53. package/dist/mint-components/p-3f067fd5.js +1 -0
  54. package/dist/mint-components/p-3f7b81b8.js +52 -0
  55. package/dist/mint-components/p-45e82465.entry.js +17 -0
  56. package/dist/mint-components/p-5afd7e38.system.entry.js +1 -0
  57. package/dist/mint-components/p-5cb7f9fc.system.entry.js +1 -0
  58. package/dist/mint-components/{p-b51e79b3.entry.js → p-7846937e.entry.js} +2 -2
  59. package/dist/mint-components/p-97038074.system.entry.js +1 -0
  60. package/dist/mint-components/p-9acb5038.js +1 -0
  61. package/dist/mint-components/p-a7746488.system.js +1 -0
  62. package/dist/mint-components/p-b630683c.system.entry.js +1 -0
  63. package/dist/mint-components/p-da4ff3b4.system.js +1 -0
  64. package/dist/mint-components/p-dbc0e4f8.system.js +1 -0
  65. package/dist/mint-components/p-dfcc0f0e.entry.js +9 -0
  66. package/dist/mint-components/{p-d12fc50f.js → p-e2d5cd22.js} +20 -20
  67. package/dist/mint-components/p-e6e2b28b.js +1 -0
  68. package/dist/mint-components/p-e706440c.system.entry.js +1 -0
  69. package/dist/mint-components/{p-87d385d8.entry.js → p-f15c1a53.entry.js} +1 -1
  70. package/dist/types/components/sqm-qr-code/QRCode.stories.d.ts +8 -0
  71. package/dist/types/components/sqm-qr-code/sqm-qr-code-view.d.ts +17 -0
  72. package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +41 -0
  73. package/dist/types/components/sqm-qr-code/useQRCode.d.ts +3 -0
  74. package/dist/types/components.d.ts +72 -0
  75. package/docs/docs.docx +0 -0
  76. package/docs/raisins.json +1 -1
  77. package/grapesjs/grapesjs.js +1 -1
  78. package/package.json +1 -1
  79. package/dist/esm-es5/ShadowViewAddon-fd07e6e1.js +0 -1
  80. package/dist/esm-es5/copy-text-view-459a2e35.js +0 -1
  81. package/dist/esm-es5/sqm-invoice-table-view-af69cd33.js +0 -1
  82. package/dist/mint-components/p-57e2c2fa.system.js +0 -1
  83. package/dist/mint-components/p-717cc8ac.system.js +0 -1
  84. package/dist/mint-components/p-71bc04d2.system.entry.js +0 -1
  85. package/dist/mint-components/p-7f2d4212.js +0 -52
  86. package/dist/mint-components/p-9320582e.system.js +0 -1
  87. package/dist/mint-components/p-962f3200.js +0 -1
  88. package/dist/mint-components/p-abedbbf3.system.entry.js +0 -1
  89. package/dist/mint-components/p-b93fd99c.system.entry.js +0 -1
  90. package/dist/mint-components/p-bc83460e.system.entry.js +0 -1
  91. package/dist/mint-components/p-da932ca2.entry.js +0 -9
@@ -1,4 +1,4 @@
1
- import{r as t,h as e,c as r}from"./p-f708da7b.js";import{n as a,f as s,k as n,i,u as o,m as l,b as c,j as d}from"./p-cd651f81.js";import{i as u}from"./p-65069b66.js";import{i as h,_ as m,d as p,J as g,H as v,$ as f,w as b,B as y,L as x,y as w,j as k,r as C,V as E,u as I,Q as S,k as R}from"./p-94a876b9.js";import{j as T}from"./p-e7e129ac.js";import{c as M}from"./p-c1086930.js";import{g as q,a as _}from"./p-9ec99ced.js";import{c as N}from"./p-cef45012.js";import{C as A}from"./p-7f2d4212.js";import"./p-91521e9d.js";import{a as P}from"./p-4e451f75.js";import{u as L}from"./p-19ccb4ce.js";import"./p-5bedb58c.js";import"./p-c9f1dde7.js";import{p as D}from"./p-8d363802.js";import{R as V,u as F}from"./p-98698131.js";import{P as $}from"./p-dbcb5359.js";import{u as j}from"./p-4e526a94.js";import{A as O}from"./p-121cdc60.js";import{i as B}from"./p-8c23d1b8.js";import{b as U,Q as z,B as H,M as W,G,C as Z,J as Y,D as K,E as Q,H as X,I as J,U as tt,L as et,N as rt,d as at,h as st,P as nt,e as it,R as ot,V as lt,i as ct,a as dt,S as ut,u as ht,c as mt,T as pt}from"./p-d12fc50f.js";import"./p-a9f4ddb1.js";import{u as gt}from"./p-480e08e9.js";const vt=class{constructor(e){t(this,e),this.flexReverse=!1,this.ignored=!0,a(this)}disconnectedCallback(){}render(){var t;const{props:r,label:a}=h()?U(this):z(this),s=!!(null===(t=m().innerHTML)||void 0===t?void 0:t.trim()),n=e("slot",{name:"label"},s?e("slot",null):a);return e(H,Object.assign({},r,{labelSlot:n}))}},ft=class{constructor(e){t(this,e),a(this)}disconnectedCallback(){}render(){var t,a;const n=null!==(t=function(t){if(t)try{return W(t)}catch{}}(this.brandColor))&&void 0!==t?t:"",i=(null!==(a=this.brandFont)&&void 0!==a?a:"Nunito Sans").trim()||void 0;s((()=>{if(!i)return;const t=document.createElement("link");return t.setAttribute("href",function(...t){return`https://fonts.googleapis.com/css2?${t.map((t=>`family=${encodeURIComponent(t)}`)).join("&")}`}(i)),t.setAttribute("rel","stylesheet"),document.head.appendChild(t),()=>document.head.removeChild(t)}),[i]);const o=null!=i?i:"";return e(r,null,e("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${o}", arial;\n --sl-input-font-family: "${o}", arial;\n --sl-tooltip-font-family: "${o}", arial;\n font-family: "${o}", arial;\n\t\t\t\n ${n}\n\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),e("slot",null))}},bt=class{constructor(e){t(this,e),this.ignored=!0,this.width=347,this.gap=24,a(this)}disconnectedCallback(){}render(){return e(G,Object.assign({},q(this)),e("slot",null))}},yt=N({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),xt=yt.toString();function wt({missingProps:t,heading:r="There was a problem loading this section",subheading:a="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:s="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},i){if(!t)return!1;const o=m(),[l,c]=n(!1);return e("sl-alert",{type:"danger",open:!0},e("style",{type:"text/css"},xt),e("div",{slot:"icon",class:yt.classes.IconStyle},e("sl-icon",{name:"exclamation-octagon"})),e("div",{class:yt.classes.DivStyle},e("h2",{class:yt.classes.Heading},u.formatMessage({id:"error-heading",defaultMessage:r})),e("p",null,u.formatMessage({id:"error-subheading",defaultMessage:a}))),e("details",{class:yt.classes.Details},e("summary",{onClick:()=>c(!l)},l?"Less":"More"," details"),e("p",null,u.formatMessage({id:"error-description",defaultMessage:s},{tagName:o.tagName.toLowerCase()})),e("ul",null,t.map((t=>e("li",null,e("strong",null,t.attribute)))))),e("div",{class:yt.classes.Children},i))}const kt=class{constructor(e){t(this,e),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,a(this)}disconnectedCallback(){}render(){const t=_([{attribute:"checkbox-name",value:this.checkboxName}]);if(!h()&&t)return e(wt,{missingProps:t,heading:"An error occured while loading this form",subheading:"A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const r={...q(this)},{states:a,callbacks:o}=h()?M({states:{registrationFormState:{},checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):function(t){var e;const r=i(V),[a,o]=n(!1);return s((()=>{var e,a;(null===(e=null==r?void 0:r.initialData)||void 0===e?void 0:e[t.checkboxName])&&o(!!(null===(a=null==r?void 0:r.initialData)||void 0===a?void 0:a[t.checkboxName]))}),[null===(e=null==r?void 0:r.initialData)||void 0===e?void 0:e[t.checkboxName]]),{states:{registrationFormState:r,checked:a},callbacks:{setChecked:o}}}(this);return e(Z,{states:a,content:r,callbacks:o})}},Ct=p.gql`
1
+ import{r as t,h as e,c as r}from"./p-f708da7b.js";import{n as a,f as s,k as n,i,u as o,m as l,b as c,j as d}from"./p-cd651f81.js";import{i as u}from"./p-65069b66.js";import{i as h,_ as m,d as p,J as g,H as v,$ as f,w as b,B as y,L as x,y as w,j as k,r as C,V as E,u as I,Q as S,k as R}from"./p-94a876b9.js";import{j as T}from"./p-e7e129ac.js";import{c as M}from"./p-c1086930.js";import{g as q,a as _}from"./p-9ec99ced.js";import{c as N}from"./p-cef45012.js";import"./p-3f7b81b8.js";import"./p-91521e9d.js";import{C as A}from"./p-31015791.js";import{a as P}from"./p-4e451f75.js";import{u as L}from"./p-19ccb4ce.js";import"./p-5bedb58c.js";import"./p-c9f1dde7.js";import{p as D}from"./p-8d363802.js";import{R as V,u as F}from"./p-98698131.js";import{P as $}from"./p-dbcb5359.js";import{u as j}from"./p-4e526a94.js";import{A as O}from"./p-121cdc60.js";import{i as B}from"./p-8c23d1b8.js";import{b as U,Q as z,B as H,M as W,G,C as Z,J as Y,D as K,E as Q,H as X,I as J,U as tt,L as et,N as rt,d as at,h as st,P as nt,e as it,R as ot,V as lt,i as ct,a as dt,S as ut,u as ht,c as mt,T as pt}from"./p-e2d5cd22.js";import"./p-a9f4ddb1.js";import{u as gt}from"./p-480e08e9.js";const vt=class{constructor(e){t(this,e),this.flexReverse=!1,this.ignored=!0,a(this)}disconnectedCallback(){}render(){var t;const{props:r,label:a}=h()?U(this):z(this),s=!!(null===(t=m().innerHTML)||void 0===t?void 0:t.trim()),n=e("slot",{name:"label"},s?e("slot",null):a);return e(H,Object.assign({},r,{labelSlot:n}))}},ft=class{constructor(e){t(this,e),a(this)}disconnectedCallback(){}render(){var t,a;const n=null!==(t=function(t){if(t)try{return W(t)}catch{}}(this.brandColor))&&void 0!==t?t:"",i=(null!==(a=this.brandFont)&&void 0!==a?a:"Nunito Sans").trim()||void 0;s((()=>{if(!i)return;const t=document.createElement("link");return t.setAttribute("href",function(...t){return`https://fonts.googleapis.com/css2?${t.map((t=>`family=${encodeURIComponent(t)}`)).join("&")}`}(i)),t.setAttribute("rel","stylesheet"),document.head.appendChild(t),()=>document.head.removeChild(t)}),[i]);const o=null!=i?i:"";return e(r,null,e("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${o}", arial;\n --sl-input-font-family: "${o}", arial;\n --sl-tooltip-font-family: "${o}", arial;\n font-family: "${o}", arial;\n\t\t\t\n ${n}\n\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),e("slot",null))}},bt=class{constructor(e){t(this,e),this.ignored=!0,this.width=347,this.gap=24,a(this)}disconnectedCallback(){}render(){return e(G,Object.assign({},q(this)),e("slot",null))}},yt=N({IconStyle:{display:"block",position:"absolute",top:"23px"},DivStyle:{marginLeft:"28px"},Details:{marginLeft:"28px"},Heading:{display:"inline-block"},Children:{display:"none"}}),xt=yt.toString();function wt({missingProps:t,heading:r="There was a problem loading this section",subheading:a="There was a technical problem that prevented this section from loading. Please contact us with the link to this page.",description:s="Error occured while loading <{tagName}>. Values for the following attributes are missing:"},i){if(!t)return!1;const o=m(),[l,c]=n(!1);return e("sl-alert",{type:"danger",open:!0},e("style",{type:"text/css"},xt),e("div",{slot:"icon",class:yt.classes.IconStyle},e("sl-icon",{name:"exclamation-octagon"})),e("div",{class:yt.classes.DivStyle},e("h2",{class:yt.classes.Heading},u.formatMessage({id:"error-heading",defaultMessage:r})),e("p",null,u.formatMessage({id:"error-subheading",defaultMessage:a}))),e("details",{class:yt.classes.Details},e("summary",{onClick:()=>c(!l)},l?"Less":"More"," details"),e("p",null,u.formatMessage({id:"error-description",defaultMessage:s},{tagName:o.tagName.toLowerCase()})),e("ul",null,t.map((t=>e("li",null,e("strong",null,t.attribute)))))),e("div",{class:yt.classes.Children},i))}const kt=class{constructor(e){t(this,e),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,a(this)}disconnectedCallback(){}render(){const t=_([{attribute:"checkbox-name",value:this.checkboxName}]);if(!h()&&t)return e(wt,{missingProps:t,heading:"An error occured while loading this form",subheading:"A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const r={...q(this)},{states:a,callbacks:o}=h()?M({states:{registrationFormState:{},checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(t,e)=>e}):function(t){var e;const r=i(V),[a,o]=n(!1);return s((()=>{var e,a;(null===(e=null==r?void 0:r.initialData)||void 0===e?void 0:e[t.checkboxName])&&o(!!(null===(a=null==r?void 0:r.initialData)||void 0===a?void 0:a[t.checkboxName]))}),[null===(e=null==r?void 0:r.initialData)||void 0===e?void 0:e[t.checkboxName]]),{states:{registrationFormState:r,checked:a},callbacks:{setChecked:o}}}(this);return e(Z,{states:a,content:r,callbacks:o})}},Ct=p.gql`
2
2
  query fuelTankRewardsQuery($programId: ID!) {
3
3
  user: viewer {
4
4
  ... on User {
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Default: () => any;
6
+ export declare const Expanded: () => any;
7
+ export declare const Error: () => any;
8
+ export declare const DownloadError: () => any;
@@ -0,0 +1,17 @@
1
+ export interface QRCodeViewProps {
2
+ dialogIsOpen: boolean;
3
+ error: boolean;
4
+ viewError: boolean;
5
+ showDialog: () => void;
6
+ hideDialog: () => void;
7
+ qrLink: string;
8
+ createDownloadable: () => void;
9
+ titleText?: string;
10
+ viewCodeText?: string;
11
+ downloadCodeText?: string;
12
+ printCodeText?: string;
13
+ errorHeaderText?: string;
14
+ errorDescriptionText?: string;
15
+ createPrintable: () => void;
16
+ }
17
+ export declare function QrCodeView({ dialogIsOpen, error, viewError, showDialog, hideDialog, qrLink, titleText, viewCodeText, downloadCodeText, printCodeText, errorHeaderText, errorDescriptionText, createDownloadable, createPrintable, }: QRCodeViewProps): any;
@@ -0,0 +1,41 @@
1
+ import { DemoData } from "../../global/demo";
2
+ import { QRCodeViewProps } from "./sqm-qr-code-view";
3
+ /**
4
+ * @uiName QR Code
5
+ * @exampleGroup Sharing
6
+ * @example QR Code - <sqm-qr-code></sqm-qr-code>
7
+ */
8
+ export declare class QrCode {
9
+ /**
10
+ * @uiName Title
11
+ */
12
+ titleText?: string;
13
+ /**
14
+ * @uiName View QR code text
15
+ */
16
+ viewCodeText?: string;
17
+ /**
18
+ * @uiName Download QR code text
19
+ */
20
+ downloadCodeText?: string;
21
+ /**
22
+ * @uiName Print QR code text
23
+ */
24
+ printCodeText?: string;
25
+ /**
26
+ * @uiName Header for error banner
27
+ */
28
+ errorHeaderText?: string;
29
+ /**
30
+ * @uiName Description for error banner
31
+ */
32
+ errorDescriptionText?: string;
33
+ /**
34
+ * @undocumented
35
+ * @uiType object
36
+ */
37
+ demoData?: DemoData<QRCodeViewProps>;
38
+ constructor();
39
+ disconnectedCallback(): void;
40
+ render(): any;
41
+ }
@@ -0,0 +1,3 @@
1
+ import { QrCode } from "./sqm-qr-code";
2
+ import { QRCodeViewProps } from "./sqm-qr-code-view";
3
+ export declare function useQRCode(props: QrCode): QRCodeViewProps;
@@ -42,6 +42,7 @@ import { PortalProfileViewProps } from "./components/sqm-portal-profile/sqm-port
42
42
  import { PortalRegisterViewProps } from "./components/sqm-portal-register/sqm-portal-register-view";
43
43
  import { PortalResetPasswordViewProps } from "./components/sqm-portal-reset-password/sqm-portal-reset-password-view";
44
44
  import { PortalVerifyEmailViewProps } from "./components/sqm-portal-verify-email/sqm-portal-verify-email-view";
45
+ import { QRCodeViewProps } from "./components/sqm-qr-code/sqm-qr-code-view";
45
46
  import { ReferralCodesViewProps } from "./components/sqm-referral-codes/sqm-referral-codes-view";
46
47
  import { ReferralIframeViewProps } from "./components/sqm-referral-iframe/sqm-referral-iframe-view";
47
48
  import { ReferralDates } from "./components/sqm-referral-table/useReferralTable";
@@ -2941,6 +2942,37 @@ export namespace Components {
2941
2942
  }
2942
2943
  interface SqmProgramMenu {
2943
2944
  }
2945
+ interface SqmQrCode {
2946
+ /**
2947
+ * @undocumented
2948
+ * @uiType object
2949
+ */
2950
+ "demoData"?: DemoData<QRCodeViewProps>;
2951
+ /**
2952
+ * @uiName Download QR code text
2953
+ */
2954
+ "downloadCodeText"?: string;
2955
+ /**
2956
+ * @uiName Description for error banner
2957
+ */
2958
+ "errorDescriptionText"?: string;
2959
+ /**
2960
+ * @uiName Header for error banner
2961
+ */
2962
+ "errorHeaderText"?: string;
2963
+ /**
2964
+ * @uiName Print QR code text
2965
+ */
2966
+ "printCodeText"?: string;
2967
+ /**
2968
+ * @uiName Title
2969
+ */
2970
+ "titleText"?: string;
2971
+ /**
2972
+ * @uiName View QR code text
2973
+ */
2974
+ "viewCodeText"?: string;
2975
+ }
2944
2976
  interface SqmReferralCard {
2945
2977
  /**
2946
2978
  * @uiName Background color
@@ -6250,6 +6282,12 @@ declare global {
6250
6282
  prototype: HTMLSqmProgramMenuElement;
6251
6283
  new (): HTMLSqmProgramMenuElement;
6252
6284
  };
6285
+ interface HTMLSqmQrCodeElement extends Components.SqmQrCode, HTMLStencilElement {
6286
+ }
6287
+ var HTMLSqmQrCodeElement: {
6288
+ prototype: HTMLSqmQrCodeElement;
6289
+ new (): HTMLSqmQrCodeElement;
6290
+ };
6253
6291
  interface HTMLSqmReferralCardElement extends Components.SqmReferralCard, HTMLStencilElement {
6254
6292
  }
6255
6293
  var HTMLSqmReferralCardElement: {
@@ -6631,6 +6669,7 @@ declare global {
6631
6669
  "sqm-program-explainer": HTMLSqmProgramExplainerElement;
6632
6670
  "sqm-program-explainer-step": HTMLSqmProgramExplainerStepElement;
6633
6671
  "sqm-program-menu": HTMLSqmProgramMenuElement;
6672
+ "sqm-qr-code": HTMLSqmQrCodeElement;
6634
6673
  "sqm-referral-card": HTMLSqmReferralCardElement;
6635
6674
  "sqm-referral-code": HTMLSqmReferralCodeElement;
6636
6675
  "sqm-referral-codes": HTMLSqmReferralCodesElement;
@@ -9567,6 +9606,37 @@ declare namespace LocalJSX {
9567
9606
  }
9568
9607
  interface SqmProgramMenu {
9569
9608
  }
9609
+ interface SqmQrCode {
9610
+ /**
9611
+ * @undocumented
9612
+ * @uiType object
9613
+ */
9614
+ "demoData"?: DemoData<QRCodeViewProps>;
9615
+ /**
9616
+ * @uiName Download QR code text
9617
+ */
9618
+ "downloadCodeText"?: string;
9619
+ /**
9620
+ * @uiName Description for error banner
9621
+ */
9622
+ "errorDescriptionText"?: string;
9623
+ /**
9624
+ * @uiName Header for error banner
9625
+ */
9626
+ "errorHeaderText"?: string;
9627
+ /**
9628
+ * @uiName Print QR code text
9629
+ */
9630
+ "printCodeText"?: string;
9631
+ /**
9632
+ * @uiName Title
9633
+ */
9634
+ "titleText"?: string;
9635
+ /**
9636
+ * @uiName View QR code text
9637
+ */
9638
+ "viewCodeText"?: string;
9639
+ }
9570
9640
  interface SqmReferralCard {
9571
9641
  /**
9572
9642
  * @uiName Background color
@@ -12510,6 +12580,7 @@ declare namespace LocalJSX {
12510
12580
  "sqm-program-explainer": SqmProgramExplainer;
12511
12581
  "sqm-program-explainer-step": SqmProgramExplainerStep;
12512
12582
  "sqm-program-menu": SqmProgramMenu;
12583
+ "sqm-qr-code": SqmQrCode;
12513
12584
  "sqm-referral-card": SqmReferralCard;
12514
12585
  "sqm-referral-code": SqmReferralCode;
12515
12586
  "sqm-referral-codes": SqmReferralCodes;
@@ -12636,6 +12707,7 @@ declare module "@stencil/core" {
12636
12707
  "sqm-program-explainer": LocalJSX.SqmProgramExplainer & JSXBase.HTMLAttributes<HTMLSqmProgramExplainerElement>;
12637
12708
  "sqm-program-explainer-step": LocalJSX.SqmProgramExplainerStep & JSXBase.HTMLAttributes<HTMLSqmProgramExplainerStepElement>;
12638
12709
  "sqm-program-menu": LocalJSX.SqmProgramMenu & JSXBase.HTMLAttributes<HTMLSqmProgramMenuElement>;
12710
+ "sqm-qr-code": LocalJSX.SqmQrCode & JSXBase.HTMLAttributes<HTMLSqmQrCodeElement>;
12639
12711
  "sqm-referral-card": LocalJSX.SqmReferralCard & JSXBase.HTMLAttributes<HTMLSqmReferralCardElement>;
12640
12712
  "sqm-referral-code": LocalJSX.SqmReferralCode & JSXBase.HTMLAttributes<HTMLSqmReferralCodeElement>;
12641
12713
  "sqm-referral-codes": LocalJSX.SqmReferralCodes & JSXBase.HTMLAttributes<HTMLSqmReferralCodesElement>;
package/docs/docs.docx CHANGED
Binary file