@trackunit/custom-field-components 0.0.710 → 0.0.712

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.712",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -11,10 +11,10 @@ var translation = {
11
11
  "customfield.unit.gallon_liquid": "gal",
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": "h",
15
+ "customfield.unit.inch": "pol",
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",
@@ -32,7 +32,7 @@ var translation = {
32
32
  "customfield.unit.ounce": "oz",
33
33
  "customfield.unit.pascal": "Pa",
34
34
  "customfield.unit.pound": "lb",
35
- "customfield.unit.pound_per_hour": "lb/hr",
35
+ "customfield.unit.pound_per_hour": "lb/h",
36
36
  "customfield.unit.pound_per_second": "lb/s",
37
37
  "customfield.unit.pound_per_square_inch": "psi",
38
38
  "customfield.unit.square_foot": "ft²",
@@ -1,48 +1,48 @@
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/",
28
- "customfield.unit.mile": "mi",
29
- "customfield.unit.mile_per_hour": "mph",
27
+ "customfield.unit.metre_per_second_squared": "m/s2",
28
+ "customfield.unit.mile": "maili",
29
+ "customfield.unit.mile_per_hour": "mailia tunnissa",
30
30
  "customfield.unit.millimetre": "mm",
31
31
  "customfield.unit.newton": "N",
32
- "customfield.unit.ounce": "oz",
32
+ "customfield.unit.ounce": "unssi",
33
33
  "customfield.unit.pascal": "Pa",
34
- "customfield.unit.pound": "lb",
35
- "customfield.unit.pound_per_hour": "lb/hr",
34
+ "customfield.unit.pound": "naula",
35
+ "customfield.unit.pound_per_hour": "lb/h",
36
36
  "customfield.unit.pound_per_second": "lb/s",
37
37
  "customfield.unit.pound_per_square_inch": "psi",
38
38
  "customfield.unit.square_foot": "ft²",
39
39
  "customfield.unit.square_kilometre": "km²",
40
40
  "customfield.unit.square_metre": "m²",
41
- "customfield.unit.ton": "ton",
41
+ "customfield.unit.ton": "tonni",
42
42
  "customfield.unit.ton_us": "ton (US)",
43
43
  "customfield.unit.volt": "V",
44
44
  "customfield.unit.watt": "W",
45
- "customfield.unit.yard": "yd"
45
+ "customfield.unit.yard": "jaardi"
46
46
  };
47
47
 
48
48
  exports["default"] = translation;
@@ -9,10 +9,10 @@ var translation = {
9
9
  "customfield.unit.gallon_liquid": "gal",
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": "h",
13
+ "customfield.unit.inch": "pol",
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",
@@ -30,7 +30,7 @@ var translation = {
30
30
  "customfield.unit.ounce": "oz",
31
31
  "customfield.unit.pascal": "Pa",
32
32
  "customfield.unit.pound": "lb",
33
- "customfield.unit.pound_per_hour": "lb/hr",
33
+ "customfield.unit.pound_per_hour": "lb/h",
34
34
  "customfield.unit.pound_per_second": "lb/s",
35
35
  "customfield.unit.pound_per_square_inch": "psi",
36
36
  "customfield.unit.square_foot": "ft²",
@@ -1,46 +1,46 @@
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/",
26
- "customfield.unit.mile": "mi",
27
- "customfield.unit.mile_per_hour": "mph",
25
+ "customfield.unit.metre_per_second_squared": "m/s2",
26
+ "customfield.unit.mile": "maili",
27
+ "customfield.unit.mile_per_hour": "mailia tunnissa",
28
28
  "customfield.unit.millimetre": "mm",
29
29
  "customfield.unit.newton": "N",
30
- "customfield.unit.ounce": "oz",
30
+ "customfield.unit.ounce": "unssi",
31
31
  "customfield.unit.pascal": "Pa",
32
- "customfield.unit.pound": "lb",
33
- "customfield.unit.pound_per_hour": "lb/hr",
32
+ "customfield.unit.pound": "naula",
33
+ "customfield.unit.pound_per_hour": "lb/h",
34
34
  "customfield.unit.pound_per_second": "lb/s",
35
35
  "customfield.unit.pound_per_square_inch": "psi",
36
36
  "customfield.unit.square_foot": "ft²",
37
37
  "customfield.unit.square_kilometre": "km²",
38
38
  "customfield.unit.square_metre": "m²",
39
- "customfield.unit.ton": "ton",
39
+ "customfield.unit.ton": "tonni",
40
40
  "customfield.unit.ton_us": "ton (US)",
41
41
  "customfield.unit.volt": "V",
42
42
  "customfield.unit.watt": "W",
43
- "customfield.unit.yard": "yd"
43
+ "customfield.unit.yard": "jaardi"
44
44
  };
45
45
 
46
46
  export { translation as default };