@topconsultnpm/sdkui-react 6.19.0-dev1.14 → 6.19.0-dev1.15
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.
|
@@ -228,21 +228,14 @@ const TMBlogCommentForm = (props) => {
|
|
|
228
228
|
}, children: currentDraftAttachments.length > 0 ? (currentDraftAttachments.map(draft => {
|
|
229
229
|
const tooltipContent = (_jsxs("div", { style: { textAlign: 'left' }, children: [_jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Name, ":"] }), " ", draft.name ?? '-'] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Author, ":"] }), " ", draft.updaterName ?? '-'] }), _jsx("hr", {}), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Version, ":"] }), " ", draft.version] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Size, ":"] }), " ", formatBytes(draft.size ?? 0)] }), _jsx("hr", {}), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.CreationTime, ":"] }), " ", Globalization.getDateTimeDisplayValue(draft.creationTime)] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.LastUpdateTime, ":"] }), " ", Globalization.getDateTimeDisplayValue(draft.lastUpdateTime)] })] }));
|
|
230
230
|
return _jsxs("div", { style: {
|
|
231
|
-
backgroundColor: '#f09c0a',
|
|
232
|
-
color: '#fff',
|
|
233
|
-
borderRadius: '12px',
|
|
234
|
-
padding: '2px 8px',
|
|
235
|
-
boxShadow: '0 2px 5px rgba(0,0,0,0.15)',
|
|
236
|
-
userSelect: 'none',
|
|
237
|
-
whiteSpace: 'nowrap',
|
|
238
231
|
display: 'inline-flex',
|
|
239
232
|
alignItems: 'center',
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
233
|
+
padding: '8px 12px',
|
|
234
|
+
marginRight: '8px',
|
|
235
|
+
border: '1px solid #ddd',
|
|
236
|
+
borderRadius: '8px',
|
|
237
|
+
backgroundColor: '#fff',
|
|
238
|
+
boxShadow: '0 2px 4px rgba(0,0,0,0.1)',
|
|
246
239
|
}, children: [draft.ext ? (_jsx("span", { style: { marginRight: '10px' }, children: getFileIcon(draft.ext, undefined, tooltipContent) })) : (_jsx(IconAttachment, { style: { marginRight: '5px' } })), _jsx("span", { style: { marginRight: '8px' }, children: draft.name }), draft.version && _jsx("span", { style: {
|
|
247
240
|
display: 'inline-flex',
|
|
248
241
|
width: '20px',
|