@sisense/sdk-query-client 1.3.0 → 1.4.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.
|
@@ -64,8 +64,11 @@ function jaqlPivotAttribute(a, panel, index) {
|
|
|
64
64
|
}
|
|
65
65
|
function jaqlPivotMeasure(m, panel, index) {
|
|
66
66
|
return Object.assign(Object.assign({}, (isPivotMeasure(m)
|
|
67
|
-
? merge(m.measure.jaql(), {
|
|
68
|
-
|
|
67
|
+
? merge(m.measure.jaql(), {
|
|
68
|
+
jaql: { subtotalAgg: m.totalsCalculation },
|
|
69
|
+
format: { databars: m.dataBars || false },
|
|
70
|
+
})
|
|
71
|
+
: m.jaql())), { panel, field: { index: index, id: `${panel}-${index}` } });
|
|
69
72
|
}
|
|
70
73
|
/**
|
|
71
74
|
* Prepares the metadata part of the JAQL payload for a pivot query.
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"Sisense",
|
|
12
12
|
"Compose SDK"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.4.0",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": "./dist/index.js",
|
|
17
17
|
"main": "./dist/index.js",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"author": "Sisense",
|
|
21
21
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sisense/sdk-common": "^1.
|
|
24
|
-
"@sisense/sdk-data": "^1.
|
|
25
|
-
"@sisense/sdk-pivot-client": "^1.
|
|
26
|
-
"@sisense/sdk-rest-client": "^1.
|
|
23
|
+
"@sisense/sdk-common": "^1.4.0",
|
|
24
|
+
"@sisense/sdk-data": "^1.4.0",
|
|
25
|
+
"@sisense/sdk-pivot-client": "^1.4.0",
|
|
26
|
+
"@sisense/sdk-rest-client": "^1.4.0",
|
|
27
27
|
"@sisense/task-manager": "^0.1.0",
|
|
28
28
|
"numeral": "^2.0.6",
|
|
29
29
|
"ts-deepmerge": "6.0.2",
|