awing-library 2.1.2-dev.92 → 2.1.2-dev.94
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/esm/index.js +28 -19
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -177883,31 +177883,37 @@ function TableRowEditable(props) {
|
|
|
177883
177883
|
const isMergeColumn = fieldName === mergeRowsBy;
|
|
177884
177884
|
const isDisplay = isMergeColumn ? itemIndex === 0 || convertItems[itemIndex - 1][fieldName] !== row[fieldName] : true;
|
|
177885
177885
|
return isDisplay && jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {
|
|
177886
|
-
children: jsxRuntimeExports.
|
|
177886
|
+
children: jsxRuntimeExports.jsx(Box$1, {
|
|
177887
177887
|
sx: {
|
|
177888
177888
|
flex: '0 1 calc(33.333% - 16px)',
|
|
177889
177889
|
boxSizing: 'border-box',
|
|
177890
177890
|
p: 2
|
|
177891
177891
|
},
|
|
177892
|
-
children:
|
|
177892
|
+
children: jsxRuntimeExports.jsxs(Box$1, {
|
|
177893
177893
|
sx: {
|
|
177894
|
-
|
|
177894
|
+
marginTop: '4px'
|
|
177895
177895
|
},
|
|
177896
|
-
children: colDef.label
|
|
177897
|
-
|
|
177898
|
-
|
|
177899
|
-
|
|
177900
|
-
|
|
177901
|
-
|
|
177902
|
-
|
|
177903
|
-
|
|
177904
|
-
|
|
177905
|
-
|
|
177906
|
-
|
|
177907
|
-
|
|
177908
|
-
|
|
177909
|
-
|
|
177910
|
-
|
|
177896
|
+
children: [!!colDef.label && jsxRuntimeExports.jsx(FormLabel$1, {
|
|
177897
|
+
sx: {
|
|
177898
|
+
fontSize: '0.7rem'
|
|
177899
|
+
},
|
|
177900
|
+
children: colDef.label
|
|
177901
|
+
}), jsxRuntimeExports.jsx(Stack, {
|
|
177902
|
+
sx: {
|
|
177903
|
+
textAlign: 'left',
|
|
177904
|
+
minHeight: '24px',
|
|
177905
|
+
borderBottom: '1px solid rgba(0, 0, 0, .42)',
|
|
177906
|
+
padding: '4px 8px 4px 8px'
|
|
177907
|
+
},
|
|
177908
|
+
children: colDef.isTooltip ? jsxRuntimeExports.jsx(StyleTooltip, {
|
|
177909
|
+
title: colDef.getTitleTooltip && colDef.getTitleTooltip(content),
|
|
177910
|
+
placement: "top-start",
|
|
177911
|
+
children: jsxRuntimeExports.jsx("div", {
|
|
177912
|
+
children: content
|
|
177913
|
+
})
|
|
177914
|
+
}) : colDef.contentGetter(row, rowIdx)
|
|
177915
|
+
})]
|
|
177916
|
+
})
|
|
177911
177917
|
}, idx)
|
|
177912
177918
|
});
|
|
177913
177919
|
}
|
|
@@ -177926,7 +177932,10 @@ function TableRowEditable(props) {
|
|
|
177926
177932
|
boxSizing: 'border-box',
|
|
177927
177933
|
p: 2,
|
|
177928
177934
|
'& .MuiFormControl-root': {
|
|
177929
|
-
borderBottom: '1px solid rgba(0, 0, 0, .42)'
|
|
177935
|
+
borderBottom: '1px solid rgba(0, 0, 0, .42)',
|
|
177936
|
+
'& .MuiInputBase-inputMultiline': {
|
|
177937
|
+
padding: '4px 0 5px'
|
|
177938
|
+
}
|
|
177930
177939
|
}
|
|
177931
177940
|
},
|
|
177932
177941
|
children: jsxRuntimeExports.jsx(TableCellEditable, {
|