@topconsultnpm/sdkui-react-beta 6.11.13 → 6.11.14
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.
|
@@ -363,5 +363,25 @@ const TMListView = ({ customGroupingHeaders, headerBackGroundColor, header, show
|
|
|
363
363
|
};
|
|
364
364
|
export default TMListView;
|
|
365
365
|
export const CustomListViewHeader = (props) => {
|
|
366
|
-
return (_jsxs("div", { style: {
|
|
366
|
+
return (_jsxs("div", { style: {
|
|
367
|
+
display: 'flex',
|
|
368
|
+
alignItems: 'center',
|
|
369
|
+
justifyContent: 'space-between',
|
|
370
|
+
padding: '0 5px',
|
|
371
|
+
gap: 5,
|
|
372
|
+
width: '100%'
|
|
373
|
+
}, children: [_jsxs("div", { style: {
|
|
374
|
+
display: 'flex',
|
|
375
|
+
alignItems: 'center',
|
|
376
|
+
gap: '5px',
|
|
377
|
+
whiteSpace: 'nowrap',
|
|
378
|
+
overflow: 'hidden',
|
|
379
|
+
textOverflow: 'ellipsis'
|
|
380
|
+
}, children: [props.headerIcon, _jsx("p", { title: props.headerTitle, style: {
|
|
381
|
+
fontWeight: 'bold',
|
|
382
|
+
color: props.titleColor ? props.titleColor : TMColors.text_normal,
|
|
383
|
+
whiteSpace: 'nowrap',
|
|
384
|
+
overflow: 'hidden',
|
|
385
|
+
textOverflow: 'ellipsis'
|
|
386
|
+
}, children: props.headerTitle })] }), _jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '5px' }, children: [props.firstCounter, props.secondCounter] })] }));
|
|
367
387
|
};
|
|
@@ -30,7 +30,7 @@ export const TMMidViewer = ({ isMetadataSelected = false, tmSession, tid_mid, sh
|
|
|
30
30
|
whiteSpace: 'nowrap',
|
|
31
31
|
overflow: 'hidden',
|
|
32
32
|
textOverflow: 'ellipsis'
|
|
33
|
-
}, children: [showIcon && _jsx(TMMetadataIcon, { isMetadataSelected: isMetadataSelected, tid: tid_mid?.tid, md: md }), _jsx("p", { style: {
|
|
33
|
+
}, children: [showIcon && _jsx(TMMetadataIcon, { isMetadataSelected: isMetadataSelected, tid: tid_mid?.tid, md: md }), _jsx("p", { title: displayName(), style: {
|
|
34
34
|
textAlign: 'left',
|
|
35
35
|
marginLeft: showIcon ? '5px' : '',
|
|
36
36
|
color: md?.isRequired == 1 ? 'red' : undefined,
|
|
@@ -394,7 +394,7 @@ const TMTidViewer = ({ tmSession, tid, showIcon = false, showId = false, noneSel
|
|
|
394
394
|
whiteSpace: 'nowrap',
|
|
395
395
|
overflow: 'hidden',
|
|
396
396
|
textOverflow: 'ellipsis'
|
|
397
|
-
}, children: [showIcon && dtd && _jsx(TMDcmtTypeIcon, { dtd: dtd }), _jsx("p", { style: {
|
|
397
|
+
}, children: [showIcon && dtd && _jsx(TMDcmtTypeIcon, { dtd: dtd }), _jsx("p", { title: displayName(), style: {
|
|
398
398
|
textAlign: 'left',
|
|
399
399
|
marginLeft: showIcon ? '5px' : '',
|
|
400
400
|
color: dtd?.isView ? 'red' : '',
|