@seafile/sdoc-editor 2.0.24 → 2.0.25-alph-0.0.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.
- package/dist/basic-sdk/assets/css/dropdown-menu.css +1 -1
- package/dist/basic-sdk/extension/commons/insert-element-dialog/index.js +12 -2
- package/dist/basic-sdk/extension/constants/element-type.js +2 -1
- package/dist/basic-sdk/extension/constants/index.js +8 -2
- package/dist/basic-sdk/extension/constants/menus-config.js +5 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-module/index.js +17 -4
- package/dist/basic-sdk/extension/plugins/ai/ai-module/style.css +8 -0
- package/dist/basic-sdk/extension/plugins/index.js +7 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/index.css +414 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/index.js +76 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/record-content.js +209 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/resize-handle/ResizeHandle.js +38 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/resize-handle/index.css +384 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/row-card-header-cell.js +125 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/row-card-header.js +144 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/row-card-item.js +161 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/seatable-table-record.js +47 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/helpers.js +98 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/index.js +17 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/menu/index.css +3 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/menu/index.js +46 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/menu/seatable-list.js +62 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/model.js +19 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/plugin.js +60 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/render-elem/index.css +124 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/render-elem/index.js +160 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/render-elem/record-header.js +78 -0
- package/dist/basic-sdk/extension/plugins/seatable-row/render-elem/record-item.js +41 -0
- package/dist/basic-sdk/extension/plugins/seatable-tables/formatter/index.js +7 -2
- package/dist/basic-sdk/extension/plugins/table/menu/table-menu/index.js +1 -0
- package/dist/basic-sdk/extension/plugins/table/popover/table-size-popover/index.js +2 -0
- package/dist/basic-sdk/extension/render/custom-element.js +5 -0
- package/dist/basic-sdk/extension/toolbar/header-toolbar/insert-toolbar/index.js +3 -2
- package/dist/basic-sdk/extension/toolbar/insert-element-toolbar/index.js +1 -1
- package/dist/basic-sdk/extension/toolbar/side-toolbar/helpers.js +2 -1
- package/dist/basic-sdk/extension/toolbar/side-toolbar/insert-block-menu.js +2 -1
- package/dist/constants/index.js +1 -0
- package/dist/pages/document-plugin-editor.js +2 -1
- package/package.json +1 -1
- package/public/locales/cs/sdoc-editor.json +7 -1
- package/public/locales/de/sdoc-editor.json +66 -60
- package/public/locales/en/sdoc-editor.json +9 -1
- package/public/locales/es/sdoc-editor.json +7 -1
- package/public/locales/es_AR/sdoc-editor.json +7 -1
- package/public/locales/es_MX/sdoc-editor.json +7 -1
- package/public/locales/fr/sdoc-editor.json +240 -234
- package/public/locales/it/sdoc-editor.json +7 -1
- package/public/locales/ru/sdoc-editor.json +8 -2
- package/public/locales/zh_CN/sdoc-editor.json +6 -1
- package/public/media/sdoc-editor-font/iconfont.css +15 -14
- package/public/media/sdoc-editor-font/iconfont.eot +0 -0
- package/public/media/sdoc-editor-font/iconfont.svg +3 -1
- 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 +11 -7
|
@@ -24,6 +24,7 @@ var _index5 = require("../../plugins/video/constants/index.js");
|
|
|
24
24
|
var _constants3 = require("../../../../basic-sdk/constants");
|
|
25
25
|
var _index6 = _interopRequireDefault(require("../../plugins/ai/ai-module/index.js"));
|
|
26
26
|
var _index7 = _interopRequireDefault(require("../../plugins/video/dialog/add-video-link-dialog/index.js"));
|
|
27
|
+
var _index8 = _interopRequireDefault(require("../../plugins/seatable-row/dialog/add-seatable-row-dialog/index.js"));
|
|
27
28
|
const InsertElementDialog = _ref => {
|
|
28
29
|
let {
|
|
29
30
|
editor
|
|
@@ -37,6 +38,7 @@ const InsertElementDialog = _ref => {
|
|
|
37
38
|
const [validEditor, setValidEditor] = (0, _react.useState)(editor);
|
|
38
39
|
const [linkTitle, setLinkTitle] = (0, _react.useState)('');
|
|
39
40
|
const [handleSubmit, setHandleSubmit] = (0, _react.useState)(() => void 0);
|
|
41
|
+
const [data, setData] = (0, _react.useState)({});
|
|
40
42
|
const {
|
|
41
43
|
t
|
|
42
44
|
} = (0, _reactI18next.useTranslation)('sdoc-editor');
|
|
@@ -96,7 +98,8 @@ const InsertElementDialog = _ref => {
|
|
|
96
98
|
editor: paramEditor,
|
|
97
99
|
linkTitle,
|
|
98
100
|
// link shortcut wrapping link
|
|
99
|
-
handleSubmit
|
|
101
|
+
handleSubmit,
|
|
102
|
+
data
|
|
100
103
|
} = _ref2;
|
|
101
104
|
setInsertPosition(insertPosition);
|
|
102
105
|
setSlateNode(slateNode);
|
|
@@ -113,6 +116,7 @@ const InsertElementDialog = _ref => {
|
|
|
113
116
|
setHandleSubmit(handleSubmit);
|
|
114
117
|
// Apply for comment editor, as it has a different editor instance
|
|
115
118
|
setValidEditor(paramEditor || editor);
|
|
119
|
+
setData(data);
|
|
116
120
|
if (type === _constants2.LOCAL_IMAGE) {
|
|
117
121
|
setTimeout(() => {
|
|
118
122
|
uploadLocalImageInputRef.current && uploadLocalImageInputRef.current.click();
|
|
@@ -133,6 +137,7 @@ const InsertElementDialog = _ref => {
|
|
|
133
137
|
setInsertVideoCallback(null);
|
|
134
138
|
setValidEditor(null);
|
|
135
139
|
setLinkTitle('');
|
|
140
|
+
setData('');
|
|
136
141
|
}, []);
|
|
137
142
|
const props = {
|
|
138
143
|
insertPosition,
|
|
@@ -141,7 +146,8 @@ const InsertElementDialog = _ref => {
|
|
|
141
146
|
element,
|
|
142
147
|
closeDialog,
|
|
143
148
|
linkTitle,
|
|
144
|
-
handleSubmit
|
|
149
|
+
handleSubmit,
|
|
150
|
+
data
|
|
145
151
|
};
|
|
146
152
|
switch (dialogType) {
|
|
147
153
|
case _constants2.ELEMENT_TYPE.TABLE:
|
|
@@ -240,6 +246,10 @@ const InsertElementDialog = _ref => {
|
|
|
240
246
|
closeModule: closeDialog
|
|
241
247
|
});
|
|
242
248
|
}
|
|
249
|
+
case _constants2.ELEMENT_TYPE.SEATABLE_ROW:
|
|
250
|
+
{
|
|
251
|
+
return /*#__PURE__*/_react.default.createElement(_index8.default, props);
|
|
252
|
+
}
|
|
243
253
|
default:
|
|
244
254
|
{
|
|
245
255
|
return null;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.WIKI_LINK = exports.VIDEO_LINK = exports.VIDEO = exports.UNORDERED_LIST = exports.TWO_COLUMN = exports.TOP_LEVEL_TYPES = exports.TITLE = exports.THREE_COLUMN = exports.TABLE_ROW = exports.TABLE_CELL = exports.TABLE = exports.SUBTITLE = exports.SEATABLE_TABLE = exports.SEATABLE_COLUMN = exports.SDOC_LINK = exports.QUICK_INSERT = exports.PARAGRAPH = exports.ORDERED_LIST = exports.MULTI_COLUMN = exports.MENTION_TEMP = exports.MENTION = exports.LIST_ITEM = exports.LINK = exports.INLINE_LEVEL_TYPES = exports.IMAGE_BLOCK = exports.IMAGE = exports.HEADER6 = exports.HEADER5 = exports.HEADER4 = exports.HEADER3 = exports.HEADER2 = exports.HEADER1 = exports.HEADER = exports.GROUP = exports.FOUR_COLUMN = exports.FONT_SIZE_REDUCE = exports.FONT_SIZE_INCREASE = exports.FONT_SIZE = exports.FIVE_COLUMN = exports.FILE_LINK_INSET_INPUT_TEMP = exports.FILE_LINK = exports.COLUMN = exports.CODE_LINE = exports.CODE_BLOCK = exports.CHECK_LIST_ITEM = exports.CALL_OUT = exports.BLOCKQUOTE = exports.ASK_AI = void 0;
|
|
6
|
+
exports.WIKI_LINK = exports.VIDEO_LINK = exports.VIDEO = exports.UNORDERED_LIST = exports.TWO_COLUMN = exports.TOP_LEVEL_TYPES = exports.TITLE = exports.THREE_COLUMN = exports.TABLE_ROW = exports.TABLE_CELL = exports.TABLE = exports.SUBTITLE = exports.SEATABLE_TABLE = exports.SEATABLE_ROW = exports.SEATABLE_COLUMN = exports.SDOC_LINK = exports.QUICK_INSERT = exports.PARAGRAPH = exports.ORDERED_LIST = exports.MULTI_COLUMN = exports.MENTION_TEMP = exports.MENTION = exports.LIST_ITEM = exports.LINK = exports.INLINE_LEVEL_TYPES = exports.IMAGE_BLOCK = exports.IMAGE = exports.HEADER6 = exports.HEADER5 = exports.HEADER4 = exports.HEADER3 = exports.HEADER2 = exports.HEADER1 = exports.HEADER = exports.GROUP = exports.FOUR_COLUMN = exports.FONT_SIZE_REDUCE = exports.FONT_SIZE_INCREASE = exports.FONT_SIZE = exports.FIVE_COLUMN = exports.FILE_LINK_INSET_INPUT_TEMP = exports.FILE_LINK = exports.COLUMN = exports.CODE_LINE = exports.CODE_BLOCK = exports.CHECK_LIST_ITEM = exports.CALL_OUT = exports.BLOCKQUOTE = exports.ASK_AI = void 0;
|
|
7
7
|
const BLOCKQUOTE = exports.BLOCKQUOTE = 'blockquote';
|
|
8
8
|
const TITLE = exports.TITLE = 'title';
|
|
9
9
|
const SUBTITLE = exports.SUBTITLE = 'subtitle';
|
|
@@ -44,6 +44,7 @@ const FILE_LINK_INSET_INPUT_TEMP = exports.FILE_LINK_INSET_INPUT_TEMP = 'file_li
|
|
|
44
44
|
const QUICK_INSERT = exports.QUICK_INSERT = 'quick_insert';
|
|
45
45
|
const VIDEO_LINK = exports.VIDEO_LINK = 'video_link';
|
|
46
46
|
const SEATABLE_COLUMN = exports.SEATABLE_COLUMN = 'seatable_column';
|
|
47
|
+
const SEATABLE_ROW = exports.SEATABLE_ROW = 'seatable_row';
|
|
47
48
|
const SEATABLE_TABLE = exports.SEATABLE_TABLE = 'seatable_table';
|
|
48
49
|
const ASK_AI = exports.ASK_AI = 'ask_ai';
|
|
49
50
|
|
|
@@ -344,6 +344,12 @@ Object.defineProperty(exports, "SEATABLE_COLUMN", {
|
|
|
344
344
|
return _elementType.SEATABLE_COLUMN;
|
|
345
345
|
}
|
|
346
346
|
});
|
|
347
|
+
Object.defineProperty(exports, "SEATABLE_ROW", {
|
|
348
|
+
enumerable: true,
|
|
349
|
+
get: function () {
|
|
350
|
+
return _elementType.SEATABLE_ROW;
|
|
351
|
+
}
|
|
352
|
+
});
|
|
347
353
|
Object.defineProperty(exports, "SEATABLE_TABLE", {
|
|
348
354
|
enumerable: true,
|
|
349
355
|
get: function () {
|
|
@@ -537,7 +543,7 @@ const FILE_TYPE = exports.FILE_TYPE = {
|
|
|
537
543
|
[_elementType.SDOC_LINK]: 'sdoc',
|
|
538
544
|
[_elementType.VIDEO]: 'video'
|
|
539
545
|
};
|
|
540
|
-
const SUPPORTED_SIDE_OPERATION_TYPE = exports.SUPPORTED_SIDE_OPERATION_TYPE = [_elementType.PARAGRAPH, _elementType.SUBTITLE, _elementType.HEADER1, _elementType.HEADER2, _elementType.HEADER3, _elementType.HEADER4, _elementType.HEADER5, _elementType.HEADER6, _elementType.CHECK_LIST_ITEM, _elementType.CODE_BLOCK, _elementType.TABLE, _elementType.BLOCKQUOTE, _elementType.CALL_OUT, _elementType.IMAGE_BLOCK, _elementType.VIDEO, _elementType.SEATABLE_TABLE, _elementType.MULTI_COLUMN];
|
|
546
|
+
const SUPPORTED_SIDE_OPERATION_TYPE = exports.SUPPORTED_SIDE_OPERATION_TYPE = [_elementType.PARAGRAPH, _elementType.SUBTITLE, _elementType.HEADER1, _elementType.HEADER2, _elementType.HEADER3, _elementType.HEADER4, _elementType.HEADER5, _elementType.HEADER6, _elementType.CHECK_LIST_ITEM, _elementType.CODE_BLOCK, _elementType.TABLE, _elementType.BLOCKQUOTE, _elementType.CALL_OUT, _elementType.IMAGE_BLOCK, _elementType.VIDEO, _elementType.SEATABLE_TABLE, _elementType.MULTI_COLUMN, _elementType.SEATABLE_ROW];
|
|
541
547
|
const MOUSE_ENTER_EVENT_DISABLED_MAP = exports.MOUSE_ENTER_EVENT_DISABLED_MAP = {
|
|
542
548
|
[_elementType.PARAGRAPH]: [_elementType.CALL_OUT],
|
|
543
549
|
[_elementType.TITLE]: [_elementType.CALL_OUT],
|
|
@@ -555,4 +561,4 @@ const MOUSE_ENTER_EVENT_DISABLED_MAP = exports.MOUSE_ENTER_EVENT_DISABLED_MAP =
|
|
|
555
561
|
[_elementType.HEADER6]: [_elementType.CALL_OUT],
|
|
556
562
|
[_elementType.CALL_OUT]: [_elementType.CALL_OUT]
|
|
557
563
|
};
|
|
558
|
-
const ROOT_ELEMENT_TYPES = exports.ROOT_ELEMENT_TYPES = [_elementType.PARAGRAPH, _elementType.TITLE, _elementType.SUBTITLE, _elementType.CHECK_LIST_ITEM, _elementType.ORDERED_LIST, _elementType.UNORDERED_LIST, _elementType.BLOCKQUOTE, _elementType.HEADER1, _elementType.HEADER2, _elementType.HEADER3, _elementType.HEADER4, _elementType.HEADER5, _elementType.HEADER6, _elementType.CALL_OUT, _elementType.TABLE, _elementType.CODE_BLOCK, _elementType.IMAGE_BLOCK, _elementType.VIDEO, _elementType.SEATABLE_TABLE];
|
|
564
|
+
const ROOT_ELEMENT_TYPES = exports.ROOT_ELEMENT_TYPES = [_elementType.PARAGRAPH, _elementType.TITLE, _elementType.SUBTITLE, _elementType.CHECK_LIST_ITEM, _elementType.ORDERED_LIST, _elementType.UNORDERED_LIST, _elementType.BLOCKQUOTE, _elementType.HEADER1, _elementType.HEADER2, _elementType.HEADER3, _elementType.HEADER4, _elementType.HEADER5, _elementType.HEADER6, _elementType.CALL_OUT, _elementType.TABLE, _elementType.CODE_BLOCK, _elementType.IMAGE_BLOCK, _elementType.VIDEO, _elementType.SEATABLE_TABLE, _elementType.SEATABLE_ROW];
|
|
@@ -223,6 +223,11 @@ const MENUS_CONFIG_MAP = exports.MENUS_CONFIG_MAP = {
|
|
|
223
223
|
iconClass: 'sdocfont sdoc-find-replace',
|
|
224
224
|
text: 'Search_and_replace'
|
|
225
225
|
},
|
|
226
|
+
[_elementType.SEATABLE_ROW]: {
|
|
227
|
+
id: `sdoc_${_elementType.SEATABLE_ROW}`,
|
|
228
|
+
iconClass: 'sdocfont sdoc-seatable-row',
|
|
229
|
+
text: 'SeaTable_row'
|
|
230
|
+
},
|
|
226
231
|
[_elementType.SEATABLE_COLUMN]: {
|
|
227
232
|
id: `sdoc_${_elementType.SEATABLE_COLUMN}`,
|
|
228
233
|
iconClass: 'sdocfont sdoc-choose-column',
|
|
@@ -310,7 +310,7 @@ function AIModule(_ref) {
|
|
|
310
310
|
});
|
|
311
311
|
}, [selectedValue, t]);
|
|
312
312
|
const onTranslateClick = (0, _react.useCallback)(lang => {
|
|
313
|
-
|
|
313
|
+
let translateValue = selectedValue;
|
|
314
314
|
if (!translateValue) {
|
|
315
315
|
_toast.default.warning(t('The_translation_content_cannot_be_empty'));
|
|
316
316
|
return;
|
|
@@ -319,10 +319,13 @@ function AIModule(_ref) {
|
|
|
319
319
|
const translateLang = lang ? lang : currentLang;
|
|
320
320
|
setCurrentLang(translateLang);
|
|
321
321
|
setIsGenerating(true);
|
|
322
|
+
// translateValue = translateValue.replace(/\n/g, '<br>');
|
|
323
|
+
console.log(1, translateValue);
|
|
322
324
|
_context.default.aiTranslate(translateValue, translateLang).then(res => {
|
|
323
325
|
const {
|
|
324
326
|
translation
|
|
325
327
|
} = res.data;
|
|
328
|
+
console.log(3, translation);
|
|
326
329
|
setSearchResult(translation);
|
|
327
330
|
setIsGenerating(false);
|
|
328
331
|
}).catch(err => {
|
|
@@ -352,10 +355,20 @@ function AIModule(_ref) {
|
|
|
352
355
|
const path = _slateReact.ReactEditor.findPath(editor, element);
|
|
353
356
|
nextPath = _slate.Path.next(path);
|
|
354
357
|
}
|
|
358
|
+
|
|
359
|
+
// Prevent '\\n' from being pre-wrapped
|
|
360
|
+
console.log(1, searchResult);
|
|
361
|
+
const tempResult = searchResult.replace(/\\n/g, '\v');
|
|
362
|
+
const paragraphs = tempResult.split('\n').map(line => line.replace(/\v/g, '\\n')).filter(line => line.trim() !== '');
|
|
355
363
|
const p = (0, _core.generateEmptyElement)(_constants2.PARAGRAPH);
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
364
|
+
paragraphs.forEach((line, index) => {
|
|
365
|
+
p.children[0].text = line;
|
|
366
|
+
_slate.Transforms.insertNodes(editor, p, {
|
|
367
|
+
at: nextPath
|
|
368
|
+
});
|
|
369
|
+
if (index < paragraphs.length - 1) {
|
|
370
|
+
nextPath = _slate.Path.next(nextPath);
|
|
371
|
+
}
|
|
359
372
|
});
|
|
360
373
|
onCloseClick();
|
|
361
374
|
focusToEndPath(nextPath);
|
|
@@ -83,6 +83,14 @@
|
|
|
83
83
|
pointer-events: all;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
.sdoc-ai-module-container .sdoc-ai-result .sdoc-ai-result-content {
|
|
87
|
+
white-space: pre-wrap;
|
|
88
|
+
line-height: 33px;
|
|
89
|
+
font-size: 11pt;
|
|
90
|
+
height:100%;
|
|
91
|
+
/* overflow-y: auto; */
|
|
92
|
+
}
|
|
93
|
+
|
|
86
94
|
.sdoc-ai-module-container .sdoc-ai-result .sdoc-ai-result-header {
|
|
87
95
|
display: flex;
|
|
88
96
|
justify-content: space-between;
|
|
@@ -119,6 +119,12 @@ Object.defineProperty(exports, "SeaTableColumnPlugin", {
|
|
|
119
119
|
return _seatableColumn.default;
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
|
+
Object.defineProperty(exports, "SeaTableRowPlugin", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () {
|
|
125
|
+
return _seatableRow.default;
|
|
126
|
+
}
|
|
127
|
+
});
|
|
122
128
|
Object.defineProperty(exports, "SeaTableViewsPlugin", {
|
|
123
129
|
enumerable: true,
|
|
124
130
|
get: function () {
|
|
@@ -186,6 +192,7 @@ var _mention = _interopRequireDefault(require("./mention"));
|
|
|
186
192
|
var _quickInsert = _interopRequireDefault(require("./quick-insert"));
|
|
187
193
|
var _wikiLink = _interopRequireDefault(require("./wiki-link"));
|
|
188
194
|
var _seatableColumn = _interopRequireDefault(require("./seatable-column"));
|
|
195
|
+
var _seatableRow = _interopRequireDefault(require("./seatable-row"));
|
|
189
196
|
var _seatableTables = _interopRequireDefault(require("./seatable-tables"));
|
|
190
197
|
var _group = _interopRequireDefault(require("./group"));
|
|
191
198
|
const Plugins = [_markdown.default, _html.default, _header.default, _link.default, _blockquote.default, _list.default, _checkList.default, _codeBlock.default, _image.default, _video.default, _table.default, _multiColumn.default, _textStyle.default, _textAlign.default, _font.default, _sdocLink.default, _paragraph.default, _fileLink.default, _callout.default, _searchReplace.default, _quickInsert.default, _group.default];
|
package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/index.css
ADDED
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
.seatable-rows-select-dialog {
|
|
2
|
+
max-width: 520px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.seatable-rows-select-dialog .sdoc-seatable-rows-select-footer {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
padding: 1rem;
|
|
10
|
+
border-top: 1px solid #e9ecef;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.seatable-rows-select-dialog .modal-header-container {
|
|
14
|
+
display: flex;
|
|
15
|
+
position: relative;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
align-items: center;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 57px;
|
|
20
|
+
padding: 16px;
|
|
21
|
+
border-bottom: 1px solid #e9ecef;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.seatable-rows-select-dialog .modal-title-container {
|
|
25
|
+
flex: 1;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
position: relative;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: flex-start;
|
|
31
|
+
margin: auto;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.seatable-rows-select-dialog .modal-body {
|
|
35
|
+
padding: 0 !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.seatable-rows-select-dialog .modal-body .form-label {
|
|
39
|
+
margin: 1rem 1rem 0;
|
|
40
|
+
padding-bottom: 1rem;
|
|
41
|
+
border-bottom: 1px solid #e2e2e2;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.seatable-rows-close-dialog {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
width: 28px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.modal-header-container .sdoc-close1 {
|
|
52
|
+
font-size: 16px;
|
|
53
|
+
color: #666666;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.modal-header-container .sdoc-close1:hover {
|
|
57
|
+
background-color: #EFEFEF;
|
|
58
|
+
border-radius: 3px;
|
|
59
|
+
height: 28px;
|
|
60
|
+
width: 28px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.seatable-rows-select-dialog .seatable-table-wrapper {
|
|
64
|
+
height: 280px;
|
|
65
|
+
overflow-x: auto;
|
|
66
|
+
overflow-y: hidden;
|
|
67
|
+
border: 2px solid transparent;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.seatable-rows-select-dialog .row-card-container {
|
|
71
|
+
height: 100%;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.row-card-container::-webkit-scrollbar {
|
|
76
|
+
display: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.records-column-names {
|
|
80
|
+
padding: 12px 32px;
|
|
81
|
+
min-width: 100%;
|
|
82
|
+
background-color: #fff;
|
|
83
|
+
box-shadow: -1px 0 2px 0 #ccc;
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.row-card-header .row-card-column-names {
|
|
89
|
+
padding: 8px 32px;
|
|
90
|
+
width: 100%;
|
|
91
|
+
position: relative;
|
|
92
|
+
min-width: 100%;
|
|
93
|
+
background-color: #fff;
|
|
94
|
+
box-shadow: -1px 0 2px 0 #ccc;
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.row-card-header .row-card-column-names .link-scroll-prev {
|
|
100
|
+
left: 4px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.row-card-header .row-card-column-names .row-card-scroll {
|
|
104
|
+
color: #999;
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
width: 24px;
|
|
107
|
+
height: 24px;
|
|
108
|
+
text-align: center;
|
|
109
|
+
line-height: 24px;
|
|
110
|
+
position: absolute;
|
|
111
|
+
top: 10px;
|
|
112
|
+
background-color: #fff;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.row-card-header .row-card-column-names .scroll-active {
|
|
116
|
+
color: #000;
|
|
117
|
+
cursor: pointer;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.row-card-header .row-card-column-names .link-scroll-next {
|
|
121
|
+
right: 4px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.row-card-header .row-card-column-names .scroll-active:hover {
|
|
125
|
+
background: #efefef;
|
|
126
|
+
border-radius: 4px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.row-card-header .row-card-columns-container {
|
|
130
|
+
width: 100%;
|
|
131
|
+
overflow: hidden;
|
|
132
|
+
overflow-x: scroll;
|
|
133
|
+
scrollbar-width: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.row-card-header .row-card-columns-container .row-card-column-name:first-child,
|
|
137
|
+
.mobile-link-records-container .link-records-column-name:first-child {
|
|
138
|
+
margin: 0 8px 0 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.row-card-header .row-card-columns-container .row-card-column-name {
|
|
142
|
+
flex-shrink: 0;
|
|
143
|
+
margin: 0 8px;
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
color: #666666;
|
|
146
|
+
height: 30px;
|
|
147
|
+
line-height: 30px;
|
|
148
|
+
cursor: default;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.row-card-header .row-card-columns-container::-webkit-scrollbar {
|
|
152
|
+
display: none;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.seatable-rows-select-dialog .row-card-container .row-card-list {
|
|
156
|
+
height: calc(100% - 40px);
|
|
157
|
+
width: 100%;
|
|
158
|
+
min-width: 100%;
|
|
159
|
+
padding: 10px 20px;
|
|
160
|
+
overflow-y: auto;
|
|
161
|
+
margin-top: 3px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.row-card-list .no-records-tips {
|
|
165
|
+
color: #666666;
|
|
166
|
+
text-align: center;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.row-card-list .no-views-tips {
|
|
170
|
+
color: #666666;
|
|
171
|
+
text-align: center;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.row-card-list .row-card-content {
|
|
175
|
+
padding: 0;
|
|
176
|
+
height: auto;
|
|
177
|
+
overflow-y: unset;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.row-card-list .row-card-content::-webkit-scrollbar {
|
|
181
|
+
width: 0;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.row-card-item {
|
|
185
|
+
height: 88px;
|
|
186
|
+
margin-top: 10px;
|
|
187
|
+
background-color: #fff;
|
|
188
|
+
border-radius: 4px;
|
|
189
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
190
|
+
font-size: 14px;
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: column;
|
|
193
|
+
justify-content: space-between;
|
|
194
|
+
align-items: flex-start;
|
|
195
|
+
position: relative;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.row-card-item:first-child {
|
|
199
|
+
margin-top: 0;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.row-card-item:last-child {
|
|
203
|
+
margin-bottom: 10px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.row-card-item:hover {
|
|
207
|
+
cursor: pointer;
|
|
208
|
+
border-color: rgba(0, 0, 0, 0.3);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.row-card-item.row-card-item-highlight {
|
|
212
|
+
border-color: rgba(0, 0, 0, 0.3);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.row-card-item .row-card-item-container {
|
|
216
|
+
width: 100%;
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
padding: 12px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.row-card-item-container .row-cell-empty {
|
|
222
|
+
display: inline-block;
|
|
223
|
+
height: 8px;
|
|
224
|
+
width: 20px;
|
|
225
|
+
background-color: #f1f1f1;
|
|
226
|
+
border-radius: 4px;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.row-card-item-header {
|
|
230
|
+
z-index: 1;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.row-card-item .row-card-item-header {
|
|
234
|
+
width: 100%;
|
|
235
|
+
height: 24px;
|
|
236
|
+
display: inline-flex;
|
|
237
|
+
justify-content: space-between;
|
|
238
|
+
align-items: center;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.row-card-item .row-card-item-name {
|
|
242
|
+
height: 100%;
|
|
243
|
+
flex: 1 1;
|
|
244
|
+
font-weight: 400;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.row-card-item .row-card-item-check {
|
|
248
|
+
color: #59cb74;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.row-card-item .row-card-item-content {
|
|
252
|
+
display: flex;
|
|
253
|
+
width: 100%;
|
|
254
|
+
overflow-x: scroll;
|
|
255
|
+
height: 40px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.row-card-item .row-card-item-content::-webkit-scrollbar {
|
|
259
|
+
display: none;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.row-card-item .row-cell-value {
|
|
263
|
+
display: flex;
|
|
264
|
+
justify-content: flex-start;
|
|
265
|
+
align-items: center;
|
|
266
|
+
flex-shrink: 0;
|
|
267
|
+
text-align: left;
|
|
268
|
+
margin: 0 8px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.row-card-item .row-cell-value.show-name {
|
|
272
|
+
flex-direction: column;
|
|
273
|
+
align-items: flex-start;
|
|
274
|
+
justify-content: center !important;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.row-card-item .row-cell-value.show-name .row-cell-value-content {
|
|
278
|
+
max-height: 20px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.row-card-item .row-cell-value.show-name .column-name {
|
|
282
|
+
margin: 0.25rem 0;
|
|
283
|
+
font-size: 12px;
|
|
284
|
+
color: #666;
|
|
285
|
+
max-width: 100px;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.row-card-item .row-cell-value.show-name .links-formatter .formatter-show {
|
|
289
|
+
display: inline-block;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.row-card-item .row-cell-value.show-name .image-cell-value {
|
|
293
|
+
height: inherit;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.row-card-item .row-cell-value:first-child {
|
|
297
|
+
justify-content: flex-start;
|
|
298
|
+
margin: 0 8px 0 0;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.row-card-item .row-cell-value-empty {
|
|
302
|
+
display: inline-block;
|
|
303
|
+
height: 8px;
|
|
304
|
+
width: 20px;
|
|
305
|
+
background-color: #f1f1f1;
|
|
306
|
+
border-radius: 4px;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.row-card-item-content .collaborators-formatter {
|
|
310
|
+
width: 100%;
|
|
311
|
+
overflow: hidden;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.row-card-item-content .collaborators-formatter .formatter-show {
|
|
315
|
+
align-items: center;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.row-card-item-content .multiple-select-formatter {
|
|
319
|
+
width: 100%;
|
|
320
|
+
overflow: hidden;
|
|
321
|
+
display: inline-flex;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.multiple-select-formatter .grid_cell_type_multiple-select {
|
|
325
|
+
margin-right: 10px;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.multiple-select-formatter .grid_cell_type_multiple-select:last-child {
|
|
329
|
+
margin-right: 0;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.row-card-item-content .cell-value-ellipsis {
|
|
333
|
+
display: inline-block;
|
|
334
|
+
height: auto;
|
|
335
|
+
width: 100%;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.row-card-item-content .image-cell-value {
|
|
339
|
+
height: 30px;
|
|
340
|
+
width: 40px;
|
|
341
|
+
position: relative;
|
|
342
|
+
display: inline-flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
justify-content: flex-start;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.row-card-item-content .image-cell-value img {
|
|
348
|
+
display: inline-block;
|
|
349
|
+
max-height: 30px;
|
|
350
|
+
max-width: 40px;
|
|
351
|
+
border-radius: 3px;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.image-cell-value .cell-value-size {
|
|
355
|
+
position: absolute;
|
|
356
|
+
bottom: -2px;
|
|
357
|
+
right: -4px;
|
|
358
|
+
display: inline-block;
|
|
359
|
+
height: 12px;
|
|
360
|
+
padding: 0 4px;
|
|
361
|
+
border-radius: 6px;
|
|
362
|
+
text-align: center;
|
|
363
|
+
background-color: #999;
|
|
364
|
+
font-size: 10px;
|
|
365
|
+
line-height: 12px;
|
|
366
|
+
color: #fff;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.row-card-item .number-formatter {
|
|
370
|
+
width: 100%;
|
|
371
|
+
height: 100%;
|
|
372
|
+
display: inline-flex;
|
|
373
|
+
align-items: center;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.row-card-item .geolocation-formatter {
|
|
377
|
+
width: 100%;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.row-card-item .geolocation-formatter div {
|
|
381
|
+
width: 100%;
|
|
382
|
+
overflow: hidden;
|
|
383
|
+
text-overflow: ellipsis;
|
|
384
|
+
white-space: nowrap;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.row-card-content .row-card-item .row-card-item-container {
|
|
388
|
+
padding: 0;
|
|
389
|
+
position: relative;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.row-card-item .row-card-item-header {
|
|
393
|
+
position: absolute;
|
|
394
|
+
top: 12px;
|
|
395
|
+
padding: 0 12px;
|
|
396
|
+
pointer-events: none;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.row-card-item .row-card-item-name {
|
|
400
|
+
pointer-events: none;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.row-card-item .row-card-item-container .row-card-item-content {
|
|
404
|
+
height: 88px;
|
|
405
|
+
padding: 24px 12px 0;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.row-card-column--resizing {
|
|
409
|
+
background-color: #f5f5f5;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.row-card-draggable:hover {
|
|
413
|
+
background-color: #f5f5f5;
|
|
414
|
+
}
|