awing-library 2.1.2-dev.91 → 2.1.2-dev.93
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 +35 -20
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -177775,7 +177775,7 @@ function TableRowEditable(props) {
|
|
|
177775
177775
|
rowSpan: numOfRowSpan
|
|
177776
177776
|
}, idx === 0 ? {
|
|
177777
177777
|
width: '15%',
|
|
177778
|
-
maxWidth:
|
|
177778
|
+
maxWidth: '200px'
|
|
177779
177779
|
} : {}, {
|
|
177780
177780
|
children: jsxRuntimeExports.jsxs(Box$1, {
|
|
177781
177781
|
display: "flex",
|
|
@@ -177839,7 +177839,7 @@ function TableRowEditable(props) {
|
|
|
177839
177839
|
numOfRowSpan: numOfRowSpan
|
|
177840
177840
|
}, idx);
|
|
177841
177841
|
}
|
|
177842
|
-
}), includeDelete
|
|
177842
|
+
}), !!includeDelete && jsxRuntimeExports.jsx(TableCell, {
|
|
177843
177843
|
align: "center",
|
|
177844
177844
|
sx: {
|
|
177845
177845
|
p: 0,
|
|
@@ -177883,29 +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:
|
|
177893
|
-
sx: {
|
|
177894
|
-
fontSize: '0.7rem'
|
|
177895
|
-
},
|
|
177896
|
-
children: colDef.label
|
|
177897
|
-
}), jsxRuntimeExports.jsx(Stack, {
|
|
177892
|
+
children: jsxRuntimeExports.jsxs(Box$1, {
|
|
177898
177893
|
sx: {
|
|
177899
|
-
|
|
177894
|
+
marginTop: '4px'
|
|
177900
177895
|
},
|
|
177901
|
-
children: colDef.
|
|
177902
|
-
|
|
177903
|
-
|
|
177904
|
-
|
|
177905
|
-
|
|
177906
|
-
|
|
177907
|
-
|
|
177908
|
-
|
|
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
|
+
})
|
|
177909
177917
|
}, idx)
|
|
177910
177918
|
});
|
|
177911
177919
|
}
|
|
@@ -177922,7 +177930,10 @@ function TableRowEditable(props) {
|
|
|
177922
177930
|
sx: {
|
|
177923
177931
|
flex: '0 1 calc(33.333% - 16px)',
|
|
177924
177932
|
boxSizing: 'border-box',
|
|
177925
|
-
p: 2
|
|
177933
|
+
p: 2,
|
|
177934
|
+
'& .MuiFormControl-root': {
|
|
177935
|
+
borderBottom: '1px solid rgba(0, 0, 0, .42)'
|
|
177936
|
+
}
|
|
177926
177937
|
},
|
|
177927
177938
|
children: jsxRuntimeExports.jsx(TableCellEditable, {
|
|
177928
177939
|
isContainer: true,
|
|
@@ -177953,6 +177964,11 @@ function TableRowEditable(props) {
|
|
|
177953
177964
|
})
|
|
177954
177965
|
})
|
|
177955
177966
|
})
|
|
177967
|
+
}), !!includeDelete && jsxRuntimeExports.jsx(TableCell, {
|
|
177968
|
+
style: {
|
|
177969
|
+
paddingBottom: 0,
|
|
177970
|
+
paddingTop: 0
|
|
177971
|
+
}
|
|
177956
177972
|
})]
|
|
177957
177973
|
})]
|
|
177958
177974
|
})
|
|
@@ -178340,7 +178356,6 @@ function TableEditable(props) {
|
|
|
178340
178356
|
children: [jsxRuntimeExports.jsxs(TableContainer, {
|
|
178341
178357
|
component: Paper$1,
|
|
178342
178358
|
sx: {
|
|
178343
|
-
overflow: 'hidden',
|
|
178344
178359
|
width: 'fit-content',
|
|
178345
178360
|
maxWidth: '100%'
|
|
178346
178361
|
},
|