pace-table-lib 1.0.44 → 1.0.45
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.
|
@@ -8160,8 +8160,8 @@ function formatValue(value, format, decimalValues = 2, displayUnit = DISPLAY_UNI
|
|
|
8160
8160
|
[VALUE_FORMAT_OBJ.CURRENCY_INR_SHORT]: { currency: "INR", locale: "en-IN" },
|
|
8161
8161
|
[VALUE_FORMAT_OBJ.CURRENCY_GBP]: { currency: "GBP", locale: "en-GB" },
|
|
8162
8162
|
[VALUE_FORMAT_OBJ.CURRENCY_GBP_SHORT]: { currency: "GBP", locale: "en-GB" },
|
|
8163
|
-
[VALUE_FORMAT_OBJ.CURRENCY_EUR]: { currency: "EUR", locale: "
|
|
8164
|
-
[VALUE_FORMAT_OBJ.CURRENCY_EUR_SHORT]: { currency: "EUR", locale: "
|
|
8163
|
+
[VALUE_FORMAT_OBJ.CURRENCY_EUR]: { currency: "EUR", locale: "en-US" },
|
|
8164
|
+
[VALUE_FORMAT_OBJ.CURRENCY_EUR_SHORT]: { currency: "EUR", locale: "en-US" },
|
|
8165
8165
|
[VALUE_FORMAT_OBJ.CURRENCY_CAD]: { currency: "CAD", locale: "en-CA" },
|
|
8166
8166
|
[VALUE_FORMAT_OBJ.CURRENCY_CAD_SHORT]: { currency: "CAD", locale: "en-CA" },
|
|
8167
8167
|
[VALUE_FORMAT_OBJ.CURRENCY_CHF]: { currency: "CHF", locale: "de-CH" },
|
|
@@ -17490,10 +17490,10 @@ function StaticTable({
|
|
|
17490
17490
|
fixedColCellW = sharedWidth;
|
|
17491
17491
|
}
|
|
17492
17492
|
return {
|
|
17493
|
-
colCellHeight: Number(colCellH),
|
|
17494
|
-
rowCellHeight: Number(rowCellH),
|
|
17495
|
-
newNonFixedColCellWidth: Number(nonFixColCellW),
|
|
17496
|
-
fixedColWidth: Number(fixedColCellW)
|
|
17493
|
+
colCellHeight: Number(Math.floor(colCellH)),
|
|
17494
|
+
rowCellHeight: Number(Math.floor(rowCellH)),
|
|
17495
|
+
newNonFixedColCellWidth: Number(Math.floor(nonFixColCellW)),
|
|
17496
|
+
fixedColWidth: Number(Math.floor(fixedColCellW))
|
|
17497
17497
|
};
|
|
17498
17498
|
}, [
|
|
17499
17499
|
isFitTableOn,
|
|
@@ -17516,7 +17516,7 @@ function StaticTable({
|
|
|
17516
17516
|
}
|
|
17517
17517
|
}, 0);
|
|
17518
17518
|
return () => clearTimeout(t);
|
|
17519
|
-
}, [tableWidth, tableHeight, tableData, isFitTableOn, Table2]);
|
|
17519
|
+
}, [tableWidth, tableHeight, tableData, isFitTableOn, Table2, measureFormatConfigs]);
|
|
17520
17520
|
const conditionalFormatsByType = useMemo(() => {
|
|
17521
17521
|
const map = { value: [], "row header": [], "column header": [] };
|
|
17522
17522
|
conditionalFormatArr?.forEach((format) => {
|