@carto/meridian-ds 2.5.5-alpha-ellipsis.1 → 2.5.5-alpha-translations.1

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +3 -1
  2. package/dist/{Alert-wE4A0ify.js → Alert-CRVceJ9N.js} +20 -77
  3. package/dist/{Alert-CaashKPj.cjs → Alert-Dyw7Z9wJ.cjs} +22 -79
  4. package/dist/{MenuItem-BUe4eJZH.js → MenuItem-h41wtQTz.js} +1 -1
  5. package/dist/{MenuItem-BZWWJptW.cjs → MenuItem-o51jnNjL.cjs} +6 -6
  6. package/dist/{css-utils-W9dzgcXq.cjs → TablePaginationActions-CMC_ZxDN.cjs} +117 -61
  7. package/dist/{css-utils-CTJjJR0x.js → TablePaginationActions-DIFPc_wQ.js} +119 -63
  8. package/dist/components/index.cjs +163 -259
  9. package/dist/components/index.js +103 -199
  10. package/dist/theme/index.cjs +114 -108
  11. package/dist/theme/index.js +13 -7
  12. package/dist/types/components/AccordionGroup/AccordionGroup.d.ts +4 -1
  13. package/dist/types/components/AccordionGroup/AccordionGroup.d.ts.map +1 -1
  14. package/dist/types/components/AccordionGroup/AccordionGroup.stories.d.ts +39 -9
  15. package/dist/types/components/AccordionGroup/AccordionGroup.stories.d.ts.map +1 -1
  16. package/dist/types/components/AccordionGroup/AccordionGroup.test.d.ts +2 -0
  17. package/dist/types/components/AccordionGroup/AccordionGroup.test.d.ts.map +1 -0
  18. package/dist/types/components/AppBar/AppBar.d.ts +3 -1
  19. package/dist/types/components/AppBar/AppBar.d.ts.map +1 -1
  20. package/dist/types/components/AppBar/AppBar.stories.d.ts +2 -2
  21. package/dist/types/components/AppBar/AppBar.stories.d.ts.map +1 -1
  22. package/dist/types/components/AppBar/AppBar.test.d.ts +2 -0
  23. package/dist/types/components/AppBar/AppBar.test.d.ts.map +1 -0
  24. package/dist/types/components/Avatar/Avatar.d.ts +4 -1
  25. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
  26. package/dist/types/components/Avatar/Avatar.stories.d.ts +1 -2
  27. package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -1
  28. package/dist/types/components/Avatar/Avatar.test.d.ts +2 -0
  29. package/dist/types/components/Avatar/Avatar.test.d.ts.map +1 -0
  30. package/dist/types/components/Button/Button.d.ts +5 -0
  31. package/dist/types/components/Button/Button.d.ts.map +1 -1
  32. package/dist/types/components/Button/Button.stories.d.ts +3 -0
  33. package/dist/types/components/Button/Button.stories.d.ts.map +1 -1
  34. package/dist/types/components/Link/Link.d.ts +5 -0
  35. package/dist/types/components/Link/Link.d.ts.map +1 -1
  36. package/dist/types/components/Link/Link.stories.d.ts +9 -20
  37. package/dist/types/components/Link/Link.stories.d.ts.map +1 -1
  38. package/dist/types/components/TablePaginationActions/TablePaginationActions.d.ts +5 -2
  39. package/dist/types/components/TablePaginationActions/TablePaginationActions.d.ts.map +1 -1
  40. package/dist/types/components/TablePaginationActions/TablePaginationActions.stories.d.ts +72 -0
  41. package/dist/types/components/TablePaginationActions/TablePaginationActions.stories.d.ts.map +1 -0
  42. package/dist/types/components/TablePaginationActions/TablePaginationActions.test.d.ts +2 -0
  43. package/dist/types/components/TablePaginationActions/TablePaginationActions.test.d.ts.map +1 -0
  44. package/dist/types/components/Tag/Tag.d.ts +4 -176
  45. package/dist/types/components/Tag/Tag.d.ts.map +1 -1
  46. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -2
  47. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -1
  48. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +2 -2
  49. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts.map +1 -1
  50. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts +2 -0
  51. package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.test.d.ts.map +1 -0
  52. package/dist/types/components/TooltipData/TooltipData.d.ts.map +1 -1
  53. package/dist/types/components/TooltipData/TooltipData.stories.d.ts +34 -0
  54. package/dist/types/components/TooltipData/TooltipData.stories.d.ts.map +1 -0
  55. package/dist/types/components/TooltipData/TooltipData.test.d.ts +2 -0
  56. package/dist/types/components/TooltipData/TooltipData.test.d.ts.map +1 -0
  57. package/dist/types/components/index.d.ts +0 -2
  58. package/dist/types/components/index.d.ts.map +1 -1
  59. package/dist/types/theme/components/forms.d.ts.map +1 -1
  60. package/dist/types/theme/components/stories/Tooltip.stories.d.ts +0 -3
  61. package/dist/types/theme/components/stories/Tooltip.stories.d.ts.map +1 -1
  62. package/dist/types/utils/useTranslationFallback.d.ts +20 -0
  63. package/dist/types/utils/useTranslationFallback.d.ts.map +1 -0
  64. package/dist/types/utils/useTranslationFallback.test.d.ts +2 -0
  65. package/dist/types/utils/useTranslationFallback.test.d.ts.map +1 -0
  66. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts.map +1 -1
  67. package/dist/types/widgets/WrapperWidgetUI/WrapperWidgetUI.d.ts.map +1 -1
  68. package/dist/widgets/index.cjs +119 -114
  69. package/dist/widgets/index.js +9 -4
  70. package/package.json +1 -1
  71. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -117
  72. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts.map +0 -1
  73. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.stories.d.ts +0 -66
  74. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.stories.d.ts.map +0 -1
  75. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.test.d.ts +0 -2
  76. package/dist/types/components/EllipsisWithTooltip/EllipsisWithTooltip.test.d.ts.map +0 -1
  77. package/dist/types/components/EllipsisWithTooltip/index.d.ts +0 -3
  78. package/dist/types/components/EllipsisWithTooltip/index.d.ts.map +0 -1
  79. package/dist/types/utils/css-utils.d.ts +0 -14
  80. package/dist/types/utils/css-utils.d.ts.map +0 -1
@@ -4,11 +4,11 @@ const jsxRuntime = require("react/jsx-runtime");
4
4
  const React = require("react");
5
5
  const material = require("@mui/material");
6
6
  const reactIntl = require("react-intl");
7
- const cssUtils = require("../css-utils-W9dzgcXq.cjs");
7
+ const TablePaginationActions = require("../TablePaginationActions-CMC_ZxDN.cjs");
8
8
  const _ReactEcharts = require("echarts-for-react");
9
9
  const reactWindow = require("react-window");
10
10
  const SwatchSquare = require("../SwatchSquare-B8PIY3Rd.cjs");
11
- const Alert = require("../Alert-CaashKPj.cjs");
11
+ const Alert = require("../Alert-Dyw7Z9wJ.cjs");
12
12
  const iconsMaterial = require("@mui/icons-material");
13
13
  const paletteUtils = require("../palette-utils-B9ybmwiI.cjs");
14
14
  function detectTouchscreen() {
@@ -157,7 +157,7 @@ var fastDeepEqual = function equal(a, b) {
157
157
  }
158
158
  return a !== a && b !== b;
159
159
  };
