@sis-cc/dotstatsuite-visions 15.22.0 → 16.0.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/Alert/Alert.js +13 -11
- package/dist/Alert/Alert.js.map +1 -1
- package/dist/ApiQueries/ApiQueries.js +9 -5
- package/dist/ApiQueries/ApiQueries.js.map +1 -1
- package/dist/AuthDialog/AuthDialog.js +5 -3
- package/dist/AuthDialog/AuthDialog.js.map +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.js +5 -3
- package/dist/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/Button/Button.js +5 -3
- package/dist/Button/Button.js.map +1 -1
- package/dist/ChartsConfig/ChartsConfig.js +21 -11
- package/dist/ChartsConfig/ChartsConfig.js.map +1 -1
- package/dist/CollapseButtons/CollapseButtons.js +9 -5
- package/dist/CollapseButtons/CollapseButtons.js.map +1 -1
- package/dist/CollapsibleTree/CollapsibleTree.js +9 -5
- package/dist/CollapsibleTree/CollapsibleTree.js.map +1 -1
- package/dist/Contact/Contact.js +16 -8
- package/dist/Contact/Contact.js.map +1 -1
- package/dist/DataFooter/DataFooter.js +5 -3
- package/dist/DataFooter/DataFooter.js.map +1 -1
- package/dist/DataHeader/DataHeader.js +5 -3
- package/dist/DataHeader/DataHeader.js.map +1 -1
- package/dist/Dataflow/Dataflow.js +5 -3
- package/dist/Dataflow/Dataflow.js.map +1 -1
- package/dist/DeleteAllChip/DeleteAllChip.js +6 -4
- package/dist/DeleteAllChip/DeleteAllChip.js.map +1 -1
- package/dist/DynamicDrawer/DynamicDrawer.js +30 -15
- package/dist/DynamicDrawer/DynamicDrawer.js.map +1 -1
- package/dist/ExpansionPanel/ExpansionPanel.js +7 -9
- package/dist/ExpansionPanel/ExpansionPanel.js.map +1 -1
- package/dist/GroupedChips/GroupedChips.js +6 -4
- package/dist/GroupedChips/GroupedChips.js.map +1 -1
- package/dist/HierarchicalFilter/HierarchicalFilter.js +4 -2
- package/dist/HierarchicalFilter/HierarchicalFilter.js.map +1 -1
- package/dist/Input/Input.js +5 -3
- package/dist/Input/Input.js.map +1 -1
- package/dist/InputNumber/InputNumber.js +5 -3
- package/dist/InputNumber/InputNumber.js.map +1 -1
- package/dist/LabelDivider/LabelDivider.js +5 -3
- package/dist/LabelDivider/LabelDivider.js.map +1 -1
- package/dist/Loading/Loading.js +15 -12
- package/dist/Loading/Loading.js.map +1 -1
- package/dist/Logo/Logo.js +5 -3
- package/dist/Logo/Logo.js.map +1 -1
- package/dist/Mode/Mode.js +8 -4
- package/dist/Mode/Mode.js.map +1 -1
- package/dist/NoData/NoData.js +5 -3
- package/dist/NoData/NoData.js.map +1 -1
- package/dist/Pagination/Pagination.js +8 -4
- package/dist/Pagination/Pagination.js.map +1 -1
- package/dist/PeriodPicker/PeriodPicker.js +5 -3
- package/dist/PeriodPicker/PeriodPicker.js.map +1 -1
- package/dist/Select/Select.js +5 -3
- package/dist/Select/Select.js.map +1 -1
- package/dist/Share/Share.js +16 -8
- package/dist/Share/Share.js.map +1 -1
- package/dist/ShortUrls/ShortUrls.js +5 -3
- package/dist/ShortUrls/ShortUrls.js.map +1 -1
- package/dist/SisccFooter/SisccFooter.js +10 -4
- package/dist/SisccFooter/SisccFooter.js.map +1 -1
- package/dist/Spotlight/Spotlight.js +5 -3
- package/dist/Spotlight/Spotlight.js.map +1 -1
- package/dist/TableFooter/TableFooter.js +5 -3
- package/dist/TableFooter/TableFooter.js.map +1 -1
- package/dist/TableHeader/TableHeader.js +5 -3
- package/dist/TableHeader/TableHeader.js.map +1 -1
- package/dist/TableHtml5/TableHtml5.js +31 -16
- package/dist/TableHtml5/TableHtml5.js.map +1 -1
- package/dist/TableLayout/TableLayout.js +13 -8
- package/dist/TableLayout/TableLayout.js.map +1 -1
- package/dist/TablePreview/TablePreview.js +17 -7
- package/dist/TablePreview/TablePreview.js.map +1 -1
- package/dist/Tag/Tag.js +5 -3
- package/dist/Tag/Tag.js.map +1 -1
- package/dist/Tooltip/Tooltip.js +5 -3
- package/dist/Tooltip/Tooltip.js.map +1 -1
- package/dist/UserRightForm/UserRightForm.js +17 -9
- package/dist/UserRightForm/UserRightForm.js.map +1 -1
- package/dist/VerticalButton/VerticalButton.js +5 -3
- package/dist/VerticalButton/VerticalButton.js.map +1 -1
- package/dist/chunks/{CustomChip-BdioThtM.js → CustomChip-CnH4BJk5.js} +11 -7
- package/dist/chunks/CustomChip-CnH4BJk5.js.map +1 -0
- package/dist/chunks/{withSpotlight-PqwaAph8.js → withSpotlight-Do47xp8b.js} +8 -6
- package/dist/chunks/withSpotlight-Do47xp8b.js.map +1 -0
- package/package.json +6 -6
- package/dist/chunks/CustomChip-BdioThtM.js.map +0 -1
- package/dist/chunks/withSpotlight-PqwaAph8.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { c } from 'react-compiler-runtime';
|
|
3
3
|
import React, { Fragment, memo, createElement, useState, useRef, useEffect } from 'react';
|
|
4
|
-
import makeStyles from '
|
|
4
|
+
import { makeStyles } from 'tss-react/mui';
|
|
5
5
|
import Table from '@mui/material/Table';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
import Typography from '@mui/material/Typography';
|
|
@@ -56,7 +56,7 @@ const defaultLabelAccessor = item => {
|
|
|
56
56
|
|
|
57
57
|
const flagStylePath = (theme) => theme?.mixins?.table?.flag ?? {};
|
|
58
58
|
const hasCode = (flag) => Object.hasOwn(flag ?? {}, "code");
|
|
59
|
-
const useStyles$5 = makeStyles((theme) => ({
|
|
59
|
+
const useStyles$5 = makeStyles()((theme) => ({
|
|
60
60
|
content: {
|
|
61
61
|
borderRadius: 3,
|
|
62
62
|
boxSizing: "border-box",
|
|
@@ -67,8 +67,9 @@ const useStyles$5 = makeStyles((theme) => ({
|
|
|
67
67
|
...theme.typography.body1
|
|
68
68
|
},
|
|
69
69
|
flags: {
|
|
70
|
-
borderBottom
|
|
70
|
+
// before borderBottom, which then sets the dotted line in the text colour
|
|
71
71
|
borderColor: "inherit",
|
|
72
|
+
borderBottom: "1px dotted",
|
|
72
73
|
margin: theme.spacing(0, 0.5),
|
|
73
74
|
whiteSpace: "nowrap",
|
|
74
75
|
display: "inline",
|
|
@@ -95,7 +96,9 @@ const Flags = (t0) => {
|
|
|
95
96
|
labelAccessor
|
|
96
97
|
} = t0;
|
|
97
98
|
const flags = t1 === void 0 ? EMPTY_FLAGS$2 : t1;
|
|
98
|
-
const
|
|
99
|
+
const {
|
|
100
|
+
classes
|
|
101
|
+
} = useStyles$5();
|
|
99
102
|
const theme = useTheme();
|
|
100
103
|
const noFlags = !flags?.length;
|
|
101
104
|
const {
|
|
@@ -267,7 +270,7 @@ function _temp2$1(flag_0) {
|
|
|
267
270
|
return flag_0.code;
|
|
268
271
|
}
|
|
269
272
|
|
|
270
|
-
const useStyles$4 = makeStyles((theme) => ({
|
|
273
|
+
const useStyles$4 = makeStyles()((theme) => ({
|
|
271
274
|
columnsTitle: {
|
|
272
275
|
position: "sticky",
|
|
273
276
|
zIndex: 1,
|
|
@@ -331,7 +334,9 @@ const SubHeader = React.forwardRef((t0, refs) => {
|
|
|
331
334
|
HTMLRenderer,
|
|
332
335
|
labelAccessor
|
|
333
336
|
} = t0;
|
|
334
|
-
const
|
|
337
|
+
const {
|
|
338
|
+
classes
|
|
339
|
+
} = useStyles$4();
|
|
335
340
|
const theme = useTheme();
|
|
336
341
|
let t1;
|
|
337
342
|
if ($[0] !== theme) {
|
|
@@ -549,7 +554,7 @@ const Cell = (t0) => {
|
|
|
549
554
|
return t8;
|
|
550
555
|
};
|
|
551
556
|
|
|
552
|
-
const useStyles$3 = makeStyles((theme) => ({
|
|
557
|
+
const useStyles$3 = makeStyles()((theme) => ({
|
|
553
558
|
section: {
|
|
554
559
|
borderCollapse: "collapse",
|
|
555
560
|
backgroundColor: getDark(theme) || theme.palette.secondary.dark,
|
|
@@ -600,7 +605,9 @@ const SectionHeader = (t0) => {
|
|
|
600
605
|
HTMLRenderer,
|
|
601
606
|
labelAccessor
|
|
602
607
|
} = t0;
|
|
603
|
-
const
|
|
608
|
+
const {
|
|
609
|
+
classes
|
|
610
|
+
} = useStyles$3();
|
|
604
611
|
const theme = useTheme();
|
|
605
612
|
let t1;
|
|
606
613
|
if ($[0] !== theme) {
|
|
@@ -777,7 +784,7 @@ const SectionHeader = (t0) => {
|
|
|
777
784
|
};
|
|
778
785
|
|
|
779
786
|
const EMPTY_FLAGS$1 = [];
|
|
780
|
-
const useStyles$2 = makeStyles((theme) => ({
|
|
787
|
+
const useStyles$2 = makeStyles()((theme) => ({
|
|
781
788
|
rowTitle: {
|
|
782
789
|
backgroundColor: getLight(theme) || theme.palette.secondary.light,
|
|
783
790
|
border: "inherit",
|
|
@@ -847,7 +854,9 @@ const SectionComponent = (t0) => {
|
|
|
847
854
|
isNoWrap,
|
|
848
855
|
textAlign
|
|
849
856
|
} = t0;
|
|
850
|
-
const
|
|
857
|
+
const {
|
|
858
|
+
classes
|
|
859
|
+
} = useStyles$2();
|
|
851
860
|
const currentSection = section[0]?.key;
|
|
852
861
|
const headerNumberRows = nbColumnsByRows.length;
|
|
853
862
|
const maxColumns = nbColumnsByRows.at(-1);
|
|
@@ -1010,7 +1019,7 @@ function _temp$2() {
|
|
|
1010
1019
|
}
|
|
1011
1020
|
|
|
1012
1021
|
const EMPTY_FLAGS = [];
|
|
1013
|
-
const useStyles$1 = makeStyles((theme) => ({
|
|
1022
|
+
const useStyles$1 = makeStyles()((theme) => ({
|
|
1014
1023
|
tableHeadCell: {
|
|
1015
1024
|
color: theme.palette.getContrastText(theme.palette.primary.main),
|
|
1016
1025
|
backgroundColor: theme.palette.primary.main,
|
|
@@ -1054,7 +1063,9 @@ const Header = (t0) => {
|
|
|
1054
1063
|
HTMLRenderer,
|
|
1055
1064
|
labelAccessor
|
|
1056
1065
|
} = t0;
|
|
1057
|
-
const
|
|
1066
|
+
const {
|
|
1067
|
+
classes
|
|
1068
|
+
} = useStyles$1();
|
|
1058
1069
|
const theme = useTheme();
|
|
1059
1070
|
let t1;
|
|
1060
1071
|
if ($[0] !== theme) {
|
|
@@ -1150,7 +1161,7 @@ function _temp2(space, spaceIdx) {
|
|
|
1150
1161
|
return /* @__PURE__ */ jsx("div", { children: space }, spaceIdx);
|
|
1151
1162
|
}
|
|
1152
1163
|
|
|
1153
|
-
const useStyles = makeStyles((theme) => ({
|
|
1164
|
+
const useStyles = makeStyles()((theme) => ({
|
|
1154
1165
|
table: {
|
|
1155
1166
|
outline: "1px solid transparent",
|
|
1156
1167
|
transform: "translateZ(0)",
|
|
@@ -1165,7 +1176,7 @@ const useStyles = makeStyles((theme) => ({
|
|
|
1165
1176
|
zIndex: 2
|
|
1166
1177
|
}
|
|
1167
1178
|
}));
|
|
1168
|
-
const useCellStyles = makeStyles((theme) => ({
|
|
1179
|
+
const useCellStyles = makeStyles()((theme) => ({
|
|
1169
1180
|
cell: {
|
|
1170
1181
|
...theme.typography.body2,
|
|
1171
1182
|
...theme.components?.MuiTableCell?.styleOverrides?.sizeSmall,
|
|
@@ -1251,8 +1262,12 @@ const TableHtml5 = (t0) => {
|
|
|
1251
1262
|
const cellValueAccessor = t4 === void 0 ? defaultCellValueAccessor : t4;
|
|
1252
1263
|
const labelAccessor = t5 === void 0 ? defaultLabelAccessor : t5;
|
|
1253
1264
|
const isNoWrap = t6 === void 0 ? defaultIsNoWrap : t6;
|
|
1254
|
-
const
|
|
1255
|
-
|
|
1265
|
+
const {
|
|
1266
|
+
classes
|
|
1267
|
+
} = useStyles();
|
|
1268
|
+
const {
|
|
1269
|
+
classes: cellClasses
|
|
1270
|
+
} = useCellStyles();
|
|
1256
1271
|
const [headerHeight, setHeaderHeight] = useState(0);
|
|
1257
1272
|
let t7;
|
|
1258
1273
|
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|