dtable-ui-component 6.0.110-hap.1 → 6.0.110-hum.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/ActionSheet/index.js +35 -42
- package/lib/ActivityIndicator/index.js +9 -9
- package/lib/AsyncUserSelect/index.js +3 -3
- package/lib/Badge/index.js +31 -27
- package/lib/CheckboxEditor/index.js +14 -15
- package/lib/CollaboratorEditor/index.js +15 -16
- package/lib/CollaboratorEditor/pc-editor/index.js +1 -1
- package/lib/CollapsibleSettingLayout/index.js +1 -1
- package/lib/Comment/body/comment.js +1 -1
- package/lib/Comment/body/index.js +9 -7
- package/lib/Comment/footer/index.js +1 -1
- package/lib/Comment/footer/input/index.js +5 -5
- package/lib/Comment/footer/input/participant/index.js +1 -1
- package/lib/Comment/footer/participants/participant-select/index.js +2 -2
- package/lib/Comment/utils/utilities.js +1 -1
- package/lib/DTableColorPicker/ColorPickerPortal/index.js +6 -8
- package/lib/DTableColorPicker/index.js +12 -13
- package/lib/DTableColorPicker/utils.js +1 -1
- package/lib/DTableCommonAddTool/index.js +2 -2
- package/lib/DTableCustomizeSelect/index.css +30 -59
- package/lib/DTableCustomizeSelect/index.js +11 -10
- package/lib/DTableCustomizeSelect/select-option-group/KeyCodes.js +109 -0
- package/lib/DTableCustomizeSelect/select-option-group/index.css +130 -0
- package/lib/DTableCustomizeSelect/select-option-group/index.js +252 -0
- package/lib/DTableCustomizeSelect/select-option-group/option.js +48 -0
- package/lib/DTableCustomizeSelect/select-option-group/search-input.js +135 -0
- package/lib/DTableCustomizeSelect/util.js +12 -0
- package/lib/DTableFiltersPopover/index.js +1 -1
- package/lib/DTableFiltersPopover/utils/filter-item-utils.js +2 -2
- package/lib/DTableFiltersPopover/utils/index.js +1 -1
- package/lib/DTableFiltersPopover/widgets/collaborator-filter/index.js +1 -1
- package/lib/DTableFiltersPopover/widgets/filter-group.js +2 -2
- package/lib/DTableFiltersPopover/widgets/filter-item.js +1 -1
- package/lib/DTableFiltersPopover/widgets/filter-list/index.css +3 -3
- package/lib/DTableFiltersPopover/widgets/filter-list/index.js +1 -1
- package/lib/DTableFiltersPopover/widgets/rate-item.js +5 -5
- package/lib/DTableGroupSelect/index.css +3 -16
- package/lib/DTableGroupSelect/select-option-group.css +3 -3
- package/lib/DTableGroupSelect/select-option-group.js +10 -11
- package/lib/DTableIcon/index.js +4 -4
- package/lib/DTableIcon/svg-icon.js +4 -4
- package/lib/DTableModalHeader/index.js +8 -6
- package/lib/DTableRadioGroup/index.js +3 -3
- package/lib/DTableSelect/dtable-select-label.js +1 -1
- package/lib/DTableSelect/index.js +145 -44
- package/lib/DTableSelect/select-dropdown-indicator/index.css +12 -0
- package/lib/DTableSelect/select-dropdown-indicator/index.js +20 -0
- package/lib/DTableSelect/select-style.js +134 -0
- package/lib/DTableSelect/user-select.css +3 -50
- package/lib/DateEditor/index.js +10 -13
- package/lib/DateEditor/pc-editor.js +1 -1
- package/lib/DatePicker/utils.js +4 -4
- package/lib/DepartmentMultipleSelectEditor/index.js +3 -3
- package/lib/DepartmentSelectFilter/index.js +2 -5
- package/lib/DepartmentSingleSelectEditor/index.js +14 -15
- package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +2 -2
- package/lib/DepartmentSingleSelectEditor/pc-editor/department-single-select.js +6 -6
- package/lib/DigitalSignEditor/index.js +14 -15
- package/lib/DigitalSignEditor/mb-editor/index.js +4 -4
- package/lib/DigitalSignEditor/pc-editor/index.js +6 -7
- package/lib/DigitalSignEditor/service.js +1 -1
- package/lib/DigitalSignEditor/signature-board/index.js +2 -2
- package/lib/DigitalSignFormatter/utils.js +1 -1
- package/lib/Drawer/index.js +2 -3
- package/lib/FieldDisplaySetting/field-item.js +1 -1
- package/lib/FieldDisplaySetting/index.js +9 -11
- package/lib/FileEditor/files-previewer/index.js +14 -15
- package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +2 -2
- package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/index.js +3 -3
- package/lib/FileEditor/index.js +14 -15
- package/lib/FileEditor/pc-editor/addition-previewer/index.js +1 -1
- package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.js +6 -6
- package/lib/FileEditor/pc-editor/index.js +3 -3
- package/lib/FileFormatter/index.js +1 -1
- package/lib/FileItemFormatter/index.js +1 -1
- package/lib/FileUploader/index.js +1 -1
- package/lib/FormulaFormatter/index.js +9 -15
- package/lib/GeolocationEditor/index.js +19 -23
- package/lib/GeolocationEditor/map-editor-utils.js +6 -10
- package/lib/GeolocationEditor/mb-editor/index.js +23 -27
- package/lib/GeolocationEditor/mb-editor/map-editor/index.js +6 -9
- package/lib/GeolocationEditor/pc-editor/country-editor.js +2 -2
- package/lib/GeolocationEditor/pc-editor/index.js +15 -21
- package/lib/GeolocationEditor/pc-editor/location-editor.js +2 -2
- package/lib/GeolocationEditor/pc-editor/map-editor/index.js +9 -13
- package/lib/GeolocationEditor/pc-editor/map-editor/large-editor/index.js +6 -9
- package/lib/GeolocationEditor/pc-editor/map-selection-editor/index.js +7 -24
- package/lib/GeolocationEditor/pc-editor/map-selection-editor/large-editor/index.js +3 -20
- package/lib/GeolocationEditor/pc-editor/province-city-editor.js +1 -1
- package/lib/GeolocationEditor/pc-editor/province-editor.js +2 -2
- package/lib/GeolocationEditor/pc-editor/selector-list.js +1 -1
- package/lib/HtmlLongTextFormatter/index.js +1 -1
- package/lib/Icon/index.js +17 -13
- package/lib/Icon/load-sprite.js +2 -13
- package/lib/IconButton/index.js +14 -11
- package/lib/ImageEditor/images-previewer/image-preview/index.js +1 -1
- package/lib/ImageEditor/index.js +14 -15
- package/lib/ImageEditor/pc-editor/addition-previewer/index.js +2 -2
- package/lib/ImageEditor/pc-editor/addition-previewer/local-image-addition/index.js +5 -5
- package/lib/ImageEditor/pc-editor/images-previewer/index.js +1 -1
- package/lib/ImageFormatter/index.js +1 -1
- package/lib/ImageThumbnail/index.js +2 -2
- package/lib/InputItem/custom-input.js +9 -9
- package/lib/InputItem/custom-keyboard.js +37 -34
- package/lib/InputItem/index.js +49 -52
- package/lib/InputItem/input.js +13 -9
- package/lib/LinkEditor/pc-popover/index.js +2 -3
- package/lib/List/index.js +21 -17
- package/lib/List/list-item.js +52 -50
- package/lib/MBEditorHeader/index.js +1 -1
- package/lib/MobileFullScreenPage/body/index.js +1 -1
- package/lib/MobileFullScreenPage/header/index.js +4 -4
- package/lib/MobileFullScreenPage/index.js +1 -1
- package/lib/MobileModal/index.js +10 -7
- package/lib/Modal/alert.js +2 -2
- package/lib/Modal/modal.js +31 -28
- package/lib/Modal/prompt.js +10 -10
- package/lib/MultipleSelectEditor/index.js +8 -6
- package/lib/MultipleSelectFormatter/index.js +1 -1
- package/lib/PhoneNumberLink/index.js +1 -1
- package/lib/Picker/AbstractPicker.js +28 -26
- package/lib/Popover/index.js +12 -9
- package/lib/Popover/item.js +26 -22
- package/lib/Progress/index.js +8 -10
- package/lib/Radio/Radio.js +15 -13
- package/lib/Radio/RadioItem.js +18 -18
- package/lib/RateFormatter/index.js +2 -2
- package/lib/RoleStatusEditor/index.js +1 -1
- package/lib/RowExpand/index.js +6 -7
- package/lib/RowExpandDialog/body/index.js +14 -14
- package/lib/RowExpandDialog/column-content/index.js +1 -1
- package/lib/RowExpandDialog/header/index.js +3 -4
- package/lib/RowExpandDialog/index.js +32 -43
- package/lib/RowExpandEditor/add-btn/index.js +6 -7
- package/lib/RowExpandEditor/checkbox-editor/index.js +6 -7
- package/lib/RowExpandEditor/collaborator-editor/index.js +6 -7
- package/lib/RowExpandEditor/date-editor/index.js +6 -7
- package/lib/RowExpandEditor/department-editor/index.js +6 -7
- package/lib/RowExpandEditor/digital-sign-editor/index.js +6 -7
- package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +4 -4
- package/lib/RowExpandEditor/digital-sign-editor/pc-editor/index.js +4 -4
- package/lib/RowExpandEditor/duration-editor/index.js +6 -7
- package/lib/RowExpandEditor/email-editor/index.js +6 -7
- package/lib/RowExpandEditor/email-editor/mb-editor/index.js +1 -1
- package/lib/RowExpandEditor/email-editor/pc-editor/index.js +1 -1
- package/lib/RowExpandEditor/file-editor/index.js +6 -7
- package/lib/RowExpandEditor/geolocation-editor/index.js +6 -7
- package/lib/RowExpandEditor/image-editor/index.js +6 -7
- package/lib/RowExpandEditor/image-editor/mb-editor/index.js +1 -1
- package/lib/RowExpandEditor/image-editor/pc-editor/index.js +1 -1
- package/lib/RowExpandEditor/index.js +10 -11
- package/lib/RowExpandEditor/long-text-editor/index.js +6 -7
- package/lib/RowExpandEditor/multiple-select-editor/index.js +6 -7
- package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +1 -1
- package/lib/RowExpandEditor/multiple-select-editor/pc-editor/index.js +5 -5
- package/lib/RowExpandEditor/number-editor/index.js +6 -7
- package/lib/RowExpandEditor/rate-editor/index.js +6 -7
- package/lib/RowExpandEditor/rate-editor/mb-editor.js +1 -1
- package/lib/RowExpandEditor/rate-editor/pc-editor.js +5 -5
- package/lib/RowExpandEditor/single-select-editor/index.js +6 -7
- package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +4 -4
- package/lib/RowExpandEditor/single-select-editor/pc-editor/index.js +3 -3
- package/lib/RowExpandEditor/text-editor/index.js +6 -7
- package/lib/RowExpandEditor/url-editor/index.js +6 -7
- package/lib/RowExpandEditor/url-editor/mb-editor/index.js +2 -2
- package/lib/RowExpandEditor/url-editor/pc-editor/index.js +2 -2
- package/lib/RowExpandFormatter/department-formatter/index.js +3 -6
- package/lib/RowExpandFormatter/email-formatter/index.js +1 -1
- package/lib/RowExpandFormatter/file-formatter/row-expand-file-item-formatter.js +2 -2
- package/lib/RowExpandFormatter/formula-formatter/index.js +11 -17
- package/lib/RowExpandFormatter/image-formatter/row-expand-image-item-formatter.js +2 -2
- package/lib/RowExpandFormatter/index.js +7 -11
- package/lib/RowExpandFormatter/link-formatter/collaborator-item-formatter.js +1 -1
- package/lib/RowExpandFormatter/link-formatter/index.js +6 -6
- package/lib/RowExpandFormatter/rate-formatter/index.js +2 -2
- package/lib/RowExpandFormatter/url-formatter/index.js +2 -2
- package/lib/RowExpandView/body/index.js +15 -13
- package/lib/RowExpandView/index.js +28 -39
- package/lib/SelectOptionGroup/index.css +35 -17
- package/lib/SelectOptionGroup/index.js +44 -6
- package/lib/SelectedDepartments/index.js +3 -3
- package/lib/SimpleLongTextFormatter/index.js +2 -2
- package/lib/SingleSelectEditor/index.js +8 -6
- package/lib/TabBar/Tab.js +10 -10
- package/lib/TabBar/index.js +6 -7
- package/lib/Tabs/index.js +9 -10
- package/lib/TextareaItem/index.js +45 -43
- package/lib/Toast/index.js +5 -5
- package/lib/assets/icons/close.svg +1 -0
- package/lib/formatterConfig/index.js +3 -3
- package/lib/select-editor/index.js +14 -15
- package/lib/select-editor/pc-editor/index.js +5 -5
- package/lib/toaster/alert.js +1 -1
- package/lib/toaster/toast.js +1 -1
- package/lib/toaster/toastManager.js +14 -12
- package/lib/toaster/toaster.js +9 -12
- package/lib/utils/class.js +3 -3
- package/lib/utils/departments.js +4 -3
- package/lib/utils/getLocale.js +5 -11
- package/lib/utils/object-utils.js +4 -5
- package/lib/utils/url.js +4 -4
- package/package.json +2 -2
- package/lib/DTableSelect/utils.js +0 -227
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
3
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
11
|
var _reactResponsive = _interopRequireDefault(require("react-responsive"));
|
|
11
12
|
var _pcEditor = _interopRequireDefault(require("./pc-editor"));
|
|
@@ -15,16 +16,14 @@ const RowExpandTextEditor = /*#__PURE__*/(0, _react.forwardRef)((props, ref) =>
|
|
|
15
16
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
16
17
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
17
18
|
query: "(min-width: 768px)",
|
|
18
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcEditor.default, {
|
|
19
|
-
...props,
|
|
19
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
20
20
|
ref: ref
|
|
21
|
-
})
|
|
21
|
+
}))
|
|
22
22
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
23
23
|
query: "(max-width: 768px)",
|
|
24
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbEditor.default, {
|
|
25
|
-
...props,
|
|
24
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
26
25
|
ref: ref
|
|
27
|
-
})
|
|
26
|
+
}))
|
|
28
27
|
})]
|
|
29
28
|
});
|
|
30
29
|
});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
3
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
11
|
var _reactResponsive = _interopRequireDefault(require("react-responsive"));
|
|
11
12
|
var _pcEditor = _interopRequireDefault(require("./pc-editor"));
|
|
@@ -15,16 +16,14 @@ const RowExpandUrlEditor = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
|
|
|
15
16
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
16
17
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
17
18
|
query: "(min-width: 768px)",
|
|
18
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcEditor.default, {
|
|
19
|
-
...props,
|
|
19
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
20
20
|
ref: ref
|
|
21
|
-
})
|
|
21
|
+
}))
|
|
22
22
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
23
23
|
query: "(max-width: 768px)",
|
|
24
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbEditor.default, {
|
|
25
|
-
...props,
|
|
24
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
26
25
|
ref: ref
|
|
27
|
-
})
|
|
26
|
+
}))
|
|
28
27
|
})]
|
|
29
28
|
});
|
|
30
29
|
});
|
|
@@ -39,11 +39,11 @@ class RowExpandMBUrlEditor extends _react.default.Component {
|
|
|
39
39
|
} = this.state;
|
|
40
40
|
let newValue = value.trim();
|
|
41
41
|
if (!(0, _utils.isValidUrl)(newValue)) {
|
|
42
|
-
newValue =
|
|
42
|
+
newValue = "http://".concat(newValue);
|
|
43
43
|
}
|
|
44
44
|
try {
|
|
45
45
|
(0, _utils.openUrlLink)(newValue);
|
|
46
|
-
} catch {
|
|
46
|
+
} catch (_unused) {
|
|
47
47
|
_toaster.default.danger((0, _lang.getLocale)('URL_is_invalid'));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -69,11 +69,11 @@ class RowExpandPCUrlEditor extends _react.default.Component {
|
|
|
69
69
|
} = this.state;
|
|
70
70
|
let newValue = value.trim();
|
|
71
71
|
if (!(0, _utils.isValidUrl)(newValue)) {
|
|
72
|
-
newValue =
|
|
72
|
+
newValue = "http://".concat(newValue);
|
|
73
73
|
}
|
|
74
74
|
try {
|
|
75
75
|
(0, _utils.openUrlLink)(newValue);
|
|
76
|
-
} catch {
|
|
76
|
+
} catch (_unused) {
|
|
77
77
|
_toaster.default.danger((0, _lang.getLocale)('URL_is_invalid'));
|
|
78
78
|
}
|
|
79
79
|
};
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
8
9
|
var _react = _interopRequireDefault(require("react"));
|
|
9
10
|
var _reactResponsive = _interopRequireDefault(require("react-responsive"));
|
|
10
11
|
var _pcFormatter = _interopRequireDefault(require("./pc-formatter"));
|
|
@@ -14,14 +15,10 @@ const RowExpandDepartmentFormatter = props => {
|
|
|
14
15
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
15
16
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
16
17
|
query: '(min-width: 768px)',
|
|
17
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcFormatter.default, {
|
|
18
|
-
...props
|
|
19
|
-
})
|
|
18
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcFormatter.default, (0, _objectSpread2.default)({}, props))
|
|
20
19
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
|
|
21
20
|
query: '(max-width: 768px)',
|
|
22
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbFormatter.default, {
|
|
23
|
-
...props
|
|
24
|
-
})
|
|
21
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbFormatter.default, (0, _objectSpread2.default)({}, props))
|
|
25
22
|
})]
|
|
26
23
|
});
|
|
27
24
|
};
|
|
@@ -65,7 +65,7 @@ class RowExpandFileItemFormatter extends _react.Component {
|
|
|
65
65
|
id: id,
|
|
66
66
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
67
67
|
src: fileIconUrl,
|
|
68
|
-
id:
|
|
68
|
+
id: "item-file-".concat(index),
|
|
69
69
|
alt: file.name
|
|
70
70
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
71
71
|
className: "dtable-ui-file-icons-choice",
|
|
@@ -83,7 +83,7 @@ class RowExpandFileItemFormatter extends _react.Component {
|
|
|
83
83
|
})
|
|
84
84
|
})]
|
|
85
85
|
})]
|
|
86
|
-
},
|
|
86
|
+
}, "file-".concat(index)), this.state.isDeleteTipOpen && /*#__PURE__*/(0, _jsxRuntime.jsx)(_DeleteTip.default, {
|
|
87
87
|
position: this.position,
|
|
88
88
|
toggle: this.closeDeleteTip,
|
|
89
89
|
handleDelete: this.onDelete,
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
8
9
|
var _react = _interopRequireDefault(require("react"));
|
|
9
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
11
|
var _dtableUtils = require("dtable-utils");
|
|
@@ -37,16 +38,16 @@ class RowExpandFormulaFormatter extends _react.default.Component {
|
|
|
37
38
|
};
|
|
38
39
|
this.onOpenUrlLink = url => {
|
|
39
40
|
if (!(0, _utils2.isValidUrl)(url)) {
|
|
40
|
-
url =
|
|
41
|
+
url = "http://".concat(url);
|
|
41
42
|
}
|
|
42
43
|
try {
|
|
43
44
|
(0, _utils2.openUrlLink)(url);
|
|
44
|
-
} catch {
|
|
45
|
+
} catch (_unused) {
|
|
45
46
|
_toaster.default.danger((0, _lang.getLocale)('URL_is_invalid'));
|
|
46
47
|
}
|
|
47
48
|
};
|
|
48
49
|
this.onOpenEmailLink = email => {
|
|
49
|
-
window.location.href =
|
|
50
|
+
window.location.href = "mailto:".concat(email.trim());
|
|
50
51
|
};
|
|
51
52
|
this.renderBorder = dom => {
|
|
52
53
|
const {
|
|
@@ -74,7 +75,7 @@ class RowExpandFormulaFormatter extends _react.default.Component {
|
|
|
74
75
|
containerClassName
|
|
75
76
|
} = this.props;
|
|
76
77
|
const customClassName = this.getGridCellClassName(resultType);
|
|
77
|
-
const className =
|
|
78
|
+
const className = "dtable-ui cell-formatter-container formula-formatter ".concat(containerClassName, " ").concat(customClassName);
|
|
78
79
|
return this.renderBorder(/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
79
80
|
className: className,
|
|
80
81
|
title: cellValue,
|
|
@@ -147,7 +148,7 @@ class RowExpandFormulaFormatter extends _react.default.Component {
|
|
|
147
148
|
phoneNumber: formulaPhoneNumber,
|
|
148
149
|
className: "row-expand-jump-link-btn"
|
|
149
150
|
}), this.createColumnFormatter(Formatter, formatterProps)]
|
|
150
|
-
},
|
|
151
|
+
}, "formula-formatter-content-item-".concat(index));
|
|
151
152
|
})
|
|
152
153
|
}));
|
|
153
154
|
};
|
|
@@ -185,27 +186,20 @@ class RowExpandFormulaFormatter extends _react.default.Component {
|
|
|
185
186
|
if (array_type === _dtableUtils.CellType.CHECKBOX) {
|
|
186
187
|
array_data.checkboxStyle = array_data.checkbox_style;
|
|
187
188
|
}
|
|
188
|
-
return {
|
|
189
|
-
...array_data,
|
|
189
|
+
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, array_data), {}, {
|
|
190
190
|
collaborators
|
|
191
|
-
};
|
|
191
|
+
});
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
createColumnFormatter(Formatter, formatterProps) {
|
|
197
197
|
if (/*#__PURE__*/_react.default.isValidElement(Formatter)) {
|
|
198
|
-
return /*#__PURE__*/_react.default.cloneElement(Formatter, {
|
|
199
|
-
...formatterProps
|
|
200
|
-
});
|
|
198
|
+
return /*#__PURE__*/_react.default.cloneElement(Formatter, (0, _objectSpread2.default)({}, formatterProps));
|
|
201
199
|
} else if ((0, _utils2.isFunction)(Formatter)) {
|
|
202
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Formatter, {
|
|
203
|
-
...formatterProps
|
|
204
|
-
});
|
|
200
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Formatter, (0, _objectSpread2.default)({}, formatterProps));
|
|
205
201
|
} else {
|
|
206
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextFormatter.default, {
|
|
207
|
-
...formatterProps
|
|
208
|
-
});
|
|
202
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextFormatter.default, (0, _objectSpread2.default)({}, formatterProps));
|
|
209
203
|
}
|
|
210
204
|
}
|
|
211
205
|
render() {
|
|
@@ -72,7 +72,7 @@ class RowExpandImageItemFormatter extends _react.Component {
|
|
|
72
72
|
onClick: this.onClickImage,
|
|
73
73
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
74
74
|
src: url,
|
|
75
|
-
id:
|
|
75
|
+
id: "item-image-".concat(index),
|
|
76
76
|
alt: name
|
|
77
77
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
78
78
|
className: "dtable-ui-image-icons-choice",
|
|
@@ -90,7 +90,7 @@ class RowExpandImageItemFormatter extends _react.Component {
|
|
|
90
90
|
})
|
|
91
91
|
})]
|
|
92
92
|
})]
|
|
93
|
-
},
|
|
93
|
+
}, "image-".concat(index)), this.state.isDeleteTipOpen && /*#__PURE__*/(0, _jsxRuntime.jsx)(_DeleteTip.default, {
|
|
94
94
|
position: this.position,
|
|
95
95
|
toggle: this.closeDeleteTip,
|
|
96
96
|
handleDelete: this.onDelete,
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
8
9
|
var _react = _interopRequireDefault(require("react"));
|
|
9
10
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
11
|
var _dtableUtils = require("dtable-utils");
|
|
@@ -66,7 +67,7 @@ class RowExpandFormatter extends _react.default.Component {
|
|
|
66
67
|
const {
|
|
67
68
|
collaborators
|
|
68
69
|
} = this.state;
|
|
69
|
-
const containerClassName =
|
|
70
|
+
const containerClassName = "dtable-ui-row-expand-".concat(columnType, "-formatter");
|
|
70
71
|
let cellValue = row[column[valueKey]];
|
|
71
72
|
const Formatter = this.component[columnType];
|
|
72
73
|
if (!Formatter) return null;
|
|
@@ -264,17 +265,15 @@ class RowExpandFormatter extends _react.default.Component {
|
|
|
264
265
|
array_data
|
|
265
266
|
} = data;
|
|
266
267
|
if (!data.display_column) {
|
|
267
|
-
column = {
|
|
268
|
-
|
|
269
|
-
data: {
|
|
270
|
-
...data,
|
|
268
|
+
column = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, column), {}, {
|
|
269
|
+
data: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, data), {}, {
|
|
271
270
|
display_column: {
|
|
272
271
|
key: display_column_key || '0000',
|
|
273
272
|
type: array_type || _dtableUtils.CellType.TEXT,
|
|
274
273
|
data: array_data || null
|
|
275
274
|
}
|
|
276
|
-
}
|
|
277
|
-
};
|
|
275
|
+
})
|
|
276
|
+
});
|
|
278
277
|
}
|
|
279
278
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Formatter, {
|
|
280
279
|
value: cellValue,
|
|
@@ -375,10 +374,7 @@ class RowExpandFormatter extends _react.default.Component {
|
|
|
375
374
|
this.state = {
|
|
376
375
|
collaborators: this.getCollaborators()
|
|
377
376
|
};
|
|
378
|
-
this.component = {
|
|
379
|
-
..._constants.DEFAULT_FORMATTER,
|
|
380
|
-
...this.props.component
|
|
381
|
-
};
|
|
377
|
+
this.component = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _constants.DEFAULT_FORMATTER), this.props.component);
|
|
382
378
|
}
|
|
383
379
|
componentDidMount() {
|
|
384
380
|
this.calculateCollaboratorData(this.props);
|
|
@@ -42,7 +42,7 @@ class CollaboratorItemFormatter extends _react.Component {
|
|
|
42
42
|
}
|
|
43
43
|
if (!context) return;
|
|
44
44
|
const mediaUrl = context.getSetting('mediaUrl');
|
|
45
|
-
const defaultAvatarUrl =
|
|
45
|
+
const defaultAvatarUrl = "".concat(mediaUrl, "/avatars/default.png");
|
|
46
46
|
if (cellValue === 'anonymous') {
|
|
47
47
|
collaborator = {
|
|
48
48
|
name: 'anonymous',
|
|
@@ -64,7 +64,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
64
64
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
65
65
|
className: "row-expand-link-item",
|
|
66
66
|
children: value
|
|
67
|
-
},
|
|
67
|
+
}, "link-".concat(displayColumnType, "-").concat(index));
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
70
|
}
|
|
@@ -81,7 +81,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
81
81
|
value: value,
|
|
82
82
|
format: format,
|
|
83
83
|
containerClassName: "row-expand-link-item"
|
|
84
|
-
},
|
|
84
|
+
}, "link-".concat(displayColumnType, "-").concat(index));
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}
|
|
@@ -94,7 +94,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
94
94
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CTimeFormatter.default, {
|
|
95
95
|
value: value,
|
|
96
96
|
containerClassName: "row-expand-link-item"
|
|
97
|
-
},
|
|
97
|
+
}, "link-".concat(displayColumnType, "-").concat(index));
|
|
98
98
|
})
|
|
99
99
|
});
|
|
100
100
|
}
|
|
@@ -107,7 +107,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
107
107
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_MTimeFormatter.default, {
|
|
108
108
|
value: value,
|
|
109
109
|
containerClassName: "row-expand-link-item"
|
|
110
|
-
},
|
|
110
|
+
}, "link-".concat(displayColumnType, "-").concat(index));
|
|
111
111
|
})
|
|
112
112
|
});
|
|
113
113
|
}
|
|
@@ -123,7 +123,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
123
123
|
collaborators: collaborators,
|
|
124
124
|
context: props.context,
|
|
125
125
|
renderEmpty: props.renderEmpty
|
|
126
|
-
},
|
|
126
|
+
}, "link-".concat(displayColumnType, "-").concat(index));
|
|
127
127
|
})
|
|
128
128
|
});
|
|
129
129
|
}
|
|
@@ -146,7 +146,7 @@ class RowExpandLinkFormatter extends _react.Component {
|
|
|
146
146
|
children: (0, _valueDisplayUtils.getCellDisplayValue)({
|
|
147
147
|
[displayColumn.key]: value
|
|
148
148
|
}, displayColumn, collaborators)
|
|
149
|
-
},
|
|
149
|
+
}, "link-".concat(displayColumnType, "-").concat(index));
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}
|
|
@@ -28,9 +28,9 @@ class RateExpendRateFormatter extends _react.default.Component {
|
|
|
28
28
|
color: value >= i + 1 ? rate_style_color : '#e5e5e5'
|
|
29
29
|
};
|
|
30
30
|
rateList.push(/*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
|
|
31
|
-
className:
|
|
31
|
+
className: "dtable-font ".concat(rate_style_type),
|
|
32
32
|
style: style
|
|
33
|
-
},
|
|
33
|
+
}, "dtable-ui-component-rate-".concat(i)));
|
|
34
34
|
}
|
|
35
35
|
return rateList;
|
|
36
36
|
};
|
|
@@ -20,7 +20,7 @@ class UrlFormatter extends _react.default.Component {
|
|
|
20
20
|
value
|
|
21
21
|
} = this.props;
|
|
22
22
|
const url = (0, _editorUtils.getTrimmedString)(value);
|
|
23
|
-
const validUrl = (0, _utils.isValidUrl)(url) ? url :
|
|
23
|
+
const validUrl = (0, _utils.isValidUrl)(url) ? url : "http://".concat(url);
|
|
24
24
|
try {
|
|
25
25
|
let a = document.createElement('a');
|
|
26
26
|
document.body.appendChild(a);
|
|
@@ -29,7 +29,7 @@ class UrlFormatter extends _react.default.Component {
|
|
|
29
29
|
a.rel = 'noopener noreferrer';
|
|
30
30
|
a.click();
|
|
31
31
|
document.body.removeChild(a);
|
|
32
|
-
} catch {
|
|
32
|
+
} catch (_unused) {
|
|
33
33
|
_toaster.default.danger('The url is invalid');
|
|
34
34
|
}
|
|
35
35
|
};
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
8
10
|
var _react = _interopRequireDefault(require("react"));
|
|
9
11
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
12
|
var _dtableUtils = require("dtable-utils");
|
|
@@ -14,6 +16,7 @@ var _RowExpandFormatter = _interopRequireDefault(require("../../RowExpandFormatt
|
|
|
14
16
|
var _utils = require("../../utils/utils");
|
|
15
17
|
require("./index.css");
|
|
16
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
+
const _excluded = ["component", "onChange", "className"];
|
|
17
20
|
class Body extends _react.default.Component {
|
|
18
21
|
constructor() {
|
|
19
22
|
super(...arguments);
|
|
@@ -39,12 +42,13 @@ class Body extends _react.default.Component {
|
|
|
39
42
|
return row[column[valueKey]];
|
|
40
43
|
};
|
|
41
44
|
this.renderColumnValue = (row, column) => {
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
const _this$props = this.props,
|
|
46
|
+
{
|
|
47
|
+
component,
|
|
48
|
+
onChange,
|
|
49
|
+
className
|
|
50
|
+
} = _this$props,
|
|
51
|
+
props = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
|
|
48
52
|
const {
|
|
49
53
|
getDownLoadFiles
|
|
50
54
|
} = props;
|
|
@@ -56,22 +60,20 @@ class Body extends _react.default.Component {
|
|
|
56
60
|
formatter
|
|
57
61
|
} = component || {};
|
|
58
62
|
if (editable) {
|
|
59
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_RowExpandEditor.default, {
|
|
60
|
-
...props,
|
|
63
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_RowExpandEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
61
64
|
column: column,
|
|
62
65
|
row: row,
|
|
63
66
|
component: editor,
|
|
64
67
|
onCommit: value => onChange(column, value)
|
|
65
|
-
});
|
|
68
|
+
}));
|
|
66
69
|
}
|
|
67
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_RowExpandFormatter.default, {
|
|
68
|
-
|
|
69
|
-
className: (0, _classnames.default)('dtable-ui-mobile-row-expand-formatter', `mobile-dtable-row-expand-${column.type}-formatter`, className),
|
|
70
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_RowExpandFormatter.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
71
|
+
className: (0, _classnames.default)('dtable-ui-mobile-row-expand-formatter', "mobile-dtable-row-expand-".concat(column.type, "-formatter"), className),
|
|
70
72
|
column: column,
|
|
71
73
|
row: row,
|
|
72
74
|
component: formatter,
|
|
73
75
|
downloadImage: getDownLoadFiles ? this.downloadImage : null
|
|
74
|
-
});
|
|
76
|
+
}));
|
|
75
77
|
};
|
|
76
78
|
}
|
|
77
79
|
render() {
|
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
10
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
9
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
13
|
var _dtableUtils = require("dtable-utils");
|
|
@@ -17,30 +19,31 @@ var _cellComparer = require("../utils/cell-comparer");
|
|
|
17
19
|
var _MobileFullScreenPage = _interopRequireDefault(require("../MobileFullScreenPage"));
|
|
18
20
|
require("./index.css");
|
|
19
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
22
|
+
const _excluded = ["saveImmediately", "readonly", "isInsertingRow", "zIndex", "title", "className", "valueKey", "row", "columns", "commit", "onToggle", "uploadFile", "copyURL", "children", "historyCallback"];
|
|
20
23
|
const {
|
|
21
24
|
Header,
|
|
22
25
|
Body: MobileFullScreenPageBody
|
|
23
26
|
} = _MobileFullScreenPage.default;
|
|
24
27
|
const RowExpandView = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
25
28
|
let {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
29
|
+
saveImmediately = true,
|
|
30
|
+
readonly = false,
|
|
31
|
+
isInsertingRow = false,
|
|
32
|
+
zIndex,
|
|
33
|
+
title,
|
|
34
|
+
className,
|
|
35
|
+
valueKey = 'name',
|
|
36
|
+
// name or key
|
|
37
|
+
row: defaultRow,
|
|
38
|
+
columns: defaultColumns,
|
|
39
|
+
commit,
|
|
40
|
+
onToggle,
|
|
41
|
+
uploadFile,
|
|
42
|
+
copyURL,
|
|
43
|
+
children = [],
|
|
44
|
+
historyCallback
|
|
45
|
+
} = _ref,
|
|
46
|
+
otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
44
47
|
const [isLoading, setLoading] = (0, _react.useState)(true);
|
|
45
48
|
const [isSaving, setSaving] = (0, _react.useState)(false);
|
|
46
49
|
const [row, setRow] = (0, _react.useState)({});
|
|
@@ -56,8 +59,7 @@ const RowExpandView = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
56
59
|
const initRowData = (0, _react.useCallback)(() => {
|
|
57
60
|
setLoading(true);
|
|
58
61
|
setRow(defaultRow);
|
|
59
|
-
let validColumns = defaultColumns.map(c => ({
|
|
60
|
-
...c,
|
|
62
|
+
let validColumns = defaultColumns.map(c => (0, _objectSpread2.default)((0, _objectSpread2.default)({}, c), {}, {
|
|
61
63
|
editable: checkEditable(c, defaultRow),
|
|
62
64
|
width: 320
|
|
63
65
|
}));
|
|
@@ -91,24 +93,15 @@ const RowExpandView = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
91
93
|
if (!(0, _cellComparer.isCellValueChanged)(oldValue, value, column.type)) return;
|
|
92
94
|
if (!saveImmediately || isInsertingRow) {
|
|
93
95
|
isChangedRef.current = true;
|
|
94
|
-
update.current = {
|
|
95
|
-
|
|
96
|
-
...updated
|
|
97
|
-
};
|
|
98
|
-
setRow({
|
|
99
|
-
...row,
|
|
100
|
-
...updated
|
|
101
|
-
});
|
|
96
|
+
update.current = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, update.current), updated);
|
|
97
|
+
setRow((0, _objectSpread2.default)((0, _objectSpread2.default)({}, row), updated));
|
|
102
98
|
return;
|
|
103
99
|
}
|
|
104
100
|
onSave(updated, {
|
|
105
101
|
successCallback: () => {
|
|
106
102
|
isChangedRef.current = false;
|
|
107
103
|
update.current = {};
|
|
108
|
-
setRow({
|
|
109
|
-
...row,
|
|
110
|
-
...updated
|
|
111
|
-
});
|
|
104
|
+
setRow((0, _objectSpread2.default)((0, _objectSpread2.default)({}, row), updated));
|
|
112
105
|
},
|
|
113
106
|
failCallback: () => {
|
|
114
107
|
_toaster.default.danger((0, _lang.getLocale)('Save_failed'));
|
|
@@ -126,10 +119,7 @@ const RowExpandView = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
126
119
|
setSaving(false);
|
|
127
120
|
_toaster.default.danger((0, _lang.getLocale)('Save_failed'));
|
|
128
121
|
};
|
|
129
|
-
const newRow = isInsertingRow ? {
|
|
130
|
-
...row,
|
|
131
|
-
...update.current
|
|
132
|
-
} : update.current;
|
|
122
|
+
const newRow = isInsertingRow ? (0, _objectSpread2.default)((0, _objectSpread2.default)({}, row), update.current) : update.current;
|
|
133
123
|
onSave(newRow, {
|
|
134
124
|
successCallback,
|
|
135
125
|
failCallback
|
|
@@ -174,14 +164,13 @@ const RowExpandView = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
174
164
|
children: isLoading ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
175
165
|
className: "w-100 -h-100 d-flex align-items-center justify-content-center",
|
|
176
166
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Loading.default, {})
|
|
177
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_body.default, {
|
|
178
|
-
...otherProps,
|
|
167
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_body.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, otherProps), {}, {
|
|
179
168
|
row: row,
|
|
180
169
|
columns: columns,
|
|
181
170
|
valueKey: valueKey,
|
|
182
171
|
onChange: onChange,
|
|
183
172
|
uploadFile: uploadFile
|
|
184
|
-
})
|
|
173
|
+
}))
|
|
185
174
|
})]
|
|
186
175
|
});
|
|
187
176
|
});
|