@everymatrix/cashier-page 1.51.0 → 1.51.200
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-CL6Bn2Un.cjs +1 -0
- package/components/CashierCarousel-CS8iqErz.cjs +1 -0
- package/components/CashierCarousel-CnMXvt2N.js +708 -0
- package/components/CashierCarousel-D853iHAz.js +711 -0
- package/components/CashierCarousel-DKJ0vxBd.js +708 -0
- package/components/CashierCarousel-Yh_LXVdL.js +711 -0
- package/components/CashierError-B9J6DXD9.js +849 -0
- package/components/CashierError-CeFF3Uvy.js +849 -0
- package/components/CashierError-DsVb3Wy9.cjs +1 -0
- package/components/CashierError-WqBS9bd8.js +849 -0
- package/components/CashierError-nzfOJgC1.js +849 -0
- package/components/CashierError-vsq-QG92.cjs +1 -0
- package/components/CashierHeader-B1qNHwRa.js +477 -0
- package/components/CashierHeader-CXqyu9nC.js +477 -0
- package/components/CashierHeader-DGUNg2Ot.js +477 -0
- package/components/CashierHeader-SWJDKuyU.js +477 -0
- package/components/CashierHeader-fKQLOAEE.cjs +1 -0
- package/components/CashierHeader-vPCSUiTU.cjs +1 -0
- package/components/CashierIframeRedirect-BjGoxHAy.js +387 -0
- package/components/CashierIframeRedirect-BqAlasWZ.js +387 -0
- package/components/CashierIframeRedirect-CQ_Az62O.js +387 -0
- package/components/CashierIframeRedirect-D3ERdt0H.cjs +1 -0
- package/components/CashierIframeRedirect-MAIqfUMS.cjs +1 -0
- package/components/CashierIframeRedirect-w_M7Rzqg.js +387 -0
- package/components/CashierMethodDetails-7nrSToOi.js +11548 -0
- package/components/CashierMethodDetails-BZsDNSqR.js +11374 -0
- package/components/CashierMethodDetails-CHDad9j3.cjs +238 -0
- package/components/CashierMethodDetails-Dkw2N_So.js +11324 -0
- package/components/CashierMethodDetails-Og3nqv1V.js +11499 -0
- package/components/CashierMethodDetails-Xpzm3hZr.cjs +85 -0
- package/components/CashierMethodsList-3k2_3ni9.cjs +1 -0
- package/components/CashierMethodsList-BYf42flP.cjs +1 -0
- package/components/CashierMethodsList-BnDw5ba4.js +969 -0
- package/components/CashierMethodsList-CZtddS1j.js +955 -0
- package/components/CashierMethodsList-CmcrHpTS.js +969 -0
- package/components/CashierMethodsList-Dot4E2Gc.js +955 -0
- package/components/CashierModal-BeEw9QbG.cjs +1 -0
- package/components/CashierModal-BvryJUnK.cjs +1 -0
- package/components/CashierModal-CC4LHRIp.js +386 -0
- package/components/CashierModal-CLArPkZF.js +402 -0
- package/components/CashierModal-CQaKBRaQ.js +402 -0
- package/components/CashierModal-DJa_Kor2.js +386 -0
- package/components/CashierNotifications-B9PjWLVg.cjs +1 -0
- package/components/CashierNotifications-BRK1ZKeX.js +129 -0
- package/components/CashierNotifications-C0wDw-4d.cjs +1 -0
- package/components/CashierNotifications-CKzXoiuM.js +129 -0
- package/components/{CashierNotifications-Dx7SHS2Y.js → CashierNotifications-CtXYCpyn.js} +13 -13
- package/components/CashierNotifications-DPWk3clR.js +129 -0
- package/components/CashierPage-BQliFCs3.js +10233 -0
- package/components/CashierPage-B_Y5KqwD.cjs +23 -0
- package/components/CashierPage-CxEHBCLp.js +10286 -0
- package/components/CashierPage-DkFor4IA.js +10304 -0
- package/components/CashierPage-Dlxht0fF.js +10251 -0
- package/components/CashierPage-ORxz60pV.cjs +23 -0
- package/components/CashierReceiptPage-BpaN1Yz5.js +2043 -0
- package/components/CashierReceiptPage-Bz2v5FZW.js +2063 -0
- package/components/CashierReceiptPage-D9pY_Eyx.js +2043 -0
- package/components/CashierReceiptPage-DQLF5Xr7.cjs +29 -0
- package/components/CashierReceiptPage-JfVA8b5C.cjs +29 -0
- package/components/CashierReceiptPage-gLSPXr8e.js +2063 -0
- package/components/CashierSessionExpirationModal-BGAW4_qJ.js +1212 -0
- package/components/CashierSessionExpirationModal-Bg40vFo0.js +1212 -0
- package/components/CashierSessionExpirationModal-BoMUDJ0X.cjs +2 -0
- package/components/CashierSessionExpirationModal-C9kWQV2E.js +1212 -0
- package/components/CashierSessionExpirationModal-Dd6bZ4qP.cjs +2 -0
- package/components/CashierSessionExpirationModal-XRAro2gi.js +1212 -0
- package/components/CashierSpinner-BbNbk7O2.js +79 -0
- package/components/CashierSpinner-DCdqIaGC.cjs +1 -0
- package/components/CashierSpinner-DIOS-j3g.js +79 -0
- package/components/CashierSpinner-DWGnrDAt.js +79 -0
- package/components/CashierSpinner-DZPhhTZb.js +79 -0
- package/components/CashierSpinner-Z8lBT2Vd.cjs +1 -0
- package/components/CashierStepUp-B5wBizf6.js +1161 -0
- package/components/CashierStepUp-ByimaE6S.cjs +1 -0
- package/components/CashierStepUp-CghIdvL6.js +1200 -0
- package/components/CashierStepUp-D3mC_9oS.js +1161 -0
- package/components/CashierStepUp-PhV3YKqY.cjs +1 -0
- package/components/CashierStepUp-uYPImwlI.js +1200 -0
- package/components/CashierTransactionHistory-Bk_SPO6n.cjs +1 -0
- package/components/CashierTransactionHistory-By8CHz4Q.cjs +1 -0
- package/components/CashierTransactionHistory-CyrE5GOF.js +1415 -0
- package/components/CashierTransactionHistory-DngpHqA9.js +1415 -0
- package/components/CashierTransactionHistory-QA-fNG3p.js +1415 -0
- package/components/CashierTransactionHistory-dp0oiqGr.js +1415 -0
- package/components/CashierVerifications-2zVHsN_I.js +696 -0
- package/components/CashierVerifications-BOV_lLYl.js +700 -0
- package/components/CashierVerifications-BVEKBjNf.js +696 -0
- package/components/CashierVerifications-C5hDIpe3.js +700 -0
- package/components/CashierVerifications-CR5vMlHB.cjs +1 -0
- package/components/CashierVerifications-DsEPgiF8.cjs +1 -0
- package/components/TxnStatusIcon-CNF-nUZm.js +142 -0
- package/components/TxnStatusIcon-DFtwKsl3.cjs +1 -0
- package/components/TxnStatusIcon-DSFfnJpA.js +142 -0
- package/components/TxnStatusIcon-DTAVKRpR.js +142 -0
- package/components/TxnStatusIcon-DfdBxe2N.js +142 -0
- package/components/TxnStatusIcon-n3uKuAow.cjs +1 -0
- package/components/TxnTypeIcons-BKA4UnnV.js +101 -0
- package/components/TxnTypeIcons-Bdtf3uMT.js +101 -0
- package/components/TxnTypeIcons-C6MgQuFo.cjs +1 -0
- package/components/TxnTypeIcons-CNRMcbEy.js +101 -0
- package/components/TxnTypeIcons-CtmcaSZP.cjs +1 -0
- package/components/TxnTypeIcons-DLDTXUjw.js +101 -0
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +14 -0
- package/package.json +10 -15
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-B5Q7rnAU.cjs +1 -0
- package/stencil/index-b2193545-CF_fVoFe.js +519 -0
- package/stencil/index-b2193545-DfttkCgg.js +503 -0
- package/stencil/ui-image-BsYHwNhO.js +7 -0
- package/stencil/ui-image-CNaRr0ax.js +25 -0
- package/stencil/ui-image-IJc7Zz_R.cjs +1 -0
- package/stencil/ui-image-b7b48fe5-BKRtoUuG.js +39 -0
- package/stencil/ui-image-b7b48fe5-HA45CrsG.js +39 -0
- package/stencil/ui-image-b7b48fe5-MC0x5ZQd.cjs +1 -0
- package/stencil/ui-image_2-CmVho0dS.js +157 -0
- package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
- package/stencil/ui-image_2-Daq38JGa.js +157 -0
- package/stencil/ui-skeleton-B9YTz-WD.js +29 -0
- package/stencil/ui-skeleton-CQ-FgYMx.js +11 -0
- package/stencil/ui-skeleton-UxIIZ8UD.cjs +1 -0
- package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
- package/stencil/ui-skeleton-ed169f8f-BMrkXoR5.js +155 -0
- package/stencil/ui-skeleton-ed169f8f-BNn31z1X.js +155 -0
- package/components/CashierConfirmModal-Bho8FqJK.js +0 -1052
- package/components/CashierConfirmModal-KmRU3Mgr.cjs +0 -4
- package/components/CashierError-B6UnQRtt.js +0 -3766
- package/components/CashierError-Dj9dAyT_.cjs +0 -5
- package/components/CashierHeader-CGdNSxx6.js +0 -401
- package/components/CashierHeader-Ckcwhr6m.cjs +0 -1
- package/components/CashierIframeRedirect-BJdtHTt_.js +0 -378
- package/components/CashierIframeRedirect-C7zvMq6i.cjs +0 -1
- package/components/CashierMethodDetails-BC3mVaSl.cjs +0 -18
- package/components/CashierMethodDetails-DL_tl1uy.js +0 -8164
- package/components/CashierMethodsList-33dhTMJI.js +0 -667
- package/components/CashierMethodsList-BRCp8G8I.cjs +0 -1
- package/components/CashierModal-FkJdngyj.cjs +0 -1
- package/components/CashierModal-XEf2DPsH.js +0 -232
- package/components/CashierNotifications-BJzRxOV_.cjs +0 -1
- package/components/CashierPage-CKUfddy4.cjs +0 -1
- package/components/CashierPage-jqBDceop.js +0 -1979
- package/components/CashierReceiptPage-DfqSz2ui.js +0 -1156
- package/components/CashierReceiptPage-bNFGBNgN.cjs +0 -1
- package/components/CashierSessionExpirationModal-AffzswDg.js +0 -1181
- package/components/CashierSessionExpirationModal-C0lsBgGc.cjs +0 -2
- package/components/CashierSpinner-CQi2Ol7j.js +0 -71
- package/components/CashierSpinner-CySOWnIQ.cjs +0 -1
- package/components/CashierVerifications-DVaTZuWL.cjs +0 -1
- package/components/CashierVerifications-DZULgrQD.js +0 -611
- package/components/CashierVideoModal-DlhKKfRC.js +0 -191
- package/components/CashierVideoModal-DyD6vHBh.cjs +0 -1
|
@@ -0,0 +1,155 @@
|
|
|
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
|
+
};
|