ods-component-lib 1.17.59 → 1.17.60
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/dist/index.js +21 -37
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +21 -37
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1331,7 +1331,7 @@ function grid(props, dataGridRef) {
|
|
|
1331
1331
|
allowDeleting: props.edit.allowDeleting,
|
|
1332
1332
|
allowAdding: props.edit.allowAdding,
|
|
1333
1333
|
useIcons: true
|
|
1334
|
-
}, props.edit.mode === "popup" && React.createElement(Popup, {
|
|
1334
|
+
}, props.edit.mode === "popup" && React.createElement(React.Fragment, null, React.createElement(Popup, {
|
|
1335
1335
|
title: props.popupTitle,
|
|
1336
1336
|
showTitle: true,
|
|
1337
1337
|
width: 700,
|
|
@@ -1348,7 +1348,7 @@ function grid(props, dataGridRef) {
|
|
|
1348
1348
|
dataField: subItem.dataField
|
|
1349
1349
|
});
|
|
1350
1350
|
}));
|
|
1351
|
-
}))), React.createElement(Scrolling, {
|
|
1351
|
+
})))), React.createElement(Scrolling, {
|
|
1352
1352
|
mode: props.scroll.mode,
|
|
1353
1353
|
showScrollbar: props.scroll.showScrollbar,
|
|
1354
1354
|
scrollByContent: props.scroll.scrollByContent,
|
|
@@ -1376,41 +1376,25 @@ function grid(props, dataGridRef) {
|
|
|
1376
1376
|
value: false
|
|
1377
1377
|
}]
|
|
1378
1378
|
}));
|
|
1379
|
-
}),
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
onClick: props.deleteButtonClick
|
|
1399
|
-
}));
|
|
1400
|
-
} else {
|
|
1401
|
-
return React.createElement(Column, {
|
|
1402
|
-
dataField: "Actions",
|
|
1403
|
-
caption: "Actions",
|
|
1404
|
-
type: "buttons",
|
|
1405
|
-
width: 110,
|
|
1406
|
-
showInColumnChooser: false
|
|
1407
|
-
}, React.createElement(React.Fragment, null, props.edit.allowUpdating && React.createElement(Button$1, {
|
|
1408
|
-
name: "edit"
|
|
1409
|
-
}), props.edit.allowDeleting && React.createElement(Button$1, {
|
|
1410
|
-
name: "delete"
|
|
1411
|
-
})));
|
|
1412
|
-
}
|
|
1413
|
-
}(), React.createElement(Toolbar, null, props.pageTitle && React.createElement(Item$1, {
|
|
1379
|
+
}), props.customPopup !== undefined && React.createElement(React.Fragment, null, React.createElement(Column, {
|
|
1380
|
+
dataField: "Actions",
|
|
1381
|
+
caption: "Actions",
|
|
1382
|
+
type: "buttons",
|
|
1383
|
+
width: 110,
|
|
1384
|
+
showInColumnChooser: false
|
|
1385
|
+
}, props.edit.allowUpdating && React.createElement(Button$1, {
|
|
1386
|
+
hint: "Edit",
|
|
1387
|
+
visible: true,
|
|
1388
|
+
disabled: false,
|
|
1389
|
+
icon: "edit",
|
|
1390
|
+
onClick: props.editButtonClick
|
|
1391
|
+
}), props.edit.allowDeleting && React.createElement(Button$1, {
|
|
1392
|
+
hint: "Delete",
|
|
1393
|
+
visible: true,
|
|
1394
|
+
disabled: false,
|
|
1395
|
+
icon: "trash",
|
|
1396
|
+
onClick: props.deleteButtonClick
|
|
1397
|
+
}))), React.createElement(Toolbar, null, props.pageTitle && React.createElement(Item$1, {
|
|
1414
1398
|
location: "before"
|
|
1415
1399
|
}, React.createElement(Typography.Title, {
|
|
1416
1400
|
level: 5,
|