@social-mail/social-mail-client 1.0.105 → 1.0.107
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/admin/AdminAppIndex.pack.js +12 -12
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/NumberFormats.js +12 -12
- package/dist/common/NumberFormats.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +12 -12
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/NumberFormats.ts +12 -12
|
@@ -19556,10 +19556,10 @@ System.register([], function (_export, _context) {
|
|
|
19556
19556
|
m = k * k;
|
|
19557
19557
|
b = m * k;
|
|
19558
19558
|
kb = 1024;
|
|
19559
|
-
mb = kb *
|
|
19560
|
-
gb = mb *
|
|
19561
|
-
tb = gb *
|
|
19562
|
-
pb = tb *
|
|
19559
|
+
mb = kb * kb;
|
|
19560
|
+
gb = mb * kb;
|
|
19561
|
+
tb = gb * kb;
|
|
19562
|
+
pb = tb * kb;
|
|
19563
19563
|
_export("toCompactFixed", toCompactFixed = (n, decimals) => {
|
|
19564
19564
|
let text = n.toFixed(decimals);
|
|
19565
19565
|
if (decimals > 0) {
|
|
@@ -19576,13 +19576,13 @@ System.register([], function (_export, _context) {
|
|
|
19576
19576
|
if (!n) {
|
|
19577
19577
|
return def + "";
|
|
19578
19578
|
}
|
|
19579
|
-
if (n
|
|
19579
|
+
if (n >= b) {
|
|
19580
19580
|
return toCompactFixed(n / b, decimals) + "B";
|
|
19581
19581
|
}
|
|
19582
|
-
if (n
|
|
19582
|
+
if (n >= m) {
|
|
19583
19583
|
return toCompactFixed(n / m, decimals) + "M";
|
|
19584
19584
|
}
|
|
19585
|
-
if (n
|
|
19585
|
+
if (n >= k) {
|
|
19586
19586
|
return toCompactFixed(n / k, decimals) + "K";
|
|
19587
19587
|
}
|
|
19588
19588
|
return toCompactFixed(n, 0);
|
|
@@ -19595,19 +19595,19 @@ System.register([], function (_export, _context) {
|
|
|
19595
19595
|
if (!n) {
|
|
19596
19596
|
return def + "";
|
|
19597
19597
|
}
|
|
19598
|
-
if (n
|
|
19598
|
+
if (n >= pb) {
|
|
19599
19599
|
return toCompactFixed(n / gb, decimals) + " PB";
|
|
19600
19600
|
}
|
|
19601
|
-
if (n
|
|
19601
|
+
if (n >= tb) {
|
|
19602
19602
|
return toCompactFixed(n / gb, decimals) + " TB";
|
|
19603
19603
|
}
|
|
19604
|
-
if (n
|
|
19604
|
+
if (n >= gb) {
|
|
19605
19605
|
return toCompactFixed(n / gb, decimals) + " GB";
|
|
19606
19606
|
}
|
|
19607
|
-
if (n
|
|
19607
|
+
if (n >= mb) {
|
|
19608
19608
|
return toCompactFixed(n / mb, decimals) + " MB";
|
|
19609
19609
|
}
|
|
19610
|
-
if (n
|
|
19610
|
+
if (n >= kb) {
|
|
19611
19611
|
return toCompactFixed(n / kb, decimals) + " KB";
|
|
19612
19612
|
}
|
|
19613
19613
|
return toCompactFixed(n, 0);
|