@oliasoft-open-source/units 5.8.0 → 5.9.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/chunks/conversion.cjs +9 -4
- package/dist/chunks/conversion.cjs.map +1 -1
- package/dist/chunks/conversion.js +9 -4
- package/dist/chunks/conversion.js.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -291,7 +291,8 @@ const LABELS = Object.freeze({
|
|
|
291
291
|
"min/stand": "min/stand",
|
|
292
292
|
"s/stand": "s/stand",
|
|
293
293
|
"m3/t": "m3/t",
|
|
294
|
-
"L/100kg": "L/100kg"
|
|
294
|
+
"L/100kg": "L/100kg",
|
|
295
|
+
"deg/h": "°/h"
|
|
295
296
|
});
|
|
296
297
|
/**
|
|
297
298
|
* Alternative units grouped by quantity
|
|
@@ -589,6 +590,7 @@ const ALT_UNITS = Object.freeze({
|
|
|
589
590
|
"gpm"
|
|
590
591
|
],
|
|
591
592
|
rotationalSpeed: ["rpm", "Hz"],
|
|
593
|
+
rotationalRate: ["deg/h"],
|
|
592
594
|
roughness: [
|
|
593
595
|
"m",
|
|
594
596
|
"microM",
|
|
@@ -818,7 +820,8 @@ const UNIT_FROM_KEY = Object.freeze({
|
|
|
818
820
|
shearStress: "Pa",
|
|
819
821
|
volumeGradient: "m3/m",
|
|
820
822
|
sensorAccelerometer: "g",
|
|
821
|
-
sensorMagnetometer: "Gs"
|
|
823
|
+
sensorMagnetometer: "Gs",
|
|
824
|
+
rotationalRate: "deg/h"
|
|
822
825
|
});
|
|
823
826
|
/**
|
|
824
827
|
* Constants to help conversion
|
|
@@ -1572,7 +1575,8 @@ const QUANTITIES_DESCRIPTION = {
|
|
|
1572
1575
|
pressurechange: "Change in pressure over time or between two points",
|
|
1573
1576
|
rpm: "Rotations per minute, a measure of the frequency of rotation, specifying the number of full rotations completed in one minute around a fixed axis",
|
|
1574
1577
|
sensorAccelerometer: "Strength of gravitational acceleration",
|
|
1575
|
-
sensorMagnetometer: "Strength of magnetic forces at a position"
|
|
1578
|
+
sensorMagnetometer: "Strength of magnetic forces at a position",
|
|
1579
|
+
rotationalRate: "Rotational rate, the speed at which an object rotates around a fixed axis, typically measured in degrees per unit of time"
|
|
1576
1580
|
};
|
|
1577
1581
|
/**
|
|
1578
1582
|
* Description for the different units
|
|
@@ -1793,7 +1797,8 @@ const UNITS_DESCRIPTION = {
|
|
|
1793
1797
|
lps: "Liters per second",
|
|
1794
1798
|
nT: "nanoTesla",
|
|
1795
1799
|
Gs: "Gauss",
|
|
1796
|
-
g: "g force"
|
|
1800
|
+
g: "g force",
|
|
1801
|
+
"deg/h": "Degrees per hour"
|
|
1797
1802
|
};
|
|
1798
1803
|
//#endregion
|
|
1799
1804
|
//#region src/units/unit-catalog.ts
|