@sisense/sdk-ui-angular 2.16.1 → 2.17.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/esm2020/lib/components/charts/pivot-table.component.mjs +8 -3
- package/dist/esm2020/lib/components/widgets/pivot-table-widget.component.mjs +2 -3
- package/dist/esm2020/lib/services/query.service.mjs +1 -2
- package/dist/esm2020/version.mjs +2 -2
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs +9 -6
- package/dist/fesm2015/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs +9 -6
- package/dist/fesm2020/sisense-sdk-ui-angular.mjs.map +1 -1
- package/dist/lib/components/charts/pivot-table.component.d.ts +7 -2
- package/dist/lib/components/widgets/pivot-table-widget.component.d.ts +1 -2
- package/dist/lib/services/query.service.d.ts +0 -1
- package/dist/package.json +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -285,7 +285,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
285
285
|
args: [SISENSE_CONTEXT_CONFIG_TOKEN]
|
|
286
286
|
}] }]; } });
|
|
287
287
|
|
|
288
|
-
var packageVersion = '2.
|
|
288
|
+
var packageVersion = '2.17.0';
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* Service for rendering components dynamically.
|
|
@@ -713,7 +713,6 @@ let QueryService = class QueryService {
|
|
|
713
713
|
*
|
|
714
714
|
* @param params - Pivot query parameters
|
|
715
715
|
* @return Pivot query result
|
|
716
|
-
* @beta
|
|
717
716
|
*/
|
|
718
717
|
async executePivotQuery(params) {
|
|
719
718
|
const { dataSource, rows, columns, values, grandTotals, filters, highlights, count, offset, beforeQuery, } = params;
|
|
@@ -2647,7 +2646,7 @@ export class AnalyticsComponent {
|
|
|
2647
2646
|
dataBars: true,
|
|
2648
2647
|
},
|
|
2649
2648
|
],
|
|
2650
|
-
grandTotals: {
|
|
2649
|
+
grandTotals: { rows: true, columns: true },
|
|
2651
2650
|
};
|
|
2652
2651
|
|
|
2653
2652
|
pivotTable = {
|
|
@@ -2660,8 +2659,13 @@ export class AnalyticsComponent {
|
|
|
2660
2659
|
}
|
|
2661
2660
|
* ```
|
|
2662
2661
|
* <img src="media://angular-pivot-table-example.png" width="800px" />
|
|
2662
|
+
*
|
|
2663
|
+
* @remarks
|
|
2664
|
+
* Configuration options can also be applied within the scope of a `<SisenseContextProvider>` to control the default behavior of PivotTable, by changing available settings within `appConfig.chartConfig.tabular.*`
|
|
2665
|
+
*
|
|
2666
|
+
* Follow the link to {@link AppConfig} for more details on the available settings.
|
|
2667
|
+
*
|
|
2663
2668
|
* @group Data Grids
|
|
2664
|
-
* @beta
|
|
2665
2669
|
*/
|
|
2666
2670
|
class PivotTableComponent {
|
|
2667
2671
|
constructor(sisenseContextService, themeService) {
|
|
@@ -5166,7 +5170,7 @@ export class AnalyticsComponent {
|
|
|
5166
5170
|
dataBars: true,
|
|
5167
5171
|
},
|
|
5168
5172
|
],
|
|
5169
|
-
grandTotals: {
|
|
5173
|
+
grandTotals: { rows: true, columns: true },
|
|
5170
5174
|
},
|
|
5171
5175
|
filters: [filterFactory.members(DM.Commerce.Gender, ['Female', 'Male'])],
|
|
5172
5176
|
styleOptions: { width: 1400, height: 600, rowsPerPage: 25 },
|
|
@@ -5177,7 +5181,6 @@ export class AnalyticsComponent {
|
|
|
5177
5181
|
* ```
|
|
5178
5182
|
* <img src="media://angular-pivot-table-widget-example.png" width="800px" />
|
|
5179
5183
|
* @group Dashboards
|
|
5180
|
-
* @beta
|
|
5181
5184
|
*/
|
|
5182
5185
|
class PivotTableWidgetComponent {
|
|
5183
5186
|
constructor(sisenseContextService, themeService) {
|