@vention/machine-apps-components 0.6.18 → 0.6.19
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/index.esm.js +49 -12
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -6587,13 +6587,14 @@ const LogsTable = /*#__PURE__*/memo(({
|
|
|
6587
6587
|
className: classes.tableContainer,
|
|
6588
6588
|
children: /*#__PURE__*/jsxs(Table, {
|
|
6589
6589
|
stickyHeader: true,
|
|
6590
|
+
className: classes.table,
|
|
6590
6591
|
children: [/*#__PURE__*/jsx(TableHead, {
|
|
6591
6592
|
className: classes.tableHead,
|
|
6592
6593
|
children: /*#__PURE__*/jsxs(TableRow, {
|
|
6593
6594
|
children: [/*#__PURE__*/jsx(TableCell, {
|
|
6594
6595
|
className: classes.iconHeaderCell
|
|
6595
6596
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6596
|
-
className: classes.tableHeaderCell,
|
|
6597
|
+
className: cx(classes.tableHeaderCell, classes.dateColumn),
|
|
6597
6598
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6598
6599
|
variant: "heading24Medium",
|
|
6599
6600
|
className: classes.tableText,
|
|
@@ -6602,7 +6603,7 @@ const LogsTable = /*#__PURE__*/memo(({
|
|
|
6602
6603
|
})
|
|
6603
6604
|
})
|
|
6604
6605
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6605
|
-
className: classes.tableHeaderCell,
|
|
6606
|
+
className: cx(classes.tableHeaderCell, classes.typeColumn),
|
|
6606
6607
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6607
6608
|
variant: "heading24Medium",
|
|
6608
6609
|
className: classes.tableText,
|
|
@@ -6611,7 +6612,7 @@ const LogsTable = /*#__PURE__*/memo(({
|
|
|
6611
6612
|
})
|
|
6612
6613
|
})
|
|
6613
6614
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6614
|
-
className: classes.tableHeaderCell,
|
|
6615
|
+
className: cx(classes.tableHeaderCell, classes.codeColumn),
|
|
6615
6616
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6616
6617
|
variant: "heading24Medium",
|
|
6617
6618
|
className: classes.tableText,
|
|
@@ -6620,7 +6621,7 @@ const LogsTable = /*#__PURE__*/memo(({
|
|
|
6620
6621
|
})
|
|
6621
6622
|
})
|
|
6622
6623
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6623
|
-
className: classes.tableHeaderCell,
|
|
6624
|
+
className: cx(classes.tableHeaderCell, classes.messageColumn),
|
|
6624
6625
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6625
6626
|
variant: "heading24Medium",
|
|
6626
6627
|
className: classes.tableText,
|
|
@@ -6629,7 +6630,7 @@ const LogsTable = /*#__PURE__*/memo(({
|
|
|
6629
6630
|
})
|
|
6630
6631
|
})
|
|
6631
6632
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6632
|
-
className: classes.tableHeaderCell,
|
|
6633
|
+
className: cx(classes.tableHeaderCell, classes.descriptionColumn),
|
|
6633
6634
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6634
6635
|
variant: "heading24Medium",
|
|
6635
6636
|
className: classes.tableText,
|
|
@@ -6643,7 +6644,7 @@ const LogsTable = /*#__PURE__*/memo(({
|
|
|
6643
6644
|
children: _logs.map(log => /*#__PURE__*/jsxs(TableRow, {
|
|
6644
6645
|
hover: true,
|
|
6645
6646
|
onClick: onLogClick ? () => onLogClick(log) : undefined,
|
|
6646
|
-
className: onLogClick ? classes.clickableRow : undefined,
|
|
6647
|
+
className: cx(classes.row, onLogClick ? classes.clickableRow : undefined),
|
|
6647
6648
|
children: [/*#__PURE__*/jsx(TableCell, {
|
|
6648
6649
|
className: classes.iconCell,
|
|
6649
6650
|
children: /*#__PURE__*/jsx(Box, {
|
|
@@ -6651,36 +6652,43 @@ const LogsTable = /*#__PURE__*/memo(({
|
|
|
6651
6652
|
children: renderTypeIcon(log.level)
|
|
6652
6653
|
})
|
|
6653
6654
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6655
|
+
className: classes.truncateCell,
|
|
6654
6656
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6655
6657
|
variant: "heading24Medium",
|
|
6656
|
-
className: classes.tableText,
|
|
6658
|
+
className: cx(classes.tableText, classes.truncateText),
|
|
6657
6659
|
children: formatLogDate(log.date)
|
|
6658
6660
|
})
|
|
6659
6661
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6660
|
-
className: cx(classes.typeCell, getTypeClassName(log.level)),
|
|
6662
|
+
className: cx(classes.typeCell, classes.truncateCell, getTypeClassName(log.level)),
|
|
6661
6663
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6662
6664
|
variant: "heading24Medium",
|
|
6663
|
-
className: classes.tableText,
|
|
6665
|
+
className: cx(classes.tableText, classes.truncateText),
|
|
6664
6666
|
children: t(`logs.type.${log.level}`, {
|
|
6665
6667
|
defaultValue: log.level
|
|
6666
6668
|
})
|
|
6667
6669
|
})
|
|
6668
6670
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6671
|
+
className: classes.truncateCell,
|
|
6669
6672
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6670
6673
|
variant: "heading24Medium",
|
|
6671
|
-
className: classes.tableText,
|
|
6674
|
+
className: cx(classes.tableText, classes.truncateText),
|
|
6675
|
+
title: log.code,
|
|
6672
6676
|
children: log.code
|
|
6673
6677
|
})
|
|
6674
6678
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6679
|
+
className: classes.truncateCell,
|
|
6675
6680
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6676
6681
|
variant: "heading24Medium",
|
|
6677
|
-
className: classes.tableText,
|
|
6682
|
+
className: cx(classes.tableText, classes.truncateText),
|
|
6683
|
+
title: log.message,
|
|
6678
6684
|
children: log.message
|
|
6679
6685
|
})
|
|
6680
6686
|
}), /*#__PURE__*/jsx(TableCell, {
|
|
6687
|
+
className: classes.truncateCell,
|
|
6681
6688
|
children: /*#__PURE__*/jsx(Typography, {
|
|
6682
6689
|
variant: "heading24Medium",
|
|
6683
|
-
className: classes.tableText,
|
|
6690
|
+
className: cx(classes.tableText, classes.truncateText),
|
|
6691
|
+
title: log.description,
|
|
6684
6692
|
children: log.description
|
|
6685
6693
|
})
|
|
6686
6694
|
})]
|
|
@@ -6747,6 +6755,35 @@ const useStyles$9 = tss.withParams().create(({
|
|
|
6747
6755
|
}, tableHeight && {
|
|
6748
6756
|
maxHeight: tableHeight
|
|
6749
6757
|
}),
|
|
6758
|
+
table: {
|
|
6759
|
+
tableLayout: "fixed"
|
|
6760
|
+
},
|
|
6761
|
+
row: {
|
|
6762
|
+
height: 64
|
|
6763
|
+
},
|
|
6764
|
+
truncateCell: {
|
|
6765
|
+
overflow: "hidden"
|
|
6766
|
+
},
|
|
6767
|
+
truncateText: {
|
|
6768
|
+
overflow: "hidden",
|
|
6769
|
+
textOverflow: "ellipsis",
|
|
6770
|
+
whiteSpace: "nowrap"
|
|
6771
|
+
},
|
|
6772
|
+
dateColumn: {
|
|
6773
|
+
width: "18%"
|
|
6774
|
+
},
|
|
6775
|
+
typeColumn: {
|
|
6776
|
+
width: "10%"
|
|
6777
|
+
},
|
|
6778
|
+
codeColumn: {
|
|
6779
|
+
width: "16%"
|
|
6780
|
+
},
|
|
6781
|
+
messageColumn: {
|
|
6782
|
+
width: "22%"
|
|
6783
|
+
},
|
|
6784
|
+
descriptionColumn: {
|
|
6785
|
+
width: "34%"
|
|
6786
|
+
},
|
|
6750
6787
|
tableHead: {
|
|
6751
6788
|
backgroundColor: theme.palette.background.default,
|
|
6752
6789
|
borderBottom: `1px solid ${theme.palette.background.mutedSlate}`
|