@cellaware/utils 8.1.8 → 8.1.10
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { cosmosDelete, cosmosInsert, cosmosSelect, cosmosUpdate, cosmosUpsert } from "../../azure/cosmos.js";
|
|
2
2
|
const DATABASE_ID = 'chatwms';
|
|
3
3
|
const PARTITION_KEY = '/clientId';
|
|
4
|
+
export const CHATWMS_DATABASE_ID = DATABASE_ID;
|
|
5
|
+
export const CLIENT_PARTITION_KEY = PARTITION_KEY;
|
|
4
6
|
export const PRODUCT_PARTITION_KEY = '/productId';
|
|
5
7
|
/**
|
|
6
8
|
* Default `partitionKey` is '/clientId'
|
package/dist/chatwms/datagrid.js
CHANGED
|
@@ -726,6 +726,8 @@ export function transformDatagrid(rows, datagridState, locale, condition) {
|
|
|
726
726
|
if (isPivotMode && pivotCols.length > 0 && valueCols.length > 0) {
|
|
727
727
|
const pivotOutput = pivotData(rows, rowGroupCols, pivotCols, valueCols);
|
|
728
728
|
rows = pivotOutput.rows;
|
|
729
|
+
console.log('PIVOT MODE');
|
|
730
|
+
console.log(rows);
|
|
729
731
|
rows = sortModel.length > 0 ? sortRows(rows, sortModel) : rows;
|
|
730
732
|
let mappedDisplayColumnNames = new Map();
|
|
731
733
|
// Should not need to do hidden/visible column analysis -- pivoting creates new results with only the necessary columns.
|
package/dist/chatwms/report.d.ts
CHANGED
package/dist/chatwms/report.js
CHANGED