@everymatrix/cashier-page 1.69.94 → 1.69.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
- package/components/{CashierCarousel-BdYVF6QV.js → CashierCarousel-D_wSKCMs.js} +1400 -1318
- package/components/{CashierCarousel-P8JOEAdW.js → CashierCarousel-U2ysEkZo.js} +1425 -1343
- package/components/{CashierError-BHR0wCX8.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
- package/components/{CashierError-CV3sSdTA.js → CashierError-D2jZsClG.js} +2 -2
- package/components/{CashierError-Dc97Q3ia.js → CashierError-ZLpQCZ7N.js} +2 -2
- package/components/{CashierHeader-CNnGcxHX.js → CashierHeader-BCCA_87T.js} +4 -4
- package/components/CashierHeader-D40gryOj.cjs +1 -0
- package/components/{CashierHeader-BvRwyGj-.js → CashierHeader-DyFARvnF.js} +4 -4
- package/components/CashierIframeRedirect-BKExS9o2.cjs +1 -0
- package/components/{CashierIframeRedirect-CyxYgQXl.js → CashierIframeRedirect-BMGvaxHv.js} +29 -29
- package/components/{CashierIframeRedirect-Tyfog0B-.js → CashierIframeRedirect-Hz0t-XHA.js} +29 -29
- package/components/CashierMethodDetails-D0wpum5b.js +9564 -0
- package/components/CashierMethodDetails-FeiyXoHw.js +9523 -0
- package/components/CashierMethodDetails-ziUU0Tui.cjs +85 -0
- package/components/CashierMethodsList-CI_1-_NW.js +737 -0
- package/components/CashierMethodsList-PbOH7p79.cjs +1 -0
- package/components/CashierMethodsList-WQndorD0.js +725 -0
- package/components/CashierModal-Bm1ZHiKF.js +337 -0
- package/components/CashierModal-CZXS870r.cjs +1 -0
- package/components/CashierModal-DA9pYzjv.js +353 -0
- package/components/{CashierNotifications-B1_IvWSx.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
- package/components/{CashierNotifications-C7E0y8oy.js → CashierNotifications-BKEjPFOe.js} +1 -1
- package/components/{CashierNotifications-CV5fK-_h.js → CashierNotifications-BhTVfc_q.js} +1 -1
- package/components/CashierPage-B2478cGI.cjs +1 -0
- package/components/CashierPage-Bu-Q7zGW.js +3202 -0
- package/components/CashierPage-DRqoyxvy.js +3202 -0
- package/components/{CashierReceiptPage-CtOCAaLC.js → CashierReceiptPage-BCdXtAQy.js} +847 -767
- package/components/CashierReceiptPage-BTnWWxrf.cjs +26 -0
- package/components/{CashierReceiptPage-C6wwbN8P.js → CashierReceiptPage-mprh7bxR.js} +871 -767
- package/components/CashierSessionExpirationModal-CO21pLuC.cjs +2 -0
- package/components/{CashierSessionExpirationModal-DZ6cbZMo.js → CashierSessionExpirationModal-Cf9kV9t-.js} +36 -36
- package/components/{CashierSessionExpirationModal-CH7OH5eP.js → CashierSessionExpirationModal-DmelwHmk.js} +64 -64
- package/components/{CashierSpinner-CyPuIakf.js → CashierSpinner-BafoqXXx.js} +1 -1
- package/components/{CashierSpinner-DN8Xti3l.js → CashierSpinner-BoT5LgPd.js} +1 -1
- package/components/{CashierSpinner-CL3BxNa3.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
- package/components/CashierStepUp-DAwEA9m8.js +1118 -0
- package/components/CashierStepUp-DHD1RjqN.js +1079 -0
- package/components/CashierStepUp-DPLCXGpo.cjs +1 -0
- package/components/{CashierTransactionHistory-DUJ7uEPo.js → CashierTransactionHistory-BKgkxlMX.js} +28 -28
- package/components/{CashierTransactionHistory-D7x8iV5o.js → CashierTransactionHistory-C8ds2Zwi.js} +28 -28
- package/components/CashierTransactionHistory-CBn28kTC.cjs +1 -0
- package/components/{CashierVerifications-dsnZ9UGl.js → CashierVerifications-B5x1jg3q.js} +124 -124
- package/components/CashierVerifications-Hi5EfxuQ.cjs +1 -0
- package/components/{CashierVerifications-D98F06Sz.js → CashierVerifications-fksQOX8S.js} +94 -94
- package/components/{TxnStatusIcon-DKrjQDkn.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
- package/components/{TxnStatusIcon-Bjzryymo.js → TxnStatusIcon-Ck-w1f1a.js} +1 -1
- package/components/{TxnStatusIcon-BnNOvKNP.js → TxnStatusIcon-ZhJG6FAv.js} +1 -1
- package/components/{TxnTypeIcons-CdJDWKBc.js → TxnTypeIcons-BJMvuKXL.js} +1 -1
- package/components/{TxnTypeIcons-DUFNEYZT.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
- package/components/{TxnTypeIcons-CgvUMv-Q.js → TxnTypeIcons-OgWLkxli.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-B6BYeRne.js} +1 -1
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-BOr4KAqq.js} +1 -1
- package/stencil/{index-97d17652-BhLhk_xz.cjs → index-97d17652-zTl06Vn9.cjs} +1 -1
- package/stencil/{index-b2193545-B8kMF2bI.cjs → index-b2193545-B5Q7rnAU.cjs} +1 -1
- package/stencil/{index-b2193545-BoSqyMpB.js → index-b2193545-CF_fVoFe.js} +1 -1
- package/stencil/{index-b2193545-D4dOaNlR.js → index-b2193545-DfttkCgg.js} +1 -1
- package/stencil/{ui-image-DIEeZy5u.js → ui-image-BsYHwNhO.js} +1 -1
- package/stencil/{ui-image-BWJXFWH1.js → ui-image-CNaRr0ax.js} +1 -1
- package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-IJc7Zz_R.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CmVho0dS.js} +13 -13
- package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-image_2-Daq38JGa.js} +14 -12
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-B9YTz-WD.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-CQ-FgYMx.js} +2 -2
- package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
- package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-skeleton-ed169f8f-BMrkXoR5.js} +12 -14
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ed169f8f-BNn31z1X.js} +12 -12
- package/components/CashierCarousel-HRUJt7XK.cjs +0 -23
- package/components/CashierHeader-Dq5rXKEy.cjs +0 -1
- package/components/CashierIframeRedirect-C7g6aYiD.cjs +0 -1
- package/components/CashierMethodDetails-BQQkicL5.js +0 -8999
- package/components/CashierMethodDetails-Cw3bppxA.js +0 -8978
- package/components/CashierMethodDetails-vl9WpFW-.cjs +0 -85
- package/components/CashierMethodsList-Bi29u-3T.js +0 -733
- package/components/CashierMethodsList-Dnurtmpq.js +0 -745
- package/components/CashierMethodsList-MWY8DbQT.cjs +0 -1
- package/components/CashierModal-7LneBvzD.cjs +0 -1
- package/components/CashierModal-ChoubLYy.js +0 -268
- package/components/CashierModal-DCTbhFou.js +0 -268
- package/components/CashierPage-CPBTVmCF.js +0 -2724
- package/components/CashierPage-DOxt1V6T.cjs +0 -1
- package/components/CashierPage-TX2t-xAH.js +0 -2724
- package/components/CashierReceiptPage-BdQL3__D.cjs +0 -26
- package/components/CashierSessionExpirationModal-wp_kWVca.cjs +0 -2
- package/components/CashierTransactionHistory-DbJgP2OJ.cjs +0 -1
- package/components/CashierVerifications-BzbSPCl7.cjs +0 -1
- package/stencil/ui-image_2-DdFjzzNO.cjs +0 -55
- package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +0 -55
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-B8kMF2bI.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
-
:host {
|
|
3
|
-
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
-
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
-
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
-
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
-
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
-
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
-
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
-
}
|
|
11
|
-
`;break;case"image":e=`
|
|
12
|
-
:host {
|
|
13
|
-
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
-
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
-
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
-
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
-
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
-
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
-
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
-
}
|
|
21
|
-
`;break;case"title":e=`
|
|
22
|
-
:host {
|
|
23
|
-
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
-
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
-
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
-
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
-
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
-
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
-
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
-
}
|
|
31
|
-
`;break;case"text":e=`
|
|
32
|
-
:host {
|
|
33
|
-
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
-
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
-
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
-
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
-
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
-
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
-
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
-
}
|
|
41
|
-
`;break;case"rectangle":e=`
|
|
42
|
-
:host {
|
|
43
|
-
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
-
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
-
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
-
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
-
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
-
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
-
}
|
|
51
|
-
`;break;case"circle":e=`
|
|
52
|
-
:host {
|
|
53
|
-
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
-
}
|
|
55
|
-
`;break;default:e=""}return t.h(t.Host,{key:"e6b885bfd985ce7663d990756fe9101e25eb97f0"},t.h("style",{key:"06ae24c7bb74f4dacfc12ae58085333f9dc89da5"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=s;exports.UiSkeleton=n;
|