@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
|
@@ -290,7 +290,8 @@ const LABELS = Object.freeze({
|
|
|
290
290
|
"min/stand": "min/stand",
|
|
291
291
|
"s/stand": "s/stand",
|
|
292
292
|
"m3/t": "m3/t",
|
|
293
|
-
"L/100kg": "L/100kg"
|
|
293
|
+
"L/100kg": "L/100kg",
|
|
294
|
+
"deg/h": "°/h"
|
|
294
295
|
});
|
|
295
296
|
/**
|
|
296
297
|
* Alternative units grouped by quantity
|
|
@@ -588,6 +589,7 @@ const ALT_UNITS = Object.freeze({
|
|
|
588
589
|
"gpm"
|
|
589
590
|
],
|
|
590
591
|
rotationalSpeed: ["rpm", "Hz"],
|
|
592
|
+
rotationalRate: ["deg/h"],
|
|
591
593
|
roughness: [
|
|
592
594
|
"m",
|
|
593
595
|
"microM",
|
|
@@ -817,7 +819,8 @@ const UNIT_FROM_KEY = Object.freeze({
|
|
|
817
819
|
shearStress: "Pa",
|
|
818
820
|
volumeGradient: "m3/m",
|
|
819
821
|
sensorAccelerometer: "g",
|
|
820
|
-
sensorMagnetometer: "Gs"
|
|
822
|
+
sensorMagnetometer: "Gs",
|
|
823
|
+
rotationalRate: "deg/h"
|
|
821
824
|
});
|
|
822
825
|
/**
|
|
823
826
|
* Constants to help conversion
|
|
@@ -1571,7 +1574,8 @@ const QUANTITIES_DESCRIPTION = {
|
|
|
1571
1574
|
pressurechange: "Change in pressure over time or between two points",
|
|
1572
1575
|
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",
|
|
1573
1576
|
sensorAccelerometer: "Strength of gravitational acceleration",
|
|
1574
|
-
sensorMagnetometer: "Strength of magnetic forces at a position"
|
|
1577
|
+
sensorMagnetometer: "Strength of magnetic forces at a position",
|
|
1578
|
+
rotationalRate: "Rotational rate, the speed at which an object rotates around a fixed axis, typically measured in degrees per unit of time"
|
|
1575
1579
|
};
|
|
1576
1580
|
/**
|
|
1577
1581
|
* Description for the different units
|
|
@@ -1792,7 +1796,8 @@ const UNITS_DESCRIPTION = {
|
|
|
1792
1796
|
lps: "Liters per second",
|
|
1793
1797
|
nT: "nanoTesla",
|
|
1794
1798
|
Gs: "Gauss",
|
|
1795
|
-
g: "g force"
|
|
1799
|
+
g: "g force",
|
|
1800
|
+
"deg/h": "Degrees per hour"
|
|
1796
1801
|
};
|
|
1797
1802
|
//#endregion
|
|
1798
1803
|
//#region src/units/unit-catalog.ts
|