dtable-ui-component 5.3.4 → 5.3.6
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.
|
@@ -39,11 +39,13 @@ class ImagesLazyLoad extends _react.default.Component {
|
|
|
39
39
|
loadedCount: 0
|
|
40
40
|
}, () => {
|
|
41
41
|
let {
|
|
42
|
-
server
|
|
42
|
+
server,
|
|
43
|
+
dtableUuid
|
|
43
44
|
} = this.props;
|
|
44
45
|
images.forEach((item, index) => {
|
|
45
46
|
let url = (0, _url.getImageThumbnailUrl)(item, {
|
|
46
|
-
server
|
|
47
|
+
server,
|
|
48
|
+
dtableUuid
|
|
47
49
|
});
|
|
48
50
|
this.lazyLoadImage(url, image => {
|
|
49
51
|
let {
|
|
@@ -68,7 +68,8 @@ class ImageFormatter extends _react.default.Component {
|
|
|
68
68
|
server,
|
|
69
69
|
containerClassName,
|
|
70
70
|
lightboxClassName,
|
|
71
|
-
readOnly
|
|
71
|
+
readOnly,
|
|
72
|
+
dtableUuid
|
|
72
73
|
} = this.props;
|
|
73
74
|
const className = (0, _classnames.default)('dtable-ui cell-formatter-container image-formatter', containerClassName);
|
|
74
75
|
const {
|
|
@@ -97,7 +98,8 @@ class ImageFormatter extends _react.default.Component {
|
|
|
97
98
|
images: value,
|
|
98
99
|
server: server,
|
|
99
100
|
onImageClick: this.onImageClick,
|
|
100
|
-
renderItem: this.props.renderItem
|
|
101
|
+
renderItem: this.props.renderItem,
|
|
102
|
+
dtableUuid: dtableUuid
|
|
101
103
|
})), isPreviewImage && /*#__PURE__*/_react.default.createElement(_ImagePreviewerLightbox.default, {
|
|
102
104
|
imageItems: value,
|
|
103
105
|
className: lightboxClassName,
|
|
@@ -112,7 +114,8 @@ class ImageFormatter extends _react.default.Component {
|
|
|
112
114
|
server: server,
|
|
113
115
|
moveToPrevRowImage: this.props.moveToPrevRowImage,
|
|
114
116
|
moveToNextRowImage: this.props.moveToNextRowImage,
|
|
115
|
-
onViewOriginal: this.props.onViewOriginal
|
|
117
|
+
onViewOriginal: this.props.onViewOriginal,
|
|
118
|
+
dtableUuid: dtableUuid
|
|
116
119
|
}));
|
|
117
120
|
}
|
|
118
121
|
}
|
|
@@ -210,14 +210,14 @@
|
|
|
210
210
|
display: flex;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.longtext-modal-dialog-header
|
|
213
|
+
.longtext-modal-dialog-header .longtext-browser-warning {
|
|
214
214
|
margin-right: 4px;
|
|
215
215
|
display: inline-block;
|
|
216
216
|
line-height: 12px;
|
|
217
217
|
transform: scale(0.8);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
.longtext-modal-dialog-header
|
|
220
|
+
.longtext-modal-dialog-header .browser-warning-content {
|
|
221
221
|
line-height: 12px;
|
|
222
222
|
}
|
|
223
223
|
|