@everymatrix/cashier-page 1.53.0 → 1.53.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 (33) hide show
  1. package/components/CashierConfirmModal-bl1anpXG.js +1015 -0
  2. package/components/{CashierError-B6UnQRtt.js → CashierError-CNghn61_.js} +413 -411
  3. package/components/{CashierHeader-CGdNSxx6.js → CashierHeader-Cukt_6q5.js} +48 -48
  4. package/components/{CashierIframeRedirect-BJdtHTt_.js → CashierIframeRedirect-CfOyb27d.js} +6 -6
  5. package/components/{CashierMethodDetails-DIPZabAn.js → CashierMethodDetails-BIl7Is4q.js} +1612 -1626
  6. package/components/{CashierMethodsList-CpSKdE1d.js → CashierMethodsList-sDyTLsi_.js} +164 -175
  7. package/components/{CashierModal-XEf2DPsH.js → CashierModal-BvsZYr3E.js} +1 -1
  8. package/components/{CashierNotifications-Dx7SHS2Y.js → CashierNotifications-DLiOLPVS.js} +1 -1
  9. package/components/{CashierPage-DGsaN6gU.js → CashierPage-ChYGXNFh.js} +497 -482
  10. package/components/{CashierReceiptPage-BL7r2W71.js → CashierReceiptPage-BnZNWRHD.js} +108 -109
  11. package/components/{CashierSessionExpirationModal-t_3kN-WR.js → CashierSessionExpirationModal-m8mfQG7I.js} +198 -198
  12. package/components/{CashierSpinner-CQi2Ol7j.js → CashierSpinner-BGK4UpXs.js} +1 -1
  13. package/components/{CashierVerifications-BP6u9Bu5.js → CashierVerifications-ghULlvRf.js} +169 -167
  14. package/components/{CashierVideoModal-CtEksV6T.js → CashierVideoModal-CIyp7q0i.js} +5 -5
  15. package/esnext/cashier-page.js +14 -0
  16. package/package.json +8 -18
  17. package/components/CashierConfirmModal-Bho8FqJK.js +0 -1052
  18. package/components/CashierConfirmModal-KmRU3Mgr.cjs +0 -4
  19. package/components/CashierError-Dj9dAyT_.cjs +0 -5
  20. package/components/CashierHeader-Ckcwhr6m.cjs +0 -1
  21. package/components/CashierIframeRedirect-C7zvMq6i.cjs +0 -1
  22. package/components/CashierMethodDetails-FKHP9Y43.cjs +0 -18
  23. package/components/CashierMethodsList-S5owZP56.cjs +0 -1
  24. package/components/CashierModal-FkJdngyj.cjs +0 -1
  25. package/components/CashierNotifications-BJzRxOV_.cjs +0 -1
  26. package/components/CashierPage-D6k1-9yt.cjs +0 -1
  27. package/components/CashierReceiptPage-BXUv7YCN.cjs +0 -1
  28. package/components/CashierSessionExpirationModal-DzBnaDEz.cjs +0 -2
  29. package/components/CashierSpinner-CySOWnIQ.cjs +0 -1
  30. package/components/CashierVerifications-BQZPYeJq.cjs +0 -1
  31. package/components/CashierVideoModal-CrU0Y0Mw.cjs +0 -1
  32. package/es2015/cashier-page.cjs +0 -1
  33. package/es2015/cashier-page.js +0 -16
@@ -1,6 +1,6 @@
1
- import { S as q, b as B, f as C, c as R, a as U, d as Z, x as A, k as v, n as m, v as _, G as F, g, h as b, D as k, j as n, I as V, l as p, O as w, A as H, C as G } from "./CashierConfirmModal-Bho8FqJK.js";
1
+ import { S as j, b as B, f as C, c as R, a as U, d as Z, x as A, k as v, n as m, v as _, G as F, g, h as b, D as k, j as n, I as V, l as p, O as w, A as H, C as G } from "./CashierConfirmModal-bl1anpXG.js";
2
2
  function I(s) {
3
- Z(s, "svelte-1nj5tcr", ".CashierVideoWrapper{position:fixed;width:100%;height:calc(100% - 55px);left:0;top:55px;z-index:5;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoWrapperDesktop{height:calc(100% - 110px);top:110px}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
3
+ Z(s, "svelte-1oqw41v", ".CashierVideoWrapper{position:absolute;width:100%;height:500px;left:0;top:10px;z-index:5;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoWrapperDesktop{height:700px;top:20px}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
4
4
  }
5
5
  function x(s) {
6
6
  let e, i, t, o, r, f, u, c = !/*desktopView*/
@@ -127,7 +127,7 @@ function O(s, e, i) {
127
127
  F(() => (window.addEventListener("message", h, !1), () => {
128
128
  window.removeEventListener("message", h);
129
129
  }));
130
- const W = () => d(), j = () => d();
130
+ const W = () => d(), q = () => d();
131
131
  function T(a) {
132
132
  G[a ? "unshift" : "push"](() => {
133
133
  l = a, i(1, l);
@@ -150,11 +150,11 @@ function O(s, e, i) {
150
150
  o,
151
151
  r,
152
152
  W,
153
- j,
153
+ q,
154
154
  T
155
155
  ];
156
156
  }
157
- class J extends q {
157
+ class J extends j {
158
158
  constructor(e) {
159
159
  super(), B(
160
160
  this,
@@ -0,0 +1,14 @@
1
+ import { C as n } from "../components/CashierPage-ChYGXNFh.js";
2
+ function a(t) {
3
+ return function(...s) {
4
+ try {
5
+ return t.apply(this, s);
6
+ } catch (e) {
7
+ if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
8
+ return !1;
9
+ throw e;
10
+ }
11
+ };
12
+ }
13
+ customElements.define = a(customElements.define);
14
+ !customElements.get("cashier-page") && customElements.define("cashier-page", n.element);
package/package.json CHANGED
@@ -1,31 +1,21 @@
1
+
1
2
  {
2
3
  "name": "@everymatrix/cashier-page",
3
- "version": "1.53.0",
4
+ "version": "1.53.10",
4
5
  "type": "module",
5
- "main": "es2015/cashier-page.cjs",
6
- "module": "es2015/cashier-page.js",
6
+ "main": "esnext/cashier-page.js",
7
+ "module": "esnext/cashier-page.js",
7
8
  "exports": {
8
- ".": {
9
- "import": "./es2015/cashier-page.js",
10
- "require": "./es2015/cashier-page.cjs"
11
- },
12
9
  "./es2015/cashier-page.cjs": "./es2015/cashier-page.cjs"
13
10
  },
14
11
  "files": [
12
+ "components/",
15
13
  "es2015/",
16
- "components",
17
- "umd"
14
+ "stencil",
15
+ "angular",
16
+ "esnext/"
18
17
  ],
19
18
  "publishConfig": {
20
19
  "access": "public"
21
- },
22
- "dependencies": {
23
- "@everymatrix/cashier-header": "1.45.7",
24
- "@everymatrix/cashier-methods-list": "1.45.7",
25
- "@everymatrix/cashier-method-details": "1.45.7",
26
- "@everymatrix/cashier-error": "1.45.7",
27
- "@everymatrix/cashier-modal": "1.45.7",
28
- "@everymatrix/cashier-confirm-modal": "1.45.7",
29
- "@everymatrix/cashier-iframe-redirect": "1.45.7"
30
20
  }
31
21
  }