dtable-ui-component 5.3.1-beta → 5.3.1-beta1
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.
|
@@ -175,7 +175,6 @@ class Body extends _react.default.Component {
|
|
|
175
175
|
columnIndex: columnIndex,
|
|
176
176
|
valueKey: valueKey,
|
|
177
177
|
isInModal: true,
|
|
178
|
-
longTextEditorI18n: seafileEditorI18n,
|
|
179
178
|
lang: lang,
|
|
180
179
|
collaborators: collaborators,
|
|
181
180
|
config: config,
|
|
@@ -186,6 +185,7 @@ class Body extends _react.default.Component {
|
|
|
186
185
|
onEditorOpen: this.onEditorOpen,
|
|
187
186
|
onEditorClose: this.onEditorClose,
|
|
188
187
|
uploadFile: uploadFile,
|
|
188
|
+
longTextEditorI18n: seafileEditorI18n,
|
|
189
189
|
longTextEditorAPI: longTextEditorAPI
|
|
190
190
|
});
|
|
191
191
|
}
|
|
@@ -34,8 +34,10 @@ const RowExpandDialog = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
34
34
|
departments,
|
|
35
35
|
userDepartmentIdsMap,
|
|
36
36
|
config,
|
|
37
|
+
lang,
|
|
37
38
|
layout = 'horizontal',
|
|
38
39
|
// horizontal or vertical
|
|
40
|
+
longTextEditorI18n,
|
|
39
41
|
longTextEditorAPI,
|
|
40
42
|
getRow,
|
|
41
43
|
modifyRow,
|
|
@@ -229,6 +231,7 @@ const RowExpandDialog = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
229
231
|
}), /*#__PURE__*/_react.default.createElement(_body.default, {
|
|
230
232
|
isInsertingRow: isInsertingRow,
|
|
231
233
|
row: row,
|
|
234
|
+
lang: lang,
|
|
232
235
|
columns: columns,
|
|
233
236
|
placeholder: placeholder,
|
|
234
237
|
collaborators: collaborators,
|
|
@@ -242,6 +245,7 @@ const RowExpandDialog = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
242
245
|
getCollaborators: getCollaborators,
|
|
243
246
|
queryCollaborators: queryCollaborators,
|
|
244
247
|
uploadFile: uploadFile,
|
|
248
|
+
longTextEditorI18n: longTextEditorI18n,
|
|
245
249
|
longTextEditorAPI: longTextEditorAPI
|
|
246
250
|
}), (!saveImmediately || isInsertingRow) && /*#__PURE__*/_react.default.createElement(_reactstrap.ModalFooter, null, /*#__PURE__*/_react.default.createElement(_reactstrap.Button, {
|
|
247
251
|
onClick: toggle,
|
|
@@ -251,7 +255,7 @@ const RowExpandDialog = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
251
255
|
disabled: isSaving || !isChangedRef.current,
|
|
252
256
|
color: "primary"
|
|
253
257
|
}, (0, _lang.getLocale)('Submit'))));
|
|
254
|
-
}, [isSaving, saveImmediately, isAnimationEnd, isLoading, isInsertingRow, errorMessage, title, row, columns, placeholder, collaborators, component, valueKey, departments, userDepartmentIdsMap, eventBus, onChange, toggle, getCollaborators, queryCollaborators, uploadFile, longTextEditorAPI, config, onSubmit]);
|
|
258
|
+
}, [isSaving, saveImmediately, isAnimationEnd, isLoading, isInsertingRow, errorMessage, title, row, columns, placeholder, collaborators, component, valueKey, departments, userDepartmentIdsMap, eventBus, onChange, toggle, getCollaborators, queryCollaborators, uploadFile, longTextEditorI18n, longTextEditorAPI, config, onSubmit]);
|
|
255
259
|
return /*#__PURE__*/_react.default.createElement(_reactstrap.Modal, {
|
|
256
260
|
isOpen: true,
|
|
257
261
|
toggle: onToggle,
|