@everymatrix/cashier-page 1.99.21 → 1.99.23

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 (84) hide show
  1. package/components/{CashierCarousel-Cu_RNUHY.cjs → CashierCarousel-B5y4Azcb.cjs} +1 -1
  2. package/components/{CashierCarousel-BZ-i1EsX.js → CashierCarousel-CJw8PQ-U.js} +2 -2
  3. package/components/{CashierCarousel-CJAaHXXD.js → CashierCarousel-CSYfllHz.js} +2 -2
  4. package/components/CashierError--J3FMBdb.cjs +1 -0
  5. package/components/{CashierError-GsEDSXtA.js → CashierError-B8wGTUaB.js} +273 -252
  6. package/components/{CashierError-4dP13hBI.js → CashierError-Bru_gb7z.js} +273 -252
  7. package/components/{CashierHeader-gQMHuTqw.js → CashierHeader-B82UEYc1.js} +1 -1
  8. package/components/{CashierHeader-CK33wmWw.js → CashierHeader-BJ2qtHQ2.js} +1 -1
  9. package/components/{CashierHeader-DaUYq9lj.cjs → CashierHeader-Cavs-OgD.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-CKNMtdwW.js → CashierIframeRedirect-CBsOEtUo.js} +3 -3
  11. package/components/{CashierIframeRedirect-BEsPx_Z8.js → CashierIframeRedirect-DUteiCjz.js} +3 -3
  12. package/components/{CashierIframeRedirect-D6UXTJnb.cjs → CashierIframeRedirect-gu6yP6ut.cjs} +1 -1
  13. package/components/CashierMethodDetails-B3PJAGAz.cjs +287 -0
  14. package/components/{CashierMethodDetails-6gecWa6-.js → CashierMethodDetails-B7Zn0Ihq.js} +2674 -2639
  15. package/components/{CashierMethodDetails-Di4M7A7s.js → CashierMethodDetails-C9QwiNG6.js} +2661 -2626
  16. package/components/CashierMethodsList-BRnzubV5.js +1049 -0
  17. package/components/CashierMethodsList-BX5wA2sG.cjs +1 -0
  18. package/components/{CashierMethodsList-DxTcwp9y.js → CashierMethodsList-tVCanIk3.js} +427 -371
  19. package/components/{CashierModal-BmXXJZSw.js → CashierModal-BWiFmcAC.js} +10 -10
  20. package/components/{CashierModal-BAldCDjj.cjs → CashierModal-hvrR8cK3.cjs} +1 -1
  21. package/components/{CashierModal-jptr1BjB.js → CashierModal-x4rlnc7l.js} +8 -8
  22. package/components/{CashierNotifications-BCksCjnd.cjs → CashierNotifications-CXUQ-gsD.cjs} +1 -1
  23. package/components/{CashierNotifications-slqy0GL5.js → CashierNotifications-Dm8GexY6.js} +1 -1
  24. package/components/{CashierNotifications-DpUJKBKY.js → CashierNotifications-DnNmBIqU.js} +1 -1
  25. package/components/CashierPage-BqEXWSmz.cjs +23 -0
  26. package/components/{CashierPage-9TlSv0Ys.js → CashierPage-DLHkUlOP.js} +3261 -3034
  27. package/components/{CashierPage-CRTe3srS.js → CashierPage-DXkSCmM7.js} +3234 -3007
  28. package/components/{CashierReceiptPage-Bmki8Rgo.js → CashierReceiptPage-4o7ckW69.js} +2 -2
  29. package/components/{CashierReceiptPage-CxEoywyO.js → CashierReceiptPage-CXheQEbH.js} +55 -55
  30. package/components/{CashierReceiptPage-DU78zOm2.cjs → CashierReceiptPage-Cv7G7aXF.cjs} +1 -1
  31. package/components/{CashierSessionExpirationModal-0ZABOlrt.js → CashierSessionExpirationModal-BltVNpY9.js} +2 -2
  32. package/components/{CashierSessionExpirationModal-DLzJHllv.js → CashierSessionExpirationModal-CSlEjP8_.js} +2 -2
  33. package/components/{CashierSessionExpirationModal-ZVuwRFF3.cjs → CashierSessionExpirationModal-DMeea1rZ.cjs} +1 -1
  34. package/components/{CashierSpinner-D5xvgSGR.cjs → CashierSpinner-CEp9LuF0.cjs} +1 -1
  35. package/components/{CashierSpinner-jlh3kLrw.js → CashierSpinner-DevSlXm7.js} +2 -2
  36. package/components/{CashierSpinner-Bic1yXPY.js → CashierSpinner-HtoPWvft.js} +2 -2
  37. package/components/{CashierStepUp-CitQkE0i.cjs → CashierStepUp-BTxPoEGt.cjs} +1 -1
  38. package/components/{CashierStepUp-g-G22Lc4.js → CashierStepUp-XkTW1M6W.js} +2 -2
  39. package/components/{CashierStepUp-srh84KwL.js → CashierStepUp-bmtMz73G.js} +2 -2
  40. package/components/CashierTransactionHistory-C2kWfOra.cjs +1 -0
  41. package/components/{CashierTransactionHistory-CxMz_ono.js → CashierTransactionHistory-D7dGcLY5.js} +320 -311
  42. package/components/{CashierTransactionHistory-yI8ncB6o.js → CashierTransactionHistory-FYIk9CPn.js} +269 -260
  43. package/components/{CashierVerifications-DJsdsHJU.js → CashierVerifications-BpreRgKR.js} +3 -3
  44. package/components/{CashierVerifications-BJloPP6f.cjs → CashierVerifications-C0JIuKKR.cjs} +1 -1
  45. package/components/{CashierVerifications-CxFzWKAg.js → CashierVerifications-DTlksoaf.js} +3 -3
  46. package/components/{TxnStatusIcon-B52lfQx_.js → TxnStatusIcon-BGlLg8Qz.js} +1 -1
  47. package/components/{TxnStatusIcon-B_aOthN3.cjs → TxnStatusIcon-BLWTiJaq.cjs} +1 -1
  48. package/components/{TxnStatusIcon-THzMx_aQ.js → TxnStatusIcon-b7ko57Cm.js} +1 -1
  49. package/components/{TxnTypeIcons-DXAaJnwf.js → TxnTypeIcons-HlLFHEBe.js} +1 -1
  50. package/components/{TxnTypeIcons-NnRP_P64.cjs → TxnTypeIcons-chpgIw4R.cjs} +1 -1
  51. package/components/{TxnTypeIcons-BHrNWU9Q.js → TxnTypeIcons-wKqrsl3Y.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierError-D0mOIAnU.cjs +0 -1
  57. package/components/CashierMethodDetails-CSedTA6S.cjs +0 -287
  58. package/components/CashierMethodsList-CJqErGs4.js +0 -993
  59. package/components/CashierMethodsList-Dd2UiVhS.cjs +0 -1
  60. package/components/CashierPage-GUVKpACj.cjs +0 -23
  61. package/components/CashierTransactionHistory-CxxqOj18.cjs +0 -1
  62. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  63. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
  64. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  65. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  66. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  67. package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
  68. package/stencil/index-b2193545-CF_fVoFe.js +0 -519
  69. package/stencil/index-b2193545-DfttkCgg.js +0 -503
  70. package/stencil/ui-image-BsYHwNhO.js +0 -7
  71. package/stencil/ui-image-CNaRr0ax.js +0 -25
  72. package/stencil/ui-image-IJc7Zz_R.cjs +0 -1
  73. package/stencil/ui-image-b7b48fe5-BKRtoUuG.js +0 -39
  74. package/stencil/ui-image-b7b48fe5-HA45CrsG.js +0 -39
  75. package/stencil/ui-image-b7b48fe5-MC0x5ZQd.cjs +0 -1
  76. package/stencil/ui-image_2-CmVho0dS.js +0 -157
  77. package/stencil/ui-image_2-CyqE6j_W.cjs +0 -55
  78. package/stencil/ui-image_2-Daq38JGa.js +0 -157
  79. package/stencil/ui-skeleton-B9YTz-WD.js +0 -29
  80. package/stencil/ui-skeleton-CQ-FgYMx.js +0 -11
  81. package/stencil/ui-skeleton-UxIIZ8UD.cjs +0 -1
  82. package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +0 -55
  83. package/stencil/ui-skeleton-ed169f8f-BMrkXoR5.js +0 -155
  84. package/stencil/ui-skeleton-ed169f8f-BNn31z1X.js +0 -155
@@ -1,155 +0,0 @@
1
- import { r as n, h as t, H as r } from "./index-b2193545-CF_fVoFe.js";
2
- const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{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)}.SkeletonCircle{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%}.SkeletonText{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)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{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)}.SkeletonImage{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)}.SkeletonLogo{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)}}", l = s, a = class {
3
- constructor(e) {
4
- n(this, e), this.stylingValue = {
5
- width: this.handleStylingProps(this.width),
6
- height: this.handleStylingProps(this.height),
7
- borderRadius: this.handleStylingProps(this.borderRadius),
8
- marginBottom: this.handleStylingProps(this.marginBottom),
9
- marginTop: this.handleStylingProps(this.marginTop),
10
- marginLeft: this.handleStylingProps(this.marginLeft),
11
- marginRight: this.handleStylingProps(this.marginRight),
12
- size: this.handleStylingProps(this.size)
13
- }, 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%";
14
- }
15
- handleStructureChange(e, i) {
16
- i !== e && this.handleStructure(e);
17
- }
18
- handleStylingProps(e) {
19
- switch (typeof e) {
20
- case "number":
21
- return e === 0 ? 0 : `${e}px`;
22
- case "undefined":
23
- return "unset";
24
- case "string":
25
- return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
26
- default:
27
- return "unset";
28
- }
29
- }
30
- handleStructure(e) {
31
- switch (e) {
32
- case "logo":
33
- return this.renderLogo();
34
- case "image":
35
- return this.renderImage();
36
- case "title":
37
- return this.renderTitle();
38
- case "text":
39
- return this.renderText();
40
- case "rectangle":
41
- return this.renderRectangle();
42
- case "circle":
43
- return this.renderCircle();
44
- default:
45
- return null;
46
- }
47
- }
48
- renderLogo() {
49
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
50
- }
51
- renderImage() {
52
- return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
53
- }
54
- renderTitle() {
55
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
56
- }
57
- renderText() {
58
- return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
59
- }
60
- renderRectangle() {
61
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
62
- }
63
- renderCircle() {
64
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
65
- }
66
- render() {
67
- let e = "";
68
- switch (this.structure) {
69
- case "logo":
70
- e = `
71
- :host {
72
- --emw-skeleton-logo-width: ${this.stylingValue.width};
73
- --emw-skeleton-logo-height: ${this.stylingValue.height};
74
- --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
75
- --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
76
- --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
77
- --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
78
- --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
79
- }
80
- `;
81
- break;
82
- case "image":
83
- e = `
84
- :host {
85
- --emw-skeleton-image-width: ${this.stylingValue.width};
86
- --emw-skeleton-image-height: ${this.stylingValue.height};
87
- --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
88
- --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
89
- --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
90
- --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
91
- --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
92
- }
93
- `;
94
- break;
95
- case "title":
96
- e = `
97
- :host {
98
- --emw-skeleton-title-width: ${this.stylingValue.width};
99
- --emw-skeleton-title-height: ${this.stylingValue.height};
100
- --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
101
- --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
102
- --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
103
- --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
104
- --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
105
- }
106
- `;
107
- break;
108
- case "text":
109
- e = `
110
- :host {
111
- --emw-skeleton-text-width: ${this.stylingValue.width};
112
- --emw-skeleton-text-height: ${this.stylingValue.height};
113
- --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
114
- --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
115
- --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
116
- --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
117
- --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
118
- }
119
- `;
120
- break;
121
- case "rectangle":
122
- e = `
123
- :host {
124
- --emw-skeleton-rectangle-width: ${this.stylingValue.width};
125
- --emw-skeleton-rectangle-height: ${this.stylingValue.height};
126
- --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
127
- --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
128
- --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
129
- --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
130
- --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
131
- }
132
- `;
133
- break;
134
- case "circle":
135
- e = `
136
- :host {
137
- --emw-skeleton-circle-size: ${this.stylingValue.size};
138
- }
139
- `;
140
- break;
141
- default:
142
- e = "";
143
- }
144
- return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
145
- }
146
- static get watchers() {
147
- return {
148
- structure: ["handleStructureChange"]
149
- };
150
- }
151
- };
152
- a.style = l;
153
- export {
154
- a as U
155
- };