@seafile/sdoc-editor 2.0.18-alph-0.1.1 → 2.0.19
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/dist/basic-sdk/extension/commons/insert-element-dialog/index.js +2 -12
- package/dist/basic-sdk/extension/constants/element-type.js +1 -2
- package/dist/basic-sdk/extension/constants/index.js +2 -8
- package/dist/basic-sdk/extension/constants/menus-config.js +0 -5
- package/dist/basic-sdk/extension/plugins/index.js +0 -7
- package/dist/basic-sdk/extension/render/custom-element.js +0 -5
- package/dist/basic-sdk/extension/toolbar/header-toolbar/insert-toolbar/index.js +2 -3
- package/dist/basic-sdk/extension/toolbar/side-toolbar/helpers.js +1 -2
- package/dist/components/doc-operations/revision-operations/revisions/revisions-dialog/index.js +2 -1
- package/dist/constants/index.js +0 -1
- package/dist/pages/document-plugin-editor.js +1 -3
- package/package.json +1 -1
- package/public/locales/cs/sdoc-editor.json +1 -7
- package/public/locales/de/sdoc-editor.json +60 -66
- package/public/locales/en/sdoc-editor.json +1 -9
- package/public/locales/es/sdoc-editor.json +1 -7
- package/public/locales/es_AR/sdoc-editor.json +1 -7
- package/public/locales/es_MX/sdoc-editor.json +1 -7
- package/public/locales/fr/sdoc-editor.json +234 -240
- package/public/locales/it/sdoc-editor.json +1 -7
- package/public/locales/ru/sdoc-editor.json +2 -8
- package/public/locales/zh_CN/sdoc-editor.json +1 -6
- package/public/media/sdoc-editor-font/iconfont.css +14 -15
- package/public/media/sdoc-editor-font/iconfont.eot +0 -0
- package/public/media/sdoc-editor-font/iconfont.svg +1 -3
- package/public/media/sdoc-editor-font/iconfont.ttf +0 -0
- package/public/media/sdoc-editor-font/iconfont.woff +0 -0
- package/public/media/sdoc-editor-font/iconfont.woff2 +0 -0
- package/public/media/sdoc-editor-font.css +7 -11
- package/dist/basic-sdk/extension/plugins/seatable-row/constants/index.js +0 -10
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/formatters/RateFormatter.js +0 -111
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/formatters/SimpleCellFormatter.js +0 -41
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/formatters/SingleSelectOption.js +0 -65
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/formatters/rate-formatter.css +0 -23
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/formatters/widget/rate-item.js +0 -78
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/helpers.js +0 -439
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/index.css +0 -425
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/index.js +0 -76
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/link-content.js +0 -133
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/record-content.js +0 -214
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/resize-handle/ResizeHandle.js +0 -38
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/resize-handle/index.css +0 -384
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/row-card-header-cell.js +0 -125
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/row-card-header.js +0 -143
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/row-card-item.js +0 -192
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/seatable-table-record.js +0 -51
- package/dist/basic-sdk/extension/plugins/seatable-row/helpers.js +0 -90
- package/dist/basic-sdk/extension/plugins/seatable-row/index.js +0 -17
- package/dist/basic-sdk/extension/plugins/seatable-row/menu/index.css +0 -3
- package/dist/basic-sdk/extension/plugins/seatable-row/menu/index.js +0 -46
- package/dist/basic-sdk/extension/plugins/seatable-row/menu/seatable-list.js +0 -62
- package/dist/basic-sdk/extension/plugins/seatable-row/model.js +0 -19
- package/dist/basic-sdk/extension/plugins/seatable-row/plugin.js +0 -60
- package/dist/basic-sdk/extension/plugins/seatable-row/render-elem/index.css +0 -124
- package/dist/basic-sdk/extension/plugins/seatable-row/render-elem/index.js +0 -160
- package/dist/basic-sdk/extension/plugins/seatable-row/render-elem/record-header.js +0 -78
- package/dist/basic-sdk/extension/plugins/seatable-row/render-elem/record-item.js +0 -41
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/defineProperty"));
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
var _rowCardHeader = _interopRequireDefault(require("./row-card-header"));
|
|
12
|
-
var _helpers = require("./helpers");
|
|
13
|
-
var _rowCardItem = _interopRequireDefault(require("./row-card-item"));
|
|
14
|
-
// 98: row-card-item height + margin top = 88 + 10 = 98
|
|
15
|
-
const CARD_RECORD_ITEM_HEIGHT = 98;
|
|
16
|
-
class RecordContent extends _react.Component {
|
|
17
|
-
constructor(_props) {
|
|
18
|
-
super(_props);
|
|
19
|
-
(0, _defineProperty2.default)(this, "initState", props => {
|
|
20
|
-
const {
|
|
21
|
-
rows
|
|
22
|
-
} = props;
|
|
23
|
-
this.recordItem = [];
|
|
24
|
-
this.currentDisplayRowMinIndex = 0;
|
|
25
|
-
this.currentDisplayRowMaxIndex = Math.floor((0 + this.recordsList.offsetHeight) / CARD_RECORD_ITEM_HEIGHT);
|
|
26
|
-
const displayRows = rows.slice(0, this.shownLength);
|
|
27
|
-
const isHasMore = rows.length === this.shownLength;
|
|
28
|
-
this.setState({
|
|
29
|
-
displayRows,
|
|
30
|
-
isHasMore
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
(0, _defineProperty2.default)(this, "scrollToMore", e => {
|
|
34
|
-
e.stopPropagation();
|
|
35
|
-
const {
|
|
36
|
-
clientHeight,
|
|
37
|
-
scrollTop,
|
|
38
|
-
scrollHeight
|
|
39
|
-
} = this.recordsList;
|
|
40
|
-
this.currentDisplayRowMinIndex = Math.floor(scrollTop / CARD_RECORD_ITEM_HEIGHT);
|
|
41
|
-
this.currentDisplayRowMaxIndex = Math.floor(scrollHeight / CARD_RECORD_ITEM_HEIGHT);
|
|
42
|
-
const {
|
|
43
|
-
scrollLeft,
|
|
44
|
-
isHasMore
|
|
45
|
-
} = this.state;
|
|
46
|
-
if (scrollLeft >= 0) {
|
|
47
|
-
this.setItemScrollLeft(scrollLeft, -1);
|
|
48
|
-
}
|
|
49
|
-
if (!isHasMore || this.isLoadingMore) return;
|
|
50
|
-
if (clientHeight + scrollTop >= scrollHeight) {
|
|
51
|
-
const offset = this.shownLength;
|
|
52
|
-
this.isLoadingMore = true;
|
|
53
|
-
this.shownLength = offset + 10;
|
|
54
|
-
this.props.onLoadMore(offset);
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
(0, _defineProperty2.default)(this, "onRef", (ref, rowIdx) => {
|
|
58
|
-
this.recordItem[rowIdx] = ref;
|
|
59
|
-
});
|
|
60
|
-
(0, _defineProperty2.default)(this, "getCurrentDisplayRowMaxIndex", () => {
|
|
61
|
-
if (this.recordsList) {
|
|
62
|
-
this.currentDisplayRowMaxIndex = Math.floor((0 + this.recordsList.offsetHeight) / CARD_RECORD_ITEM_HEIGHT);
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
(0, _defineProperty2.default)(this, "setScrollLeft", scrollLeft => {
|
|
66
|
-
this.setState({
|
|
67
|
-
scrollLeft
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
(0, _defineProperty2.default)(this, "setItemScrollLeft", (scrollLeft, currentRecordIdx) => {
|
|
71
|
-
const {
|
|
72
|
-
isShowRowCardHeader
|
|
73
|
-
} = this.props;
|
|
74
|
-
if (isShowRowCardHeader) this.rowCardHeaderRef.setHeaderScrollLeft(scrollLeft);
|
|
75
|
-
const start = window.isMobile ? 0 : this.currentDisplayRowMinIndex;
|
|
76
|
-
const end = window.isMobile ? this.recordItem.length : this.currentDisplayRowMaxIndex;
|
|
77
|
-
for (let i = start; i <= end; i++) {
|
|
78
|
-
if (i !== currentRecordIdx && this.recordItem[i]) {
|
|
79
|
-
let cardRecordScrollLeft = this.recordItem[i].getScrollLeft();
|
|
80
|
-
if (cardRecordScrollLeft !== scrollLeft) {
|
|
81
|
-
this.recordItem[i].setScrollLeft(scrollLeft);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
(0, _defineProperty2.default)(this, "setRecordsListRef", ref => {
|
|
87
|
-
this.recordsList = ref;
|
|
88
|
-
});
|
|
89
|
-
(0, _defineProperty2.default)(this, "handleRowClick", rowId => {
|
|
90
|
-
const {
|
|
91
|
-
setSelectedRow
|
|
92
|
-
} = this.props;
|
|
93
|
-
|
|
94
|
-
// Select one row, then make other selected one unselected
|
|
95
|
-
// Select one row to make itself toggled state
|
|
96
|
-
this.setState(prevState => {
|
|
97
|
-
const newSelectedRowId = prevState.selectedRowId === rowId ? null : rowId;
|
|
98
|
-
setTimeout(() => {
|
|
99
|
-
setSelectedRow(newSelectedRowId ? rowId : '');
|
|
100
|
-
}, 0);
|
|
101
|
-
return {
|
|
102
|
-
selectedRowId: newSelectedRowId
|
|
103
|
-
};
|
|
104
|
-
});
|
|
105
|
-
});
|
|
106
|
-
this.state = {
|
|
107
|
-
isHasMore: false,
|
|
108
|
-
displayRows: [],
|
|
109
|
-
scrollLeft: 0,
|
|
110
|
-
selectedRowId: null
|
|
111
|
-
};
|
|
112
|
-
this.shownLength = 10;
|
|
113
|
-
this.recordsList = null;
|
|
114
|
-
this.recordsContainer = null;
|
|
115
|
-
this.recordItem = [];
|
|
116
|
-
this.currentDisplayRowMinIndex = 0;
|
|
117
|
-
this.currentDisplayRowMaxIndex = 0;
|
|
118
|
-
this.isLoadingMore = false;
|
|
119
|
-
}
|
|
120
|
-
componentDidMount() {
|
|
121
|
-
this.initState(this.props);
|
|
122
|
-
}
|
|
123
|
-
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
124
|
-
const {
|
|
125
|
-
rows
|
|
126
|
-
} = nextProps;
|
|
127
|
-
if (this.shownLength === 10) {
|
|
128
|
-
this.isLoadingMore = false;
|
|
129
|
-
this.initState(nextProps);
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
this.isLoadingMore = false;
|
|
133
|
-
const displayRows = rows.slice(0, this.shownLength);
|
|
134
|
-
const isHasMore = rows.length === this.shownLength;
|
|
135
|
-
this.setState({
|
|
136
|
-
displayRows,
|
|
137
|
-
isHasMore
|
|
138
|
-
});
|
|
139
|
-
if (this.props.isAdditionEditorView !== nextProps.isAdditionEditorView) {
|
|
140
|
-
this.recordsList.scrollTop = 0;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
componentWillUnmount() {
|
|
144
|
-
this.recordsList = null;
|
|
145
|
-
this.recordsContainer = null;
|
|
146
|
-
this.recordItem = [];
|
|
147
|
-
this.currentDisplayRowMinIndex = 0;
|
|
148
|
-
this.currentDisplayRowMaxIndex = 0;
|
|
149
|
-
}
|
|
150
|
-
render() {
|
|
151
|
-
const {
|
|
152
|
-
table,
|
|
153
|
-
isAdditionEditorView,
|
|
154
|
-
noCardItemTip,
|
|
155
|
-
rowCardType,
|
|
156
|
-
columns,
|
|
157
|
-
renderedColumns,
|
|
158
|
-
showScrollBtn,
|
|
159
|
-
cardListClassName,
|
|
160
|
-
formulaRows,
|
|
161
|
-
cardHeaderClassName
|
|
162
|
-
} = this.props;
|
|
163
|
-
const {
|
|
164
|
-
displayRows,
|
|
165
|
-
scrollLeft,
|
|
166
|
-
selectedRowId
|
|
167
|
-
} = this.state;
|
|
168
|
-
const rowCardListClass = `row-card-list ${cardListClassName ? cardListClassName : ''}`;
|
|
169
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
170
|
-
className: "seatable-table-wrapper"
|
|
171
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
172
|
-
className: "row-card-container"
|
|
173
|
-
}, /*#__PURE__*/_react.default.createElement(_rowCardHeader.default, {
|
|
174
|
-
cardHeaderClassName: cardHeaderClassName,
|
|
175
|
-
setItemScrollLeft: this.setItemScrollLeft,
|
|
176
|
-
renderedColumns: renderedColumns,
|
|
177
|
-
getCurrentDisplayRowMaxIndex: this.getCurrentDisplayRowMaxIndex,
|
|
178
|
-
showScrollBtn: showScrollBtn,
|
|
179
|
-
scrollLeft: scrollLeft,
|
|
180
|
-
setScrollLeft: this.setScrollLeft,
|
|
181
|
-
rowCardType: rowCardType,
|
|
182
|
-
ref: ref => this.rowCardHeaderRef = ref,
|
|
183
|
-
table: table
|
|
184
|
-
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
185
|
-
className: rowCardListClass,
|
|
186
|
-
ref: this.setRecordsListRef,
|
|
187
|
-
onScroll: this.scrollToMore
|
|
188
|
-
}, displayRows.length === 0 && /*#__PURE__*/_react.default.createElement("div", {
|
|
189
|
-
className: "no-records-tips"
|
|
190
|
-
}, noCardItemTip), displayRows.length > 0 && /*#__PURE__*/_react.default.createElement("div", {
|
|
191
|
-
className: "row-card-content",
|
|
192
|
-
ref: ref => this.recordsContent = ref
|
|
193
|
-
}, displayRows.map((row, rowIdx) => {
|
|
194
|
-
const formulaRow = formulaRows && formulaRows[row._id] || {};
|
|
195
|
-
const displayRowName = (0, _helpers.getRowName)(table.columns, row);
|
|
196
|
-
return /*#__PURE__*/_react.default.createElement(_rowCardItem.default, {
|
|
197
|
-
key: `row-card-${rowIdx}`,
|
|
198
|
-
displayRowName: displayRowName,
|
|
199
|
-
setItemScrollLeft: this.setItemScrollLeft,
|
|
200
|
-
onRef: this.onRef,
|
|
201
|
-
rowCardType: rowCardType,
|
|
202
|
-
table: table,
|
|
203
|
-
row: row,
|
|
204
|
-
isAdditionEditorView: isAdditionEditorView,
|
|
205
|
-
formulaRow: formulaRow,
|
|
206
|
-
rowIdx: rowIdx,
|
|
207
|
-
columns: columns,
|
|
208
|
-
isSelected: selectedRowId === row._id,
|
|
209
|
-
onRowClick: () => this.handleRowClick(row._id)
|
|
210
|
-
});
|
|
211
|
-
})))));
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
var _default = exports.default = RecordContent;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/defineProperty"));
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _draggable = _interopRequireDefault(require("../../../../seatable-tables/draggable"));
|
|
11
|
-
require("./index.css");
|
|
12
|
-
const style = {
|
|
13
|
-
position: 'absolute',
|
|
14
|
-
top: 0,
|
|
15
|
-
width: 5,
|
|
16
|
-
borderRadius: '3px',
|
|
17
|
-
margin: '3px 0',
|
|
18
|
-
height: '80%'
|
|
19
|
-
};
|
|
20
|
-
class ResizeHandle extends _react.default.Component {
|
|
21
|
-
constructor() {
|
|
22
|
-
super(...arguments);
|
|
23
|
-
(0, _defineProperty2.default)(this, "setResizeHandleLeft", left => {
|
|
24
|
-
this.draggable.setDraggableLeft(left);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
render() {
|
|
28
|
-
return /*#__PURE__*/_react.default.createElement(_draggable.default, Object.assign({}, this.props, {
|
|
29
|
-
ref: ref => this.draggable = ref,
|
|
30
|
-
className: "react-grid-HeaderCell__resizeHandle",
|
|
31
|
-
style: {
|
|
32
|
-
...this.props.style,
|
|
33
|
-
...style
|
|
34
|
-
}
|
|
35
|
-
}));
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
var _default = exports.default = ResizeHandle;
|
|
@@ -1,384 +0,0 @@
|
|
|
1
|
-
.react-grid-Header {
|
|
2
|
-
background: #f9f9f9;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.react-grid-Header--resizing {
|
|
6
|
-
cursor: ew-resize;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.react-grid-HeaderRow {
|
|
10
|
-
-webkit-user-select: none;
|
|
11
|
-
-moz-user-select: none;
|
|
12
|
-
-ms-user-select: none;
|
|
13
|
-
user-select: none;
|
|
14
|
-
display: flex;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.dtable-header-setting {
|
|
19
|
-
height: 100%;
|
|
20
|
-
width: 30px;
|
|
21
|
-
float: right;
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
color: #666666;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.dtable-header-setting::after {
|
|
28
|
-
content: '';
|
|
29
|
-
display: block;
|
|
30
|
-
clear: both;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.dtable-header-setting:hover {
|
|
34
|
-
color: #444;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.dtable-header-setting-submenu .dtable-dropdown-menu {
|
|
39
|
-
top: -12px !important;
|
|
40
|
-
left: -10px !important;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.dtable-dropdown-menu .dtable-header-setting-submenu:hover .dtable-dropdown-menu .item-icon {
|
|
44
|
-
color: #8c8c8c;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.dtable-dropdown-menu .dtable-header-setting-submenu:hover .dropdown-item:hover .item-icon {
|
|
48
|
-
color: #fff;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.react-grid-HeaderCell {
|
|
52
|
-
user-select: none;
|
|
53
|
-
background: #f9f9f9;
|
|
54
|
-
padding: 8px;
|
|
55
|
-
font-weight: normal;
|
|
56
|
-
border-right: 1px solid #dddddd;
|
|
57
|
-
border-bottom: 1px solid #dddddd;
|
|
58
|
-
font-size: 14px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.react-grid-HeaderCell.rdg-row-actions-cell {
|
|
62
|
-
z-index: 3;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.react-grid-HeaderCell__value {
|
|
66
|
-
white-space: nowrap;
|
|
67
|
-
text-overflow: ellipsis;
|
|
68
|
-
overflow: hidden;
|
|
69
|
-
position: relative;
|
|
70
|
-
top: 50%;
|
|
71
|
-
transform: translateY(-50%);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.react-grid-HeaderCell__resizeHandle {
|
|
75
|
-
cursor: ew-resize;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.react-grid-HeaderCell__resizeHandle:hover {
|
|
79
|
-
background: #dddddd;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.react-grid-HeaderCell--frozen:last-of-type {
|
|
83
|
-
box-shadow: 2px 0 5px -2px rgba(136, 136, 136, 0.3);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.react-grid-HeaderCell--resizing .react-grid-HeaderCell__resizeHandle {
|
|
87
|
-
background: #dddddd;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.react-grid-HeaderCell__draggable {
|
|
91
|
-
cursor: col-resize;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.react-grid-HeaderCell__draggable:hover {
|
|
95
|
-
background-color: #2d7ff9;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.rdg-can-drop > .react-grid-HeaderCell {
|
|
99
|
-
background: #ececec;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.react-grid-HeaderCell .Select {
|
|
103
|
-
max-height: 30px;
|
|
104
|
-
font-size: 12px;
|
|
105
|
-
font-weight: normal;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.react-grid-HeaderCell .Select-control {
|
|
109
|
-
max-height: 30px;
|
|
110
|
-
border: 1px solid #cccccc;
|
|
111
|
-
color: #555;
|
|
112
|
-
border-radius: 3px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.react-grid-HeaderCell .is-focused:not(.is-open) > .Select-control {
|
|
116
|
-
border-color: #66afe9;
|
|
117
|
-
outline: 0;
|
|
118
|
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
|
119
|
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.react-grid-HeaderCell .Select-control .Select-placeholder {
|
|
123
|
-
line-height: 20px;
|
|
124
|
-
color: #999;
|
|
125
|
-
padding: 4px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.react-grid-HeaderCell .Select-control .Select-input {
|
|
129
|
-
max-height: 28px;
|
|
130
|
-
padding: 4px;
|
|
131
|
-
margin-left: 0px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.react-grid-HeaderCell .Select-control .Select-input input {
|
|
135
|
-
padding: 0px;
|
|
136
|
-
height: 100%;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.react-grid-HeaderCell .Select-control .Select-arrow-zone .Select-arrow {
|
|
140
|
-
border-color: gray transparent transparent;
|
|
141
|
-
border-width: 4px 4px 2.5px;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.react-grid-HeaderCell .Select-control .Select-value {
|
|
145
|
-
padding: 4px;
|
|
146
|
-
line-height: 20px !important;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.react-grid-HeaderCell .Select--multi .Select-control .Select-value {
|
|
150
|
-
padding: 0px;
|
|
151
|
-
line-height: 16px !important;
|
|
152
|
-
max-height: 20px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.react-grid-HeaderCell .Select--multi .Select-control .Select-value .Select-value-icon {
|
|
156
|
-
max-height: 20px;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.react-grid-HeaderCell .Select--multi .Select-control .Select-value .Select-value-label {
|
|
160
|
-
max-height: 20px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.react-grid-HeaderCell .Select-control .Select-value .Select-value-label {
|
|
164
|
-
color: #555555 !important;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.react-grid-HeaderCell .Select-menu-outer {
|
|
168
|
-
z-index: 2;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.react-grid-HeaderCell .Select-menu-outer .Select-option {
|
|
172
|
-
padding: 4px;
|
|
173
|
-
line-height: 20px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.react-grid-HeaderCell .Select-menu-outer .Select-menu .Select-option.is-selected {
|
|
177
|
-
color: #555555;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.react-grid-HeaderCell .Select-menu-outer .Select-menu .Select-option.is-focused {
|
|
181
|
-
color: #555555;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/* custom */
|
|
185
|
-
.header-cell-container {
|
|
186
|
-
width: 100%;
|
|
187
|
-
height: 100%;
|
|
188
|
-
display: flex;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.header-cell-container > div {
|
|
192
|
-
display: flex;
|
|
193
|
-
flex: 1;
|
|
194
|
-
align-items: center;
|
|
195
|
-
justify-content: space-between;
|
|
196
|
-
width: 100%;
|
|
197
|
-
min-width: 30px;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.header-cell-container .header-cell-left {
|
|
201
|
-
width: calc(100% - 20px);
|
|
202
|
-
display: flex;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.header-cell-container .header-uneditable-cell-left {
|
|
206
|
-
width: calc(100% - 34px);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.header-cell-container .header-uneditable-description-cell-left {
|
|
210
|
-
width: calc(100% - 50px);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.header-cell-container .dtable-dropdown-menu {
|
|
214
|
-
width: 20px;
|
|
215
|
-
padding: 0 5px;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.header-icon {
|
|
219
|
-
display: inline-block;
|
|
220
|
-
padding: 0 0.3125rem;
|
|
221
|
-
margin-left: -0.3125rem;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.header-cell-container .header-icon {
|
|
225
|
-
display: flex;
|
|
226
|
-
align-items: center;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.header-icon:hover {
|
|
230
|
-
cursor: default;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.header-icon .dtable-font {
|
|
234
|
-
font-size: 14px;
|
|
235
|
-
color: #aaa;
|
|
236
|
-
cursor: default;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.header-icon .dtable-font.dtable-icon-use-help {
|
|
240
|
-
color: #bdbdbd;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.header-icon .dtable-font.dtable-icon-use-help:hover {
|
|
244
|
-
color: #888;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.bs-tooltip-bottom .arrow::before,
|
|
248
|
-
.bs-tooltip-auto[x-placement^='bottom'] .arrow::before {
|
|
249
|
-
border-bottom-color: #303133;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.bs-tooltip-auto[x-placement^='right'] .arrow::before {
|
|
253
|
-
border-right-color: #303133;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.bs-tooltip-auto[x-placement^='left'] .arrow::before {
|
|
257
|
-
border-left-color: #303133;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.tooltip-inner {
|
|
261
|
-
max-width: 242px;
|
|
262
|
-
font-weight: lighter;
|
|
263
|
-
text-align: start;
|
|
264
|
-
background-color: #303133;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.help-icon-tooltip-inner {
|
|
268
|
-
position: relative;
|
|
269
|
-
overflow: hidden;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.help-icon-tooltip-btn {
|
|
273
|
-
float: right;
|
|
274
|
-
cursor: pointer;
|
|
275
|
-
color: rgba(255, 255, 255, 0.6);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.help-icon-tooltip-btn:hover {
|
|
279
|
-
color: rgba(255, 255, 255, 1);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.expand-row-icon {
|
|
283
|
-
display: inline-block;
|
|
284
|
-
margin-right: 0.5rem;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.expand-row-icon .dtable-font {
|
|
288
|
-
font-size: 14px;
|
|
289
|
-
color: #535354;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.header-name {
|
|
293
|
-
margin-left: 3px;
|
|
294
|
-
overflow: hidden;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.header-cell-container .header-name {
|
|
298
|
-
align-items: center;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.header-dropdown {
|
|
302
|
-
position: unset;
|
|
303
|
-
display: inline-block;
|
|
304
|
-
margin-left: auto;
|
|
305
|
-
z-index: 1;
|
|
306
|
-
cursor: pointer !important;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.header-dropdown:hover {
|
|
310
|
-
cursor: pointer;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.header-dropdown > span {
|
|
314
|
-
display: inline-block;
|
|
315
|
-
padding: 0 6px;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.header-dropdown .dtable-icon-drop-down {
|
|
319
|
-
display: inline-block;
|
|
320
|
-
font-size: 12px;
|
|
321
|
-
color: #999;
|
|
322
|
-
transform: scale(0.8);
|
|
323
|
-
transition: all 0.1s;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.header-dropdown:hover .dtable-icon-drop-down {
|
|
327
|
-
color: #aaa;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.header-dropdown .dropdown-item:hover {
|
|
331
|
-
background-color: #20a0ff;
|
|
332
|
-
color: #fff;
|
|
333
|
-
cursor: pointer;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
.dtable-dropdown-menu .header-dropdown .grid-header-dropdown-item {
|
|
337
|
-
padding: 0 1rem !important;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.header-dropdown .grid-header-dropdown-item .item-icon {
|
|
341
|
-
line-height: 32px;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
.dtable-dropdown-menu .grid-header-dropdown-item.formula-date-format-item {
|
|
345
|
-
padding-left: 15px;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.react-grid-HeaderCell.add-column-icon {
|
|
349
|
-
display: flex;
|
|
350
|
-
justify-content: center;
|
|
351
|
-
align-items: center;
|
|
352
|
-
padding: 0;
|
|
353
|
-
position: absolute;
|
|
354
|
-
cursor: pointer;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.react-grid-HeaderCell.add-column-icon .dtable-font {
|
|
358
|
-
font-size: 15px;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.react-grid-HeaderCell-default .header-cell-container .widget-HeaderCell__value {
|
|
362
|
-
line-height: 24px;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.react-grid-HeaderCell-default .header-name .header-name-text {
|
|
366
|
-
overflow: hidden;
|
|
367
|
-
text-overflow: ellipsis;
|
|
368
|
-
white-space: nowrap;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
.react-grid-HeaderCell-double .header-cell-container .header-cell-left {
|
|
372
|
-
height: 100%;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.react-grid-HeaderCell-double .header-name .header-name-text {
|
|
376
|
-
display: -webkit-box;
|
|
377
|
-
-webkit-line-clamp: 2;
|
|
378
|
-
-webkit-box-orient: vertical;
|
|
379
|
-
overflow: hidden;
|
|
380
|
-
text-overflow: ellipsis;
|
|
381
|
-
white-space: initial;
|
|
382
|
-
max-height: 46px;
|
|
383
|
-
height: fit-content;
|
|
384
|
-
}
|