dtable-ui-component 6.0.47 → 6.0.48-alpha.1
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/lib/CollapsibleSettingLayout/index.css +2 -2
- package/lib/DTableModalHeader/index.css +0 -1
- package/lib/FieldDisplaySetting/index.css +8 -3
- package/lib/FileFormatter/index.js +6 -1
- package/lib/GeolocationEditor/pc-editor/map-editor/index.js +1 -0
- package/lib/GeolocationEditor/pc-editor/map-editor/large-editor/index.js +1 -0
- package/lib/RoleStatusEditor/index.js +1 -1
- package/lib/utils/url.js +6 -2
- package/package.json +1 -1
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
.collapsible-setting-layout-header .dtable-font {
|
|
12
12
|
font-size: 10px;
|
|
13
|
-
color: #
|
|
13
|
+
color: #999;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.collapsible-setting-layout-header .dtable-font:hover {
|
|
17
|
-
color: #
|
|
17
|
+
color: #555;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.collapsible-setting-layout-header .dtable-font.dtable-icon-spin {
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
.field-setting .field-setting-header,
|
|
2
|
+
.field-setting .field-setting-header .form-label {
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
}
|
|
5
|
+
|
|
1
6
|
.field-setting .field-setting-header .expand-button {
|
|
2
|
-
color: #
|
|
7
|
+
color: #999;
|
|
3
8
|
font-size: 10px;
|
|
4
9
|
cursor: pointer;
|
|
5
10
|
transition: transform .3s cubic-bezier(.645,.045,.355,1);
|
|
@@ -10,12 +15,12 @@
|
|
|
10
15
|
}
|
|
11
16
|
|
|
12
17
|
.field-setting .field-setting-header .expand-button:hover {
|
|
13
|
-
color: #
|
|
18
|
+
color: #555;
|
|
14
19
|
cursor: pointer;
|
|
15
20
|
}
|
|
16
21
|
|
|
17
22
|
.field-setting .field-setting-banner .show-all-button {
|
|
18
|
-
color: #
|
|
23
|
+
color: #ed7109;
|
|
19
24
|
cursor: pointer;
|
|
20
25
|
font-size: 12px;
|
|
21
26
|
}
|
|
@@ -92,7 +92,12 @@ const FileFormatter = _ref => {
|
|
|
92
92
|
}, value.map((item, index) => {
|
|
93
93
|
const dom = /*#__PURE__*/_react.default.createElement(_FileItemFormatter.default, {
|
|
94
94
|
openFile: openFile,
|
|
95
|
-
file: item
|
|
95
|
+
file: item,
|
|
96
|
+
config: {
|
|
97
|
+
server,
|
|
98
|
+
dtableUuid,
|
|
99
|
+
workspaceID
|
|
100
|
+
}
|
|
96
101
|
});
|
|
97
102
|
if (renderItem) return /*#__PURE__*/_react.default.createElement(_react.Fragment, {
|
|
98
103
|
key: index
|
|
@@ -491,6 +491,7 @@ class MapEditor extends _react.Component {
|
|
|
491
491
|
className: "dtable-font dtable-icon-narrow"
|
|
492
492
|
}))))));
|
|
493
493
|
}
|
|
494
|
+
console.log(417, value);
|
|
494
495
|
return /*#__PURE__*/_react.default.createElement(_largeEditor.default, Object.assign({}, this.props, {
|
|
495
496
|
value: value,
|
|
496
497
|
setValue: this.setValue,
|
|
@@ -41,7 +41,7 @@ const RoleStatusEditor = _ref => {
|
|
|
41
41
|
'hide': !isShowDropdownIcon
|
|
42
42
|
})
|
|
43
43
|
}))), /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownMenu, {
|
|
44
|
-
|
|
44
|
+
className: "position-fixed",
|
|
45
45
|
modifiers: [{
|
|
46
46
|
name: 'preventOverflow',
|
|
47
47
|
options: {
|
package/lib/utils/url.js
CHANGED
|
@@ -189,7 +189,9 @@ const getFileIconUrl = (filename, direntType) => {
|
|
|
189
189
|
exports.getFileIconUrl = getFileIconUrl;
|
|
190
190
|
const getFileThumbnailInfo = function (file) {
|
|
191
191
|
let {
|
|
192
|
-
server
|
|
192
|
+
server,
|
|
193
|
+
dtableUuid,
|
|
194
|
+
workspaceID
|
|
193
195
|
} = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
194
196
|
const defaultIcon = _file.FILEEXT_ICON_MAP['default'];
|
|
195
197
|
const defaultIconUrl = _file.FILEEXT_ICON_URL_MAP[defaultIcon];
|
|
@@ -201,7 +203,9 @@ const getFileThumbnailInfo = function (file) {
|
|
|
201
203
|
if (isImage && server) return {
|
|
202
204
|
isImage,
|
|
203
205
|
fileIconUrl: getImageThumbnailUrl(file.url, {
|
|
204
|
-
server
|
|
206
|
+
server,
|
|
207
|
+
dtableUuid,
|
|
208
|
+
workspaceID
|
|
205
209
|
})
|
|
206
210
|
};
|
|
207
211
|
const iconUrl = getFileIconUrl(file.name, file.type);
|