dtable-ui-component 0.3.2-alpha6 → 0.3.3
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/assets/dtable-font/dtable-font.eot +0 -0
- package/assets/dtable-font/dtable-font.svg +319 -11
- package/assets/dtable-font/dtable-font.ttf +0 -0
- package/assets/dtable-font/dtable-font.woff +0 -0
- package/assets/dtable-font/dtable-font.woff2 +0 -0
- package/assets/dtable-font.css +630 -14
- package/lib/DTableCustomizeCollaboratorSelect/index.css +1 -1
- package/lib/ImageFormatter/images-lazy-load.js +11 -17
- package/lib/RowExpandFileFormatter/index.css +1 -1
- package/lib/RowExpandFormatter/index.css +13 -13
- package/lib/RowExpandFormatter/index.js +17 -4
- package/lib/RowExpandImageFormatter/index.css +1 -1
- package/lib/RowExpandLinkFormatter/formula-constants.js +1 -1
- package/lib/RowExpandLinkFormatter/index.js +1 -5
- package/lib/RowExpandLinkFormatter/utils.js +1 -1
- package/lib/RowExpandLinkFormatter/value-display-utils.js +1 -1
- package/lib/common/delete-tip.css +1 -1
- package/lib/constants/cell-types.js +5 -1
- package/lib/data/dtable-value.js +39 -3
- package/package.json +1 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.dtable-row-expand-formatter {
|
|
1
|
+
.dtable-ui.dtable-row-expand-formatter {
|
|
2
2
|
width: 100%;
|
|
3
3
|
max-width: 100%;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.dtable-row-expand-formatter .row-cell-empty {
|
|
6
|
+
.dtable-ui.dtable-row-expand-formatter .row-cell-empty {
|
|
7
7
|
height: 8px;
|
|
8
8
|
width: 20px;
|
|
9
9
|
background-color: #f1f1f1;
|
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
display: inline-block;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.dtable-row-expand-formatter .dtable-ui.collaborator-item {
|
|
14
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-ui.collaborator-item {
|
|
15
15
|
margin: 5px 10px 5px 0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.dtable-row-expand-formatter .dtable-ui.text-formatter,
|
|
19
|
-
.dtable-row-expand-formatter .dtable-ui.url-formatter,
|
|
20
|
-
.dtable-row-expand-formatter .dtable-ui.email-formatter {
|
|
18
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-ui.text-formatter,
|
|
19
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-ui.url-formatter,
|
|
20
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-ui.email-formatter {
|
|
21
21
|
overflow: hidden;
|
|
22
22
|
text-overflow: ellipsis;
|
|
23
23
|
white-space: nowrap;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.dtable-row-expand-formatter .dtable-ui.multiple-select-formatter .dtable-ui.select-item {
|
|
26
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-ui.multiple-select-formatter .dtable-ui.select-item {
|
|
27
27
|
margin: 5px 0;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.dtable-row-expand-formatter .dtable-ui.geolocation-formatter {
|
|
30
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-ui.geolocation-formatter {
|
|
31
31
|
width: fit-content;
|
|
32
32
|
min-width: 80px;
|
|
33
33
|
max-width: 100%;
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
text-align: center;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.dtable-row-expand-formatter .form-control {
|
|
44
|
+
.dtable-ui.dtable-row-expand-formatter .form-control {
|
|
45
45
|
background-color: #f8f9fa;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.dtable-row-expand-formatter .checkbox-formatter-container {
|
|
48
|
+
.dtable-ui.dtable-row-expand-formatter .checkbox-formatter-container {
|
|
49
49
|
width: 24px;
|
|
50
50
|
height: 24px;
|
|
51
51
|
border: 2px solid #e0e0e0;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
justify-content: center;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.dtable-row-expand-formatter .longtext-formatter-container {
|
|
57
|
+
.dtable-ui.dtable-row-expand-formatter .longtext-formatter-container {
|
|
58
58
|
border: 1px solid rgba(0, 40, 100, 0.12);
|
|
59
59
|
border-radius: 3px;
|
|
60
60
|
padding: 0.375rem 0.75rem;
|
|
@@ -62,12 +62,12 @@
|
|
|
62
62
|
background-color: #fff;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.dtable-row-expand-formatter .geolocation-formatter-container {
|
|
65
|
+
.dtable-ui.dtable-row-expand-formatter .geolocation-formatter-container {
|
|
66
66
|
height: 38px;
|
|
67
67
|
display: flex;
|
|
68
68
|
align-items: center;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.dtable-row-expand-formatter .dtable-link-formatter {
|
|
71
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-link-formatter {
|
|
72
72
|
padding-top: 8px;
|
|
73
73
|
}
|
|
@@ -8,11 +8,11 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
|
8
8
|
var _emptyTypeMap;
|
|
9
9
|
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { CellType } from 'dtable-store';
|
|
12
11
|
import classnames from 'classnames';
|
|
13
|
-
import { TextFormatter, NumberFormatter, CheckboxFormatter, DateFormatter, SingleSelectFormatter, MultipleSelectFormatter, CollaboratorFormatter, LongTextFormatter, GeolocationFormatter, CTimeFormatter, CreatorFormatter, LastModifierFormatter, MTimeFormatter, AutoNumberFormatter, UrlFormatter, EmailFormatter, DurationFormatter, RateFormatter, ButtonFormatter, RowExpandImageFormatter, RowExpandFileFormatter, RowExpandLinkFormatter } from '../index';
|
|
12
|
+
import { TextFormatter, NumberFormatter, CheckboxFormatter, DateFormatter, SingleSelectFormatter, MultipleSelectFormatter, CollaboratorFormatter, LongTextFormatter, GeolocationFormatter, CTimeFormatter, CreatorFormatter, LastModifierFormatter, MTimeFormatter, AutoNumberFormatter, UrlFormatter, EmailFormatter, DurationFormatter, RateFormatter, ButtonFormatter, RowExpandImageFormatter, RowExpandFileFormatter, RowExpandLinkFormatter, DigitalSignFormatter } from '../index';
|
|
13
|
+
import { CellType } from '../constants';
|
|
14
14
|
import './index.css';
|
|
15
|
-
var emptyTypeMap = (_emptyTypeMap = {}, _defineProperty(_emptyTypeMap, CellType.TEXT, true), _defineProperty(_emptyTypeMap, CellType.LONG_TEXT, true), _defineProperty(_emptyTypeMap, CellType.GEOLOCATION, true), _defineProperty(_emptyTypeMap, CellType.SINGLE_SELECT, true), _defineProperty(_emptyTypeMap, CellType.MULTIPLE_SELECT, true), _defineProperty(_emptyTypeMap, CellType.CTIME, true), _defineProperty(_emptyTypeMap, CellType.MTIME, true), _defineProperty(_emptyTypeMap, CellType.DATE, true), _defineProperty(_emptyTypeMap, CellType.AUTO_NUMBER, true), _defineProperty(_emptyTypeMap, CellType.URL, true), _defineProperty(_emptyTypeMap, CellType.EMAIL, true), _defineProperty(_emptyTypeMap, CellType.
|
|
15
|
+
var emptyTypeMap = (_emptyTypeMap = {}, _defineProperty(_emptyTypeMap, CellType.TEXT, true), _defineProperty(_emptyTypeMap, CellType.LONG_TEXT, true), _defineProperty(_emptyTypeMap, CellType.GEOLOCATION, true), _defineProperty(_emptyTypeMap, CellType.SINGLE_SELECT, true), _defineProperty(_emptyTypeMap, CellType.MULTIPLE_SELECT, true), _defineProperty(_emptyTypeMap, CellType.CTIME, true), _defineProperty(_emptyTypeMap, CellType.MTIME, true), _defineProperty(_emptyTypeMap, CellType.DATE, true), _defineProperty(_emptyTypeMap, CellType.AUTO_NUMBER, true), _defineProperty(_emptyTypeMap, CellType.URL, true), _defineProperty(_emptyTypeMap, CellType.EMAIL, true), _defineProperty(_emptyTypeMap, CellType.IMAGE, true), _defineProperty(_emptyTypeMap, CellType.FILE, true), _defineProperty(_emptyTypeMap, CellType.CREATOR, true), _defineProperty(_emptyTypeMap, CellType.LAST_MODIFIER, true), _emptyTypeMap);
|
|
16
16
|
|
|
17
17
|
var EditorFormatter = /*#__PURE__*/function (_React$Component) {
|
|
18
18
|
_inherits(EditorFormatter, _React$Component);
|
|
@@ -348,6 +348,10 @@ var EditorFormatter = /*#__PURE__*/function (_React$Component) {
|
|
|
348
348
|
|
|
349
349
|
case CellType.DURATION:
|
|
350
350
|
{
|
|
351
|
+
if (!cellValue && cellValue !== 0) {
|
|
352
|
+
return _this.renderEmpty();
|
|
353
|
+
}
|
|
354
|
+
|
|
351
355
|
return /*#__PURE__*/React.createElement("div", {
|
|
352
356
|
className: "form-control d-flex align-items-center w-100"
|
|
353
357
|
}, /*#__PURE__*/React.createElement(DurationFormatter, {
|
|
@@ -377,6 +381,15 @@ var EditorFormatter = /*#__PURE__*/function (_React$Component) {
|
|
|
377
381
|
});
|
|
378
382
|
}
|
|
379
383
|
|
|
384
|
+
case CellType.DIGITAL_SIGN:
|
|
385
|
+
{
|
|
386
|
+
return /*#__PURE__*/React.createElement(DigitalSignFormatter, {
|
|
387
|
+
value: cellValue,
|
|
388
|
+
containerClassName: containerClassName,
|
|
389
|
+
config: _this.props.config
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
|
|
380
393
|
default:
|
|
381
394
|
return null;
|
|
382
395
|
}
|
|
@@ -412,7 +425,7 @@ var EditorFormatter = /*#__PURE__*/function (_React$Component) {
|
|
|
412
425
|
value: function render() {
|
|
413
426
|
var className = this.props.className;
|
|
414
427
|
return /*#__PURE__*/React.createElement("div", {
|
|
415
|
-
className: classnames('dtable-row-expand-formatter', _defineProperty({}, className, className))
|
|
428
|
+
className: classnames('dtable-ui dtable-row-expand-formatter', _defineProperty({}, className, className))
|
|
416
429
|
}, this.renderFormatter());
|
|
417
430
|
}
|
|
418
431
|
}]);
|
|
@@ -4,7 +4,7 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
|
4
4
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
5
5
|
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
6
6
|
import React, { Component } from 'react';
|
|
7
|
-
import { CellType } from '
|
|
7
|
+
import { CellType } from '../constants';
|
|
8
8
|
import { MultipleSelectFormatter, DateFormatter, CTimeFormatter, MTimeFormatter } from '../index';
|
|
9
9
|
import CollaboratorItemFormatter from './collaborator-item-formatter';
|
|
10
10
|
import { getFormulaArrayValue, isArrayFormalColumn } from './utils';
|
|
@@ -136,10 +136,6 @@ var RowExpandLinkFormatter = /*#__PURE__*/function (_Component) {
|
|
|
136
136
|
|
|
137
137
|
case CellType.SINGLE_SELECT:
|
|
138
138
|
{
|
|
139
|
-
if (!cellValue || cellValue.length === 0) {
|
|
140
|
-
return props.renderEmpty();
|
|
141
|
-
}
|
|
142
|
-
|
|
143
139
|
var options = displayColumnData && Array.isArray(displayColumnData.options) ? displayColumnData.options : [];
|
|
144
140
|
return /*#__PURE__*/React.createElement(MultipleSelectFormatter, {
|
|
145
141
|
value: cellValue,
|
|
@@ -22,4 +22,8 @@ export var URL = 'url';
|
|
|
22
22
|
export var EMAIL = 'email';
|
|
23
23
|
export var DURATION = 'duration';
|
|
24
24
|
export var RATE = 'rate';
|
|
25
|
-
export var BUTTON = 'button';
|
|
25
|
+
export var BUTTON = 'button';
|
|
26
|
+
export var DIGITAL_SIGN = 'digital-sign'; // formula | link-formula column calculate result type
|
|
27
|
+
|
|
28
|
+
export var BOOL = 'bool';
|
|
29
|
+
export var STRING = 'string';
|
package/lib/data/dtable-value.js
CHANGED
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
|
2
2
|
|
|
3
3
|
var _COLUMNS_ICON_CONFIG;
|
|
4
4
|
|
|
5
|
-
import { CellType } from '
|
|
5
|
+
import { CellType } from '../constants';
|
|
6
6
|
var DTABLE_VALUE = {
|
|
7
7
|
'tables': [{
|
|
8
8
|
'_id': '0000',
|
|
@@ -95,6 +95,11 @@ var DTABLE_VALUE = {
|
|
|
95
95
|
'row_id': 'CU3j3PNyQaetnLWyiizURg',
|
|
96
96
|
'display_value': '第二行'
|
|
97
97
|
}],
|
|
98
|
+
'mFuA': {
|
|
99
|
+
'username': 'bing.an@seafile.com',
|
|
100
|
+
'sign_image_url': '/digital-signs/2023-06/bing.an%40seafile.com-1687316234288.png',
|
|
101
|
+
'sign_time': '2023-06-21T02:57:14.600+00:00'
|
|
102
|
+
},
|
|
98
103
|
'EC80': [{
|
|
99
104
|
'url': 'https://dev.seatable.cn/workspace/8/asset/3054cef5-ae9a-4323-bc2e-1fd1538db1f2/external-apps/files/2022-11/%E6%88%AA%E5%B1%8F2022-11-24%2010.45.13.png',
|
|
100
105
|
'size': 443928,
|
|
@@ -1233,6 +1238,32 @@ var DTABLE_VALUE = {
|
|
|
1233
1238
|
'props': {},
|
|
1234
1239
|
'_owner': null
|
|
1235
1240
|
}
|
|
1241
|
+
}, {
|
|
1242
|
+
'key': 'mFuA',
|
|
1243
|
+
'type': 'digital-sign',
|
|
1244
|
+
'name': '签名',
|
|
1245
|
+
'editable': true,
|
|
1246
|
+
'width': 200,
|
|
1247
|
+
'resizable': true,
|
|
1248
|
+
'draggable': true,
|
|
1249
|
+
'data': null,
|
|
1250
|
+
'permission_type': '',
|
|
1251
|
+
'permitted_users': [],
|
|
1252
|
+
'edit_metadata_permission_type': '',
|
|
1253
|
+
'edit_metadata_permitted_users': [],
|
|
1254
|
+
'description': null,
|
|
1255
|
+
'editor': {
|
|
1256
|
+
'key': null,
|
|
1257
|
+
'ref': null,
|
|
1258
|
+
'props': {},
|
|
1259
|
+
'_owner': null
|
|
1260
|
+
},
|
|
1261
|
+
'formatter': {
|
|
1262
|
+
'key': null,
|
|
1263
|
+
'ref': null,
|
|
1264
|
+
'props': {},
|
|
1265
|
+
'_owner': null
|
|
1266
|
+
}
|
|
1236
1267
|
}],
|
|
1237
1268
|
'view_structure': {
|
|
1238
1269
|
'folders': [{
|
|
@@ -2662,7 +2693,7 @@ var DTABLE_VALUE = {
|
|
|
2662
2693
|
'header_settings': {}
|
|
2663
2694
|
}]
|
|
2664
2695
|
};
|
|
2665
|
-
var COLUMNS_ICON_CONFIG = (_COLUMNS_ICON_CONFIG = {}, _defineProperty(_COLUMNS_ICON_CONFIG, CellType.DEFAULT, 'dtable-font dtable-icon-single-line-text'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.TEXT, 'dtable-font dtable-icon-single-line-text'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.NUMBER, 'dtable-font dtable-icon-number'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.CHECKBOX, 'dtable-font dtable-icon-check-square-solid'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.DATE, 'dtable-font dtable-icon-calendar-alt-solid'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.SINGLE_SELECT, 'dtable-font dtable-icon-single-election'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.LONG_TEXT, 'dtable-font dtable-icon-long-text'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.IMAGE, 'dtable-font dtable-icon-picture'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.FILE, 'dtable-font dtable-icon-file-alt-solid'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.MULTIPLE_SELECT, 'dtable-font dtable-icon-multiple-selection'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.COLLABORATOR, 'dtable-font dtable-icon-collaborator'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.LINK, 'dtable-font dtable-icon-link-other-record'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.FORMULA, 'dtable-font dtable-icon-formula'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.LINK_FORMULA, 'dtable-font dtable-icon-link-formulas'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.CREATOR, 'dtable-font dtable-icon-creator'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.CTIME, 'dtable-font dtable-icon-creation-time'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.LAST_MODIFIER, 'dtable-font dtable-icon-creator'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.MTIME, 'dtable-font dtable-icon-creation-time'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.GEOLOCATION, 'dtable-font dtable-icon-location'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.AUTO_NUMBER, 'dtable-font dtable-icon-autonumber'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.URL, 'dtable-font dtable-icon-url'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.EMAIL, 'dtable-font dtable-icon-email'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.DURATION, 'dtable-font dtable-icon-duration'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.BUTTON, 'dtable-font dtable-icon-button'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.RATE, 'dtable-font dtable-icon-star'), _COLUMNS_ICON_CONFIG);
|
|
2696
|
+
var COLUMNS_ICON_CONFIG = (_COLUMNS_ICON_CONFIG = {}, _defineProperty(_COLUMNS_ICON_CONFIG, CellType.DEFAULT, 'dtable-font dtable-icon-single-line-text'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.TEXT, 'dtable-font dtable-icon-single-line-text'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.NUMBER, 'dtable-font dtable-icon-number'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.CHECKBOX, 'dtable-font dtable-icon-check-square-solid'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.DATE, 'dtable-font dtable-icon-calendar-alt-solid'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.SINGLE_SELECT, 'dtable-font dtable-icon-single-election'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.LONG_TEXT, 'dtable-font dtable-icon-long-text'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.IMAGE, 'dtable-font dtable-icon-picture'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.FILE, 'dtable-font dtable-icon-file-alt-solid'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.MULTIPLE_SELECT, 'dtable-font dtable-icon-multiple-selection'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.COLLABORATOR, 'dtable-font dtable-icon-collaborator'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.LINK, 'dtable-font dtable-icon-link-other-record'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.FORMULA, 'dtable-font dtable-icon-formula'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.LINK_FORMULA, 'dtable-font dtable-icon-link-formulas'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.CREATOR, 'dtable-font dtable-icon-creator'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.CTIME, 'dtable-font dtable-icon-creation-time'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.LAST_MODIFIER, 'dtable-font dtable-icon-creator'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.MTIME, 'dtable-font dtable-icon-creation-time'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.GEOLOCATION, 'dtable-font dtable-icon-location'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.AUTO_NUMBER, 'dtable-font dtable-icon-autonumber'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.URL, 'dtable-font dtable-icon-url'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.EMAIL, 'dtable-font dtable-icon-email'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.DURATION, 'dtable-font dtable-icon-duration'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.BUTTON, 'dtable-font dtable-icon-button'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.RATE, 'dtable-font dtable-icon-star'), _defineProperty(_COLUMNS_ICON_CONFIG, CellType.DIGITAL_SIGN, 'dtable-font dtable-icon-handwritten-signature'), _COLUMNS_ICON_CONFIG);
|
|
2666
2697
|
var COLLABORATORS = [{
|
|
2667
2698
|
'avatar_url': 'https://dev.seatable.cn/image-view/avatars/0/0/916e1e9e7c6184061cb7d96a680292/resized/80/de58ef113a311d390934b06ceafd77cf.png',
|
|
2668
2699
|
'contact_email': '',
|
|
@@ -2692,4 +2723,9 @@ var COLLABORATORS = [{
|
|
|
2692
2723
|
'name_pinyin': 'an\'bing',
|
|
2693
2724
|
'id': 'W-00009'
|
|
2694
2725
|
}];
|
|
2695
|
-
|
|
2726
|
+
var SIGN_CONFIG = {
|
|
2727
|
+
server: 'https://dev.seatable.cn',
|
|
2728
|
+
workspaceID: 3,
|
|
2729
|
+
dtableUuid: '8327efbf-c9ff-4a14-9010-00e801a7e295'
|
|
2730
|
+
};
|
|
2731
|
+
export { DTABLE_VALUE, COLUMNS_ICON_CONFIG, COLLABORATORS, SIGN_CONFIG };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtable-ui-component",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@seafile/react-image-lightbox": "0.0.9",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"classnames": "^2.3.2",
|
|
13
13
|
"dayjs": "1.10.7",
|
|
14
14
|
"deepmerge": "^2.1.0",
|
|
15
|
-
"dtable-store": "4.1.0",
|
|
16
15
|
"enzyme": "^3.11.0",
|
|
17
16
|
"enzyme-adapter-react-16": "^1.15.2",
|
|
18
17
|
"glamor": "^2.20.40",
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
"xtend": "^4.0.1"
|
|
41
40
|
},
|
|
42
41
|
"scripts": {
|
|
43
|
-
"move": "npm run prepublishOnly && cp -r /Users/seafile/Desktop/codes/dtable-ui-component/lib /Users/seafile/Desktop/codes/seatable-app-map-cn/node_modules/dtable-ui-component/",
|
|
44
42
|
"lint": "./node_modules/.bin/eslint ./src/ --fix",
|
|
45
43
|
"clean:esm": "rm -rf es && mkdir es",
|
|
46
44
|
"clean:lib": "rm -rf lib && mkdir lib",
|