@everymatrix/cashier-method-details 1.87.23 → 1.87.24
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/{CashierMethodDetails-OYWdHpAP.js → CashierMethodDetails-CqrJLR8u.js} +3 -3
- package/components/{CashierMethodDetails-DyRZUg-q.js → CashierMethodDetails-D-fBBTyE.js} +162 -162
- package/components/{CashierMethodDetails-D3lAhT1W.cjs → CashierMethodDetails-tC7hUGh_.cjs} +4 -4
- package/components/CashierReceiptPage-BN4ghEfB.cjs +28 -0
- package/components/{CashierReceiptPage-zKbIshfV.js → CashierReceiptPage-CIxG9Oev.js} +240 -240
- package/components/{CashierReceiptPage-CNC7tmlI.js → CashierReceiptPage-FCPBrZm8.js} +240 -240
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/components/CashierReceiptPage-ChISMXWO.cjs +0 -28
|
@@ -801,8 +801,8 @@ const Fo = (n, t, e, r) => {
|
|
|
801
801
|
try {
|
|
802
802
|
if (!Cn)
|
|
803
803
|
return new Intl.NumberFormat(Un, i).format(n);
|
|
804
|
-
const o = new Intl.NumberFormat(Un, i).formatToParts(n), l =
|
|
805
|
-
return Cn === "before" ? `${l
|
|
804
|
+
const o = new Intl.NumberFormat(Un, i).formatToParts(n), { currencyPart: l = "", amountPart: c = "" } = o.reduce((m, _) => (_.type === "currency" ? m.currencyPart = _ : m.amountPart += _.value, m), { currencyPart: "", amountPart: "" });
|
|
805
|
+
return Cn === "before" ? `${l || i.currency || ""} ${c}` : `${c} ${l || i.currency || ""}`;
|
|
806
806
|
} catch (a) {
|
|
807
807
|
console.info(a);
|
|
808
808
|
const o = new Intl.NumberFormat(Un, {
|
|
@@ -1325,7 +1325,7 @@ if (typeof window < "u") {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
};
|
|
1327
1327
|
};
|
|
1328
|
-
customElements.define = n(customElements.define), import("./CashierReceiptPage-
|
|
1328
|
+
customElements.define = n(customElements.define), import("./CashierReceiptPage-FCPBrZm8.js").then(({ default: t }) => {
|
|
1329
1329
|
!customElements.get("cashier-receipt-page-nd") && customElements.define("cashier-receipt-page-nd", t.element);
|
|
1330
1330
|
});
|
|
1331
1331
|
}
|