@cobre-npm/library-portal-core 0.11.0 → 0.13.0
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/dist/constants/countries/countries.constants.d.ts +2 -0
- package/dist/constants/countries/countries.constants.d.ts.map +1 -1
- package/dist/constants/countries/countries.constants.js +2 -0
- package/dist/constants/countries/countries.constants.js.map +1 -1
- package/dist/constants/countries/countries.data.d.ts.map +1 -1
- package/dist/constants/countries/countries.data.js +2 -0
- package/dist/constants/countries/countries.data.js.map +1 -1
- package/dist/constants/countries/locales/en.json +3 -1
- package/dist/constants/countries/locales/es-mex.json +3 -1
- package/dist/constants/mmTypes/locales/en.json +2 -1
- package/dist/constants/mmTypes/locales/es-mex.json +2 -1
- package/dist/constants/mmTypes/mm-types.constants.d.ts +1 -0
- package/dist/constants/mmTypes/mm-types.constants.d.ts.map +1 -1
- package/dist/constants/mmTypes/mm-types.constants.js +1 -0
- package/dist/constants/mmTypes/mm-types.constants.js.map +1 -1
- package/dist/constants/mmTypes/mm-types.labels.d.ts +1 -1
- package/package.json +8 -7
|
@@ -4,6 +4,8 @@ export declare const Countries: {
|
|
|
4
4
|
readonly USA: "usa";
|
|
5
5
|
readonly GLOBAL: "global";
|
|
6
6
|
readonly GENERIC: "generic";
|
|
7
|
+
readonly EU: "eu";
|
|
8
|
+
readonly CHN: "chn";
|
|
7
9
|
};
|
|
8
10
|
export type Country = typeof Countries[keyof typeof Countries];
|
|
9
11
|
//# sourceMappingURL=countries.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"countries.constants.d.ts","sourceRoot":"","sources":["../../../src/constants/countries/countries.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"countries.constants.d.ts","sourceRoot":"","sources":["../../../src/constants/countries/countries.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;CAQZ,CAAA;AAEV,MAAM,MAAM,OAAO,GAAG,OAAO,SAAS,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"countries.constants.js","sourceRoot":"","sources":["../../../src/constants/countries/countries.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"countries.constants.js","sourceRoot":"","sources":["../../../src/constants/countries/countries.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"countries.data.d.ts","sourceRoot":"","sources":["../../../src/constants/countries/countries.data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAEpD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAErD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"countries.data.d.ts","sourceRoot":"","sources":["../../../src/constants/countries/countries.data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAEpD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAErD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,OAAO,EAAE,eAAe,CAQ1D,CAAA"}
|
|
@@ -8,5 +8,7 @@ exports.CountriesData = {
|
|
|
8
8
|
[countries_constants_1.Countries.GLOBAL]: {},
|
|
9
9
|
[countries_constants_1.Countries.USA]: {},
|
|
10
10
|
[countries_constants_1.Countries.GENERIC]: {},
|
|
11
|
+
[countries_constants_1.Countries.EU]: {},
|
|
12
|
+
[countries_constants_1.Countries.CHN]: {},
|
|
11
13
|
};
|
|
12
14
|
//# sourceMappingURL=countries.data.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"countries.data.js","sourceRoot":"","sources":["../../../src/constants/countries/countries.data.ts"],"names":[],"mappings":";;;AAAA,+DAAiD;AAKpC,QAAA,aAAa,GAAqC;IAC7D,CAAC,+BAAS,CAAC,GAAG,CAAC,EAAE,EAAE;IACnB,CAAC,+BAAS,CAAC,GAAG,CAAC,EAAE,EAAE;IACnB,CAAC,+BAAS,CAAC,MAAM,CAAC,EAAE,EAAE;IACtB,CAAC,+BAAS,CAAC,GAAG,CAAC,EAAE,EAAE;IACnB,CAAC,+BAAS,CAAC,OAAO,CAAC,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"countries.data.js","sourceRoot":"","sources":["../../../src/constants/countries/countries.data.ts"],"names":[],"mappings":";;;AAAA,+DAAiD;AAKpC,QAAA,aAAa,GAAqC;IAC7D,CAAC,+BAAS,CAAC,GAAG,CAAC,EAAE,EAAE;IACnB,CAAC,+BAAS,CAAC,GAAG,CAAC,EAAE,EAAE;IACnB,CAAC,+BAAS,CAAC,MAAM,CAAC,EAAE,EAAE;IACtB,CAAC,+BAAS,CAAC,GAAG,CAAC,EAAE,EAAE;IACnB,CAAC,+BAAS,CAAC,OAAO,CAAC,EAAE,EAAE;IACvB,CAAC,+BAAS,CAAC,EAAE,CAAC,EAAE,EAAE;IAClB,CAAC,+BAAS,CAAC,GAAG,CAAC,EAAE,EAAE;CACpB,CAAA"}
|
|
@@ -21,6 +21,7 @@ export declare const MMTypes: {
|
|
|
21
21
|
readonly UsaPayToGlobal: "usa_pay_to_global";
|
|
22
22
|
readonly StablePayout: "stable_payout";
|
|
23
23
|
readonly Breb: "breb";
|
|
24
|
+
readonly GlobalPayToGeneric: "global_pay_to_generic";
|
|
24
25
|
};
|
|
25
26
|
export type MMType = (typeof MMTypes)[keyof typeof MMTypes];
|
|
26
27
|
//# sourceMappingURL=mm-types.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mm-types.constants.d.ts","sourceRoot":"","sources":["../../../src/constants/mmTypes/mm-types.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"mm-types.constants.d.ts","sourceRoot":"","sources":["../../../src/constants/mmTypes/mm-types.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;CAwBV,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mm-types.constants.js","sourceRoot":"","sources":["../../../src/constants/mmTypes/mm-types.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,UAAU;IACnB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE,aAAa;IACzB,GAAG,EAAE,KAAK;IACV,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,UAAU;IACnB,WAAW,EAAE,gBAAgB;IAC7B,mBAAmB,EAAE,wBAAwB;IAC7C,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,UAAU;IACnB,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,mBAAmB;IACnC,cAAc,EAAE,mBAAmB;IACnC,YAAY,EAAE,eAAe;IAC7B,IAAI,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"mm-types.constants.js","sourceRoot":"","sources":["../../../src/constants/mmTypes/mm-types.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,UAAU;IACnB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,WAAW;IACrB,UAAU,EAAE,aAAa;IACzB,GAAG,EAAE,KAAK;IACV,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,UAAU;IACnB,WAAW,EAAE,gBAAgB;IAC7B,mBAAmB,EAAE,wBAAwB;IAC7C,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,UAAU;IACnB,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,mBAAmB;IACnC,cAAc,EAAE,mBAAmB;IACnC,YAAY,EAAE,eAAe;IAC7B,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,uBAAuB;CACnC,CAAA"}
|
|
@@ -3,6 +3,6 @@ export declare const getMMTypeLabel: (key: MMType | null | undefined, lang: stri
|
|
|
3
3
|
export declare const getMMTypesWithLabels: (lang: string) => {
|
|
4
4
|
id: number;
|
|
5
5
|
label: string;
|
|
6
|
-
value: "global" | "spei_card" | "r2p" | "r2p_breb" | "r2p_spei" | "ach" | "fast_pay" | "spei" | "spei_return" | "r2p_bancolombia" | "r2p_nequi" | "r2p_pse" | "direct_debit" | "r2p_top_up_pse" | "r2p_top_up_bancolombia" | "on_ramp" | "off_ramp" | "fedwire" | "global_pay_to_usa" | "usa_pay_to_global" | "stable_payout" | "breb";
|
|
6
|
+
value: "global" | "spei_card" | "r2p" | "r2p_breb" | "r2p_spei" | "ach" | "fast_pay" | "spei" | "spei_return" | "r2p_bancolombia" | "r2p_nequi" | "r2p_pse" | "direct_debit" | "r2p_top_up_pse" | "r2p_top_up_bancolombia" | "on_ramp" | "off_ramp" | "fedwire" | "global_pay_to_usa" | "usa_pay_to_global" | "stable_payout" | "breb" | "global_pay_to_generic";
|
|
7
7
|
}[];
|
|
8
8
|
//# sourceMappingURL=mm-types.labels.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobre-npm/library-portal-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Shared configurations and resources for Portal MFEs",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,7 +13,14 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"lint": "eslint . --fix",
|
|
19
|
+
"test": "vitest run",
|
|
20
|
+
"publish:prod": "pnpm lint && pnpm exec tsc --noEmit && pnpm build && pnpm publish"
|
|
21
|
+
},
|
|
16
22
|
"license": "ISC",
|
|
23
|
+
"packageManager": "pnpm@10.27.0",
|
|
17
24
|
"devDependencies": {
|
|
18
25
|
"@eslint/js": "^9.0.0",
|
|
19
26
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
@@ -23,11 +30,5 @@
|
|
|
23
30
|
"typescript": "^5.7.0",
|
|
24
31
|
"vitest": "^4.1.5",
|
|
25
32
|
"vue-eslint-parser": "^9.0.0"
|
|
26
|
-
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"build": "tsc",
|
|
29
|
-
"lint": "eslint . --fix",
|
|
30
|
-
"test": "vitest run",
|
|
31
|
-
"publish:prod": "pnpm lint && pnpm exec tsc --noEmit && pnpm build && pnpm publish"
|
|
32
33
|
}
|
|
33
34
|
}
|