@trackunit/custom-field-components 0.0.710 → 0.0.711

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/index.cjs.js CHANGED
@@ -487,7 +487,7 @@ const useCustomFieldResolver = ({ field, definition, register, setValue, formSta
487
487
  } }, numberProps)));
488
488
  }
489
489
  default:
490
- return sharedUtils.exhaustiveCheck(def.__typename);
490
+ return sharedUtils.exhaustiveCheck(def);
491
491
  }
492
492
  };
493
493
  /**
package/index.esm.js CHANGED
@@ -464,7 +464,7 @@ const useCustomFieldResolver = ({ field, definition, register, setValue, formSta
464
464
  } }, numberProps)));
465
465
  }
466
466
  default:
467
- return exhaustiveCheck(def.__typename);
467
+ return exhaustiveCheck(def);
468
468
  }
469
469
  };
470
470
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/custom-field-components",
3
- "version": "0.0.710",
3
+ "version": "0.0.711",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -1,30 +1,30 @@
1
1
  'use strict';
2
2
 
3
3
  var translation = {
4
- "customfield.unit.acre": "acre",
4
+ "customfield.unit.acre": "eekkeri",
5
5
  "customfield.unit.amperehour": "Ah",
6
- "customfield.unit.bar": "bar",
6
+ "customfield.unit.bar": "baari",
7
7
  "customfield.unit.centimetre": "cm",
8
- "customfield.unit.cubic_foot": "ft³",
9
- "customfield.unit.cubic_metre": "",
10
- "customfield.unit.foot": "ft",
11
- "customfield.unit.gallon_liquid": "gal",
8
+ "customfield.unit.cubic_foot": "ft3",
9
+ "customfield.unit.cubic_metre": "m3",
10
+ "customfield.unit.foot": "jalkaa",
11
+ "customfield.unit.gallon_liquid": "gallonaa",
12
12
  "customfield.unit.gram": "g",
13
13
  "customfield.unit.hectare": "ha",
14
- "customfield.unit.hour": "hr",
15
- "customfield.unit.inch": "in",
14
+ "customfield.unit.hour": "t",
15
+ "customfield.unit.inch": "tuumaa",
16
16
  "customfield.unit.kilogram": "kg",
17
- "customfield.unit.kilogram_per_hour": "kg/hr",
17
+ "customfield.unit.kilogram_per_hour": "kg / h",
18
18
  "customfield.unit.kilogram_per_second": "kg/s",
19
19
  "customfield.unit.kilometre": "km",
20
20
  "customfield.unit.kilometre_per_hour": "km/h",
21
21
  "customfield.unit.kilopascal": "kPa",
22
22
  "customfield.unit.kilowatt": "kW",
23
23
  "customfield.unit.kilowatthour": "kWh",
24
- "customfield.unit.litre": "L",
24
+ "customfield.unit.litre": "Litraa",
25
25
  "customfield.unit.metre": "m",
26
26
  "customfield.unit.metre_per_second": "m/s",
27
- "customfield.unit.metre_per_second_squared": "m/",
27
+ "customfield.unit.metre_per_second_squared": "m/s2",
28
28
  "customfield.unit.mile": "mi",
29
29
  "customfield.unit.mile_per_hour": "mph",
30
30
  "customfield.unit.millimetre": "mm",
@@ -1,28 +1,28 @@
1
1
  var translation = {
2
- "customfield.unit.acre": "acre",
2
+ "customfield.unit.acre": "eekkeri",
3
3
  "customfield.unit.amperehour": "Ah",
4
- "customfield.unit.bar": "bar",
4
+ "customfield.unit.bar": "baari",
5
5
  "customfield.unit.centimetre": "cm",
6
- "customfield.unit.cubic_foot": "ft³",
7
- "customfield.unit.cubic_metre": "",
8
- "customfield.unit.foot": "ft",
9
- "customfield.unit.gallon_liquid": "gal",
6
+ "customfield.unit.cubic_foot": "ft3",
7
+ "customfield.unit.cubic_metre": "m3",
8
+ "customfield.unit.foot": "jalkaa",
9
+ "customfield.unit.gallon_liquid": "gallonaa",
10
10
  "customfield.unit.gram": "g",
11
11
  "customfield.unit.hectare": "ha",
12
- "customfield.unit.hour": "hr",
13
- "customfield.unit.inch": "in",
12
+ "customfield.unit.hour": "t",
13
+ "customfield.unit.inch": "tuumaa",
14
14
  "customfield.unit.kilogram": "kg",
15
- "customfield.unit.kilogram_per_hour": "kg/hr",
15
+ "customfield.unit.kilogram_per_hour": "kg / h",
16
16
  "customfield.unit.kilogram_per_second": "kg/s",
17
17
  "customfield.unit.kilometre": "km",
18
18
  "customfield.unit.kilometre_per_hour": "km/h",
19
19
  "customfield.unit.kilopascal": "kPa",
20
20
  "customfield.unit.kilowatt": "kW",
21
21
  "customfield.unit.kilowatthour": "kWh",
22
- "customfield.unit.litre": "L",
22
+ "customfield.unit.litre": "Litraa",
23
23
  "customfield.unit.metre": "m",
24
24
  "customfield.unit.metre_per_second": "m/s",
25
- "customfield.unit.metre_per_second_squared": "m/",
25
+ "customfield.unit.metre_per_second_squared": "m/s2",
26
26
  "customfield.unit.mile": "mi",
27
27
  "customfield.unit.mile_per_hour": "mph",
28
28
  "customfield.unit.millimetre": "mm",