@everymatrix/cashier-page 1.68.0 → 1.69.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/components/{CashierError-DUzkCsXh.js → CashierError-B2OJ_5tD.js} +1 -1
  2. package/components/{CashierError-DaAmOVnU.cjs → CashierError-C7g8PlWH.cjs} +1 -1
  3. package/components/{CashierError-Cns-3PNq.js → CashierError-CSFY-Avh.js} +1 -1
  4. package/components/{CashierHeader-D09r-jkw.cjs → CashierHeader-BJv4NhiQ.cjs} +1 -1
  5. package/components/{CashierHeader-B70dCV9P.js → CashierHeader-CdvGo5cz.js} +1 -1
  6. package/components/{CashierHeader-UB8k3unf.js → CashierHeader-DmPCJRzH.js} +1 -1
  7. package/components/{CashierIframeRedirect-B3F7pZ1B.cjs → CashierIframeRedirect-BN4TJFFp.cjs} +1 -1
  8. package/components/{CashierIframeRedirect-CFX4sGYO.js → CashierIframeRedirect-BqbNtGEh.js} +2 -2
  9. package/components/{CashierIframeRedirect-ftwTZ2xd.js → CashierIframeRedirect-a7OKOWG7.js} +2 -2
  10. package/components/{CashierMethodDetails-B6Mr4aP0.js → CashierMethodDetails-DQa8I9IC.js} +106 -105
  11. package/components/{CashierMethodDetails-CCXOr2gb.js → CashierMethodDetails-H6TB7hUz.js} +106 -105
  12. package/components/{CashierMethodDetails-D0Y5nPiN.cjs → CashierMethodDetails-g7fcqWfK.cjs} +12 -11
  13. package/components/{CashierMethodsList-DaNccxCT.cjs → CashierMethodsList-BdJ_hKTQ.cjs} +1 -1
  14. package/components/{CashierMethodsList-DVjbbHO_.js → CashierMethodsList-BgrpW-xW.js} +2 -2
  15. package/components/{CashierMethodsList-lyl4lzH4.js → CashierMethodsList-CIY9EMmQ.js} +2 -2
  16. package/components/{CashierPage-B6U1sEpL.cjs → CashierPage-Cscz9OWE.cjs} +1 -1
  17. package/components/{CashierPage-Oq46yP5A.js → CashierPage-Dc6Yl2l9.js} +9 -9
  18. package/components/{CashierPage-DwwVZWaQ.js → CashierPage-tjvDtScg.js} +9 -9
  19. package/components/{CashierReceiptPage-D_fuJVBK.cjs → CashierReceiptPage-CBO28aeZ.cjs} +1 -1
  20. package/components/{CashierReceiptPage-B7SvdgM-.js → CashierReceiptPage-CuKgpnLG.js} +2 -2
  21. package/components/{CashierReceiptPage-YAGlqjjm.js → CashierReceiptPage-DygjEZbA.js} +2 -2
  22. package/components/{CashierSessionExpirationModal-CZreGxnI.js → CashierSessionExpirationModal-CQFNHwb_.js} +2 -2
  23. package/components/{CashierSessionExpirationModal-D3E8pXO5.cjs → CashierSessionExpirationModal-DlZ_gi2A.cjs} +1 -1
  24. package/components/{CashierSessionExpirationModal-B4sZWPat.js → CashierSessionExpirationModal-bwikmHvp.js} +2 -2
  25. package/components/{CashierTransactionHistory-CNFeJ6tL.js → CashierTransactionHistory-CI8GEZkV.js} +2 -2
  26. package/components/{CashierTransactionHistory-skFu8ocY.cjs → CashierTransactionHistory-CQqwEZtX.cjs} +1 -1
  27. package/components/{CashierTransactionHistory-CGPCwBBR.js → CashierTransactionHistory-NV0Gg2Hz.js} +2 -2
  28. package/components/{CashierVerifications-BnmIMTOt.js → CashierVerifications-CE0TO9EJ.js} +2 -2
  29. package/components/{CashierVerifications-BPZjO4hX.js → CashierVerifications-ChHVmkzW.js} +2 -2
  30. package/components/{CashierVerifications-DXULEiAu.cjs → CashierVerifications-CjJcqkK8.cjs} +1 -1
  31. package/es2015/cashier-page.cjs +1 -1
  32. package/es2015/cashier-page.js +1 -1
  33. package/esnext/cashier-page.js +1 -1
  34. package/package.json +1 -1
  35. package/stencil/{index-97d17652-D5_8Vwfn.cjs → index-97d17652-CjAagVjG.cjs} +1 -1
  36. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-D1-6d0Bk.js} +1 -1
  37. package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-IdX2D3yt.js} +1 -1
  38. package/stencil/{ui-image-CmwNU-jf.js → ui-image-C6J6vPTv.js} +2 -2
  39. package/stencil/{ui-image-CMb1eK44.cjs → ui-image-CpMjzwxS.cjs} +1 -1
  40. package/stencil/{ui-image-CQQDA5b0.js → ui-image-DT3VkYPr.js} +2 -2
  41. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-C2NxBIqB.js} +1 -1
  42. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-CSbk4a-_.js} +1 -1
  43. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DtQlRvK7.cjs} +1 -1
  44. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-BjVQzUTV.js} +63 -43
  45. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-CaETIZEN.js} +63 -43
  46. package/stencil/ui-image_2-gOIKmeIr.cjs +73 -0
  47. package/stencil/ui-image_2-YkYxLKu7.cjs +0 -73
