@ancon/wildcat-utils 1.18.4 → 1.18.5
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/checkout/getCheckoutItemModifications.d.ts +12 -0
- package/checkout/getCheckoutItemModifications.js +1 -0
- package/checkout/getCheckoutItemModifications.mjs +50 -0
- package/checkout/getCheckoutProductName.d.ts +7 -0
- package/checkout/getCheckoutProductName.js +1 -0
- package/checkout/getCheckoutProductName.mjs +7 -0
- package/checkout/index.d.ts +3 -0
- package/checkout/index.js +1 -0
- package/checkout/index.mjs +9 -0
- package/currency/getFormattedCurrency.d.ts +9 -0
- package/currency/getFormattedCurrency.js +1 -0
- package/currency/getFormattedCurrency.mjs +10 -0
- package/currency/getFormattedCurrencyPostfix.d.ts +6 -0
- package/currency/getFormattedCurrencyPostfix.js +1 -0
- package/currency/getFormattedCurrencyPostfix.mjs +12 -0
- package/currency/index.d.ts +2 -0
- package/currency/index.js +1 -0
- package/currency/index.mjs +5 -0
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/index.mjs +76 -69
- package/package.json +31 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CheckoutItemModification } from '@ancon/wildcat-types';
|
|
2
|
+
export declare type GroupedModification = {
|
|
3
|
+
added: string[];
|
|
4
|
+
removed: string[];
|
|
5
|
+
replaced: string[];
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Get grouped modifications of checkout item from checkout details
|
|
9
|
+
* @param modifications - Checkout modification array
|
|
10
|
+
* @returns - Grouped modifications
|
|
11
|
+
*/
|
|
12
|
+
export default function getCheckoutGroupedModifications(modifications: CheckoutItemModification[]): GroupedModification;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("@ancon/wildcat-types"),u=require("../currency/getFormattedCurrency.js");require("../currency/getFormattedCurrencyPostfix.js");function y(e,t){return t?e-t>0?e-t:t:e}function M(e){return e.reduce((i,s)=>{const{modification:p,name:o,freeAmount:f,quantity:c,cost:n,replacementName:m,totalCost:d}=s;switch(p){case a.ModificationType.Remove:i.removed.push(o);break;case a.ModificationType.Replace:{const r=`${o} → ${m} (${u(d.amount,d.currency)})`;i.replaced.push(r);break}default:{const r=y(c,f),l=`${c}x ${o} (${r}x ${u(n.amount,n.currency)})`;i.added.push(l)}}return i},{added:[],removed:[],replaced:[]})}module.exports=M;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ModificationType as c } from "@ancon/wildcat-types";
|
|
2
|
+
import u from "../currency/getFormattedCurrency.mjs";
|
|
3
|
+
import "../currency/getFormattedCurrencyPostfix.mjs";
|
|
4
|
+
function M(e, t) {
|
|
5
|
+
return t ? e - t > 0 ? e - t : t : e;
|
|
6
|
+
}
|
|
7
|
+
function x(e) {
|
|
8
|
+
return e.reduce(
|
|
9
|
+
(o, s) => {
|
|
10
|
+
const {
|
|
11
|
+
modification: p,
|
|
12
|
+
name: i,
|
|
13
|
+
freeAmount: m,
|
|
14
|
+
quantity: n,
|
|
15
|
+
cost: a,
|
|
16
|
+
replacementName: f,
|
|
17
|
+
totalCost: d
|
|
18
|
+
} = s;
|
|
19
|
+
switch (p) {
|
|
20
|
+
case c.Remove:
|
|
21
|
+
o.removed.push(i);
|
|
22
|
+
break;
|
|
23
|
+
case c.Replace: {
|
|
24
|
+
const r = `${i} → ${f} (${u(
|
|
25
|
+
d.amount,
|
|
26
|
+
d.currency
|
|
27
|
+
)})`;
|
|
28
|
+
o.replaced.push(r);
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
default: {
|
|
32
|
+
const r = M(n, m), l = `${n}x ${i} (${r}x ${u(
|
|
33
|
+
a.amount,
|
|
34
|
+
a.currency
|
|
35
|
+
)})`;
|
|
36
|
+
o.added.push(l);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return o;
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
added: [],
|
|
43
|
+
removed: [],
|
|
44
|
+
replaced: []
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
x as default
|
|
50
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function r(t){const{hasVariants:a,name:e,variantName:n}=t;return a?n:e}module.exports=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./getCheckoutItemModifications.js"),t=require("./getCheckoutProductName.js");require("@ancon/wildcat-types");require("../currency/getFormattedCurrency.js");require("../currency/getFormattedCurrencyPostfix.js");exports.getCheckoutGroupedModifications=e;exports.getCheckoutProductName=t;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as i } from "./getCheckoutItemModifications.mjs";
|
|
2
|
+
import { default as p } from "./getCheckoutProductName.mjs";
|
|
3
|
+
import "@ancon/wildcat-types";
|
|
4
|
+
import "../currency/getFormattedCurrency.mjs";
|
|
5
|
+
import "../currency/getFormattedCurrencyPostfix.mjs";
|
|
6
|
+
export {
|
|
7
|
+
i as getCheckoutGroupedModifications,
|
|
8
|
+
p as getCheckoutProductName
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Formats the given monetary value
|
|
3
|
+
* @param {number} value - The numeric value
|
|
4
|
+
* @param {string} currency - The currency string
|
|
5
|
+
* @param {boolean} [formatPostfix] - Whether or not to format the currency postfix (ie SEK -> kr)
|
|
6
|
+
* @return {string} - Formatted monetary value
|
|
7
|
+
*/
|
|
8
|
+
declare function getFormattedCurrency(value?: number | null, currency?: string | null, formatPostfix?: boolean): string;
|
|
9
|
+
export default getFormattedCurrency;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./getFormattedCurrencyPostfix.js");function u(e=0,t="SEK",i=!0){let r=0;!e||Number.isNaN(Number(e))?r=0:Number.isInteger(Number(e))?r=e:r=Number(e).toFixed(2);const s=i?o.getFormattedCurrencyPostfix(t):t;return`${r} ${s}`}module.exports=u;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getFormattedCurrencyPostfix as m } from "./getFormattedCurrencyPostfix.mjs";
|
|
2
|
+
function s(e = 0, t = "SEK", i = !0) {
|
|
3
|
+
let r = 0;
|
|
4
|
+
!e || Number.isNaN(Number(e)) ? r = 0 : Number.isInteger(Number(e)) ? r = e : r = Number(e).toFixed(2);
|
|
5
|
+
const o = i ? m(t) : t;
|
|
6
|
+
return `${r} ${o}`;
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
s as default
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){switch(t){case"SEK":case"NOK":return"kr";default:return"kr"}}exports.getFormattedCurrencyPostfix=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./getFormattedCurrency.js");require("./getFormattedCurrencyPostfix.js");exports.getFormattedCurrency=e;
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./shared/enums.js"),r=require("./shared/isWithinFlag.js"),t=require("./shared/generateId.js"),i=require("./outlet/getListOutletOpeningHoursTable.js"),n=require("./outlet/getOutletTagInformation.js"),o=require("./outlet/getOutletAvailabilityInfo.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./shared/enums.js"),r=require("./shared/isWithinFlag.js"),t=require("./shared/generateId.js"),i=require("./outlet/getListOutletOpeningHoursTable.js"),n=require("./outlet/getOutletTagInformation.js"),o=require("./outlet/getOutletAvailabilityInfo.js"),u=require("./outlet/getOutletOfflineOrderFormats.js"),s=require("./outlet/getOutletAvailableOrderFormats.js"),a=require("./outlet/getOutletFormattedDistance.js"),l=require("./outlet/isOutletAcceptingPreOrders.js"),g=require("./outlet/getOutletDeliveryFee.js"),c=require("./outlet/getOutletTodayOpeningTimes.js"),d=require("./outlet/getOutletOrderFormats.js"),q=require("./outlet/serviceDateTimesFromOpeningHours.js"),O=require("./versioning/isVersionALessThanB.js"),_=require("./versioning/cleanVersionString.js"),m=require("./api/getUrlAndParams.js"),p=require("./api/getEndpointWithVersion.js"),F=require("./api/generateBackoffWithEqualJitter.js"),y=require("./string/slugify.js"),f=require("./string/truncate.js"),h=require("./color/lighten.js"),T=require("./color/brighten.js"),v=require("./color/darken.js"),P=require("./color/isDarkBackground.js"),k=require("./user/getFullName.js"),I=require("./user/getFullAddressString.js"),b=require("./logger/Logger.js"),A=require("./logger/types.js"),D=require("./logger/sanitizeAsStringDict.js"),S=require("./printing/getPrinterType.js"),V=require("./printing/isValidPrinter.js"),L=require("./printing/isValidNetworkPrinter.js"),C=require("./printing/isValidStarCloudPrinter.js"),W=require("./printing/isTerminalPrinter.js"),B=require("./number/randomIntFromInterval.js"),N=require("./tables/decodeTableQRPayload.js"),E=require("./checkout/getCheckoutItemModifications.js"),H=require("./checkout/getCheckoutProductName.js"),M=require("./currency/getFormattedCurrency.js");require("moment");require("@ancon/wildcat-types");require("./outlet/types.js");require("./outlet/constants.js");require("./outlet/getOutletCurrentActiveOperatingHour.js");require("./outlet/getMomentFromDateAndTimeString.js");require("./outlet/searchNextOpeningMoment.js");require("lodash");require("compare-versions");require("tinycolor2");require("@ancon/wildcat-printing");require("./currency/getFormattedCurrencyPostfix.js");exports.DayOfWeek=e.DayOfWeek;exports.IntervalState=e.IntervalState;exports.IntervalType=e.IntervalType;exports.OrderFormat=e.OrderFormat;exports.isWithinFlag=r;exports.generateId=t;exports.getListOutletOpeningHoursTable=i;exports.getOutletTagInformation=n.default;exports.getOutletAvailabilityInfo=o.default;exports.getOutletOfflineOrderFormats=u;exports.getOutletAvailableOrderFormats=s;exports.getOutletFormattedDistance=a;exports.isOutletAcceptingPreOrders=l;exports.getOutletDeliveryFee=g;exports.getOutletTodayOpeningTimes=c;exports.getOutletOrderFormats=d;exports.serviceDateTimesFromOpeningHours=q;exports.isVersionALessThanB=O;exports.cleanVersionString=_;exports.getUrlAndParams=m;exports.getEndpointWithVersion=p;exports.generateBackoffWithEqualJitter=F;exports.slugify=y;exports.truncate=f;exports.lighten=h;exports.brighten=T;exports.darken=v;exports.isDarkBackground=P;exports.getFullName=k;exports.getFullAddressString=I;exports.Logger=b;exports.LogLevel=A.LogLevel;exports.sanitizeAsStringDict=D;exports.getPrinterType=S;exports.isValidPrinter=V;exports.isValidNetworkPrinter=L;exports.isValidStarCloudPrinter=C;exports.isTerminalPrinter=W;exports.randomIntFromInterval=B;exports.decodeTableQRPayload=N;exports.getCheckoutGroupedModifications=E;exports.getCheckoutProductName=H;exports.getFormattedCurrency=M;
|
package/index.mjs
CHANGED
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
import { DayOfWeek as
|
|
2
|
-
import { default as
|
|
3
|
-
import { default as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
1
|
+
import { DayOfWeek as x, IntervalState as g, IntervalType as O, OrderFormat as c } from "./shared/enums.mjs";
|
|
2
|
+
import { default as T } from "./shared/isWithinFlag.mjs";
|
|
3
|
+
import { default as P } from "./shared/generateId.mjs";
|
|
4
|
+
import { default as k } from "./outlet/getListOutletOpeningHoursTable.mjs";
|
|
5
|
+
import { default as A } from "./outlet/getOutletTagInformation.mjs";
|
|
6
|
+
import { default as D } from "./outlet/getOutletAvailabilityInfo.mjs";
|
|
7
|
+
import { default as b } from "./outlet/getOutletOfflineOrderFormats.mjs";
|
|
8
|
+
import { default as S } from "./outlet/getOutletAvailableOrderFormats.mjs";
|
|
9
9
|
import { default as W } from "./outlet/getOutletFormattedDistance.mjs";
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
10
|
+
import { default as N } from "./outlet/isOutletAcceptingPreOrders.mjs";
|
|
11
|
+
import { default as H } from "./outlet/getOutletDeliveryFee.mjs";
|
|
12
12
|
import { default as w } from "./outlet/getOutletTodayOpeningTimes.mjs";
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
13
|
+
import { default as G } from "./outlet/getOutletOrderFormats.mjs";
|
|
14
|
+
import { default as M } from "./outlet/serviceDateTimesFromOpeningHours.mjs";
|
|
15
|
+
import { default as R } from "./versioning/isVersionALessThanB.mjs";
|
|
16
|
+
import { default as j } from "./versioning/cleanVersionString.mjs";
|
|
17
|
+
import { default as X } from "./api/getUrlAndParams.mjs";
|
|
18
|
+
import { default as Z } from "./api/getEndpointWithVersion.mjs";
|
|
19
|
+
import { default as $ } from "./api/generateBackoffWithEqualJitter.mjs";
|
|
20
|
+
import { default as te } from "./string/slugify.mjs";
|
|
21
|
+
import { default as oe } from "./string/truncate.mjs";
|
|
22
|
+
import { default as fe } from "./color/lighten.mjs";
|
|
23
|
+
import { default as se } from "./color/brighten.mjs";
|
|
24
24
|
import { default as ie } from "./color/darken.mjs";
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { LogLevel as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
25
|
+
import { default as ue } from "./color/isDarkBackground.mjs";
|
|
26
|
+
import { default as ne } from "./user/getFullName.mjs";
|
|
27
|
+
import { default as ge } from "./user/getFullAddressString.mjs";
|
|
28
|
+
import { default as ce } from "./logger/Logger.mjs";
|
|
29
|
+
import { LogLevel as Te } from "./logger/types.mjs";
|
|
30
|
+
import { default as Pe } from "./logger/sanitizeAsStringDict.mjs";
|
|
31
|
+
import { default as ke } from "./printing/getPrinterType.mjs";
|
|
32
|
+
import { default as Ae } from "./printing/isValidPrinter.mjs";
|
|
33
|
+
import { default as De } from "./printing/isValidNetworkPrinter.mjs";
|
|
34
|
+
import { default as be } from "./printing/isValidStarCloudPrinter.mjs";
|
|
35
|
+
import { default as Se } from "./printing/isTerminalPrinter.mjs";
|
|
36
36
|
import { default as We } from "./number/randomIntFromInterval.mjs";
|
|
37
|
-
import { default as
|
|
37
|
+
import { default as Ne } from "./tables/decodeTableQRPayload.mjs";
|
|
38
|
+
import { default as He } from "./checkout/getCheckoutItemModifications.mjs";
|
|
39
|
+
import { default as we } from "./checkout/getCheckoutProductName.mjs";
|
|
40
|
+
import { default as Ge } from "./currency/getFormattedCurrency.mjs";
|
|
38
41
|
import "moment";
|
|
39
42
|
import "@ancon/wildcat-types";
|
|
40
43
|
import "./outlet/types.mjs";
|
|
@@ -46,45 +49,49 @@ import "lodash";
|
|
|
46
49
|
import "compare-versions";
|
|
47
50
|
import "tinycolor2";
|
|
48
51
|
import "@ancon/wildcat-printing";
|
|
52
|
+
import "./currency/getFormattedCurrencyPostfix.mjs";
|
|
49
53
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
x as DayOfWeek,
|
|
55
|
+
g as IntervalState,
|
|
56
|
+
O as IntervalType,
|
|
57
|
+
Te as LogLevel,
|
|
58
|
+
ce as Logger,
|
|
59
|
+
c as OrderFormat,
|
|
60
|
+
se as brighten,
|
|
61
|
+
j as cleanVersionString,
|
|
58
62
|
ie as darken,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
Ne as decodeTableQRPayload,
|
|
64
|
+
$ as generateBackoffWithEqualJitter,
|
|
65
|
+
P as generateId,
|
|
66
|
+
He as getCheckoutGroupedModifications,
|
|
67
|
+
we as getCheckoutProductName,
|
|
68
|
+
Z as getEndpointWithVersion,
|
|
69
|
+
Ge as getFormattedCurrency,
|
|
70
|
+
ge as getFullAddressString,
|
|
71
|
+
ne as getFullName,
|
|
72
|
+
k as getListOutletOpeningHoursTable,
|
|
73
|
+
D as getOutletAvailabilityInfo,
|
|
74
|
+
S as getOutletAvailableOrderFormats,
|
|
75
|
+
H as getOutletDeliveryFee,
|
|
69
76
|
W as getOutletFormattedDistance,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
77
|
+
b as getOutletOfflineOrderFormats,
|
|
78
|
+
G as getOutletOrderFormats,
|
|
79
|
+
A as getOutletTagInformation,
|
|
73
80
|
w as getOutletTodayOpeningTimes,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
ke as getPrinterType,
|
|
82
|
+
X as getUrlAndParams,
|
|
83
|
+
ue as isDarkBackground,
|
|
84
|
+
N as isOutletAcceptingPreOrders,
|
|
85
|
+
Se as isTerminalPrinter,
|
|
86
|
+
De as isValidNetworkPrinter,
|
|
87
|
+
Ae as isValidPrinter,
|
|
88
|
+
be as isValidStarCloudPrinter,
|
|
89
|
+
R as isVersionALessThanB,
|
|
90
|
+
T as isWithinFlag,
|
|
91
|
+
fe as lighten,
|
|
85
92
|
We as randomIntFromInterval,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
93
|
+
Pe as sanitizeAsStringDict,
|
|
94
|
+
M as serviceDateTimesFromOpeningHours,
|
|
95
|
+
te as slugify,
|
|
96
|
+
oe as truncate
|
|
90
97
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancon/wildcat-utils",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -26,6 +26,21 @@
|
|
|
26
26
|
"require": "./api/index.js",
|
|
27
27
|
"types": "./api/index.d.ts"
|
|
28
28
|
},
|
|
29
|
+
"./checkout/getCheckoutItemModifications": {
|
|
30
|
+
"import": "./checkout/getCheckoutItemModifications.mjs",
|
|
31
|
+
"require": "./checkout/getCheckoutItemModifications.js",
|
|
32
|
+
"types": "./checkout/getCheckoutItemModifications.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./checkout/getCheckoutProductName": {
|
|
35
|
+
"import": "./checkout/getCheckoutProductName.mjs",
|
|
36
|
+
"require": "./checkout/getCheckoutProductName.js",
|
|
37
|
+
"types": "./checkout/getCheckoutProductName.d.ts"
|
|
38
|
+
},
|
|
39
|
+
"./checkout": {
|
|
40
|
+
"import": "./checkout/index.mjs",
|
|
41
|
+
"require": "./checkout/index.js",
|
|
42
|
+
"types": "./checkout/index.d.ts"
|
|
43
|
+
},
|
|
29
44
|
"./color/brighten": {
|
|
30
45
|
"import": "./color/brighten.mjs",
|
|
31
46
|
"require": "./color/brighten.js",
|
|
@@ -51,6 +66,21 @@
|
|
|
51
66
|
"require": "./color/lighten.js",
|
|
52
67
|
"types": "./color/lighten.d.ts"
|
|
53
68
|
},
|
|
69
|
+
"./currency/getFormattedCurrency": {
|
|
70
|
+
"import": "./currency/getFormattedCurrency.mjs",
|
|
71
|
+
"require": "./currency/getFormattedCurrency.js",
|
|
72
|
+
"types": "./currency/getFormattedCurrency.d.ts"
|
|
73
|
+
},
|
|
74
|
+
"./currency/getFormattedCurrencyPostfix": {
|
|
75
|
+
"import": "./currency/getFormattedCurrencyPostfix.mjs",
|
|
76
|
+
"require": "./currency/getFormattedCurrencyPostfix.js",
|
|
77
|
+
"types": "./currency/getFormattedCurrencyPostfix.d.ts"
|
|
78
|
+
},
|
|
79
|
+
"./currency": {
|
|
80
|
+
"import": "./currency/index.mjs",
|
|
81
|
+
"require": "./currency/index.js",
|
|
82
|
+
"types": "./currency/index.d.ts"
|
|
83
|
+
},
|
|
54
84
|
".": {
|
|
55
85
|
"import": "./index.mjs",
|
|
56
86
|
"require": "./index.js",
|