dtable-ui-component 7.0.4 → 7.0.5-pal.2
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.
|
@@ -125,6 +125,10 @@
|
|
|
125
125
|
margin-left: 0 !important;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
.seatable-customize-select .selected-option .dtable-icon-down3 {
|
|
129
|
+
color: var(--bs-icon-color) !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
128
132
|
.selector-group-select .selected-option-show .selected-option-item {
|
|
129
133
|
align-items: center;
|
|
130
134
|
border-radius: 4px;
|
|
@@ -174,5 +178,5 @@
|
|
|
174
178
|
}
|
|
175
179
|
|
|
176
180
|
.selector-group-select {
|
|
177
|
-
height:
|
|
181
|
+
height: 38px;
|
|
178
182
|
}
|
|
@@ -25,6 +25,7 @@ class DTableCustomizeSelect extends _react.Component {
|
|
|
25
25
|
*/
|
|
26
26
|
if (this.state.isShowSelectOptions) event.stopPropagation();
|
|
27
27
|
const eventClassName = (0, _utils.getEventClassName)(event);
|
|
28
|
+
console.log('eventClassName', eventClassName);
|
|
28
29
|
if (this.props.isLocked || eventClassName.indexOf('option-search-control') > -1 || eventClassName === 'seatable-select-search') return;
|
|
29
30
|
// Prevent closing by pressing the spacebar in the search input
|
|
30
31
|
if (event.target.value === '') return;
|
|
@@ -25,7 +25,11 @@ function ImagePreviewerLightbox(props) {
|
|
|
25
25
|
dtableUuid = props.dtableUuid,
|
|
26
26
|
deleteImage = props.deleteImage,
|
|
27
27
|
downloadImage = props.downloadImage,
|
|
28
|
-
onRotateImage = props.onRotateImage
|
|
28
|
+
onRotateImage = props.onRotateImage,
|
|
29
|
+
_props$isShowPreLine = props.isShowPreLine,
|
|
30
|
+
isShowPreLine = _props$isShowPreLine === void 0 ? true : _props$isShowPreLine,
|
|
31
|
+
_props$isShowNextLine = props.isShowNextLine,
|
|
32
|
+
isShowNextLine = _props$isShowNextLine === void 0 ? true : _props$isShowNextLine;
|
|
29
33
|
const imageSrcList = imageItems.map(src => {
|
|
30
34
|
let name = '';
|
|
31
35
|
try {
|
|
@@ -111,8 +115,8 @@ function ImagePreviewerLightbox(props) {
|
|
|
111
115
|
onCloseRequest: props.closeImagePopup,
|
|
112
116
|
onMovePrevRequest: props.moveToPrevImage,
|
|
113
117
|
onMoveNextRequest: props.moveToNextImage,
|
|
114
|
-
onClickMoveUp: moveToPrevRowImage,
|
|
115
|
-
onClickMoveDown: moveToNextRowImage,
|
|
118
|
+
onClickMoveUp: isShowPreLine && moveToPrevRowImage,
|
|
119
|
+
onClickMoveDown: isShowNextLine && moveToNextRowImage,
|
|
116
120
|
onViewOriginal: props.onViewOriginal,
|
|
117
121
|
onRotateImage: canRotateImage ? deg => {
|
|
118
122
|
onRotateImage(currentImageIndex, deg);
|