@@ -1,73 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-b7b48fe5-DCck2kk1.cjs"),t=require("./index-97d17652-D5_8Vwfn.cjs"),n=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 2px)}.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, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.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, 5px);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, inherit)}.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, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}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,r)=>t.h("div",{key:r,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.width};
4
- --emw-skeleton-logo-height: ${this.height};
5
- --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
6
- --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
7
- --emw-skeleton-logo-margin-top: ${this.marginTop}px;
8
- --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
9
- --emw-skeleton-logo-margin-right: ${this.marginRight}px;
10
- --emw-skeleton-logo-background: ${this.color};
11
- --emw-skeleton-primary-color: ${this.primaryColor};
12
- --emw-skeleton-secondary-color: ${this.secondaryColor};
13
- }
14
- `;break;case"image":e=`
15
- :host {
16
- --emw-skeleton-image-width: ${this.width};
17
- --emw-skeleton-image-height: ${this.height};
18
- --emw-skeleton-image-border-radius: ${this.borderRadius}px;
19
- --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
20
- --emw-skeleton-image-margin-top: ${this.marginTop}px;
21
- --emw-skeleton-image-margin-left: ${this.marginLeft}px;
22
- --emw-skeleton-image-margin-right: ${this.marginRight}px;
23
- --emw-skeleton-image-background: ${this.color};
24
- --emw-skeleton-primary-color: ${this.primaryColor};
25
- --emw-skeleton-secondary-color: ${this.secondaryColor};
26
- }
27
- `;break;case"title":e=`
28
- :host {
29
- --emw-skeleton-title-width: ${this.width};
30
- --emw-skeleton-title-height: ${this.height};
31
- --emw-skeleton-title-border-radius: ${this.borderRadius}px;
32
- --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
33
- --emw-skeleton-title-margin-top: ${this.marginTop}px;
34
- --emw-skeleton-title-margin-left: ${this.marginLeft}px;
35
- --emw-skeleton-title-margin-right: ${this.marginRight}px;
36
- --emw-skeleton-title-background: ${this.color};
37
- --emw-skeleton-primary-color: ${this.primaryColor};
38
- --emw-skeleton-secondary-color: ${this.secondaryColor};
39
- }
40
- `;break;case"text":e=`
41
- :host {
42
- --emw-skeleton-text-width: ${this.width};
43
- --emw-skeleton-text-height: ${this.height};
44
- --emw-skeleton-text-border-radius: ${this.borderRadius}px;
45
- --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
46
- --emw-skeleton-text-margin-top: ${this.marginTop}px;
47
- --emw-skeleton-text-margin-left: ${this.marginLeft}px;
48
- --emw-skeleton-text-margin-right: ${this.marginRight}px;
49
- --emw-skeleton-text-background: ${this.color};
50
- --emw-skeleton-primary-color: ${this.primaryColor};
51
- --emw-skeleton-secondary-color: ${this.secondaryColor};
52
- }
53
- `;break;case"rectangle":e=`
54
- :host {
55
- --emw-skeleton-rectangle-width: ${this.width};
56
- --emw-skeleton-rectangle-height: ${this.height};
57
- --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
58
- --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
59
- --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
60
- --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
61
- --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
62
- --emw-skeleton-rectangle-background: ${this.color};
63
- --emw-skeleton-primary-color: ${this.primaryColor};
64
- --emw-skeleton-secondary-color: ${this.secondaryColor};
65
- }
66
- `;break;case"circle":e=`
67
- :host {
68
- --emw-skeleton-circle-size: ${this.size};
69
- --emw-skeleton-circle-background: ${this.color};
70
- --emw-skeleton-primary-color: ${this.primaryColor};
71
- --emw-skeleton-secondary-color: ${this.secondaryColor};
72
- }
73
- `;break;default:e=""}return t.h(t.Host,{key:"3bb792a149db7fe732d5cbfa092cdb4d6ca0689e"},t.h("style",{key:"a4607599b60659f385ae2660513e38b383739674"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=s;exports.ui_image=i.UiImage;exports.ui_skeleton=o;