portalcash-shared 1.2.9 → 1.3.2
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/composables/useFormatPrice.d.ts.map +1 -1
- package/dist/index.es.js +14 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/service/userAuth/types.d.ts +2 -2
- package/dist/stores/authStore.d.ts +24 -24
- package/dist/stores/clientStore.d.ts +513 -81
- package/dist/stores/clientStore.d.ts.map +1 -1
- package/dist/types/clientsType.d.ts +24 -11
- package/dist/types/clientsType.d.ts.map +1 -1
- package/dist/utils/rutFormatter.d.ts +1 -1
- package/dist/utils/rutFormatter.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormatPrice.d.ts","sourceRoot":"","sources":["../../src/composables/useFormatPrice.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB;0BAExB,MAAM,GAAG,MAAM,aACb,MAAM,0BACO,MAAM,WACrB,MAAM,KACb,MAAM;
|
|
1
|
+
{"version":3,"file":"useFormatPrice.d.ts","sourceRoot":"","sources":["../../src/composables/useFormatPrice.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB;0BAExB,MAAM,GAAG,MAAM,aACb,MAAM,0BACO,MAAM,WACrB,MAAM,KACb,MAAM;EAyBV"}
|
package/dist/index.es.js
CHANGED
|
@@ -11,7 +11,7 @@ import Zc from "vue-easy-lightbox";
|
|
|
11
11
|
import { plainToClass as Is } from "class-transformer";
|
|
12
12
|
import Jc from "axios";
|
|
13
13
|
import { PublicClientApplication as Qc } from "@azure/msal-browser";
|
|
14
|
-
import { FontAwesomeIcon as
|
|
14
|
+
import { FontAwesomeIcon as H9 } from "@fortawesome/vue-fontawesome";
|
|
15
15
|
const ep = ["disabled"], tp = ["src"], np = /* @__PURE__ */ _e({
|
|
16
16
|
__name: "CustomButton",
|
|
17
17
|
props: {
|
|
@@ -29084,11 +29084,12 @@ function La() {
|
|
|
29084
29084
|
const a = Number(e);
|
|
29085
29085
|
if (isNaN(a))
|
|
29086
29086
|
return `${n} 0`;
|
|
29087
|
+
const o = ["USD", "EUR"].includes(n);
|
|
29087
29088
|
try {
|
|
29088
29089
|
return new Intl.NumberFormat(r, {
|
|
29089
29090
|
style: "currency",
|
|
29090
29091
|
currency: n,
|
|
29091
|
-
minimumFractionDigits:
|
|
29092
|
+
minimumFractionDigits: o ? 2 : i,
|
|
29092
29093
|
maximumFractionDigits: 2
|
|
29093
29094
|
}).format(a);
|
|
29094
29095
|
} catch {
|
|
@@ -48232,7 +48233,14 @@ const F9 = (t) => new Promise((e, n) => {
|
|
|
48232
48233
|
}, i.onerror = (r) => {
|
|
48233
48234
|
n(r);
|
|
48234
48235
|
};
|
|
48235
|
-
})
|
|
48236
|
+
});
|
|
48237
|
+
function $9(t) {
|
|
48238
|
+
if (!t) return "";
|
|
48239
|
+
t = t.replace(/[^0-9kK]/g, "").toUpperCase();
|
|
48240
|
+
const e = t.slice(0, -1), n = t.slice(-1);
|
|
48241
|
+
return e ? `${e.split("").reverse().join("").replace(/(\d{3})(?=\d)/g, "$1.").split("").reverse().join("")}-${n}` : n;
|
|
48242
|
+
}
|
|
48243
|
+
const j9 = "1.0.3";
|
|
48236
48244
|
export {
|
|
48237
48245
|
A7 as AutocompleteInput,
|
|
48238
48246
|
M7 as AutocompleteRutInput,
|
|
@@ -48268,7 +48276,7 @@ export {
|
|
|
48268
48276
|
S7 as CustomUploadExcel,
|
|
48269
48277
|
U6 as DetailsCard,
|
|
48270
48278
|
l8 as EnvNames,
|
|
48271
|
-
|
|
48279
|
+
H9 as FontAwesomeIcon,
|
|
48272
48280
|
mk as ForexChartService,
|
|
48273
48281
|
c9 as LegalService,
|
|
48274
48282
|
_c as MainCard,
|
|
@@ -48332,6 +48340,7 @@ export {
|
|
|
48332
48340
|
N7 as reformatDateISO8601,
|
|
48333
48341
|
O9 as removeMessageListener,
|
|
48334
48342
|
W7 as representativeService,
|
|
48343
|
+
$9 as rutFormatter,
|
|
48335
48344
|
A9 as sendMessage,
|
|
48336
48345
|
D9 as spotCloseSegmentService,
|
|
48337
48346
|
T9 as spotForwadSegmentService,
|
|
@@ -48359,7 +48368,7 @@ export {
|
|
|
48359
48368
|
h7 as validateInputs,
|
|
48360
48369
|
U7 as validateRut,
|
|
48361
48370
|
l9 as valuteService,
|
|
48362
|
-
|
|
48371
|
+
j9 as version,
|
|
48363
48372
|
R7 as withThousandSeparator
|
|
48364
48373
|
};
|
|
48365
48374
|
//# sourceMappingURL=index.es.js.map
|