dtable-ui-component 6.0.25-alpha.4 → 6.0.26-beta
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/BodyPortal/index.js +29 -0
- package/lib/CheckboxEditor/index.js +17 -118
- package/lib/CheckboxEditor/lg.js +118 -0
- package/lib/CheckboxEditor/sm.js +101 -0
- package/lib/CollaboratorEditor/index.js +11 -4
- package/lib/CollaboratorEditor/{pc-collaborator-editor → lg}/index.js +2 -2
- package/lib/CollaboratorEditor/sm/index.css +41 -0
- package/lib/CollaboratorEditor/sm/index.js +87 -0
- package/lib/DTableCommonAddTool/index.js +1 -3
- package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +3 -3
- package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +4 -4
- package/lib/DateEditor/index.js +31 -30
- package/lib/DateEditor/{pc-date-editor-popover.js → large.js} +6 -6
- package/lib/DateEditor/sm/custom-rc-calendar.css +118 -0
- package/lib/DateEditor/sm/index.css +40 -0
- package/lib/DateEditor/{mb-date-editor-popover → sm}/index.js +15 -30
- package/lib/{Department-editor → DepartmentEditor}/constants.js +7 -0
- package/lib/{Department-editor → DepartmentEditor}/department-multiple-select/index.css +4 -1
- package/lib/{Department-editor → DepartmentEditor}/department-multiple-select/index.js +7 -4
- package/lib/DepartmentEditor/index.js +25 -0
- package/lib/{Department-editor → DepartmentEditor/lg}/department-single-select.js +10 -7
- package/lib/{Department-editor → DepartmentEditor/lg}/index.css +12 -3
- package/lib/{Department-editor → DepartmentEditor/lg}/index.js +8 -25
- package/lib/DepartmentEditor/sm/index.css +4 -0
- package/lib/DepartmentEditor/sm/index.js +220 -0
- package/lib/DigitalSignEditor/index.js +17 -173
- package/lib/DigitalSignEditor/lg/index.js +181 -0
- package/lib/DigitalSignEditor/sm/index.css +35 -0
- package/lib/DigitalSignEditor/sm/index.js +139 -0
- package/lib/FileEditor/files-previewer/index.js +16 -267
- package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/dropdown-menu.js +1 -1
- package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/file-name-editor/index.js +1 -1
- package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/index.css +0 -2
- package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/index.js +2 -2
- package/lib/FileEditor/files-previewer/lg/index.js +276 -0
- package/lib/FileEditor/files-previewer/sm/file-previewer/index.js +122 -0
- package/lib/FileEditor/files-previewer/sm/index.css +39 -0
- package/lib/FileEditor/files-previewer/sm/index.js +59 -0
- package/lib/FileEditor/index.css +0 -5
- package/lib/FileEditor/index.js +16 -264
- package/lib/FileEditor/lg/addition-previewer/index.css +1 -0
- package/lib/FileEditor/{addition-previewer → lg/addition-previewer}/index.js +1 -1
- package/lib/FileEditor/lg/addition-previewer/local-file-addition/index.css +1 -0
- package/lib/FileEditor/{addition-previewer → lg/addition-previewer}/local-file-addition/index.js +4 -4
- package/lib/FileEditor/lg/index.css +5 -0
- package/lib/FileEditor/lg/index.js +274 -0
- package/lib/FileEditor/sm/index.css +10 -0
- package/lib/FileEditor/sm/index.js +131 -0
- package/lib/FileFormatter/index.js +4 -4
- package/lib/FormulaFormatter/index.css +5 -5
- package/lib/GeolocationEditor/index.js +76 -231
- package/lib/GeolocationEditor/{country-editor.js → lg/country-editor.js} +5 -49
- package/lib/GeolocationEditor/{index.css → lg/index.css} +1 -2
- package/lib/GeolocationEditor/lg/index.js +247 -0
- package/lib/GeolocationEditor/{location-editor.js → lg/location-editor.js} +8 -41
- package/lib/GeolocationEditor/{map-editor → lg/map-editor}/index.js +6 -6
- package/lib/GeolocationEditor/{map-editor → lg/map-editor}/large-editor/index.js +7 -7
- package/lib/GeolocationEditor/{map-selection-editor → lg/map-selection-editor}/index.js +7 -7
- package/lib/GeolocationEditor/{map-selection-editor → lg/map-selection-editor}/large-editor/index.js +7 -7
- package/lib/GeolocationEditor/{province-city-editor.js → lg/province-city-editor.js} +7 -38
- package/lib/GeolocationEditor/{province-editor.js → lg/province-editor.js} +7 -31
- package/lib/GeolocationEditor/{selector-header-item.js → lg/selector-header-item.js} +1 -1
- package/lib/GeolocationEditor/map-editor-utils.js +6 -2
- package/lib/GeolocationEditor/sm/country-editor.js +70 -0
- package/lib/GeolocationEditor/sm/index.css +11 -0
- package/lib/GeolocationEditor/sm/index.js +125 -0
- package/lib/GeolocationEditor/sm/location-editor.js +93 -0
- package/lib/GeolocationEditor/sm/map-editor/index.css +11 -0
- package/lib/GeolocationEditor/sm/map-editor/index.js +469 -0
- package/lib/GeolocationEditor/sm/map-selection-editor/index.css +158 -0
- package/lib/GeolocationEditor/sm/map-selection-editor/index.js +525 -0
- package/lib/GeolocationEditor/sm/province-city-editor.js +68 -0
- package/lib/GeolocationEditor/sm/province-editor.js +67 -0
- package/lib/ImageEditor/images-previewer/image-preview/index.js +2 -2
- package/lib/ImageEditor/images-previewer/index.js +3 -3
- package/lib/ImageEditor/index.css +17 -16
- package/lib/ImageEditor/index.js +16 -184
- package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/image-link/index.js +1 -1
- package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/index.js +1 -1
- package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/local-image-addition/index.js +4 -4
- package/lib/ImageEditor/lg/images-previewer/index.js +140 -0
- package/lib/ImageEditor/lg/index.css +24 -0
- package/lib/ImageEditor/lg/index.js +194 -0
- package/lib/ImageEditor/sm/index.css +29 -0
- package/lib/ImageEditor/sm/index.js +131 -0
- package/lib/ImageThumbnail/index.js +2 -1
- package/lib/LinkEditor/pc-link-editor-popover/index.css +1 -1
- package/lib/LinkEditor/pc-link-editor-popover/index.js +1 -1
- package/lib/MobileFullScreenPage/body/index.css +9 -0
- package/lib/MobileFullScreenPage/body/index.js +23 -0
- package/lib/MobileFullScreenPage/header/index.css +35 -0
- package/lib/MobileFullScreenPage/header/index.js +38 -0
- package/lib/MobileFullScreenPage/index.css +13 -0
- package/lib/MobileFullScreenPage/index.js +81 -0
- package/lib/MobileModal/index.js +41 -0
- package/lib/MobileOperationSheet/index.css +27 -0
- package/lib/MobileOperationSheet/index.js +92 -0
- package/lib/MobileSelectorEditor/empty/index.css +3 -0
- package/lib/MobileSelectorEditor/empty/index.js +23 -0
- package/lib/MobileSelectorEditor/index.css +32 -0
- package/lib/MobileSelectorEditor/index.js +57 -0
- package/lib/MobileSelectorEditor/option/index.css +28 -0
- package/lib/MobileSelectorEditor/option/index.js +36 -0
- package/lib/MobileSelectorEditor/options/index.css +8 -0
- package/lib/MobileSelectorEditor/options/index.js +18 -0
- package/lib/MobileSelectorEditor/search/index.css +7 -0
- package/lib/MobileSelectorEditor/search/index.js +26 -0
- package/lib/MobileUpload/index.css +1 -0
- package/lib/MobileUpload/index.js +160 -0
- package/lib/MultipleSelectEditor/index.js +3 -10
- package/lib/RowExpand/index.js +19 -0
- package/lib/{RowExpandDialog → RowExpand/lg}/body/index.js +4 -4
- package/lib/{RowExpandDialog → RowExpand/lg}/column-content/index.js +2 -2
- package/lib/{RowExpandDialog → RowExpand/lg}/header/index.js +3 -3
- package/lib/{RowExpandDialog → RowExpand/lg}/index.js +6 -6
- package/lib/RowExpand/sm/body/index.css +173 -0
- package/lib/RowExpand/sm/body/index.js +111 -0
- package/lib/RowExpand/sm/column-content/index.css +27 -0
- package/lib/RowExpand/sm/column-content/index.js +25 -0
- package/lib/RowExpand/sm/index.css +0 -0
- package/lib/RowExpand/sm/index.js +172 -0
- package/lib/RowExpandEditor/RightAngle/index.css +6 -0
- package/lib/RowExpandEditor/RightAngle/index.js +17 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/index.js +12 -17
- package/lib/RowExpandEditor/RowExpandAddBtn/lg/index.js +26 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/sm/index.css +3 -0
- package/lib/RowExpandEditor/RowExpandAddBtn/sm/index.js +19 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.js +10 -33
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/lg.js +42 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/sm/index.css +6 -0
- package/lib/RowExpandEditor/RowExpandCheckboxEditor/sm/index.js +39 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.js +10 -223
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/{index.css → lg/index.css} +1 -1
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/lg/index.js +231 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/sm/index.css +9 -0
- package/lib/RowExpandEditor/RowExpandCollaboratorEditor/sm/index.js +163 -0
- package/lib/RowExpandEditor/RowExpandDateEditor/index.js +10 -121
- package/lib/RowExpandEditor/RowExpandDateEditor/lg.js +130 -0
- package/lib/RowExpandEditor/RowExpandDateEditor/sm.js +84 -0
- package/lib/RowExpandEditor/RowExpandDepartmentEditor/index.js +11 -96
- package/lib/RowExpandEditor/RowExpandDepartmentEditor/lg.js +101 -0
- package/lib/RowExpandEditor/RowExpandDepartmentEditor/sm.js +65 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.js +10 -199
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/{index.css → lg/index.css} +1 -1
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/lg/index.js +208 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/sm/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandDigitalSignEditor/sm/index.js +130 -0
- package/lib/RowExpandEditor/RowExpandDurationEditor/index.js +11 -97
- package/lib/RowExpandEditor/RowExpandDurationEditor/lg.js +105 -0
- package/lib/RowExpandEditor/RowExpandDurationEditor/sm.js +71 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.js +10 -116
- package/lib/RowExpandEditor/RowExpandEmailEditor/lg/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/lg/index.js +125 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/sm/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandEmailEditor/sm/index.js +84 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/index.js +10 -139
- package/lib/RowExpandEditor/RowExpandFileEditor/lg/index.css +1 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/lg/index.js +148 -0
- package/lib/RowExpandEditor/RowExpandFileEditor/sm/index.js +116 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.js +10 -156
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/lg/index.js +164 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/sm/index.css +0 -0
- package/lib/RowExpandEditor/RowExpandGeolocationEditor/sm/index.js +101 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/index.js +10 -161
- package/lib/RowExpandEditor/RowExpandImageEditor/lg/index.js +170 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/sm/index.css +25 -0
- package/lib/RowExpandEditor/RowExpandImageEditor/sm/index.js +109 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/index.js +11 -115
- package/lib/RowExpandEditor/RowExpandLongTextEditor/lg/index.js +123 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/sm/editor/index.css +10 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/sm/editor/index.js +80 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/sm/index.css +3 -0
- package/lib/RowExpandEditor/RowExpandLongTextEditor/sm/index.js +91 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.js +10 -238
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/{index.css → lg/index.css} +1 -1
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/lg/index.js +247 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/sm/index.css +0 -0
- package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/sm/index.js +155 -0
- package/lib/RowExpandEditor/RowExpandNumberEditor/index.js +10 -96
- package/lib/RowExpandEditor/RowExpandNumberEditor/lg.js +105 -0
- package/lib/RowExpandEditor/RowExpandNumberEditor/sm/index.css +3 -0
- package/lib/RowExpandEditor/RowExpandNumberEditor/sm/index.js +76 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/index.css +21 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/index.js +10 -142
- package/lib/RowExpandEditor/RowExpandRateEditor/lg.js +151 -0
- package/lib/RowExpandEditor/RowExpandRateEditor/sm.js +92 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.js +11 -198
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/lg/index.js +206 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/sm/index.css +8 -0
- package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/sm/index.js +134 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/index.js +11 -128
- package/lib/RowExpandEditor/RowExpandTextEditor/lg/index.js +136 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/sm/index.css +14 -0
- package/lib/RowExpandEditor/RowExpandTextEditor/sm/index.js +37 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/index.js +10 -121
- package/lib/RowExpandEditor/RowExpandUrlEditor/lg/index.js +130 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/sm/index.css +17 -0
- package/lib/RowExpandEditor/RowExpandUrlEditor/sm/index.js +87 -0
- package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/index.js +10 -18
- package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/lg.js +27 -0
- package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/sm.js +20 -0
- package/lib/RowExpandFormatter/RowExpandEmailFormatter/index.css +4 -4
- package/lib/RowExpandFormatter/RowExpandRateFormatter/index.css +1 -1
- package/lib/RowExpandFormatter/index.css +18 -18
- package/lib/RowExpandFormatter/index.js +1 -1
- package/lib/SelectItem/index.js +57 -33
- package/lib/SingleSelectEditor/index.js +3 -10
- package/lib/SvgIcon/index.js +2 -1
- package/lib/constants/file.js +1 -0
- package/lib/constants/index.js +3 -2
- package/lib/index.js +53 -4
- package/lib/locales/zh-CN.json +1 -1
- package/lib/select-editor/index.js +19 -21
- package/lib/select-editor/{pc-select-editor → lg}/index.css +1 -1
- package/lib/select-editor/{pc-select-editor → lg}/index.js +10 -10
- package/lib/select-editor/sm/index.css +1 -0
- package/lib/select-editor/sm/index.js +104 -0
- package/lib/utils/get-event-transfer.js +2 -1
- package/lib/utils/utils.js +11 -2
- package/package.json +1 -1
- package/lib/CollaboratorEditor/mb-collaborator-editor/index.css +0 -85
- package/lib/CollaboratorEditor/mb-collaborator-editor/index.js +0 -148
- package/lib/DateEditor/mb-date-editor-popover/custom-rc-calendar.css +0 -118
- package/lib/DateEditor/mb-date-editor-popover/index.css +0 -45
- package/lib/FileEditor/addition-previewer/index.css +0 -1
- package/lib/FileEditor/addition-previewer/local-file-addition/index.css +0 -1
- package/lib/RowExpandEditor/RowExpandEmailEditor/index.css +0 -2
- package/lib/RowExpandEditor/RowExpandFileEditor/index.css +0 -1
- package/lib/select-editor/mb-select-editor/index.css +0 -127
- package/lib/select-editor/mb-select-editor/index.js +0 -197
- package/lib/select-editor/select-editor-option.js +0 -84
- /package/lib/CollaboratorEditor/{pc-collaborator-editor → lg}/index.css +0 -0
- /package/lib/{Department-editor → DepartmentEditor}/selected-departments/index.css +0 -0
- /package/lib/{Department-editor → DepartmentEditor}/selected-departments/index.js +0 -0
- /package/lib/{Department-editor → DepartmentEditor}/utils.js +0 -0
- /package/lib/DigitalSignEditor/{index.css → lg/index.css} +0 -0
- /package/lib/FileEditor/files-previewer/{file-previewer → lg/file-previewer}/file-name-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{map-editor → lg/map-editor}/large-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{map-selection-editor → lg/map-selection-editor}/large-editor/index.css +0 -0
- /package/lib/GeolocationEditor/{parse-geolocation.js → lg/parse-geolocation.js} +0 -0
- /package/lib/GeolocationEditor/{selector-list.js → lg/selector-list.js} +0 -0
- /package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/image-link/index.css +0 -0
- /package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/index.css +0 -0
- /package/lib/ImageEditor/{addition-previewer → lg/addition-previewer}/local-image-addition/index.css +0 -0
- /package/lib/{RowExpandDialog → RowExpand/lg}/body/index.css +0 -0
- /package/lib/{RowExpandDialog → RowExpand/lg}/column-content/index.css +0 -0
- /package/lib/{RowExpandDialog → RowExpand/lg}/header/index.css +0 -0
- /package/lib/{RowExpandDialog → RowExpand/lg}/index.css +0 -0
- /package/lib/RowExpandEditor/RowExpandAddBtn/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandGeolocationEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandImageEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandLongTextEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandTextEditor/{index.css → lg/index.css} +0 -0
- /package/lib/RowExpandEditor/RowExpandUrlEditor/{index.css → lg/index.css} +0 -0
|
@@ -6,125 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
setTimeout(() => {
|
|
20
|
-
this.urlInputRef && this.urlInputRef.focus();
|
|
21
|
-
}, 1);
|
|
22
|
-
};
|
|
23
|
-
this.blurInput = () => {
|
|
24
|
-
setTimeout(() => {
|
|
25
|
-
this.urlInputRef && this.urlInputRef.blur();
|
|
26
|
-
}, 1);
|
|
27
|
-
};
|
|
28
|
-
this.onBlur = () => {
|
|
29
|
-
const {
|
|
30
|
-
onCommit
|
|
31
|
-
} = this.props;
|
|
32
|
-
onCommit(this.state.value.trim());
|
|
33
|
-
};
|
|
34
|
-
this.onFocus = e => {
|
|
35
|
-
this.props.updateTabIndex(this.props.columnIndex);
|
|
36
|
-
};
|
|
37
|
-
this.onChange = e => {
|
|
38
|
-
let value = e.target.value;
|
|
39
|
-
if (value === this.state.value) return;
|
|
40
|
-
this.setState({
|
|
41
|
-
value
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
this.onCut = e => {
|
|
45
|
-
e.stopPropagation();
|
|
46
|
-
};
|
|
47
|
-
this.onPaste = e => {
|
|
48
|
-
e.stopPropagation();
|
|
49
|
-
};
|
|
50
|
-
this.onKeyDown = event => {
|
|
51
|
-
if (event.keyCode === _constants.KeyCodes.Esc) {
|
|
52
|
-
event.preventDefault();
|
|
53
|
-
this.blurInput();
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
const {
|
|
57
|
-
selectionStart,
|
|
58
|
-
selectionEnd,
|
|
59
|
-
value
|
|
60
|
-
} = event.currentTarget;
|
|
61
|
-
if (event.keyCode === _constants.KeyCodes.ChineseInputMethod || event.keyCode === _constants.KeyCodes.LeftArrow && selectionStart === 0 || event.keyCode === _constants.KeyCodes.RightArrow && selectionEnd === value.length) {
|
|
62
|
-
event.stopPropagation();
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
this.onOpenUrlLink = () => {
|
|
66
|
-
const {
|
|
67
|
-
value
|
|
68
|
-
} = this.state;
|
|
69
|
-
let newValue = value.trim();
|
|
70
|
-
if (!(0, _utils.isValidUrl)(newValue)) {
|
|
71
|
-
newValue = "http://".concat(newValue);
|
|
72
|
-
}
|
|
73
|
-
try {
|
|
74
|
-
(0, _utils.openUrlLink)(newValue);
|
|
75
|
-
} catch {
|
|
76
|
-
_toaster.default.danger((0, _lang.getLocale)('URL_is_invalid'));
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
this.state = {
|
|
80
|
-
value: props.value || ''
|
|
81
|
-
};
|
|
82
|
-
this.inputRef = /*#__PURE__*/_react.default.createRef();
|
|
83
|
-
}
|
|
84
|
-
componentDidMount() {
|
|
85
|
-
if (this.props.isEditorFocus) {
|
|
86
|
-
this.focusInput();
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
90
|
-
const {
|
|
91
|
-
column,
|
|
92
|
-
row
|
|
93
|
-
} = nextProps;
|
|
94
|
-
if (row._id !== this.props.row._id) {
|
|
95
|
-
this.setState({
|
|
96
|
-
value: row[column[this.props.valueKey]] || ''
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
if (nextProps.isEditorFocus === true && this.props.isEditorFocus === false) {
|
|
100
|
-
this.focusInput();
|
|
101
|
-
}
|
|
102
|
-
if (nextProps.isEditorFocus === false && this.props.isEditorFocus === true) {
|
|
103
|
-
this.blurInput();
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
render() {
|
|
107
|
-
let {
|
|
108
|
-
value
|
|
109
|
-
} = this.state;
|
|
110
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
111
|
-
className: "dtable-ui-row-expand-url-editor"
|
|
112
|
-
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
113
|
-
ref: ref => this.urlInputRef = ref,
|
|
114
|
-
type: "text",
|
|
115
|
-
onFocus: this.onFocus,
|
|
116
|
-
onBlur: this.onBlur,
|
|
117
|
-
onCut: this.onCut,
|
|
118
|
-
onPaste: this.onPaste,
|
|
119
|
-
onChange: this.onChange,
|
|
120
|
-
className: "form-control dtable-ui-row-expand-url-input",
|
|
121
|
-
value: value || '',
|
|
122
|
-
onKeyDown: this.onKeyDown
|
|
123
|
-
}), value && value.trim() && /*#__PURE__*/_react.default.createElement("span", {
|
|
124
|
-
"aria-hidden": "true",
|
|
125
|
-
className: "dtable-font dtable-icon-url dtable-ui-row-expand-jump-link",
|
|
126
|
-
onClick: this.onOpenUrlLink
|
|
127
|
-
}));
|
|
128
|
-
}
|
|
129
|
-
}
|
|
9
|
+
var _reactResponsive = _interopRequireDefault(require("react-responsive"));
|
|
10
|
+
var _lg = _interopRequireDefault(require("./lg"));
|
|
11
|
+
var _sm = _interopRequireDefault(require("./sm"));
|
|
12
|
+
const RowExpandUrlEditor = props => {
|
|
13
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
|
|
14
|
+
query: "(min-width: 768px)"
|
|
15
|
+
}, /*#__PURE__*/_react.default.createElement(_lg.default, props)), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
|
|
16
|
+
query: "(max-width: 768px)"
|
|
17
|
+
}, /*#__PURE__*/_react.default.createElement(_sm.default, props)));
|
|
18
|
+
};
|
|
130
19
|
var _default = exports.default = RowExpandUrlEditor;
|
|
@@ -0,0 +1,130 @@
|
|
|
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 _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _toaster = _interopRequireDefault(require("../../../toaster"));
|
|
10
|
+
var _utils = require("../../../utils/utils");
|
|
11
|
+
var _constants = require("../../../constants");
|
|
12
|
+
var _lang = require("../../../lang");
|
|
13
|
+
require("./index.css");
|
|
14
|
+
class Large extends _react.default.Component {
|
|
15
|
+
constructor(props) {
|
|
16
|
+
super(props);
|
|
17
|
+
this.focusInput = () => {
|
|
18
|
+
// use setTimeout to make sure real DOM is rendered
|
|
19
|
+
setTimeout(() => {
|
|
20
|
+
this.urlInputRef && this.urlInputRef.focus();
|
|
21
|
+
}, 1);
|
|
22
|
+
};
|
|
23
|
+
this.blurInput = () => {
|
|
24
|
+
setTimeout(() => {
|
|
25
|
+
this.urlInputRef && this.urlInputRef.blur();
|
|
26
|
+
}, 1);
|
|
27
|
+
};
|
|
28
|
+
this.onBlur = () => {
|
|
29
|
+
const {
|
|
30
|
+
onCommit
|
|
31
|
+
} = this.props;
|
|
32
|
+
onCommit(this.state.value.trim());
|
|
33
|
+
};
|
|
34
|
+
this.onFocus = e => {
|
|
35
|
+
this.props.updateTabIndex(this.props.columnIndex);
|
|
36
|
+
};
|
|
37
|
+
this.onChange = e => {
|
|
38
|
+
let value = e.target.value;
|
|
39
|
+
if (value === this.state.value) return;
|
|
40
|
+
this.setState({
|
|
41
|
+
value
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
this.onCut = e => {
|
|
45
|
+
e.stopPropagation();
|
|
46
|
+
};
|
|
47
|
+
this.onPaste = e => {
|
|
48
|
+
e.stopPropagation();
|
|
49
|
+
};
|
|
50
|
+
this.onKeyDown = event => {
|
|
51
|
+
if (event.keyCode === _constants.KeyCodes.Esc) {
|
|
52
|
+
event.preventDefault();
|
|
53
|
+
this.blurInput();
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const {
|
|
57
|
+
selectionStart,
|
|
58
|
+
selectionEnd,
|
|
59
|
+
value
|
|
60
|
+
} = event.currentTarget;
|
|
61
|
+
if (event.keyCode === _constants.KeyCodes.ChineseInputMethod || event.keyCode === _constants.KeyCodes.LeftArrow && selectionStart === 0 || event.keyCode === _constants.KeyCodes.RightArrow && selectionEnd === value.length) {
|
|
62
|
+
event.stopPropagation();
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
this.onOpenUrlLink = () => {
|
|
66
|
+
const {
|
|
67
|
+
value
|
|
68
|
+
} = this.state;
|
|
69
|
+
let newValue = value.trim();
|
|
70
|
+
if (!(0, _utils.isValidUrl)(newValue)) {
|
|
71
|
+
newValue = "http://".concat(newValue);
|
|
72
|
+
}
|
|
73
|
+
try {
|
|
74
|
+
(0, _utils.openUrlLink)(newValue);
|
|
75
|
+
} catch {
|
|
76
|
+
_toaster.default.danger((0, _lang.getLocale)('URL_is_invalid'));
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
this.state = {
|
|
80
|
+
value: props.value || ''
|
|
81
|
+
};
|
|
82
|
+
this.inputRef = /*#__PURE__*/_react.default.createRef();
|
|
83
|
+
}
|
|
84
|
+
componentDidMount() {
|
|
85
|
+
if (this.props.isEditorFocus) {
|
|
86
|
+
this.focusInput();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
90
|
+
const {
|
|
91
|
+
column,
|
|
92
|
+
row
|
|
93
|
+
} = nextProps;
|
|
94
|
+
if (row._id !== this.props.row._id) {
|
|
95
|
+
this.setState({
|
|
96
|
+
value: row[column[this.props.valueKey]] || ''
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
if (nextProps.isEditorFocus === true && this.props.isEditorFocus === false) {
|
|
100
|
+
this.focusInput();
|
|
101
|
+
}
|
|
102
|
+
if (nextProps.isEditorFocus === false && this.props.isEditorFocus === true) {
|
|
103
|
+
this.blurInput();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
render() {
|
|
107
|
+
let {
|
|
108
|
+
value
|
|
109
|
+
} = this.state;
|
|
110
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
111
|
+
className: "dtable-ui-row-expand-url-editor"
|
|
112
|
+
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
113
|
+
ref: ref => this.urlInputRef = ref,
|
|
114
|
+
type: "text",
|
|
115
|
+
onFocus: this.onFocus,
|
|
116
|
+
onBlur: this.onBlur,
|
|
117
|
+
onCut: this.onCut,
|
|
118
|
+
onPaste: this.onPaste,
|
|
119
|
+
onChange: this.onChange,
|
|
120
|
+
className: "form-control dtable-ui-row-expand-url-input",
|
|
121
|
+
value: value || '',
|
|
122
|
+
onKeyDown: this.onKeyDown
|
|
123
|
+
}), value && value.trim() && /*#__PURE__*/_react.default.createElement("span", {
|
|
124
|
+
"aria-hidden": "true",
|
|
125
|
+
className: "dtable-font dtable-icon-url dtable-ui-row-expand-jump-link",
|
|
126
|
+
onClick: this.onOpenUrlLink
|
|
127
|
+
}));
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
var _default = exports.default = Large;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.mobile-dtable-ui-row-expand-url-editor-container .mobile-dtable-ui-row-expand-url-input {
|
|
2
|
+
text-decoration: underline;
|
|
3
|
+
padding-right: 40px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.mobile-dtable-ui-row-expand-url-editor-container .mobile-dtable-ui-row-expand-jump-link {
|
|
7
|
+
height: 22px;
|
|
8
|
+
line-height: 22px;
|
|
9
|
+
position: absolute;
|
|
10
|
+
right: 0;
|
|
11
|
+
top: 14px;
|
|
12
|
+
background: #fff;
|
|
13
|
+
color: #999;
|
|
14
|
+
border: 1px solid #eee;
|
|
15
|
+
box-shadow: 0 0 1px;
|
|
16
|
+
padding: 0 3px;
|
|
17
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _toaster = _interopRequireDefault(require("../../../toaster"));
|
|
10
|
+
var _utils = require("../../../utils/utils");
|
|
11
|
+
var _lang = require("../../../lang");
|
|
12
|
+
require("./index.css");
|
|
13
|
+
class Large extends _react.default.Component {
|
|
14
|
+
constructor(props) {
|
|
15
|
+
super(props);
|
|
16
|
+
this.onBlur = () => {
|
|
17
|
+
const {
|
|
18
|
+
onCommit
|
|
19
|
+
} = this.props;
|
|
20
|
+
onCommit(this.state.value.trim());
|
|
21
|
+
};
|
|
22
|
+
this.onChange = e => {
|
|
23
|
+
let value = e.target.value;
|
|
24
|
+
if (value === this.state.value) return;
|
|
25
|
+
this.setState({
|
|
26
|
+
value
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
this.onCut = e => {
|
|
30
|
+
e.stopPropagation();
|
|
31
|
+
};
|
|
32
|
+
this.onPaste = e => {
|
|
33
|
+
e.stopPropagation();
|
|
34
|
+
};
|
|
35
|
+
this.onOpenUrlLink = () => {
|
|
36
|
+
const {
|
|
37
|
+
value
|
|
38
|
+
} = this.state;
|
|
39
|
+
let newValue = value.trim();
|
|
40
|
+
if (!(0, _utils.isValidUrl)(newValue)) {
|
|
41
|
+
newValue = "http://".concat(newValue);
|
|
42
|
+
}
|
|
43
|
+
try {
|
|
44
|
+
(0, _utils.openUrlLink)(newValue);
|
|
45
|
+
} catch {
|
|
46
|
+
_toaster.default.danger((0, _lang.getLocale)('URL_is_invalid'));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
this.state = {
|
|
50
|
+
value: props.value || ''
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
54
|
+
const {
|
|
55
|
+
column,
|
|
56
|
+
row
|
|
57
|
+
} = nextProps;
|
|
58
|
+
if (row._id !== this.props.row._id) {
|
|
59
|
+
this.setState({
|
|
60
|
+
value: row[column[this.props.valueKey]] || ''
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
const {
|
|
66
|
+
value
|
|
67
|
+
} = this.state;
|
|
68
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
69
|
+
className: "mobile-dtable-ui-row-expand-input-editor-container position-relative mobile-dtable-ui-row-expand-url-editor-container"
|
|
70
|
+
}, /*#__PURE__*/_react.default.createElement("input", {
|
|
71
|
+
type: "text",
|
|
72
|
+
onFocus: this.onFocus,
|
|
73
|
+
onBlur: this.onBlur,
|
|
74
|
+
onCut: this.onCut,
|
|
75
|
+
onPaste: this.onPaste,
|
|
76
|
+
onChange: this.onChange,
|
|
77
|
+
className: "form-control mobile-dtable-ui-row-expand-url-input",
|
|
78
|
+
value: value || '',
|
|
79
|
+
onKeyDown: this.onKeyDown
|
|
80
|
+
}), value && value.trim() && /*#__PURE__*/_react.default.createElement("span", {
|
|
81
|
+
"aria-hidden": "true",
|
|
82
|
+
className: "dtable-font dtable-icon-url mobile-dtable-ui-row-expand-jump-link",
|
|
83
|
+
onClick: this.onOpenUrlLink
|
|
84
|
+
}));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
var _default = exports.default = Large;
|
|
@@ -6,22 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
18
|
-
|
|
19
|
-
className: "dtable-ui-row-expand-select-formatter custom-select"
|
|
20
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
21
|
-
className: "dtable-ui-row-expand-select-formatter-inner"
|
|
22
|
-
}, /*#__PURE__*/_react.default.createElement(_DepartmentSingleSelectFormatter.default, {
|
|
23
|
-
value: value,
|
|
24
|
-
departments: departments
|
|
25
|
-
}))));
|
|
26
|
-
}
|
|
9
|
+
var _reactResponsive = _interopRequireDefault(require("react-responsive"));
|
|
10
|
+
var _lg = _interopRequireDefault(require("./lg"));
|
|
11
|
+
var _sm = _interopRequireDefault(require("./sm"));
|
|
12
|
+
const RowExpandDepartmentFormatter = props => {
|
|
13
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
|
|
14
|
+
query: '(min-width: 768px)'
|
|
15
|
+
}, /*#__PURE__*/_react.default.createElement(_lg.default, props)), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
|
|
16
|
+
query: '(max-width: 767.8px)'
|
|
17
|
+
}, /*#__PURE__*/_react.default.createElement(_sm.default, props)));
|
|
18
|
+
};
|
|
27
19
|
var _default = exports.default = RowExpandDepartmentFormatter;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _DepartmentSingleSelectFormatter = _interopRequireDefault(require("../../DepartmentSingleSelectFormatter"));
|
|
10
|
+
function Large(_ref) {
|
|
11
|
+
let {
|
|
12
|
+
value,
|
|
13
|
+
departments
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
16
|
+
className: "position-relative w-100"
|
|
17
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
18
|
+
tabIndex: 0,
|
|
19
|
+
className: "dtable-ui-row-expand-select-formatter custom-select"
|
|
20
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
21
|
+
className: "dtable-ui-row-expand-select-formatter-inner"
|
|
22
|
+
}, /*#__PURE__*/_react.default.createElement(_DepartmentSingleSelectFormatter.default, {
|
|
23
|
+
value: value,
|
|
24
|
+
departments: departments
|
|
25
|
+
}))));
|
|
26
|
+
}
|
|
27
|
+
var _default = exports.default = Large;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _DepartmentSingleSelectFormatter = _interopRequireDefault(require("../../DepartmentSingleSelectFormatter"));
|
|
10
|
+
function Small(_ref) {
|
|
11
|
+
let {
|
|
12
|
+
value,
|
|
13
|
+
departments
|
|
14
|
+
} = _ref;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_DepartmentSingleSelectFormatter.default, {
|
|
16
|
+
value: value,
|
|
17
|
+
departments: departments
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
var _default = exports.default = Small;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@import url('../../css/cell-formatter.css');
|
|
2
2
|
|
|
3
|
-
.dtable-row-expand-formatter .dtable-ui.email-formatter .email-formatter-value,
|
|
4
|
-
.dtable-row-expand-formatter .dtable-ui.url-formatter .url-formatter-value {
|
|
3
|
+
.dtable-ui-row-expand-formatter .dtable-ui.email-formatter .email-formatter-value,
|
|
4
|
+
.dtable-ui-row-expand-formatter .dtable-ui.url-formatter .url-formatter-value {
|
|
5
5
|
text-decoration: underline;
|
|
6
6
|
width: 95%;
|
|
7
7
|
display: inline-flex;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.dtable-row-expand-formatter .dtable-ui .row-expand-jump-link {
|
|
10
|
+
.dtable-ui-row-expand-formatter .dtable-ui .row-expand-jump-link {
|
|
11
11
|
display: inline-flex;
|
|
12
12
|
align-items: center;
|
|
13
13
|
font-size: 14px;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
box-shadow: 0 0 1px;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.dtable-row-expand-formatter .dtable-ui .row-expand-jump-link:hover {
|
|
27
|
+
.dtable-ui-row-expand-formatter .dtable-ui .row-expand-jump-link:hover {
|
|
28
28
|
background: #eee;
|
|
29
29
|
border: 1px solid #c9c9c9;
|
|
30
30
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.dtable-ui.dtable-row-expand-formatter {
|
|
1
|
+
.dtable-ui.dtable-ui-row-expand-formatter {
|
|
2
2
|
width: 100%;
|
|
3
3
|
max-width: 100%;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.dtable-ui.dtable-row-expand-formatter .row-cell-empty {
|
|
6
|
+
.dtable-ui.dtable-ui-row-expand-formatter .row-cell-empty {
|
|
7
7
|
height: 8px;
|
|
8
8
|
width: 20px;
|
|
9
9
|
background-color: #f1f1f1;
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
display: inline-block;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-ui.collaborator-item {
|
|
14
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.collaborator-item {
|
|
15
15
|
margin: 5px 10px 5px 0;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-ui.formula-formatter,
|
|
19
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-ui.text-formatter,
|
|
20
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-ui.url-formatter,
|
|
21
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-ui.email-formatter {
|
|
18
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.formula-formatter,
|
|
19
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.text-formatter,
|
|
20
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.url-formatter,
|
|
21
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.email-formatter {
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
text-overflow: ellipsis;
|
|
24
24
|
white-space: nowrap;
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
width: 100%;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-ui.multiple-select-formatter .dtable-ui.select-item {
|
|
30
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.multiple-select-formatter .dtable-ui.select-item {
|
|
31
31
|
margin: 5px 0;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-ui.geolocation-formatter {
|
|
34
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui.geolocation-formatter {
|
|
35
35
|
width: fit-content;
|
|
36
36
|
min-width: 80px;
|
|
37
37
|
max-width: 100%;
|
|
@@ -45,19 +45,19 @@
|
|
|
45
45
|
text-align: center;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.dtable-ui.dtable-row-expand-formatter .form-control {
|
|
48
|
+
.dtable-ui.dtable-ui-row-expand-formatter .form-control {
|
|
49
49
|
background-color: #f8f9fa;
|
|
50
50
|
padding: 0 10px;
|
|
51
51
|
height: fit-content;
|
|
52
52
|
min-height: 2.375rem;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.dtable-ui.dtable-row-expand-formatter .ctime-formatter-container,
|
|
56
|
-
.dtable-ui.dtable-row-expand-formatter .mtime-formatter-container {
|
|
55
|
+
.dtable-ui.dtable-ui-row-expand-formatter .ctime-formatter-container,
|
|
56
|
+
.dtable-ui.dtable-ui-row-expand-formatter .mtime-formatter-container {
|
|
57
57
|
padding: 0.375rem 0.75rem;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.dtable-ui.dtable-row-expand-formatter .checkbox-formatter-container {
|
|
60
|
+
.dtable-ui.dtable-ui-row-expand-formatter .checkbox-formatter-container {
|
|
61
61
|
width: 24px;
|
|
62
62
|
height: 24px;
|
|
63
63
|
border: 2px solid #e0e0e0;
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
justify-content: center;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.dtable-ui.dtable-row-expand-formatter .checkbox-formatter-container .cell-formatter-container {
|
|
69
|
+
.dtable-ui.dtable-ui-row-expand-formatter .checkbox-formatter-container .cell-formatter-container {
|
|
70
70
|
line-height: inherit;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.dtable-ui.dtable-row-expand-formatter .button-formatter {
|
|
73
|
+
.dtable-ui.dtable-ui-row-expand-formatter .button-formatter {
|
|
74
74
|
text-align: center;
|
|
75
75
|
height: 26px;
|
|
76
76
|
line-height: 14px;
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
letter-spacing: .03em;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.dtable-ui.dtable-row-expand-formatter .longtext-formatter-container {
|
|
94
|
+
.dtable-ui.dtable-ui-row-expand-formatter .longtext-formatter-container {
|
|
95
95
|
border: 1px solid rgba(0, 40, 100, 0.12);
|
|
96
96
|
border-radius: 3px;
|
|
97
97
|
padding: 0.375rem 0.75rem;
|
|
@@ -99,13 +99,13 @@
|
|
|
99
99
|
background-color: #fff;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-ui-geolocation-formatter-container {
|
|
102
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-ui-geolocation-formatter-container {
|
|
103
103
|
margin-top: 0.5rem;
|
|
104
104
|
display: flex;
|
|
105
105
|
align-items: center;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.dtable-ui.dtable-row-expand-formatter .dtable-link-formatter {
|
|
108
|
+
.dtable-ui.dtable-ui-row-expand-formatter .dtable-link-formatter {
|
|
109
109
|
padding-top: 8px;
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -382,7 +382,7 @@ class RowExpandFormatter extends _react.default.Component {
|
|
|
382
382
|
className
|
|
383
383
|
} = this.props;
|
|
384
384
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
385
|
-
className: (0, _classnames.default)('dtable-ui dtable-row-expand-formatter', className)
|
|
385
|
+
className: (0, _classnames.default)('dtable-ui dtable-ui-row-expand-formatter', className)
|
|
386
386
|
}, this.renderFormatter());
|
|
387
387
|
}
|
|
388
388
|
}
|