dtable-ui-component 6.0.3 → 6.0.4
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/ButtonFormatter/index.js +8 -2
- package/lib/CheckboxEditor/index.css +8 -20
- package/lib/CheckboxEditor/index.js +98 -35
- package/lib/CheckboxFormatter/index.css +5 -0
- package/lib/CheckboxFormatter/index.js +9 -15
- package/lib/CollaboratorEditor/index.css +12 -35
- package/lib/CollaboratorEditor/index.js +18 -212
- package/lib/CollaboratorEditor/{mb-collaborator-editor-popover → mb-collaborator-editor}/index.js +27 -30
- package/lib/CollaboratorEditor/pc-collaborator-editor/index.js +257 -0
- package/lib/CollaboratorItem/index.css +7 -1
- package/lib/CollaboratorItem/index.js +6 -2
- package/lib/Comment/body/comment.js +190 -0
- package/lib/Comment/body/index.css +95 -0
- package/lib/Comment/body/index.js +32 -0
- package/lib/Comment/footer/btns/index.css +40 -0
- package/lib/Comment/footer/btns/index.js +113 -0
- package/lib/Comment/footer/index.css +157 -0
- package/lib/Comment/footer/index.js +169 -0
- package/lib/Comment/footer/input/index.css +52 -0
- package/lib/Comment/footer/input/index.js +448 -0
- package/lib/Comment/footer/input/participant/index.css +0 -0
- package/lib/Comment/footer/input/participant/index.js +53 -0
- package/lib/Comment/footer/participants/index.css +22 -0
- package/lib/Comment/footer/participants/index.js +68 -0
- package/lib/Comment/footer/participants/participant/index.css +5 -0
- package/lib/Comment/footer/participants/participant/index.js +32 -0
- package/lib/Comment/footer/participants/participant-select/index.css +104 -0
- package/lib/Comment/footer/participants/participant-select/index.js +182 -0
- package/lib/Comment/index.css +19 -0
- package/lib/Comment/index.js +304 -0
- package/lib/Comment/model.js +25 -0
- package/lib/Comment/utils/common.js +62 -0
- package/lib/Comment/utils/index.js +27 -0
- package/lib/Comment/utils/utilities.js +176 -0
- package/lib/DTableColorPicker/index.css +1 -1
- package/lib/DTableCustomizeSelect/index.js +2 -2
- package/lib/DTableFiltersPopover/utils/index.js +1 -7
- package/lib/DTableFiltersPopover/widgets/filter-calendar.js +2 -2
- package/lib/DTableGroupSelect/index.js +3 -3
- package/lib/DTableSelect/index.js +3 -1
- package/lib/DateEditor/index.js +14 -51
- package/lib/DateEditor/pc-date-editor-popover.js +149 -12
- package/lib/{common/delete-tip.js → DeleteTip/index.js} +12 -16
- package/lib/Department-editor/department-single-select.js +1 -1
- package/lib/Department-editor/index.js +3 -4
- package/lib/DepartmentSingleSelectFormatter/index.js +3 -2
- package/lib/DigitalSignEditor/constants.js +7 -0
- package/lib/DigitalSignEditor/index.css +69 -0
- package/lib/DigitalSignEditor/index.js +182 -0
- package/lib/DigitalSignEditor/service.js +39 -0
- package/lib/DigitalSignEditor/signature-board/index.css +35 -0
- package/lib/DigitalSignEditor/signature-board/index.js +135 -0
- package/lib/DigitalSignEditor/signature-board/signature-tool.js +396 -0
- package/lib/DigitalSignEditor/utils.js +29 -0
- package/lib/DurationEditor/index.js +110 -0
- package/lib/EmailEditor/index.js +58 -0
- package/lib/FileEditor/addition-previewer/index.css +1 -0
- package/lib/FileEditor/addition-previewer/index.js +52 -0
- package/lib/FileEditor/addition-previewer/local-file-addition/index.css +1 -0
- package/lib/FileEditor/addition-previewer/local-file-addition/index.js +252 -0
- package/lib/FileEditor/constants.js +7 -0
- package/lib/FileEditor/files-previewer/file-previewer/dropdown-menu.js +74 -0
- package/lib/FileEditor/files-previewer/file-previewer/file-name-editor/index.css +5 -0
- package/lib/FileEditor/files-previewer/file-previewer/file-name-editor/index.js +77 -0
- package/lib/FileEditor/files-previewer/file-previewer/index.css +88 -0
- package/lib/FileEditor/files-previewer/file-previewer/index.js +167 -0
- package/lib/FileEditor/files-previewer/index.css +56 -0
- package/lib/FileEditor/files-previewer/index.js +277 -0
- package/lib/FileEditor/index.css +6 -0
- package/lib/FileEditor/index.js +258 -11
- package/lib/FileEditor/utils.js +22 -0
- package/lib/FileItemFormatter/index.js +19 -20
- package/lib/FileUploader/index.css +9 -0
- package/lib/FileUploader/index.js +268 -14
- package/lib/FormulaFormatter/cell-value-validator.js +17 -17
- package/lib/FormulaFormatter/index.js +2 -1
- package/lib/FormulaFormatter/utils.js +0 -31
- package/lib/GeolocationEditor/country-editor.js +319 -0
- package/lib/GeolocationEditor/index.css +641 -0
- package/lib/GeolocationEditor/index.js +240 -0
- package/lib/GeolocationEditor/location-editor.js +368 -0
- package/lib/GeolocationEditor/map-editor/index.js +456 -0
- package/lib/GeolocationEditor/map-editor/large-editor/index.css +137 -0
- package/lib/GeolocationEditor/map-editor/large-editor/index.js +461 -0
- package/lib/GeolocationEditor/map-editor-utils.js +153 -0
- package/lib/GeolocationEditor/map-selection-editor/index.js +455 -0
- package/lib/GeolocationEditor/map-selection-editor/large-editor/index.css +1 -0
- package/lib/GeolocationEditor/map-selection-editor/large-editor/index.js +447 -0
- package/lib/GeolocationEditor/parse-geolocation.js +282 -0
- package/lib/GeolocationEditor/province-city-editor.js +292 -0
- package/lib/GeolocationEditor/province-editor.js +226 -0
- package/lib/GeolocationEditor/selector-header-item.js +28 -0
- package/lib/GeolocationEditor/selector-list.js +33 -0
- package/lib/ImageEditor/addition-previewer/image-link/index.css +45 -0
- package/lib/ImageEditor/addition-previewer/image-link/index.js +73 -0
- package/lib/ImageEditor/addition-previewer/index.css +106 -0
- package/lib/ImageEditor/addition-previewer/index.js +63 -0
- package/lib/ImageEditor/addition-previewer/local-image-addition/index.css +125 -0
- package/lib/ImageEditor/addition-previewer/local-image-addition/index.js +254 -0
- package/lib/ImageEditor/constants.js +7 -0
- package/lib/ImageEditor/images-previewer/image-preview/index.css +59 -0
- package/lib/ImageEditor/images-previewer/image-preview/index.js +155 -0
- package/lib/ImageEditor/images-previewer/index.css +18 -0
- package/lib/ImageEditor/images-previewer/index.js +140 -0
- package/lib/ImageEditor/index.css +24 -0
- package/lib/ImageEditor/index.js +194 -0
- package/lib/ImageFormatter/images-lazy-load.js +4 -2
- package/lib/ImageFormatter/index.js +8 -3
- package/lib/ImageThumbnail/index.css +20 -0
- package/lib/ImageThumbnail/index.js +137 -0
- package/lib/LinkEditor/index.js +2 -3
- package/lib/LinkEditor/pc-link-editor-popover/index.js +1 -1
- package/lib/MultipleSelectEditor/index.js +16 -177
- package/lib/NumberEditor/index.js +63 -77
- package/lib/RoleStatusEditor/index.css +0 -2
- package/lib/RowExpandDialog/body/index.css +21 -0
- package/lib/RowExpandDialog/body/index.js +262 -0
- package/lib/RowExpandDialog/column-content/index.css +48 -0
- package/lib/RowExpandDialog/column-content/index.js +50 -0
- package/lib/RowExpandDialog/header/index.css +31 -0
- package/lib/RowExpandDialog/header/index.js +55 -0
- package/lib/RowExpandDialog/index.css +28 -0
- package/lib/RowExpandDialog/index.js +237 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/index.css +22 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/index.js +24 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.css +18 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.js +43 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.css +5 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.js +232 -0
- package/lib/RowExpandEditor/RowExpandDateEditor/index.js +130 -0
- package/lib/RowExpandEditor/RowExpandDepartmentEditor/index.js +104 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.css +13 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.js +208 -0
- package/lib/RowExpandEditor/RowExpandDurationEditor/index.js +105 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.css +2 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.js +125 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/index.js +148 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.css +17 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.js +165 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/index.css +11 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/index.js +170 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/index.css +6 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/index.js +123 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.css +44 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.js +247 -0
- package/lib/RowExpandEditor/RowExpandNumberEditor/index.js +105 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/index.css +13 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/index.js +152 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.css +58 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.js +206 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/index.css +4 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/index.js +127 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/index.css +31 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/index.js +130 -0
- package/lib/RowExpandEditor/constants.js +44 -0
- package/lib/RowExpandEditor/index.css +0 -0
- package/lib/RowExpandEditor/index.js +32 -0
- package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/index.js +27 -0
- package/lib/{RowExpandEmailFormatter → RowExpandFormatter/RowExpandEmailFormatter}/index.css +1 -1
- package/lib/{RowExpandEmailFormatter → RowExpandFormatter/RowExpandEmailFormatter}/index.js +1 -1
- package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/index.css +6 -6
- package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/index.js +3 -1
- package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/row-expand-file-item-formatter.js +12 -13
- package/lib/{RowExpandFormulaFormatter → RowExpandFormatter/RowExpandFormulaFormatter}/index.js +11 -10
- package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/index.css +6 -6
- package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/index.js +1 -1
- package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/row-expand-image-item-formatter.js +5 -5
- package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/collaborator-item-formatter.js +1 -1
- package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/index.css +2 -2
- package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/index.js +20 -20
- package/lib/{RowExpandRateFormatter → RowExpandFormatter/RowExpandRateFormatter}/index.css +1 -1
- package/lib/RowExpandFormatter/RowExpandUrlFormatter/index.css +1 -0
- package/lib/{RowExpandUrlFormatter → RowExpandFormatter/RowExpandUrlFormatter}/index.js +4 -3
- package/lib/RowExpandFormatter/constants.js +61 -0
- package/lib/RowExpandFormatter/index.css +28 -3
- package/lib/RowExpandFormatter/index.js +113 -131
- package/lib/SimpleLongTextFormatter/widgets/longTextEditor.css +2 -2
- package/lib/SingleSelectEditor/index.js +16 -156
- package/lib/SvgIcon/index.css +11 -0
- package/lib/SvgIcon/index.js +29 -0
- package/lib/TextEditor/index.js +112 -42
- package/lib/UploadProgress/index.js +38 -0
- package/lib/UrlEditor/index.js +61 -0
- package/lib/common/editor-base.js +52 -0
- package/lib/constants/file.js +96 -0
- package/lib/constants/index.js +27 -15
- package/lib/constants/key-codes.js +109 -0
- package/lib/css/cell-editor.css +18 -2
- package/lib/formatterConfig/base-formatter-config.js +23 -23
- package/lib/formatterConfig/index.js +3 -3
- package/lib/hooks/index.js +16 -0
- package/lib/index.js +81 -46
- package/lib/lang/index.js +19 -16
- package/lib/locales/de.json +167 -0
- package/lib/locales/en.json +167 -0
- package/lib/locales/es.json +167 -0
- package/lib/locales/fr.json +167 -0
- package/lib/locales/pt.json +167 -0
- package/lib/locales/ru.json +167 -0
- package/lib/locales/zh-CN.json +167 -0
- package/lib/select-editor/index.js +6 -6
- package/lib/select-editor/{mb-select-editor-popover → mb-select-editor}/index.js +3 -3
- package/lib/select-editor/pc-select-editor/index.css +85 -0
- package/lib/select-editor/pc-select-editor/index.js +295 -0
- package/lib/toaster/toast.js +19 -15
- package/lib/utils/cell-comparer.js +35 -0
- package/lib/utils/cell.js +55 -0
- package/lib/utils/column-utils.js +25 -0
- package/lib/utils/editor-utils.js +1 -6
- package/lib/utils/get-event-transfer.js +75 -0
- package/lib/utils/hotkey.js +37 -0
- package/lib/utils/object-utils.js +61 -0
- package/lib/utils/url.js +127 -8
- package/lib/utils/utils.js +119 -2
- package/package.json +3 -2
- package/lib/CollaboratorEditor/pc-collaborator-editor-popover/index.js +0 -97
- package/lib/FileEditor/pc-files-addition/index.js +0 -1
- package/lib/FileEditor/pc-files-addition/pc-file-uploaded-item.js +0 -1
- package/lib/FileEditor/pc-files-preview/index.js +0 -1
- package/lib/FileEditor/pc-files-preview/pc-file-item-preview.js +0 -1
- package/lib/FileItemFormatter/assets/file/192/excel.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/file.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/music.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/pdf.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/pic.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/ppt.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/txt.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/video.png +0 -0
- package/lib/FileItemFormatter/assets/file/192/word.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/excel.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/file.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/music.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/pdf.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/pic.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/ppt.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/txt.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/video.png +0 -0
- package/lib/FileItemFormatter/assets/file/24/word.png +0 -0
- package/lib/FileItemFormatter/assets/folder/folder-192.png +0 -0
- package/lib/FileItemFormatter/assets/folder/folder-24.png +0 -0
- package/lib/FileItemFormatter/utils.js +0 -99
- package/lib/MultipleSelectEditor/index.css +0 -9
- package/lib/RowExpandLinkFormatter/utils.js +0 -71
- package/lib/RowExpandUrlFormatter/index.css +0 -1
- package/lib/SingleSelectEditor/index.css +0 -14
- package/lib/common/modal-portal.js +0 -26
- package/lib/locals/de.js +0 -103
- package/lib/locals/en.js +0 -104
- package/lib/locals/es.js +0 -103
- package/lib/locals/fr.js +0 -103
- package/lib/locals/pt.js +0 -103
- package/lib/locals/ru.js +0 -103
- package/lib/locals/zh-CN.js +0 -104
- package/lib/select-editor/pc-select-editor-popover/index.css +0 -71
- package/lib/select-editor/pc-select-editor-popover/index.js +0 -122
- /package/lib/CollaboratorEditor/{mb-collaborator-editor-popover → mb-collaborator-editor}/index.css +0 -0
- /package/lib/CollaboratorEditor/{pc-collaborator-editor-popover → pc-collaborator-editor}/index.css +0 -0
- /package/lib/{common/delete-tip.css → DeleteTip/index.css} +0 -0
- /package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/value-display-utils.js +0 -0
- /package/lib/{RowExpandRateFormatter → RowExpandFormatter/RowExpandRateFormatter}/index.js +0 -0
- /package/lib/select-editor/{mb-select-editor-popover → mb-select-editor}/index.css +0 -0
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _reactstrap = require("reactstrap");
|
|
11
|
-
var _lang = require("
|
|
12
|
-
var
|
|
13
|
-
var
|
|
11
|
+
var _lang = require("../../lang");
|
|
12
|
+
var _url = require("../../utils/url");
|
|
13
|
+
var _DeleteTip = _interopRequireDefault(require("../../DeleteTip"));
|
|
14
14
|
class RowExpandFileItemFormatter extends _react.Component {
|
|
15
15
|
constructor(props) {
|
|
16
16
|
super(props);
|
|
@@ -39,10 +39,6 @@ class RowExpandFileItemFormatter extends _react.Component {
|
|
|
39
39
|
this.closeDeleteTip();
|
|
40
40
|
this.props.deleteFile(this.props.index);
|
|
41
41
|
};
|
|
42
|
-
this.getFileIconData = item => {
|
|
43
|
-
let fileIconUrl = (0, _utils.getFileIconUrl)(item.name, item.type);
|
|
44
|
-
return require('../FileItemFormatter/' + fileIconUrl);
|
|
45
|
-
};
|
|
46
42
|
this.state = {
|
|
47
43
|
isTooltipOpen: false,
|
|
48
44
|
isDeleteTipOpen: false
|
|
@@ -55,20 +51,23 @@ class RowExpandFileItemFormatter extends _react.Component {
|
|
|
55
51
|
index,
|
|
56
52
|
readOnly,
|
|
57
53
|
downloadFile,
|
|
58
|
-
deleteFile
|
|
54
|
+
deleteFile,
|
|
55
|
+
config
|
|
59
56
|
} = this.props;
|
|
60
57
|
const id = 'file-list-preview-item' + column.key + index;
|
|
61
|
-
const
|
|
58
|
+
const {
|
|
59
|
+
fileIconUrl
|
|
60
|
+
} = (0, _url.getFileThumbnailInfo)(file, config);
|
|
62
61
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
63
62
|
key: "file-".concat(index),
|
|
64
63
|
className: "row-expand-item-file",
|
|
65
64
|
id: id
|
|
66
65
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
67
|
-
src:
|
|
66
|
+
src: fileIconUrl,
|
|
68
67
|
id: "item-file-".concat(index),
|
|
69
68
|
alt: file.name
|
|
70
69
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
71
|
-
className: "dtable-file-icons-choice"
|
|
70
|
+
className: "dtable-ui-file-icons-choice"
|
|
72
71
|
}, downloadFile && /*#__PURE__*/_react.default.createElement("span", {
|
|
73
72
|
className: "file-icon",
|
|
74
73
|
onClick: e => this.props.downloadFile(file, e)
|
|
@@ -79,10 +78,10 @@ class RowExpandFileItemFormatter extends _react.Component {
|
|
|
79
78
|
onClick: this.onClickDelete
|
|
80
79
|
}, /*#__PURE__*/_react.default.createElement("i", {
|
|
81
80
|
className: "dtable-font dtable-icon-fork-number"
|
|
82
|
-
})))), this.state.isDeleteTipOpen && /*#__PURE__*/_react.default.createElement(
|
|
81
|
+
})))), this.state.isDeleteTipOpen && /*#__PURE__*/_react.default.createElement(_DeleteTip.default, {
|
|
83
82
|
position: this.position,
|
|
84
83
|
toggle: this.closeDeleteTip,
|
|
85
|
-
|
|
84
|
+
handleDelete: this.onDelete,
|
|
86
85
|
deleteTip: (0, _lang.getLocale)('Are_you_sure_you_want_to_delete_this_file')
|
|
87
86
|
}), /*#__PURE__*/_react.default.createElement(_reactstrap.Tooltip, {
|
|
88
87
|
placement: "bottom",
|
package/lib/{RowExpandFormulaFormatter → RowExpandFormatter/RowExpandFormulaFormatter}/index.js
RENAMED
|
@@ -8,13 +8,14 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
10
|
var _dtableUtils = require("dtable-utils");
|
|
11
|
-
var _baseFormatterConfig = _interopRequireDefault(require("
|
|
12
|
-
var _TextFormatter = _interopRequireDefault(require("
|
|
13
|
-
var _utils = require("
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
require("
|
|
11
|
+
var _baseFormatterConfig = _interopRequireDefault(require("../../formatterConfig/base-formatter-config"));
|
|
12
|
+
var _TextFormatter = _interopRequireDefault(require("../../TextFormatter"));
|
|
13
|
+
var _utils = require("../../FormulaFormatter/utils");
|
|
14
|
+
var _utils2 = require("../../utils/utils");
|
|
15
|
+
var _cellValueValidator = _interopRequireDefault(require("../../FormulaFormatter/cell-value-validator"));
|
|
16
|
+
var _toaster = _interopRequireDefault(require("../../toaster"));
|
|
17
|
+
var _lang = require("../../lang");
|
|
18
|
+
require("../../FormulaFormatter/index.css");
|
|
18
19
|
class RowExpandFormulaFormatter extends _react.default.Component {
|
|
19
20
|
constructor() {
|
|
20
21
|
super(...arguments);
|
|
@@ -32,11 +33,11 @@ class RowExpandFormulaFormatter extends _react.default.Component {
|
|
|
32
33
|
}
|
|
33
34
|
};
|
|
34
35
|
this.onOpenUrlLink = url => {
|
|
35
|
-
if (!(0,
|
|
36
|
+
if (!(0, _utils2.isValidUrl)(url)) {
|
|
36
37
|
url = "http://".concat(url);
|
|
37
38
|
}
|
|
38
39
|
try {
|
|
39
|
-
(0,
|
|
40
|
+
(0, _utils2.openUrlLink)(url);
|
|
40
41
|
} catch {
|
|
41
42
|
_toaster.default.danger((0, _lang.getLocale)('URL_is_invalid'));
|
|
42
43
|
}
|
|
@@ -179,7 +180,7 @@ class RowExpandFormulaFormatter extends _react.default.Component {
|
|
|
179
180
|
return /*#__PURE__*/_react.default.cloneElement(Formatter, {
|
|
180
181
|
...formatterProps
|
|
181
182
|
});
|
|
182
|
-
} else if ((0,
|
|
183
|
+
} else if ((0, _utils2.isFunction)(Formatter)) {
|
|
183
184
|
return /*#__PURE__*/_react.default.createElement(Formatter, formatterProps);
|
|
184
185
|
} else {
|
|
185
186
|
return /*#__PURE__*/_react.default.createElement(_TextFormatter.default, formatterProps);
|
package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/index.css
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import url('
|
|
1
|
+
@import url('../../css/cell-formatter.css');
|
|
2
2
|
|
|
3
3
|
.dtable-ui.row-expand-image-formatter {
|
|
4
4
|
display: flex;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
border-color: #c9c9c9;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.dtable-ui.row-expand-image-formatter .row-expand-item-image .dtable-image-icons-choice {
|
|
31
|
+
.dtable-ui.row-expand-image-formatter .row-expand-item-image .dtable-ui-image-icons-choice {
|
|
32
32
|
height: 20px;
|
|
33
33
|
width: 100%;
|
|
34
34
|
top: 0;
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
align-items: center;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.dtable-ui.row-expand-image-formatter .row-expand-item-image:hover .dtable-image-icons-choice {
|
|
43
|
+
.dtable-ui.row-expand-image-formatter .row-expand-item-image:hover .dtable-ui-image-icons-choice {
|
|
44
44
|
display: flex;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.dtable-ui.row-expand-image-formatter .row-expand-item-image .dtable-image-icons-choice .image-icon {
|
|
47
|
+
.dtable-ui.row-expand-image-formatter .row-expand-item-image .dtable-ui-image-icons-choice .image-icon {
|
|
48
48
|
height: 16px;
|
|
49
49
|
width: 16px;
|
|
50
50
|
border-radius: 50%;
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
align-items: center;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.dtable-ui.row-expand-image-formatter .row-expand-item-image .dtable-image-icons-choice .image-icon:nth-child(2) {
|
|
59
|
+
.dtable-ui.row-expand-image-formatter .row-expand-item-image .dtable-ui-image-icons-choice .image-icon:nth-child(2) {
|
|
60
60
|
margin-left: 5px;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.dtable-ui.row-expand-image-formatter .row-expand-item-image .dtable-image-icons-choice .image-icon .dtable-font {
|
|
63
|
+
.dtable-ui.row-expand-image-formatter .row-expand-item-image .dtable-ui-image-icons-choice .image-icon .dtable-font {
|
|
64
64
|
font-size: 12px;
|
|
65
65
|
transform: scale(.7);
|
|
66
66
|
}
|
|
@@ -9,7 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
11
|
var _rowExpandImageItemFormatter = _interopRequireDefault(require("./row-expand-image-item-formatter"));
|
|
12
|
-
var _ImagePreviewerLightbox = _interopRequireDefault(require("
|
|
12
|
+
var _ImagePreviewerLightbox = _interopRequireDefault(require("../../ImagePreviewerLightbox"));
|
|
13
13
|
require("./index.css");
|
|
14
14
|
class RowExpandImageFormatter extends _react.default.Component {
|
|
15
15
|
constructor(props) {
|
|
@@ -9,8 +9,8 @@ exports.default = void 0;
|
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _reactstrap = require("reactstrap");
|
|
11
11
|
var _reactResponsive = _interopRequireDefault(require("react-responsive"));
|
|
12
|
-
var _lang = require("
|
|
13
|
-
var
|
|
12
|
+
var _lang = require("../../lang");
|
|
13
|
+
var _DeleteTip = _interopRequireDefault(require("../../DeleteTip"));
|
|
14
14
|
class RowExpandImageItemFormatter extends _react.Component {
|
|
15
15
|
constructor(props) {
|
|
16
16
|
super(props);
|
|
@@ -74,7 +74,7 @@ class RowExpandImageItemFormatter extends _react.Component {
|
|
|
74
74
|
id: "item-image-".concat(index),
|
|
75
75
|
alt: name
|
|
76
76
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
77
|
-
className: "dtable-image-icons-choice"
|
|
77
|
+
className: "dtable-ui-image-icons-choice"
|
|
78
78
|
}, downloadFile && /*#__PURE__*/_react.default.createElement("span", {
|
|
79
79
|
className: "image-icon",
|
|
80
80
|
onClick: this.onClickDownload
|
|
@@ -85,10 +85,10 @@ class RowExpandImageItemFormatter extends _react.Component {
|
|
|
85
85
|
onClick: this.onClickDelete
|
|
86
86
|
}, /*#__PURE__*/_react.default.createElement("i", {
|
|
87
87
|
className: "dtable-font dtable-icon-fork-number"
|
|
88
|
-
})))), this.state.isDeleteTipOpen && /*#__PURE__*/_react.default.createElement(
|
|
88
|
+
})))), this.state.isDeleteTipOpen && /*#__PURE__*/_react.default.createElement(_DeleteTip.default, {
|
|
89
89
|
position: this.position,
|
|
90
90
|
toggle: this.closeDeleteTip,
|
|
91
|
-
|
|
91
|
+
handleDelete: this.onDelete,
|
|
92
92
|
deleteTip: (0, _lang.getLocale)('Are_you_sure_you_want_to_delete_this_image')
|
|
93
93
|
}), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
|
|
94
94
|
query: '(min-width: 768px)'
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _dtableUtils = require("dtable-utils");
|
|
11
|
-
var _CollaboratorItem = _interopRequireDefault(require("
|
|
11
|
+
var _CollaboratorItem = _interopRequireDefault(require("../../CollaboratorItem"));
|
|
12
12
|
class CollaboratorItemFormatter extends _react.Component {
|
|
13
13
|
constructor(_props) {
|
|
14
14
|
super(_props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.dtable-link-formatter {
|
|
1
|
+
.dtable-ui-row-expand-link-formatter {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
align-items: center;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
height: auto;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.dtable-link-formatter .row-expand-link-item {
|
|
10
|
+
.dtable-ui-row-expand-link-formatter .row-expand-link-item {
|
|
11
11
|
flex-shrink: 0;
|
|
12
12
|
margin: 2px 4px 2px 0;
|
|
13
13
|
padding: 0 6px;
|
|
@@ -7,13 +7,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var
|
|
11
|
-
var _MultipleSelectFormatter = _interopRequireDefault(require("
|
|
12
|
-
var _CTimeFormatter = _interopRequireDefault(require("
|
|
13
|
-
var _MTimeFormatter = _interopRequireDefault(require("
|
|
14
|
-
var _DateFormatter = _interopRequireDefault(require("
|
|
10
|
+
var _dtableUtils = require("dtable-utils");
|
|
11
|
+
var _MultipleSelectFormatter = _interopRequireDefault(require("../../MultipleSelectFormatter"));
|
|
12
|
+
var _CTimeFormatter = _interopRequireDefault(require("../../CTimeFormatter"));
|
|
13
|
+
var _MTimeFormatter = _interopRequireDefault(require("../../MTimeFormatter"));
|
|
14
|
+
var _DateFormatter = _interopRequireDefault(require("../../DateFormatter"));
|
|
15
15
|
var _collaboratorItemFormatter = _interopRequireDefault(require("./collaborator-item-formatter"));
|
|
16
|
-
var _utils = require("
|
|
16
|
+
var _utils = require("../../utils/utils");
|
|
17
17
|
var _valueDisplayUtils = require("./value-display-utils");
|
|
18
18
|
require("./index.css");
|
|
19
19
|
class RowExpandLinkFormatter extends _react.Component {
|
|
@@ -42,19 +42,19 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
42
42
|
data: displayColumnData
|
|
43
43
|
} = displayColumn;
|
|
44
44
|
if (displayColumnType === 'string') {
|
|
45
|
-
displayColumnType =
|
|
45
|
+
displayColumnType = _dtableUtils.CellType.TEXT;
|
|
46
46
|
}
|
|
47
47
|
const cellValue = (0, _utils.getFormulaArrayValue)(value, !(0, _utils.isArrayFormatColumn)(displayColumnType));
|
|
48
48
|
if (!Array.isArray(cellValue) || cellValue.length === 0) {
|
|
49
49
|
return props.renderEmpty();
|
|
50
50
|
}
|
|
51
51
|
switch (displayColumnType) {
|
|
52
|
-
case
|
|
53
|
-
case
|
|
54
|
-
case
|
|
55
|
-
case
|
|
56
|
-
case
|
|
57
|
-
case
|
|
52
|
+
case _dtableUtils.CellType.TEXT:
|
|
53
|
+
case _dtableUtils.CellType.AUTO_NUMBER:
|
|
54
|
+
case _dtableUtils.CellType.EMAIL:
|
|
55
|
+
case _dtableUtils.CellType.URL:
|
|
56
|
+
case _dtableUtils.CellType.DURATION:
|
|
57
|
+
case _dtableUtils.CellType.NUMBER:
|
|
58
58
|
{
|
|
59
59
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
60
60
|
className: containerClassName
|
|
@@ -66,7 +66,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
66
66
|
}, value);
|
|
67
67
|
}));
|
|
68
68
|
}
|
|
69
|
-
case
|
|
69
|
+
case _dtableUtils.CellType.DATE:
|
|
70
70
|
{
|
|
71
71
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
72
72
|
className: containerClassName
|
|
@@ -83,7 +83,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
83
83
|
});
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
case
|
|
86
|
+
case _dtableUtils.CellType.CTIME:
|
|
87
87
|
{
|
|
88
88
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
89
89
|
className: containerClassName
|
|
@@ -96,7 +96,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
96
96
|
});
|
|
97
97
|
}));
|
|
98
98
|
}
|
|
99
|
-
case
|
|
99
|
+
case _dtableUtils.CellType.MTIME:
|
|
100
100
|
{
|
|
101
101
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
102
102
|
className: containerClassName
|
|
@@ -109,8 +109,8 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
111
|
}
|
|
112
|
-
case
|
|
113
|
-
case
|
|
112
|
+
case _dtableUtils.CellType.CREATOR:
|
|
113
|
+
case _dtableUtils.CellType.LAST_MODIFIER:
|
|
114
114
|
{
|
|
115
115
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
116
116
|
className: "dtable-ui cell-formatter-container collaborator-formatter sql-query-collaborator-formatter"
|
|
@@ -125,7 +125,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
125
125
|
});
|
|
126
126
|
}));
|
|
127
127
|
}
|
|
128
|
-
case
|
|
128
|
+
case _dtableUtils.CellType.SINGLE_SELECT:
|
|
129
129
|
{
|
|
130
130
|
const options = displayColumnData && Array.isArray(displayColumnData.options) ? displayColumnData.options : [];
|
|
131
131
|
return /*#__PURE__*/_react.default.createElement(_MultipleSelectFormatter.default, {
|
|
@@ -133,7 +133,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
133
133
|
options: options || []
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
case
|
|
136
|
+
case _dtableUtils.CellType.FORMULA:
|
|
137
137
|
{
|
|
138
138
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
139
139
|
className: containerClassName
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import url('../../css/cell-formatter.css');
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
-
var _toaster = _interopRequireDefault(require("
|
|
11
|
-
var _editorUtils = require("
|
|
10
|
+
var _toaster = _interopRequireDefault(require("../../toaster"));
|
|
11
|
+
var _editorUtils = require("../../utils/editor-utils");
|
|
12
|
+
var _utils = require("../../utils/utils");
|
|
12
13
|
require("./index.css");
|
|
13
14
|
class UrlFormatter extends _react.default.Component {
|
|
14
15
|
constructor() {
|
|
@@ -18,7 +19,7 @@ class UrlFormatter extends _react.default.Component {
|
|
|
18
19
|
value
|
|
19
20
|
} = this.props;
|
|
20
21
|
const url = (0, _editorUtils.getTrimmedString)(value);
|
|
21
|
-
const validUrl = (0,
|
|
22
|
+
const validUrl = (0, _utils.isValidUrl)(url) ? url : "http://".concat(url);
|
|
22
23
|
try {
|
|
23
24
|
let a = document.createElement('a');
|
|
24
25
|
document.body.appendChild(a);
|
|
@@ -0,0 +1,61 @@
|
|
|
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_FORMATTER = void 0;
|
|
8
|
+
var _dtableUtils = require("dtable-utils");
|
|
9
|
+
var _TextFormatter = _interopRequireDefault(require("../TextFormatter"));
|
|
10
|
+
var _NumberFormatter = _interopRequireDefault(require("../NumberFormatter"));
|
|
11
|
+
var _CheckboxFormatter = _interopRequireDefault(require("../CheckboxFormatter"));
|
|
12
|
+
var _DateFormatter = _interopRequireDefault(require("../DateFormatter"));
|
|
13
|
+
var _SingleSelectFormatter = _interopRequireDefault(require("../SingleSelectFormatter"));
|
|
14
|
+
var _MultipleSelectFormatter = _interopRequireDefault(require("../MultipleSelectFormatter"));
|
|
15
|
+
var _CollaboratorFormatter = _interopRequireDefault(require("../CollaboratorFormatter"));
|
|
16
|
+
var _LongTextFormatter = _interopRequireDefault(require("../LongTextFormatter"));
|
|
17
|
+
var _GeolocationFormatter = _interopRequireDefault(require("../GeolocationFormatter"));
|
|
18
|
+
var _CTimeFormatter = _interopRequireDefault(require("../CTimeFormatter"));
|
|
19
|
+
var _CreatorFormatter = _interopRequireDefault(require("../CreatorFormatter"));
|
|
20
|
+
var _LastModifierFormatter = _interopRequireDefault(require("../LastModifierFormatter"));
|
|
21
|
+
var _MTimeFormatter = _interopRequireDefault(require("../MTimeFormatter"));
|
|
22
|
+
var _AutoNumberFormatter = _interopRequireDefault(require("../AutoNumberFormatter"));
|
|
23
|
+
var _DurationFormatter = _interopRequireDefault(require("../DurationFormatter"));
|
|
24
|
+
var _ButtonFormatter = _interopRequireDefault(require("../ButtonFormatter"));
|
|
25
|
+
var _RowExpandUrlFormatter = _interopRequireDefault(require("./RowExpandUrlFormatter"));
|
|
26
|
+
var _RowExpandEmailFormatter = _interopRequireDefault(require("./RowExpandEmailFormatter"));
|
|
27
|
+
var _RowExpandRateFormatter = _interopRequireDefault(require("./RowExpandRateFormatter"));
|
|
28
|
+
var _RowExpandImageFormatter = _interopRequireDefault(require("./RowExpandImageFormatter"));
|
|
29
|
+
var _RowExpandFileFormatter = _interopRequireDefault(require("./RowExpandFileFormatter"));
|
|
30
|
+
var _RowExpandLinkFormatter = _interopRequireDefault(require("./RowExpandLinkFormatter"));
|
|
31
|
+
var _RowExpandFormulaFormatter = _interopRequireDefault(require("./RowExpandFormulaFormatter"));
|
|
32
|
+
var _DigitalSignFormatter = _interopRequireDefault(require("../DigitalSignFormatter"));
|
|
33
|
+
var _RowExpandDepartmentFormatter = _interopRequireDefault(require("./RowExpandDepartmentFormatter"));
|
|
34
|
+
const DEFAULT_FORMATTER = exports.DEFAULT_FORMATTER = {
|
|
35
|
+
[_dtableUtils.CellType.TEXT]: _TextFormatter.default,
|
|
36
|
+
[_dtableUtils.CellType.NUMBER]: _NumberFormatter.default,
|
|
37
|
+
[_dtableUtils.CellType.CHECKBOX]: _CheckboxFormatter.default,
|
|
38
|
+
[_dtableUtils.CellType.DATE]: _DateFormatter.default,
|
|
39
|
+
[_dtableUtils.CellType.SINGLE_SELECT]: _SingleSelectFormatter.default,
|
|
40
|
+
[_dtableUtils.CellType.MULTIPLE_SELECT]: _MultipleSelectFormatter.default,
|
|
41
|
+
[_dtableUtils.CellType.COLLABORATOR]: _CollaboratorFormatter.default,
|
|
42
|
+
[_dtableUtils.CellType.LONG_TEXT]: _LongTextFormatter.default,
|
|
43
|
+
[_dtableUtils.CellType.GEOLOCATION]: _GeolocationFormatter.default,
|
|
44
|
+
[_dtableUtils.CellType.CTIME]: _CTimeFormatter.default,
|
|
45
|
+
[_dtableUtils.CellType.CREATOR]: _CreatorFormatter.default,
|
|
46
|
+
[_dtableUtils.CellType.LAST_MODIFIER]: _LastModifierFormatter.default,
|
|
47
|
+
[_dtableUtils.CellType.MTIME]: _MTimeFormatter.default,
|
|
48
|
+
[_dtableUtils.CellType.AUTO_NUMBER]: _AutoNumberFormatter.default,
|
|
49
|
+
[_dtableUtils.CellType.DURATION]: _DurationFormatter.default,
|
|
50
|
+
[_dtableUtils.CellType.BUTTON]: _ButtonFormatter.default,
|
|
51
|
+
[_dtableUtils.CellType.URL]: _RowExpandUrlFormatter.default,
|
|
52
|
+
[_dtableUtils.CellType.EMAIL]: _RowExpandEmailFormatter.default,
|
|
53
|
+
[_dtableUtils.CellType.RATE]: _RowExpandRateFormatter.default,
|
|
54
|
+
[_dtableUtils.CellType.IMAGE]: _RowExpandImageFormatter.default,
|
|
55
|
+
[_dtableUtils.CellType.FILE]: _RowExpandFileFormatter.default,
|
|
56
|
+
[_dtableUtils.CellType.LINK]: _RowExpandLinkFormatter.default,
|
|
57
|
+
[_dtableUtils.CellType.FORMULA]: _RowExpandFormulaFormatter.default,
|
|
58
|
+
[_dtableUtils.CellType.LINK_FORMULA]: _RowExpandFormulaFormatter.default,
|
|
59
|
+
[_dtableUtils.CellType.DIGITAL_SIGN]: _DigitalSignFormatter.default,
|
|
60
|
+
[_dtableUtils.CellType.DEPARTMENT_SINGLE_SELECT]: _RowExpandDepartmentFormatter.default
|
|
61
|
+
};
|
|
@@ -71,7 +71,6 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.dtable-ui.dtable-row-expand-formatter .button-formatter {
|
|
74
|
-
margin-top: 6px;
|
|
75
74
|
text-align: center;
|
|
76
75
|
height: 26px;
|
|
77
76
|
line-height: 14px;
|
|
@@ -79,8 +78,8 @@
|
|
|
79
78
|
max-width: 100%;
|
|
80
79
|
width: fit-content;
|
|
81
80
|
display: inline-flex;
|
|
82
|
-
justify-content: center;
|
|
83
81
|
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
84
83
|
padding-left: 0.5rem;
|
|
85
84
|
padding-right: 0.5rem;
|
|
86
85
|
border-radius: 3px;
|
|
@@ -100,7 +99,7 @@
|
|
|
100
99
|
background-color: #fff;
|
|
101
100
|
}
|
|
102
101
|
|
|
103
|
-
.dtable-ui.dtable-row-expand-formatter .geolocation-formatter-container {
|
|
102
|
+
.dtable-ui.dtable-row-expand-formatter .dtable-ui-geolocation-formatter-container {
|
|
104
103
|
margin-top: 0.5rem;
|
|
105
104
|
display: flex;
|
|
106
105
|
align-items: center;
|
|
@@ -109,3 +108,29 @@
|
|
|
109
108
|
.dtable-ui.dtable-row-expand-formatter .dtable-link-formatter {
|
|
110
109
|
padding-top: 8px;
|
|
111
110
|
}
|
|
111
|
+
|
|
112
|
+
.dtable-ui-row-expand-select-formatter.custom-select {
|
|
113
|
+
display: flex;
|
|
114
|
+
padding: 0 10px;
|
|
115
|
+
border-radius: 3px;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: space-between;
|
|
118
|
+
-webkit-user-select: none;
|
|
119
|
+
user-select: none;
|
|
120
|
+
text-align: left;
|
|
121
|
+
position: relative;
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
height: fit-content;
|
|
124
|
+
min-height: 2.375rem;
|
|
125
|
+
background-color: #f8f9fa !important;
|
|
126
|
+
cursor: default;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.dtable-ui-row-expand-select-formatter .dtable-ui-row-expand-select-formatter-inner {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex: 1 1;
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
flex-wrap: nowrap;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: space-between;
|
|
136
|
+
}
|