160
- const isEqual = /* @__PURE__ */ cssUtils.getDefaultExportFromCjs(fastDeepEqual);
160
+ const isEqual = /* @__PURE__ */ TablePaginationActions.getDefaultExportFromCjs(fastDeepEqual);
161
161
  class ReactEcharts extends _ReactEcharts {
162
162
  componentDidUpdate(prevProps) {
163
163
  const { shouldSetOption } = this.props;
@@ -328,7 +328,7 @@ function BarWidgetUI(props) {
328
328
  const isMultiSeries = series.length > 1;
329
329
  const theme = material.useTheme();
330
330
  const intl = reactIntl.useIntl();
331
- const intlConfig = cssUtils.useImperativeIntl(intl);
331
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
332
332
  const { showSkeleton } = useSkeleton(!!isLoading);
333
333
  const tooltipOptions = React.useMemo(
334
334
  () => ({
@@ -550,7 +550,7 @@ function BarWidgetUI(props) {
550
550
  }
551
551
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
552
552
  onSelectedBarsChange && /* @__PURE__ */ jsxRuntime.jsxs(OptionsSelectedBar$2, { container: true, children: [
553
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", children: selectedBars.length > 0 ? intlConfig.formatMessage(
553
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", children: selectedBars.length > 0 ? intlConfig.formatMessage(
554
554
  { id: "c4r.widgets.bar.selectedItems" },
555
555
  { items: selectedBars.length }
556
556
  ) : intlConfig.formatMessage({ id: "c4r.widgets.bar.all" }) }),
@@ -666,7 +666,7 @@ const CategoryLabelWrapper = material.styled(material.Grid, {
666
666
  }
667
667
  };
668
668
  });
669
- const CategoryLabel = material.styled(cssUtils.Typography)(({ theme }) => ({
669
+ const CategoryLabel = material.styled(TablePaginationActions.Typography)(({ theme }) => ({
670
670
  fontWeight: theme.typography.fontWeightBold,
671
671
  marginRight: theme.spacing(2)
672
672
  }));
@@ -819,7 +819,7 @@ function CategoryWidgetUI({
819
819
  const referencedPrevAnimValues = React.useRef([]);
820
820
  const { showSkeleton } = useSkeleton(!!isLoading);
821
821
  const intl = reactIntl.useIntl();
822
- const intlConfig = cssUtils.useImperativeIntl(intl);
822
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
823
823
  function sortBlockedSameAsData(blockedCategories2) {
824
824
  const blockedCategoriesSet = new Set(blockedCategories2);
825
825
  let sortedByOrderData = data;
@@ -1167,7 +1167,7 @@ function CategoryWidgetUI({
1167
1167
  };
1168
1168
  return /* @__PURE__ */ jsxRuntime.jsxs(CategoriesRoot, { children: [
1169
1169
  filterable && sortedData.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(OptionsSelectedBar$1, { container: true, children: [
1170
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", children: selectedCategories.length > 0 ? intlConfig.formatMessage(
1170
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", children: selectedCategories.length > 0 ? intlConfig.formatMessage(
1171
1171
  { id: "c4r.widgets.category.selectedItems" },
1172
1172
  { items: selectedCategories.length }
1173
1173
  ) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
@@ -1249,10 +1249,10 @@ function CategoryWidgetUI({
1249
1249
  children: CategoryRow
1250
1250
  }
1251
1251
  ) : /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { children: [
1252
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "body2", children: intlConfig.formatMessage({
1252
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "body2", children: intlConfig.formatMessage({
1253
1253
  id: "c4r.widgets.category.noResults"
1254
1254
  }) }),
1255
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { component: "p", variant: "caption", mb: 2, children: intlConfig.formatMessage(
1255
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { component: "p", variant: "caption", mb: 2, children: intlConfig.formatMessage(
1256
1256
  { id: "c4r.widgets.category.noResultsMessage" },
1257
1257
  { searchValue }
1258
1258
  ) })
@@ -1339,12 +1339,12 @@ function FormulaWidgetUI({
1339
1339
  if (showSkeleton) {
1340
1340
  return /* @__PURE__ */ jsxRuntime.jsx(FormulaSkeleton, {});
1341
1341
  }
1342
- return isComplexFormat ? /* @__PURE__ */ jsxRuntime.jsxs(cssUtils.Typography, { variant: "h5", component: "div", weight: "medium", children: [
1342
+ return isComplexFormat ? /* @__PURE__ */ jsxRuntime.jsxs(TablePaginationActions.Typography, { variant: "h5", component: "div", weight: "medium", children: [
1343
1343
  /* @__PURE__ */ jsxRuntime.jsx(Prefix, { children: formattedValue.prefix }),
1344
1344
  formattedValue.value,
1345
1345
  /* @__PURE__ */ jsxRuntime.jsx(Suffix, { children: formattedValue.suffix })
1346
1346
  ] }) : /* @__PURE__ */ jsxRuntime.jsx(
1347
- cssUtils.Typography,
1347
+ TablePaginationActions.Typography,
1348
1348
  {
1349
1349
  variant: "h5",
1350
1350
  component: "div",
@@ -1543,7 +1543,7 @@ function HistogramWidgetUI({
1543
1543
  }) {
1544
1544
  const intl = reactIntl.useIntl();
1545
1545
  const theme = material.useTheme();
1546
- const intlConfig = cssUtils.useImperativeIntl(intl);
1546
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
1547
1547
  const { showSkeleton } = useSkeleton(!!isLoading);
1548
1548
  const filterable = !!_filterable && !!onSelectedBarsChange;
1549
1549
  const [echartsInstance, setEchartInstance] = React.useState();
@@ -1563,7 +1563,7 @@ function HistogramWidgetUI({
1563
1563
  () => ({
1564
1564
  show: tooltip,
1565
1565
  trigger: "item",
1566
- padding: [cssUtils.SPACING * 0.5, cssUtils.SPACING],
1566
+ padding: [TablePaginationActions.SPACING * 0.5, TablePaginationActions.SPACING],
1567
1567
  borderWidth: 0,
1568
1568
  textStyle: {
1569
1569
  ...theme.typography.caption,
@@ -1601,7 +1601,7 @@ function HistogramWidgetUI({
1601
1601
  showMaxLabel: true,
1602
1602
  ...theme.typography.overlineDelicate,
1603
1603
  hideOverlap: true,
1604
- padding: [cssUtils.SPACING * 0.5, cssUtils.SPACING * 0.5, 0, cssUtils.SPACING * 0.5],
1604
+ padding: [TablePaginationActions.SPACING * 0.5, TablePaginationActions.SPACING * 0.5, 0, TablePaginationActions.SPACING * 0.5],
1605
1605
  formatter: (value) => {
1606
1606
  const formattedValue = processFormatterResult(xAxisFormatter(value));
1607
1607
  if (value === min) {
@@ -1621,7 +1621,7 @@ function HistogramWidgetUI({
1621
1621
  const denseAxisConfig = {
1622
1622
  margin: 0,
1623
1623
  verticalAlign: "bottom",
1624
- padding: [0, 0, cssUtils.SPACING * 1.25, 0],
1624
+ padding: [0, 0, TablePaginationActions.SPACING * 1.25, 0],
1625
1625
  inside: true,
1626
1626
  color: (value) => {
1627
1627
  const maxValue = Math.max(...data.map((d) => d ?? Number.MIN_SAFE_INTEGER)) || 1;
@@ -1636,7 +1636,7 @@ function HistogramWidgetUI({
1636
1636
  };
1637
1637
  const fullAxisConfig = {
1638
1638
  verticalAlign: "middle",
1639
- padding: [0, 0, 0, cssUtils.SPACING * 0.5],
1639
+ padding: [0, 0, 0, TablePaginationActions.SPACING * 0.5],
1640
1640
  color: theme.palette.black[60]
1641
1641
  };
1642
1642
  const axisLabelConfig = yAxisType === "dense" ? denseAxisConfig : fullAxisConfig;
@@ -1731,10 +1731,10 @@ function HistogramWidgetUI({
1731
1731
  const options = React.useMemo(
1732
1732
  () => ({
1733
1733
  grid: {
1734
- left: cssUtils.SPACING * 0.1,
1735
- right: cssUtils.SPACING * 0.1,
1736
- top: cssUtils.SPACING * 2,
1737
- bottom: cssUtils.SPACING * 0.5,
1734
+ left: TablePaginationActions.SPACING * 0.1,
1735
+ right: TablePaginationActions.SPACING * 0.1,
1736
+ top: TablePaginationActions.SPACING * 2,
1737
+ bottom: TablePaginationActions.SPACING * 0.5,
1738
1738
  containLabel: true
1739
1739
  },
1740
1740
  tooltip: tooltipOptions,
@@ -1758,7 +1758,7 @@ function HistogramWidgetUI({
1758
1758
  }
1759
1759
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1760
1760
  filterable && /* @__PURE__ */ jsxRuntime.jsxs(OptionsSelectedBar, { container: true, children: [
1761
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", weight: "strong", children: selectedBars.length > 0 ? intlConfig.formatMessage(
1761
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", weight: "strong", children: selectedBars.length > 0 ? intlConfig.formatMessage(
1762
1762
  { id: "c4r.widgets.histogram.selectedItems" },
1763
1763
  {
1764
1764
  items: processFormatterResult(
@@ -1811,7 +1811,7 @@ function AlertBody({
1811
1811
  children
1812
1812
  }) {
1813
1813
  return children ? /* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 0.5, children: /* @__PURE__ */ jsxRuntime.jsx(
1814
- cssUtils.Typography,
1814
+ TablePaginationActions.Typography,
1815
1815
  {
1816
1816
  component: "div",
1817
1817
  variant: "caption",
@@ -1828,7 +1828,7 @@ function NoDataAlert({
1828
1828
  ...otherProps
1829
1829
  }) {
1830
1830
  return severity ? /* @__PURE__ */ jsxRuntime.jsx(Alert.Alert, { title, severity, ...otherProps, children: /* @__PURE__ */ jsxRuntime.jsx(AlertBody, { children: body }) }) : /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { ...otherProps, children: [
1831
- title && /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "body2", children: title }),
1831
+ title && /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "body2", children: title }),
1832
1832
  /* @__PURE__ */ jsxRuntime.jsx(AlertBody, { color: "textSecondary", children: body })
1833
1833
  ] });
1834
1834
  }
@@ -1949,10 +1949,10 @@ function PieCentralText({
1949
1949
  return null;
1950
1950
  }
1951
1951
  return /* @__PURE__ */ jsxRuntime.jsxs(Root$4, { children: [
1952
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "h5", children: percentage }),
1952
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "h5", children: percentage }),
1953
1953
  /* @__PURE__ */ jsxRuntime.jsxs(Category, { children: [
1954
1954
  /* @__PURE__ */ jsxRuntime.jsx(MarkerColor, { bgcolor: color, component: "span" }),
1955
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { component: "span", variant: "body2", noWrap: true, children: name })
1955
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { component: "span", variant: "body2", noWrap: true, children: name })
1956
1956
  ] })
1957
1957
  ] });
1958
1958
  }
@@ -2110,7 +2110,7 @@ function ChartLegend({
2110
2110
  series = [{ name: "", color: theme.palette.text.disabled }];
2111
2111
  }
2112
2112
  const intl = reactIntl.useIntl();
2113
- const intlConfig = cssUtils.useImperativeIntl(intl);
2113
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
2114
2114
  function handleClickRight() {
2115
2115
  setOffset(offset + 1);
2116
2116
  }
@@ -2183,7 +2183,7 @@ function ChartLegend({
2183
2183
  }
2184
2184
  ),
2185
2185
  /* @__PURE__ */ jsxRuntime.jsx(
2186
- cssUtils.Typography,
2186
+ TablePaginationActions.Typography,
2187
2187
  {
2188
2188
  variant: "overline",
2189
2189
  color: selected ? void 0 : "text.disabled",
@@ -2200,7 +2200,7 @@ function ChartLegend({
2200
2200
  (overflowing || offset > 0) && /* @__PURE__ */ jsxRuntime.jsxs(ShowMoreButtons, { ref: showMoreButtonsRef, children: [
2201
2201
  /* @__PURE__ */ jsxRuntime.jsx(OverflowVeil, {}),
2202
2202
  /* @__PURE__ */ jsxRuntime.jsx(
2203
- Alert.IconButton,
2203
+ TablePaginationActions.IconButton,
2204
2204
  {
2205
2205
  icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronLeft, {}),
2206
2206
  component: "span",
@@ -2213,7 +2213,7 @@ function ChartLegend({
2213
2213
  }
2214
2214
  ),
2215
2215
  /* @__PURE__ */ jsxRuntime.jsx(
2216
- Alert.IconButton,
2216
+ TablePaginationActions.IconButton,
2217
2217
  {
2218
2218
  icon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.ChevronRight, {}),
2219
2219
  component: "span",
@@ -2288,7 +2288,7 @@ function PieWidgetUI({
2288
2288
  );
2289
2289
  const { showSkeleton } = useSkeleton(!!isLoading);
2290
2290
  const intl = reactIntl.useIntl();
2291
- const intlConfig = cssUtils.useImperativeIntl(intl);
2291
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
2292
2292
  const _percentFormatter = React.useMemo(() => {
2293
2293
  if (percentFormatter) {
2294
2294
  return percentFormatter;
@@ -2304,7 +2304,7 @@ function PieWidgetUI({
2304
2304
  _formatter = (params) => tooltipFormatter(params, formatter, _percentFormatter);
2305
2305
  }
2306
2306
  return {
2307
- padding: [cssUtils.SPACING * 0.5, cssUtils.SPACING],
2307
+ padding: [TablePaginationActions.SPACING * 0.5, TablePaginationActions.SPACING],
2308
2308
  backgroundColor: theme.palette.black[90],
2309
2309
  borderColor: "transparent",
2310
2310
  textStyle: { color: theme.palette.common.white },
@@ -2344,7 +2344,7 @@ function PieWidgetUI({
2344
2344
  }),
2345
2345
  radius: ["74%", "90%"],
2346
2346
  selectedOffset: 0,
2347
- bottom: cssUtils.SPACING * 1.5,
2347
+ bottom: TablePaginationActions.SPACING * 1.5,
2348
2348
  label: { show: false },
2349
2349
  emphasis: {
2350
2350
  focus: "series",
@@ -2424,7 +2424,7 @@ function PieWidgetUI({
2424
2424
  }
2425
2425
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2426
2426
  filterable && /* @__PURE__ */ jsxRuntime.jsxs(OptionsBar, { container: true, children: [
2427
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", color: "textSecondary", children: selectedCategories.length ? intlConfig.formatMessage(
2427
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", color: "textSecondary", children: selectedCategories.length ? intlConfig.formatMessage(
2428
2428
  { id: "c4r.widgets.pie.selectedItems" },
2429
2429
  { items: selectedCategories.length }
2430
2430
  ) : intlConfig.formatMessage({ id: "c4r.widgets.pie.allSelected" }) }),
@@ -2585,7 +2585,7 @@ function RangeWidgetUI({
2585
2585
  max
2586
2586
  ]);
2587
2587
  const intl = reactIntl.useIntl();
2588
- const intlConfig = cssUtils.useImperativeIntl(intl);
2588
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
2589
2589
  const { showSkeleton } = useSkeleton(!!isLoading);
2590
2590
  const limitsMarks = React.useMemo(() => {
2591
2591
  if (!limits || limits.length !== 2) {
@@ -2657,7 +2657,7 @@ function RangeWidgetUI({
2657
2657
  return /* @__PURE__ */ jsxRuntime.jsx(RangeSkeleton, {});
2658
2658
  }
2659
2659
  return /* @__PURE__ */ jsxRuntime.jsxs(Root$2, { children: [
2660
- /* @__PURE__ */ jsxRuntime.jsx(ClearWrapper, { children: hasBeenModified && /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", color: "primary", children: /* @__PURE__ */ jsxRuntime.jsx(
2660
+ /* @__PURE__ */ jsxRuntime.jsx(ClearWrapper, { children: hasBeenModified && /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", color: "primary", children: /* @__PURE__ */ jsxRuntime.jsx(
2661
2661
  ClearButton,
2662
2662
  {
2663
2663
  onClick: resetSlider,
@@ -2734,7 +2734,7 @@ const GraphGrid = material.styled(SkeletonGraphGrid)(({ theme }) => ({
2734
2734
  justifyContent: "center",
2735
2735
  marginLeft: theme.spacing(4),
2736
2736
  containerType: "inline-size",
2737
- [`@container (max-width: ${cssUtils.BREAKPOINTS.XS}px)`]: {
2737
+ [`@container (max-width: ${TablePaginationActions.BREAKPOINTS.XS}px)`]: {
2738
2738
  " > div": {
2739
2739
  maxWidth: "75%"
2740
2740
  }
@@ -2795,7 +2795,7 @@ function __generateDefaultConfig({
2795
2795
  containLabel: true
2796
2796
  },
2797
2797
  tooltip: {
2798
- padding: [cssUtils.SPACING * 0.5, cssUtils.SPACING],
2798
+ padding: [TablePaginationActions.SPACING * 0.5, TablePaginationActions.SPACING],
2799
2799
  textStyle: {
2800
2800
  ...theme.typography.caption,
2801
2801
  fontSize: 11,
@@ -2808,7 +2808,7 @@ function __generateDefaultConfig({
2808
2808
  xAxis: {
2809
2809
  axisLabel: {
2810
2810
  ...theme.typography.overlineDelicate,
2811
- padding: [cssUtils.SPACING * 0.5, 0, 0, 0],
2811
+ padding: [TablePaginationActions.SPACING * 0.5, 0, 0, 0],
2812
2812
  formatter: (v) => processFormatterResult(xAxisFormatter(v))
2813
2813
  }
2814
2814
  },
@@ -2969,7 +2969,9 @@ const TableCellStyled = material.styled(material.TableCell)(() => ({
2969
2969
  overflow: "hidden",
2970
2970
  "& p": {
2971
2971
  maxWidth: "100%",
2972
- ...cssUtils.ellipsisStyles
2972
+ whiteSpace: "nowrap",
2973
+ overflow: "hidden",
2974
+ textOverflow: "ellipsis"
2973
2975
  }
2974
2976
  }));
2975
2977
  const StyledTablePagination = material.styled(material.TablePagination)(({ theme }) => ({
@@ -3007,7 +3009,7 @@ function TableWidgetUI({
3007
3009
  var _a;
3008
3010
  const paginationRef = React.useRef(null);
3009
3011
  const intl = reactIntl.useIntl();
3010
- const intlConfig = cssUtils.useImperativeIntl(intl);
3012
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
3011
3013
  const { showSkeleton } = useSkeleton(!!isLoading);
3012
3014
  function defaultLabelDisplayedRows({
3013
3015
  from,
@@ -3035,7 +3037,7 @@ function TableWidgetUI({
3035
3037
  if (height) {
3036
3038
  const paginationHeight = Math.max(
3037
3039
  ((_a = paginationRef == null ? void 0 : paginationRef.current) == null ? void 0 : _a.clientHeight) ?? 0,
3038
- pagination ? cssUtils.SPACING * 6 : 0
3040
+ pagination ? TablePaginationActions.SPACING * 6 : 0
3039
3041
  );
3040
3042
  fixedHeightStyle.height = `calc(${height} - ${paginationHeight}px)`;
3041
3043
  }
@@ -3089,7 +3091,7 @@ function TableWidgetUI({
3089
3091
  onPageChange: handleChangePage,
3090
3092
  onRowsPerPageChange: handleChangeRowsPerPage,
3091
3093
  ActionsComponent: () => /* @__PURE__ */ jsxRuntime.jsx(
3092
- cssUtils.TablePaginationActions,
3094
+ TablePaginationActions.TablePaginationActions,
3093
3095
  {
3094
3096
  count: totalCount,
3095
3097
  rowsPerPage,
@@ -3571,7 +3573,7 @@ function TimeSeriesProvider({
3571
3573
  const [_isPlaying, setIsPlaying] = React.useState(isPlaying);
3572
3574
  const [_isPaused, setIsPaused] = React.useState(isPaused);
3573
3575
  const [_timeWindow, setTimeWindow] = React.useState([]);
3574
- const intlConfig = cssUtils.useImperativeIntl(intl);
3576
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
3575
3577
  React.useEffect(() => {
3576
3578
  const sorted = _timeWindow.sort((timeA, timeB) => timeA < timeB ? -1 : 1).map(getDate);
3577
3579
  onTimeWindowUpdate == null ? void 0 : onTimeWindowUpdate(sorted);
@@ -3872,11 +3874,11 @@ function addEventWithCleanUp(zr, eventKey, event) {
3872
3874
  };
3873
3875
  }
3874
3876
  }
3875
- const CHART_HEIGHT_DEFAULT = cssUtils.SPACING * 22;
3877
+ const CHART_HEIGHT_DEFAULT = TablePaginationActions.SPACING * 22;
3876
3878
  const CHART_HEIGHT_FITHEIGHT = "100%";
3877
3879
  const DEFAULT_SPLIT_NUMBER = 5;
3878
3880
  const MIN_ADAPTIVE_SPLIT_NUMBER = 3;
3879
- const ADAPTIVE_SPLIT_NUMBER_SPACING = cssUtils.SPACING * 20;
3881
+ const ADAPTIVE_SPLIT_NUMBER_SPACING = TablePaginationActions.SPACING * 20;
3880
3882
  function TimeSeriesChart({
3881
3883
  chartType,
3882
3884
  formatter,
@@ -3913,7 +3915,7 @@ function TimeSeriesChart({
3913
3915
  show: tooltip,
3914
3916
  trigger: "axis",
3915
3917
  appendToBody: true,
3916
- padding: [cssUtils.SPACING * 0.5, cssUtils.SPACING],
3918
+ padding: [TablePaginationActions.SPACING * 0.5, TablePaginationActions.SPACING],
3917
3919
  textStyle: {
3918
3920
  ...theme.typography.caption,
3919
3921
  fontSize: 11,
@@ -3924,9 +3926,9 @@ function TimeSeriesChart({
3924
3926
  position: (point, params, dom, rect, size) => {
3925
3927
  const position = { top: 0 };
3926
3928
  if (size.contentSize[0] < size.viewSize[0] - point[0]) {
3927
- position.left = point[0] + cssUtils.SPACING * 1.5;
3929
+ position.left = point[0] + TablePaginationActions.SPACING * 1.5;
3928
3930
  } else {
3929
- position.right = size.viewSize[0] - point[0] + cssUtils.SPACING * 1.5;
3931
+ position.right = size.viewSize[0] - point[0] + TablePaginationActions.SPACING * 1.5;
3930
3932
  }
3931
3933
  return position;
3932
3934
  },
@@ -3938,7 +3940,7 @@ function TimeSeriesChart({
3938
3940
  const denseAxisConfig = {
3939
3941
  margin: 0,
3940
3942
  verticalAlign: "bottom",
3941
- padding: [0, 0, cssUtils.SPACING * 1.25, 0],
3943
+ padding: [0, 0, TablePaginationActions.SPACING * 1.25, 0],
3942
3944
  inside: true,
3943
3945
  color: (value) => {
3944
3946
  let col = "transparent";
@@ -3951,7 +3953,7 @@ function TimeSeriesChart({
3951
3953
  const fullAxisConfig = {
3952
3954
  margin: 0,
3953
3955
  verticalAlign: "middle",
3954
- padding: [0, cssUtils.SPACING * 0.75, 0, 0],
3956
+ padding: [0, TablePaginationActions.SPACING * 0.75, 0, 0],
3955
3957
  color: theme.palette.black[60]
3956
3958
  };
3957
3959
  const yAxisLabelConfig = yAxisType === "dense" ? denseAxisConfig : fullAxisConfig;
@@ -4079,10 +4081,10 @@ function TimeSeriesChart({
4079
4081
  const options = React.useMemo(
4080
4082
  () => ({
4081
4083
  grid: {
4082
- left: cssUtils.SPACING * (yAxisType === "dense" ? 2 : 3.5),
4083
- top: cssUtils.SPACING * 4,
4084
- right: cssUtils.SPACING * 2,
4085
- bottom: cssUtils.SPACING * 3
4084
+ left: TablePaginationActions.SPACING * (yAxisType === "dense" ? 2 : 3.5),
4085
+ top: TablePaginationActions.SPACING * 4,
4086
+ right: TablePaginationActions.SPACING * 2,
4087
+ bottom: TablePaginationActions.SPACING * 3
4086
4088
  },
4087
4089
  color: [theme.palette.secondary.main],
4088
4090
  tooltip: tooltipOptions,
@@ -4268,7 +4270,7 @@ function TimeSeriesControls({
4268
4270
  open: Boolean(anchorSpeedEl),
4269
4271
  onClose: handleCloseSpeedMenu,
4270
4272
  children: [
4271
- /* @__PURE__ */ jsxRuntime.jsx(material.MenuItem, { disabled: true, children: /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", color: "textSecondary", children: intl.formatMessage({ id: "c4r.widgets.timeSeries.speed" }) }) }),
4273
+ /* @__PURE__ */ jsxRuntime.jsx(material.MenuItem, { disabled: true, children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", color: "textSecondary", children: intl.formatMessage({ id: "c4r.widgets.timeSeries.speed" }) }) }),
4272
4274
  SPEED_FACTORS.map((speedItem) => /* @__PURE__ */ jsxRuntime.jsxs(
4273
4275
  material.MenuItem,
4274
4276
  {
@@ -4441,7 +4443,7 @@ const ControlsBox = material.styled(material.Box)(({ theme }) => ({
4441
4443
  flexShrink: 0,
4442
4444
  marginLeft: 0,
4443
4445
  paddingLeft: theme.spacing(1),
4444
- [`@container (max-width: ${cssUtils.BREAKPOINTS.XS}px)`]: {
4446
+ [`@container (max-width: ${TablePaginationActions.BREAKPOINTS.XS}px)`]: {
4445
4447
  paddingLeft: 0
4446
4448
  },
4447
4449
  paddingBottom: theme.spacing(1.5),
@@ -4452,7 +4454,7 @@ const ChartBox = material.styled(material.Box)(({ theme }) => ({
4452
4454
  minWidth: 0,
4453
4455
  paddingLeft: theme.spacing(5),
4454
4456
  paddingBottom: theme.spacing(1.5),
4455
- [`@container (max-width: ${cssUtils.BREAKPOINTS.XS}px)`]: {
4457
+ [`@container (max-width: ${TablePaginationActions.BREAKPOINTS.XS}px)`]: {
4456
4458
  paddingLeft: theme.spacing(1)
4457
4459
  }
4458
4460
  }));
@@ -4790,7 +4792,7 @@ function TimeSeriesWidgetUIContent({
4790
4792
  );
4791
4793
  const isLegendVisible = Boolean(showLegend ?? series.length > 1);
4792
4794
  const header = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
4793
- /* @__PURE__ */ jsxRuntime.jsx(material.Box, { children: /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { color: "textSecondary", variant: "caption", children: currentDate || "-" }) }),
4795
+ /* @__PURE__ */ jsxRuntime.jsx(material.Box, { children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { color: "textSecondary", variant: "caption", children: currentDate || "-" }) }),
4794
4796
  filterable && showClearButton && /* @__PURE__ */ jsxRuntime.jsx(
4795
4797
  material.Link,
4796
4798
  {
@@ -4917,7 +4919,10 @@ const Text = material.styled(material.Typography, {
4917
4919
  WebkitLineClamp: 2,
4918
4920
  WebkitBoxOrient: "vertical"
4919
4921
  },
4920
- ...!expanded && cssUtils.ellipsisStyles
4922
+ ...!expanded && {
4923
+ whiteSpace: "nowrap",
4924
+ textOverflow: "ellipsis"
4925
+ }
4921
4926
  }));
4922
4927
  const HeaderItems = material.styled(material.Grid)(({ theme }) => ({
4923
4928
  display: "flex",
@@ -5388,7 +5393,7 @@ function ComparativeCategoryWidgetUI({
5388
5393
  const [tempSelection, setTempSelection] = React.useState(selectedCategories);
5389
5394
  const [searchValue, setSearchValue] = React.useState("");
5390
5395
  const intl = reactIntl.useIntl();
5391
- const intlConfig = cssUtils.useImperativeIntl(intl);
5396
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
5392
5397
  const processedData = React.useMemo(() => {
5393
5398
  const _colors = colors.length ? colors : [
5394
5399
  theme.palette.secondary.main,
@@ -5505,11 +5510,11 @@ function ComparativeCategoryWidgetUI({
5505
5510
  const clickHandler = filterable ? searchActive ? selectTempCategory : selectCategory : void 0;
5506
5511
  return /* @__PURE__ */ jsxRuntime.jsxs(Wrapper, { children: [
5507
5512
  filterable ? /* @__PURE__ */ jsxRuntime.jsxs(Toolbar, { center: true, children: [
5508
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", children: selectedCategories.length > 0 ? intlConfig.formatMessage(
5513
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", children: selectedCategories.length > 0 ? intlConfig.formatMessage(
5509
5514
  { id: "c4r.widgets.category.selectedItems" },
5510
5515
  { items: selectedCategories.length }
5511
5516
  ) : intlConfig.formatMessage({ id: "c4r.widgets.category.all" }) }),
5512
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
5517
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "div", children: searchActive ? /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: applyTempSelection, children: intlConfig.formatMessage({ id: "c4r.widgets.category.apply" }) }) : blockingActive ? /* @__PURE__ */ jsxRuntime.jsx(Alert.Link, { onClick: disableBlocking, children: intlConfig.formatMessage({
5513
5518
  id: "c4r.widgets.category.unlock"
5514
5519
  }) }) : selectedCategories.length ? /* @__PURE__ */ jsxRuntime.jsxs(
5515
5520
  material.Box,
@@ -5547,10 +5552,10 @@ function ComparativeCategoryWidgetUI({
5547
5552
  ) }) : null,
5548
5553
  /* @__PURE__ */ jsxRuntime.jsxs(CategoriesList, { children: [
5549
5554
  list.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5550
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "body2", children: intlConfig.formatMessage({
5555
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "body2", children: intlConfig.formatMessage({
5551
5556
  id: "c4r.widgets.category.noResults"
5552
5557
  }) }),
5553
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", children: intlConfig.formatMessage(
5558
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", children: intlConfig.formatMessage(
5554
5559
  { id: "c4r.widgets.category.noResultsMessage" },
5555
5560
  { searchValue }
5556
5561
  ) })
@@ -5588,11 +5593,11 @@ function ComparativeCategoryWidgetUI({
5588
5593
  searchActive ? /* @__PURE__ */ jsxRuntime.jsx(material.Button, { size: "small", color: "primary", onClick: disableSearchMode, children: intlConfig.formatMessage({ id: "c4r.widgets.category.cancel" }) }) : null,
5589
5594
  /* @__PURE__ */ jsxRuntime.jsx(BulletListWrapper, { children: names.map((name, i) => /* @__PURE__ */ jsxRuntime.jsxs(BulletWrapper, { children: [
5590
5595
  /* @__PURE__ */ jsxRuntime.jsx(Bullet, { color: (colors == null ? void 0 : colors[i]) ?? theme.palette.background.default }),
5591
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "overline", children: name })
5596
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "overline", children: name })
5592
5597
  ] }, names[i])) })
5593
5598
  ] });
5594
5599
  }
5595
- const Note = material.styled(cssUtils.Typography)(({ theme }) => ({
5600
+ const Note = material.styled(TablePaginationActions.Typography)(({ theme }) => ({
5596
5601
  display: "inline-block",
5597
5602
  marginTop: theme.spacing(0.5)
5598
5603
  }));
@@ -5609,10 +5614,10 @@ const MainLine = material.styled("div")(({ theme }) => ({
5609
5614
  color: theme.palette.text.primary,
5610
5615
  display: "flex"
5611
5616
  }));
5612
- const Preffix = material.styled(cssUtils.Typography)(({ theme }) => ({
5617
+ const Preffix = material.styled(TablePaginationActions.Typography)(({ theme }) => ({
5613
5618
  marginRight: theme.spacing(0.5)
5614
5619
  }));
5615
- const Unit = material.styled(cssUtils.Typography)(({ theme }) => ({
5620
+ const Unit = material.styled(TablePaginationActions.Typography)(({ theme }) => ({
5616
5621
  marginLeft: theme.spacing(0.5)
5617
5622
  }));
5618
5623
  function FormulaValue({
@@ -5760,19 +5765,19 @@ function ComparativePieWidgetUI({
5760
5765
  data: legendData,
5761
5766
  selectedMode: false,
5762
5767
  type: "scroll",
5763
- left: cssUtils.SPACING,
5764
- bottom: cssUtils.SPACING * -0.5,
5765
- itemGap: cssUtils.SPACING * 3,
5768
+ left: TablePaginationActions.SPACING,
5769
+ bottom: TablePaginationActions.SPACING * -0.5,
5770
+ itemGap: TablePaginationActions.SPACING * 3,
5766
5771
  icon: "circle",
5767
- itemWidth: cssUtils.SPACING,
5768
- itemHeight: cssUtils.SPACING,
5772
+ itemWidth: TablePaginationActions.SPACING,
5773
+ itemHeight: TablePaginationActions.SPACING,
5769
5774
  textStyle: {
5770
5775
  ...theme.typography.overline,
5771
5776
  color: theme.palette.text.primary,
5772
5777
  fontWeight: 400,
5773
5778
  lineHeight: 1,
5774
5779
  verticalAlign: "bottom",
5775
- padding: [0, 0, 0, cssUtils.SPACING * 0.5]
5780
+ padding: [0, 0, 0, TablePaginationActions.SPACING * 0.5]
5776
5781
  },
5777
5782
  inactiveColor: theme.palette.text.disabled,
5778
5783
  pageIcons: {
@@ -5781,13 +5786,13 @@ function ComparativePieWidgetUI({
5781
5786
  "path://M9 16.59 13.3265857 12 9 7.41 10.3319838 6 16 12 10.3319838 18z"
5782
5787
  ]
5783
5788
  },
5784
- pageIconSize: cssUtils.SPACING * 1.5,
5789
+ pageIconSize: TablePaginationActions.SPACING * 1.5,
5785
5790
  pageIconColor: theme.palette.text.secondary,
5786
5791
  pageIconInactiveColor: theme.palette.text.disabled,
5787
5792
  pageTextStyle: {
5788
5793
  fontFamily: theme.typography.overline.fontFamily,
5789
- fontSize: cssUtils.SPACING * 1.5,
5790
- lineHeight: cssUtils.SPACING * 1.75,
5794
+ fontSize: TablePaginationActions.SPACING * 1.5,
5795
+ lineHeight: TablePaginationActions.SPACING * 1.75,
5791
5796
  fontWeight: 400,
5792
5797
  color: theme.palette.text.primary
5793
5798
  }
@@ -5799,15 +5804,15 @@ function ComparativePieWidgetUI({
5799
5804
  rich: {
5800
5805
  b: {
5801
5806
  fontFamily: theme.typography.overline.fontFamily,
5802
- fontSize: cssUtils.SPACING * 1.75,
5803
- lineHeight: cssUtils.SPACING * 1.75,
5807
+ fontSize: TablePaginationActions.SPACING * 1.75,
5808
+ lineHeight: TablePaginationActions.SPACING * 1.75,
5804
5809
  fontWeight: 400,
5805
5810
  color: theme.palette.text.primary
5806
5811
  },
5807
5812
  per: {
5808
5813
  ...theme.typography.overline,
5809
- fontSize: cssUtils.SPACING * 3,
5810
- lineHeight: cssUtils.SPACING * 4.5,
5814
+ fontSize: TablePaginationActions.SPACING * 3,
5815
+ lineHeight: TablePaginationActions.SPACING * 4.5,
5811
5816
  fontWeight: 600,
5812
5817
  color: theme.palette.text.primary
5813
5818
  }
@@ -5826,7 +5831,7 @@ function ComparativePieWidgetUI({
5826
5831
  radius: i === 0 ? ["75%", "90%"] : ["56%", "72%"],
5827
5832
  selectedOffset: 0,
5828
5833
  hoverOffset: 5,
5829
- bottom: cssUtils.SPACING * 2.5,
5834
+ bottom: TablePaginationActions.SPACING * 2.5,
5830
5835
  avoidLabelOverlap: true,
5831
5836
  label: { show: false, ...labelOptions },
5832
5837
  emphasis: {
@@ -6021,7 +6026,7 @@ function FeatureSelectionUIDropdown({
6021
6026
  disabled: editDisabled && isEditItem(mode),
6022
6027
  children: /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { display: "flex", justifyContent: "space-between", alignItems: "center", children: [
6023
6028
  mode.icon,
6024
- /* @__PURE__ */ jsxRuntime.jsx(material.Box, { ml: 2, children: /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "body2", color: "inherit", children: material.capitalize(mode.label) }) })
6029
+ /* @__PURE__ */ jsxRuntime.jsx(material.Box, { ml: 2, children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "body2", color: "inherit", children: material.capitalize(mode.label) }) })
6025
6030
  ] })
6026
6031
  },
6027
6032
  mode.id
@@ -6050,7 +6055,7 @@ function FeatureSelectionUIDropdown({
6050
6055
  onClose: closeDropdown,
6051
6056
  MenuListProps: { "aria-labelledby": "feature-selection-menu-button" },
6052
6057
  children: [
6053
- menuHeaderText && /* @__PURE__ */ jsxRuntime.jsx(DisabledMenuItem, { disabled: true, children: /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", color: "textSecondary", children: menuHeaderText }) }),
6058
+ menuHeaderText && /* @__PURE__ */ jsxRuntime.jsx(DisabledMenuItem, { disabled: true, children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", color: "textSecondary", children: menuHeaderText }) }),
6054
6059
  !!selectionModes.length && selectionModes.map(createMenuItemWrapper),
6055
6060
  showDivider && /* @__PURE__ */ jsxRuntime.jsx(material.Divider, { sx: { margin: ({ spacing }) => spacing(1, 0) } }),
6056
6061
  !!editModes.length && editModes.map(createMenuItemWrapper)
@@ -6084,7 +6089,7 @@ function FeatureSelectionUIGeometryChips({
6084
6089
  chipLabel
6085
6090
  }) {
6086
6091
  const intl = reactIntl.useIntl();
6087
- const intlConfig = cssUtils.useImperativeIntl(intl);
6092
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
6088
6093
  function translateType(type) {
6089
6094
  if (type === "MultiPoint") {
6090
6095
  return intlConfig.formatMessage({
@@ -6185,7 +6190,7 @@ function FeatureSelectionWidgetUI({
6185
6190
  chipLabel
6186
6191
  }) {
6187
6192
  const intl = reactIntl.useIntl();
6188
- const intlConfig = cssUtils.useImperativeIntl(intl);
6193
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
6189
6194
  const selectionModeWithLocales = React.useMemo(() => {
6190
6195
  return selectionModes.map((mode) => ({
6191
6196
  ...mode,
@@ -6353,8 +6358,8 @@ const LegendIconWrapper = material.styled("li")(() => ({
6353
6358
  }));
6354
6359
  const LegendIconImageWrapper = material.styled("div")(({ theme }) => ({
6355
6360
  marginRight: theme.spacing(1.5),
6356
- width: cssUtils.ICON_SIZE_MEDIUM,
6357
- height: cssUtils.ICON_SIZE_MEDIUM,
6361
+ width: TablePaginationActions.ICON_SIZE_MEDIUM,
6362
+ height: TablePaginationActions.ICON_SIZE_MEDIUM,
6358
6363
  "& img": {
6359
6364
  margin: "auto",
6360
6365
  display: "block"
@@ -6385,7 +6390,7 @@ function LegendOpacityControl({
6385
6390
  onChange
6386
6391
  }) {
6387
6392
  const intl = reactIntl.useIntl();
6388
- const intlConfig = cssUtils.useImperativeIntl(intl);
6393
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
6389
6394
  function handleTextFieldChange(e) {
6390
6395
  const newOpacity = parseInt(e.target.value || "0");
6391
6396
  const clamped = Math.min(Math.max(newOpacity, 0), 100);
@@ -6477,7 +6482,7 @@ function LegendLayerTitle({
6477
6482
  }
6478
6483
  }, [title, visible]);
6479
6484
  const element = /* @__PURE__ */ jsxRuntime.jsx(
6480
- cssUtils.Typography,
6485
+ TablePaginationActions.Typography,
6481
6486
  {
6482
6487
  ref,
6483
6488
  color: visible ? "textPrimary" : "textSecondary",
@@ -6517,7 +6522,7 @@ function LegendCategories({
6517
6522
  const palette = paletteUtils.getPalette(colors, labels.length);
6518
6523
  const showHelperText = labels.length > MAX_CATEGORIES;
6519
6524
  const intl = reactIntl.useIntl();
6520
- const intlConfig = cssUtils.useImperativeIntl(intl);
6525
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
6521
6526
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6522
6527
  /* @__PURE__ */ jsxRuntime.jsx(LegendVariableList, { "data-testid": "categories-legend", children: labels.slice(0, MAX_CATEGORIES).map((label, idx) => /* @__PURE__ */ jsxRuntime.jsx(
6523
6528
  LegendCategoriesRow,
@@ -6531,7 +6536,7 @@ function LegendCategories({
6531
6536
  `${label}${idx}`
6532
6537
  )) }),
6533
6538
  showHelperText && /* @__PURE__ */ jsxRuntime.jsx(
6534
- cssUtils.Typography,
6539
+ TablePaginationActions.Typography,
6535
6540
  {
6536
6541
  variant: "caption",
6537
6542
  color: "textSecondary",
@@ -6675,7 +6680,7 @@ function LegendProportion({
6675
6680
  legend
6676
6681
  }) {
6677
6682
  const intl = reactIntl.useIntl();
6678
- const intlConfig = cssUtils.useImperativeIntl(intl);
6683
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
6679
6684
  const showMinMax = legend.showMinMax ?? true;
6680
6685
  const { min, max, error } = calculateRange(legend);
6681
6686
  const [step1, step2] = !error ? calculateSteps(min, max) : [0, 0];
@@ -6688,20 +6693,20 @@ function LegendProportion({
6688
6693
  },
6689
6694
  index
6690
6695
  )) }),
6691
- /* @__PURE__ */ jsxRuntime.jsx(LabelList, { children: error ? /* @__PURE__ */ jsxRuntime.jsx(material.Box, { maxWidth: 240, children: /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "overline", children: "You need to specify valid numbers for the labels property" }) }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6692
- /* @__PURE__ */ jsxRuntime.jsxs(cssUtils.Typography, { variant: "overline", color: "textSecondary", children: [
6696
+ /* @__PURE__ */ jsxRuntime.jsx(LabelList, { children: error ? /* @__PURE__ */ jsxRuntime.jsx(material.Box, { maxWidth: 240, children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "overline", children: "You need to specify valid numbers for the labels property" }) }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6697
+ /* @__PURE__ */ jsxRuntime.jsxs(TablePaginationActions.Typography, { variant: "overline", color: "textSecondary", children: [
6693
6698
  showMinMax && intlConfig.formatMessage({ id: "c4r.widgets.legend.max" }) + ": ",
6694
6699
  intl.formatNumber(max, {
6695
6700
  maximumSignificantDigits: MAX_SIG_DIGITS
6696
6701
  })
6697
6702
  ] }),
6698
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "overline", color: "textSecondary", children: intl.formatNumber(step2, {
6703
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "overline", color: "textSecondary", children: intl.formatNumber(step2, {
6699
6704
  maximumSignificantDigits: MAX_SIG_DIGITS
6700
6705
  }) }),
6701
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "overline", color: "textSecondary", children: intl.formatNumber(step1, {
6706
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "overline", color: "textSecondary", children: intl.formatNumber(step1, {
6702
6707
  maximumSignificantDigits: MAX_SIG_DIGITS
6703
6708
  }) }),
6704
- /* @__PURE__ */ jsxRuntime.jsxs(cssUtils.Typography, { variant: "overline", color: "textSecondary", children: [
6709
+ /* @__PURE__ */ jsxRuntime.jsxs(TablePaginationActions.Typography, { variant: "overline", color: "textSecondary", children: [
6705
6710
  showMinMax && intlConfig.formatMessage({ id: "c4r.widgets.legend.min" }) + ": ",
6706
6711
  intl.formatNumber(min, {
6707
6712
  maximumSignificantDigits: MAX_SIG_DIGITS
@@ -6744,7 +6749,7 @@ function LegendIcon({
6744
6749
  src: icons[idx],
6745
6750
  alt: label,
6746
6751
  width: "auto",
6747
- height: cssUtils.ICON_SIZE_MEDIUM
6752
+ height: TablePaginationActions.ICON_SIZE_MEDIUM
6748
6753
  }
6749
6754
  ) }),
6750
6755
  /* @__PURE__ */ jsxRuntime.jsx(LegendLayerTitle, { visible: true, title: label })
@@ -6773,7 +6778,7 @@ function LegendRamp({
6773
6778
  minLabel = "< " + minLabel;
6774
6779
  maxLabel = "≥ " + maxLabel;
6775
6780
  }
6776
- return /* @__PURE__ */ jsxRuntime.jsx(material.Box, { py: 2, "data-testid": "ramp-legend", children: error ? /* @__PURE__ */ jsxRuntime.jsx(material.Box, { maxWidth: 240, children: /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "overline", children: "You need to specify valid numbers for the labels property" }) }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6781
+ return /* @__PURE__ */ jsxRuntime.jsx(material.Box, { py: 2, "data-testid": "ramp-legend", children: error ? /* @__PURE__ */ jsxRuntime.jsx(material.Box, { maxWidth: 240, children: /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "overline", children: "You need to specify valid numbers for the labels property" }) }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6777
6782
  /* @__PURE__ */ jsxRuntime.jsx(material.Box, { display: "flex", pb: 1, children: isContinuous ? /* @__PURE__ */ jsxRuntime.jsx(
6778
6783
  StepsContinuous,
6779
6784
  {
@@ -6790,8 +6795,8 @@ function LegendRamp({
6790
6795
  }
6791
6796
  ) }),
6792
6797
  /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { display: "flex", justifyContent: "space-between", children: [
6793
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "overlineDelicate", color: "textSecondary", children: minLabel }),
6794
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "overlineDelicate", color: "textSecondary", children: maxLabel })
6798
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "overlineDelicate", color: "textSecondary", children: minLabel }),
6799
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "overlineDelicate", color: "textSecondary", children: maxLabel })
6795
6800
  ] })
6796
6801
  ] }) });
6797
6802
  }
@@ -6839,11 +6844,11 @@ const legendTypeMap = {
6839
6844
  };
6840
6845
  function LegendUnknown({ legend }) {
6841
6846
  const intl = reactIntl.useIntl();
6842
- const intlConfig = cssUtils.useImperativeIntl(intl);
6847
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
6843
6848
  if (legend.select || !legend.type) {
6844
6849
  return null;
6845
6850
  }
6846
- return /* @__PURE__ */ jsxRuntime.jsxs(cssUtils.Typography, { variant: "body2", color: "textSecondary", component: "p", children: [
6851
+ return /* @__PURE__ */ jsxRuntime.jsxs(TablePaginationActions.Typography, { variant: "body2", color: "textSecondary", component: "p", children: [
6847
6852
  legend.type,
6848
6853
  " ",
6849
6854
  intlConfig.formatMessage({ id: "c4r.widgets.legend.notSupported" }),
@@ -6870,7 +6875,7 @@ function LegendLayerVariable({
6870
6875
  }) {
6871
6876
  var _a;
6872
6877
  const intl = reactIntl.useIntl();
6873
- const intlConfig = cssUtils.useImperativeIntl(intl);
6878
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
6874
6879
  const type = legend.type;
6875
6880
  const TypeComponent = legendTypeMap[type] ?? customLegendTypes[type] ?? LegendUnknown;
6876
6881
  const TypedComponent = TypeComponent;
@@ -6878,7 +6883,7 @@ function LegendLayerVariable({
6878
6883
  return /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { component: "li", "data-testid": "legend-layer-variable", px: 2, children: [
6879
6884
  legend.attr ? /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { pb: 1, children: [
6880
6885
  /* @__PURE__ */ jsxRuntime.jsx(
6881
- cssUtils.Typography,
6886
+ TablePaginationActions.Typography,
6882
6887
  {
6883
6888
  gutterBottom: true,
6884
6889
  variant: "overlineDelicate",
@@ -6887,10 +6892,10 @@ function LegendLayerVariable({
6887
6892
  children: intlConfig.formatMessage({ id: getLegendSubtitle(legend) })
6888
6893
  }
6889
6894
  ),
6890
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", component: "p", children: legend.attr })
6895
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", component: "p", children: legend.attr })
6891
6896
  ] }) : null,
6892
6897
  legend.select ? /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { pb: 1, children: [
6893
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", weight: "medium", component: "p", children: legend.select.label }),
6898
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", weight: "medium", component: "p", children: legend.select.label }),
6894
6899
  /* @__PURE__ */ jsxRuntime.jsx(
6895
6900
  material.Select,
6896
6901
  {
@@ -6940,7 +6945,7 @@ function LegendLayer({
6940
6945
  currentZoom = 0
6941
6946
  }) {
6942
6947
  const intl = reactIntl.useIntl();
6943
- const intlConfig = cssUtils.useImperativeIntl(intl);
6948
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
6944
6949
  const menuAnchorRef = React.useRef(null);
6945
6950
  const [opacityOpen, setOpacityOpen] = React.useState(false);
6946
6951
  const id = layer.id;
@@ -6998,7 +7003,7 @@ function LegendLayer({
6998
7003
  id: "c4r.widgets.legend.zoomLevelTooltip"
6999
7004
  }),
7000
7005
  children: /* @__PURE__ */ jsxRuntime.jsxs(
7001
- cssUtils.Typography,
7006
+ TablePaginationActions.Typography,
7002
7007
  {
7003
7008
  color: visible ? "textPrimary" : "textSecondary",
7004
7009
  variant: "caption",
@@ -7067,7 +7072,7 @@ function LegendLayer({
7067
7072
  }
7068
7073
  ),
7069
7074
  helperText && /* @__PURE__ */ jsxRuntime.jsx(
7070
- cssUtils.Typography,
7075
+ TablePaginationActions.Typography,
7071
7076
  {
7072
7077
  variant: "caption",
7073
7078
  color: "textSecondary",
@@ -7117,9 +7122,9 @@ function LegendWidgetUI({
7117
7122
  sx
7118
7123
  }) {
7119
7124
  const intl = reactIntl.useIntl();
7120
- const intlConfig = cssUtils.useImperativeIntl(intl);
7125
+ const intlConfig = TablePaginationActions.useImperativeIntl(intl);
7121
7126
  const legendToggleHeader = /* @__PURE__ */ jsxRuntime.jsxs(LegendToggleHeader, { collapsed, children: [
7122
- /* @__PURE__ */ jsxRuntime.jsx(cssUtils.Typography, { variant: "caption", flexGrow: 1, children: title }),
7127
+ /* @__PURE__ */ jsxRuntime.jsx(TablePaginationActions.Typography, { variant: "caption", flexGrow: 1, children: title }),
7123
7128
  /* @__PURE__ */ jsxRuntime.jsx(
7124
7129
  material.Tooltip,
7125
7130
  {