@trackunit/react-table 2.8.15 → 2.8.16
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/package.json +7 -7
- package/src/types.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.16",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"react-dnd": "16.0.1",
|
|
12
12
|
"react-dnd-html5-backend": "16.0.1",
|
|
13
13
|
"tailwind-merge": "^2.0.0",
|
|
14
|
-
"@trackunit/react-components": "3.2.
|
|
15
|
-
"@trackunit/react-core-hooks": "1.22.
|
|
14
|
+
"@trackunit/react-components": "3.2.4",
|
|
15
|
+
"@trackunit/react-core-hooks": "1.22.7",
|
|
16
16
|
"@trackunit/shared-utils": "1.16.56",
|
|
17
17
|
"@trackunit/css-class-variance-utilities": "2.0.21",
|
|
18
18
|
"@trackunit/ui-icons": "1.14.49",
|
|
19
|
-
"@trackunit/react-table-base-components": "2.9.
|
|
20
|
-
"@trackunit/react-form-components": "2.7.
|
|
21
|
-
"@trackunit/i18n-library-translation": "2.5.
|
|
22
|
-
"@trackunit/iris-app-runtime-core-api": "1.18.
|
|
19
|
+
"@trackunit/react-table-base-components": "2.9.15",
|
|
20
|
+
"@trackunit/react-form-components": "2.7.15",
|
|
21
|
+
"@trackunit/i18n-library-translation": "2.5.7",
|
|
22
|
+
"@trackunit/iris-app-runtime-core-api": "1.18.7",
|
|
23
23
|
"zod": "^3.25.76"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
package/src/types.d.ts
CHANGED
|
@@ -14,6 +14,18 @@ export interface BaseExportable {
|
|
|
14
14
|
} | {
|
|
15
15
|
type: "date";
|
|
16
16
|
format: DateTimeFormatType;
|
|
17
|
+
} | {
|
|
18
|
+
/**
|
|
19
|
+
* Picks one raw value from an `edges[]` array segment.
|
|
20
|
+
* A scalar path ignores this transformer.
|
|
21
|
+
* `priority` is matched before `translationMap`, so ranking stays language-independent.
|
|
22
|
+
* `fallback` is used when the array is missing, null, or has no non-null values.
|
|
23
|
+
* When values exist and none match `priority`, the first non-null raw value is kept:
|
|
24
|
+
* an unrecognized value is still data, and must not be replaced by the empty fallback.
|
|
25
|
+
*/
|
|
26
|
+
type: "selectByPriority";
|
|
27
|
+
priority: ReadonlyArray<string>;
|
|
28
|
+
fallback?: string;
|
|
17
29
|
} | {
|
|
18
30
|
type: "math";
|
|
19
31
|
operation: "add" | "subtract" | "multiply" | "divide" | "modulo" | "power";
|